Merge branch 'shenzhen-dev' of http://139.9.66.234:18023/yjlHub/zhgdlarge into shenzhen-dev

This commit is contained in:
kun 2024-07-08 14:38:01 +08:00
commit ccf85d8e9b
4 changed files with 31 additions and 34 deletions

View File

@ -372,3 +372,7 @@
background-color: #262d47 !important; background-color: #262d47 !important;
color: #fff; color: #fff;
} }
.el-popper.is-dark {
max-width: 500px;
}

View File

@ -152,7 +152,7 @@ s
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { onMounted, ref, reactive } from "vue"; import { onMounted, ref, reactive, nextTick } from "vue";
import * as echarts from "echarts"; import * as echarts from "echarts";
// import ECharts from "vue-echarts"; // import ECharts from "vue-echarts";
import { selectQualityStatisticsApi } from "@/api/modules/projectOverview"; import { selectQualityStatisticsApi } from "@/api/modules/projectOverview";
@ -327,7 +327,6 @@ const handleTab = (val: number) => {
activeIfo.activeIndex = val; activeIfo.activeIndex = val;
queryAttendanceOfEachCompany(false); queryAttendanceOfEachCompany(false);
} else if (activeIfo.activeIndex == 0) { } else if (activeIfo.activeIndex == 0) {
activeIfo.activeIndex = val;
getWorkerRiskByProject(false, 1); getWorkerRiskByProject(false, 1);
} }
}; };
@ -547,7 +546,7 @@ const getWorkerRiskByProject = async (showLoading: boolean, val: number) => {
]; ];
randerInfo.titleInfo.percentage = res.result.area; randerInfo.titleInfo.percentage = res.result.area;
} }
// activeIfo.activeIndex = val; activeIfo.activeIndex = val;
}; };
const setIntervalFn = (showLoading: boolean) => { const setIntervalFn = (showLoading: boolean) => {

View File

@ -981,18 +981,18 @@ onMounted(async () => {
// drawEchart3(); // drawEchart3();
// await getCompanyList(); // await getCompanyList();
// await getMemberCountList("search"); // await getMemberCountList("search");
refScrollbar.value.wrapRef.addEventListener("scroll", (e: any) => { // refScrollbar.value.wrapRef.addEventListener("scroll", (e: any) => {
const scrollTop = e.target.scrollTop; // const scrollTop = e.target.scrollTop;
const scrollHeight = e.target.scrollHeight; // const scrollHeight = e.target.scrollHeight;
const clientHeight = e.target.clientHeight; // const clientHeight = e.target.clientHeight;
// // //
if (scrollTop >= scrollHeight - clientHeight - 1) { // if (scrollTop >= scrollHeight - clientHeight - 1) {
if (moreScroll.value) { // if (moreScroll.value) {
// getMemberCountList("more"); // // getMemberCountList("more");
getXzSecurityQualitylnspectionRecordlist("more"); // getXzSecurityQualitylnspectionRecordlist("more");
} // }
} // }
}); // });
}); });
</script> </script>

View File

@ -53,17 +53,11 @@
<div>{{ index + 1 }}</div> <div>{{ index + 1 }}</div>
<div>{{ item.problemDescription }}</div> <div>{{ item.problemDescription }}</div>
<div> <div>
<el-tooltip class="box-item" effect="dark" :content="item.remark" placement="top-start"> <el-tooltip :hide-after="500" class="box-item" effect="dark" :content="item.remark" placement="top-start">
<span>{{ item.remark }}</span> <span>{{ item.remark }}</span>
</el-tooltip> </el-tooltip>
</div> </div>
<div>{{ item.level == 1 <div>{{ item.level == 1 ? "重大" : item.level == 2 ? "较大" : item.level == 3 ? "一般" : "低" }}</div>
? "重大"
: item.level == 2
? "较大"
: item.level == 3
? "一般"
: "低" }}</div>
<div>{{ item.inspectTime }}</div> <div>{{ item.inspectTime }}</div>
</div> </div>
<div class="notoDta" v-if="partyMemberList.length == 0"> <div class="notoDta" v-if="partyMemberList.length == 0">
@ -107,7 +101,7 @@ const searchForm = ref({
}); });
const checked = ref(1); const checked = ref(1);
const partyMemberList = ref({} as any); const partyMemberList = ref({} as any);
const statisticsData = ref({} as any) const statisticsData = ref({} as any);
const changeSelect = (index: any) => { const changeSelect = (index: any) => {
checked.value = index; checked.value = index;
}; };