flx:修改进度接口
This commit is contained in:
parent
7b8cf38e98
commit
f3ed67b7cb
@ -86,12 +86,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="userName">首页</div>
|
<div class="userName">首页</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="loginOut" @click="loginOut">
|
<div class="loginOut" @click="loginOut">
|
||||||
<div class="loginOutIcon">
|
<div class="loginOutIcon">
|
||||||
<img src="@/assets/images/dustNoise/loginOut.png" />
|
<img src="@/assets/images/dustNoise/loginOut.png" />
|
||||||
|
</div>
|
||||||
|
<div class="userName">退出登录</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="userName">退出登录</div>
|
|
||||||
</div> -->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -30,11 +30,11 @@
|
|||||||
<div>关键路径</div>
|
<div>关键路径</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<el-tooltip class="box-item" effect="dark" content="转换" placement="top">
|
<el-tooltip v-if="pageInfo.yearList.length > 0" class="box-item" effect="dark" content="转换" placement="top">
|
||||||
<el-icon @click="showDomIsImage" class="elSwitch"><Switch /></el-icon>
|
<el-icon @click="showDomIsImage" class="elSwitch"><Switch /></el-icon>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
<div class="table_wrap whiteBlock" :class="{ table_wrap_active: props.showDown && pageInfo.domIsImage }">
|
<div v-if="pageInfo.yearList.length > 0" class="table_wrap whiteBlock" :class="{ table_wrap_active: props.showDown && pageInfo.domIsImage }">
|
||||||
<GanttChart
|
<GanttChart
|
||||||
:yearList="pageInfo.yearList"
|
:yearList="pageInfo.yearList"
|
||||||
:milestoneList="pageInfo.milestoneList"
|
:milestoneList="pageInfo.milestoneList"
|
||||||
@ -57,6 +57,10 @@
|
|||||||
:preview-src-list="[pageInfo.imageUrl]"
|
:preview-src-list="[pageInfo.imageUrl]"
|
||||||
></el-image>
|
></el-image>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="not-data" v-else>
|
||||||
|
<img src="@/assets/images/noData.png" alt="" />
|
||||||
|
<p>暂无数据</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
</template>
|
</template>
|
||||||
@ -126,7 +130,7 @@ const onImgData = (data: any) => {
|
|||||||
|
|
||||||
const isLoading = computed(() => {
|
const isLoading = computed(() => {
|
||||||
// console.log(33333, "isLoading", pageInfo.isLoading, pageInfo.domIsImage);
|
// console.log(33333, "isLoading", pageInfo.isLoading, pageInfo.domIsImage);
|
||||||
return pageInfo.isLoading && pageInfo.domIsImage;
|
return pageInfo.isLoading && pageInfo.domIsImage && pageInfo.yearList.length > 0;
|
||||||
});
|
});
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
@ -301,6 +305,21 @@ onMounted(() => {
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.not-data {
|
||||||
|
top: 50%;
|
||||||
|
width: 20%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%,-50%);
|
||||||
|
position: absolute;
|
||||||
|
text-align: center;
|
||||||
|
img {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
color: #fff;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
/* 加载前 */
|
/* 加载前 */
|
||||||
.elImage :deep(.el-image__placeholder) {
|
.elImage :deep(.el-image__placeholder) {
|
||||||
background-color: #f5f7fa;
|
background-color: #f5f7fa;
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<Card title="吊篮检测数据">
|
<Card title="吊篮检测">
|
||||||
<div class="hang-basket-content">
|
<div class="hang-basket-content">
|
||||||
<div class="list-content">
|
<div class="list-content">
|
||||||
<div class="tab-list">
|
<div class="tab-list">
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<Card title="Ai告警">
|
<Card title="Ai">
|
||||||
<div
|
<div
|
||||||
class="today-warn"
|
class="today-warn"
|
||||||
@click="
|
@click="
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user