diff --git a/src/views/commandScreen/commandCenter/leftBottom.vue b/src/views/commandScreen/commandCenter/leftBottom.vue index 7a0f541..0c503a3 100644 --- a/src/views/commandScreen/commandCenter/leftBottom.vue +++ b/src/views/commandScreen/commandCenter/leftBottom.vue @@ -60,35 +60,6 @@ - - -
-
-
姓名
-
整改总数
-
超期整改数
-
超期未整改数
-
整改率
-
及时整改率
-
-
- -
-
{{ item.workerName }}
-
{{ item.count }}
-
{{ item.count }}
-
{{ 0 }}
-
{{ item.rate }}
-
{{ item.immediateRate }}
-
-
-
- -

暂无数据

-
-
-
-
@@ -104,7 +75,6 @@ const store = GlobalStore(); const emits = defineEmits(["openDialog"]) const activeName = ref("first"); const activeIndex = ref("0" as any); -const dialogVisible = ref(false); const dateRange = ref([]); const tabList = ref([] as any); const inspectTabList = ref([] as any); @@ -134,7 +104,7 @@ let dataList2 = ref([ } }, { - value: 765, + value: 0, show: true, name: "完成人员", itemStyle: { @@ -145,7 +115,7 @@ let dataList2 = ref([ } }, { - value: 765, + value: 0, show: true, name: "现场人员", itemStyle: { @@ -162,26 +132,30 @@ const openDialogData = (obj:any) => { } //获取人员数据 const getPersonList = async () => { - const res = await getPersonTypeAndEduStatisticsApi({ + const res:any = await getPersonTypeAndEduStatisticsApi({ projectSn: store.sn }); if (res.result) { + dataList2.value[1].value = res.result.personType.toaltPerson.totalPerson + dataList2.value[2].value = res.result.personType.toaltPerson.totalPerson console.log('安全教育智能分析666',res) } }; // 获取人员履职情况分析数据--整改人 const getMemberJobStatusFn = async () => { let requestData:any = { - projectSn: store.sn + projectSn: store.sn, + pageSize: 5, + pageNo: 1 } if(dateRange.value.length > 0){ requestData.inspectTime_begin = dateRange.value[0]; requestData.inspectTime_end = dateRange.value[1]; } - const res = await getMemberJobStatusApi(requestData); + const res:any = await getMemberJobStatusApi(requestData); console.log('人员履职情况res--整改人',res) if(res.result){ - tabList.value = res.result; + tabList.value = res.result.records; } else { tabList.value = []; } @@ -189,16 +163,18 @@ const getMemberJobStatusFn = async () => { // 获取人员履职情况分析数据--检查人 const getInspectManStatusFn = async () => { let requestData:any = { - projectSn: store.sn + projectSn: store.sn, + pageSize: 5, + pageNo: 1 } if(dateRange.value.length > 0){ requestData.inspectTime_begin = dateRange.value[0]; requestData.inspectTime_end = dateRange.value[1]; } - const res = await getInspectManStatusApi(requestData); + const res:any = await getInspectManStatusApi(requestData); console.log('人员履职情况res--检查人',res) if(res.result){ - tabList.value = res.result; + tabList.value = res.result.records; } else { tabList.value = []; } @@ -206,16 +182,18 @@ const getInspectManStatusFn = async () => { // 获取人员履职情况分析数据--按分包单位分析 const getEnterpriseStatusFn = async () => { let requestData:any = { - projectSn: store.sn + projectSn: store.sn, + pageSize: 5, + pageNo: 1 } if(dateRange.value.length > 0){ requestData.inspectTime_begin = dateRange.value[0]; requestData.inspectTime_end = dateRange.value[1]; } - const res = await getEnterpriseStatusApi(requestData); + const res:any = await getEnterpriseStatusApi(requestData); console.log('人员履职情况res--按分包单位分析',res) if(res.result){ - tabList.value = res.result; + tabList.value = res.result.records; } else { tabList.value = []; } @@ -521,7 +499,12 @@ onMounted(async () => { // height: 10%; .hLeft { width: 50%; - color: white; + font-size: 20px; + font-weight: bold; + background-image: linear-gradient(to bottom left, #c8E3FF, #007AFF); + -webkit-background-clip: text; + background-clip: text; + color: transparent; } .hRight { width: 50%; @@ -537,7 +520,6 @@ onMounted(async () => { // width: 100%; height: 60%; // background-color: #fff; - padding: 0 20px; position: relative; .leftTop { width: 100%; @@ -546,13 +528,18 @@ onMounted(async () => { // width: 100%; // height: 100%; display: flex; - // align-items: center; + align-items: center; justify-content: space-between; padding: 20px 20px; border-bottom: 1px solid #0059ff; .hLeft { width: 50%; - color: white; + font-size: 20px; + font-weight: bold; + background-image: linear-gradient(to bottom left, #c8E3FF, #007AFF); + -webkit-background-clip: text; + background-clip: text; + color: transparent; } .hRight { width: 50%; diff --git a/src/views/commandScreen/commandCenter/leftTop.vue b/src/views/commandScreen/commandCenter/leftTop.vue index 287d1fc..004b0c7 100644 --- a/src/views/commandScreen/commandCenter/leftTop.vue +++ b/src/views/commandScreen/commandCenter/leftTop.vue @@ -107,7 +107,13 @@ onMounted(async () => { border-bottom: 1px solid #0059ff; .hLeft { width: 50%; - color: white; + // color: white; + font-size: 20px; + font-weight: bold; + background-image: linear-gradient(to bottom left, #c8E3FF, #007AFF); + -webkit-background-clip: text; + background-clip: text; + color: transparent; } .hRight { width: 50%; @@ -119,7 +125,7 @@ onMounted(async () => { margin-top: 10px; margin-left: 20px; &-info:not(:first-child){ - margin-top: 10px; + margin-top: 11px; } &-info{ display: flex; diff --git a/src/views/commandScreen/dialogCompnnents/safe-education-dialog.vue b/src/views/commandScreen/dialogCompnnents/safe-education-dialog.vue index 3d9fda2..9676a79 100644 --- a/src/views/commandScreen/dialogCompnnents/safe-education-dialog.vue +++ b/src/views/commandScreen/dialogCompnnents/safe-education-dialog.vue @@ -12,12 +12,12 @@
-
{{index + 1}}
{{item.workerName}}
-
{{item.workerName}}
-
{{item.phoneNumber}}
-
{{item.personType == 1?item.teamName:item.personType == 2?item.departmentName:''}}
-
{{item.phoneNumber}}
+
{{item.rectifiedNum}}
+
{{item.overTimeRectifiedNum}}
+
{{item.overTimeNotRectifiedNum}}
+
{{item.rectifiedNumRatio}}
+
{{item.rectifiedNumRatioTimely}}
@@ -26,142 +26,27 @@
-
-
-
-
抓拍详情
-
-
-
-
告警类型
-
{{ detailData.alarmType ? getWarnName(detailData.alarmType) : "" }}
-
-
-
设备名称
-
{{ detailData.hardwareName || "" }}
-
-
-
记录时间
-
{{ detailData.createTime }}
-
-
-
-
- -
-
- -
-
-