From 7d16a1786bd95fb968d94a6136f5ff09232c03be Mon Sep 17 00:00:00 2001
From: kun <1422840143@qq.com>
Date: Sun, 12 May 2024 00:30:12 +0800
Subject: [PATCH 1/5] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.development | 1 +
src/api/modules/agjtCommandApi.ts | 8 +-
.../commandCenter/leftBottom.vue | 124 ++++++++++++------
.../dialogCompnnents/ai-alarm.vue | 8 ++
.../dialogCompnnents/member-count-list.vue | 42 +++++-
.../dialogCompnnents/month-safe-score.vue | 116 +++++++++++-----
.../dialogCompnnents/safe-info.vue | 24 +++-
.../dialogCompnnents/weather-info.vue | 8 +-
8 files changed, 250 insertions(+), 81 deletions(-)
diff --git a/.env.development b/.env.development
index 06c624d6..f3457f1f 100644
--- a/.env.development
+++ b/.env.development
@@ -4,6 +4,7 @@ NODE_ENV = 'development'
# 本地环境接口地址(/api/index.ts文件中使用)
# 后端本地
VITE_API_URL = 'http://192.168.34.221:9111'
+# VITE_API_URL = 'http://192.168.34.155:19111'
# VITE_API_URL = 'http://192.168.34.221:28888'
# VITE_API_URL = 'http://121.196.214.246/api'
# VITE_API_URL = 'http://jxj.zhgdyun.com:100'
diff --git a/src/api/modules/agjtCommandApi.ts b/src/api/modules/agjtCommandApi.ts
index 9623f905..dcc597b4 100644
--- a/src/api/modules/agjtCommandApi.ts
+++ b/src/api/modules/agjtCommandApi.ts
@@ -78,4 +78,10 @@ export const getAlarmRecordApi = (params: {}) => {
// 顶部数据接口
export const getAlarmTypeCountApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/aiStatistic/selectAiAnalyseHardWareAlarmTypeCount`, params, { headers: { noLoading: true } });
-};
\ No newline at end of file
+};
+
+// 月度安全综合评分弹窗
+// 统计数据
+export const getStatScoreApi = (params: {}) => {
+ return http.get(BASEURL + `/xmgl/xzSecurityQualityInspectionRecord/getStatScore`, params, { headers: { noLoading: true } });
+};
diff --git a/src/views/commandScreen/commandCenter/leftBottom.vue b/src/views/commandScreen/commandCenter/leftBottom.vue
index 0643d91d..5ec62e18 100644
--- a/src/views/commandScreen/commandCenter/leftBottom.vue
+++ b/src/views/commandScreen/commandCenter/leftBottom.vue
@@ -11,7 +11,7 @@
@@ -72,7 +73,7 @@ import { getPersonTypeAndEduStatisticsApi } from "@/api/modules/labor";
import type { TabsPaneContext, ElMessageBox } from "element-plus";
import { GlobalStore } from "@/stores";
const store = GlobalStore();
-const emits = defineEmits(["openDialog"])
+const emits = defineEmits(["openDialog"]);
const activeName = ref("first");
const activeIndex = ref("0" as any);
const dateRange = ref([]);
@@ -96,6 +97,10 @@ let dataList2 = ref([
value: 0,
show: true,
name: "未教育人员",
+ // 设置文本颜色
+ // textStyle: {
+ // color: '#038cf5'
+ // },
itemStyle: {
normal: {
color: "#038cf5",
@@ -107,6 +112,10 @@ let dataList2 = ref([
value: 0,
show: true,
name: "完成人员",
+ // 设置文本颜色
+ // textStyle: {
+ // color: '#01d6f4'
+ // }
itemStyle: {
normal: {
color: "#01d6f4",
@@ -127,85 +136,94 @@ let dataList2 = ref([
}
]);
// 打开弹窗
-const openDialogData = (obj:any) => {
- emits("openDialog",obj)
+const openDialogData = (obj: any) => {
+ emits("openDialog", obj);
+};
+const dateChange = () => {
+ if (activeIndex.value == "0") {
+ getMemberJobStatusFn();
+ } else if (activeIndex.value == "1") {
+ getInspectManStatusFn();
+ } else if (activeIndex.value == "2") {
+ getEnterpriseStatusFn();
+ }
}
//获取人员数据
const getPersonList = async () => {
- const res:any = 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)
+ 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 = {
+ let requestData: any = {
projectSn: store.sn,
pageSize: 5,
pageNo: 1
- }
- if(dateRange.value.length > 0){
+ };
+ if (dateRange.value.length > 0) {
requestData.inspectTime_begin = dateRange.value[0];
requestData.inspectTime_end = dateRange.value[1];
}
- const res:any = await getMemberJobStatusApi(requestData);
- console.log('人员履职情况res--整改人',res)
- if(res.result){
+ const res: any = await getMemberJobStatusApi(requestData);
+ console.log("人员履职情况res--整改人", res);
+ if (res.result) {
tabList.value = res.result.records;
} else {
tabList.value = [];
}
-}
+};
// 获取人员履职情况分析数据--检查人
const getInspectManStatusFn = async () => {
- let requestData:any = {
+ let requestData: any = {
projectSn: store.sn,
pageSize: 5,
pageNo: 1
- }
- if(dateRange.value.length > 0){
+ };
+ if (dateRange.value.length > 0) {
requestData.inspectTime_begin = dateRange.value[0];
requestData.inspectTime_end = dateRange.value[1];
}
- const res:any = await getInspectManStatusApi(requestData);
- console.log('人员履职情况res--检查人',res)
- if(res.result){
+ const res: any = await getInspectManStatusApi(requestData);
+ console.log("人员履职情况res--检查人", res);
+ if (res.result) {
tabList.value = res.result.records;
} else {
tabList.value = [];
}
-}
+};
// 获取人员履职情况分析数据--按分包单位分析
const getEnterpriseStatusFn = async () => {
- let requestData:any = {
+ let requestData: any = {
projectSn: store.sn,
pageSize: 5,
pageNo: 1
- }
- if(dateRange.value.length > 0){
+ };
+ if (dateRange.value.length > 0) {
requestData.inspectTime_begin = dateRange.value[0];
requestData.inspectTime_end = dateRange.value[1];
}
- const res:any = await getEnterpriseStatusApi(requestData);
- console.log('人员履职情况res--按分包单位分析',res)
- if(res.result){
+ const res: any = await getEnterpriseStatusApi(requestData);
+ console.log("人员履职情况res--按分包单位分析", res);
+ if (res.result) {
tabList.value = res.result.records;
} else {
tabList.value = [];
}
-}
+};
const handleClick = (tab: TabsPaneContext, event: Event) => {
activeIndex.value = tab.index;
- console.log(tab)
- if(tab.index == '0'){
+ console.log(tab);
+ if (tab.index == "0") {
getMemberJobStatusFn();
- } else if(tab.index == '1'){
+ } else if (tab.index == "1") {
getInspectManStatusFn();
- } else if(tab.index == '2'){
+ } else if (tab.index == "2") {
getEnterpriseStatusFn();
}
console.log("activeIndex", activeIndex.value);
@@ -258,10 +276,10 @@ function drawEchart2() {
textStyle: {
color: "#fff",
fontSize: 26,
- fontWeight: "normal",
+ fontWeight: "normal"
// align: "center",
// width: "200px",
- fontFamily: "sadigitalNumber"
+ // fontFamily: "sadigitalNumber"
},
subtextStyle: {
color: "#ccc",
@@ -283,7 +301,7 @@ function drawEchart2() {
itemHeight: 7, // 设置高度
symbolKeepAspect: false,
textStyle: {
- color: "#000",
+ // color: "#000",
rich: {
name: {
verticalAlign: "right",
@@ -291,10 +309,26 @@ function drawEchart2() {
fontSize: 14,
color: "#FFFFFF"
},
- value: {
+ value1: {
align: "left",
fontSize: 14,
- color: "#FFFFFF"
+ color: "#FBDC00",
+ fontFamily: "Source Han Sans CN, Source Han Sans CN",
+ fontWeight: "bold"
+ },
+ value2: {
+ align: "left",
+ fontSize: 14,
+ color: "#0DAF27",
+ fontFamily: "Source Han Sans CN, Source Han Sans CN",
+ fontWeight: "bold"
+ },
+ value3: {
+ align: "left",
+ fontSize: 14,
+ color: "#047EFF",
+ fontFamily: "Source Han Sans CN, Source Han Sans CN",
+ fontWeight: "bold"
}
}
},
@@ -304,12 +338,20 @@ function drawEchart2() {
}
}),
formatter: function (data) {
+ console.log(data, 666777);
if (dataList2.value && dataList2.value.length) {
for (var i = 0; i < dataList2.value.length; i++) {
if (data === dataList2.value[i].name) {
var value = dataList2.value[i].value;
var percentage = value + "%";
- return "{name| " + data + "} {gap| }" + "{value|" + value + " " + "}";
+ console.log(value, 888);
+ if (data == "未教育人员") {
+ return "{name| " + data + "} {gap| }" + "{value1|" + value + " " + "}";
+ } else if (data == "完成人员") {
+ return "{name| " + data + "} {gap| }" + "{value2|" + value + " " + "}";
+ } else if (data == "现场人员") {
+ return "{name| " + data + "} {gap| }" + "{value3|" + value + " " + "}";
+ }
}
}
}
@@ -501,7 +543,7 @@ onMounted(async () => {
width: 50%;
font-size: 20px;
font-weight: bold;
- background-image: linear-gradient(to bottom left, #c8E3FF, #007AFF);
+ background-image: linear-gradient(to bottom left, #c8e3ff, #007aff);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
@@ -536,7 +578,7 @@ onMounted(async () => {
width: 50%;
font-size: 20px;
font-weight: bold;
- background-image: linear-gradient(to bottom left, #c8E3FF, #007AFF);
+ background-image: linear-gradient(to bottom left, #c8e3ff, #007aff);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
diff --git a/src/views/commandScreen/dialogCompnnents/ai-alarm.vue b/src/views/commandScreen/dialogCompnnents/ai-alarm.vue
index 69cb597f..54c40cdc 100644
--- a/src/views/commandScreen/dialogCompnnents/ai-alarm.vue
+++ b/src/views/commandScreen/dialogCompnnents/ai-alarm.vue
@@ -70,6 +70,9 @@
:src="BASEURL + '/image/' + item.imageUrl"
:preview-src-list="[BASEURL + '/image/' + item.imageUrl]"
>
+
+
+
@@ -122,6 +125,7 @@ import { GlobalStore } from "@/stores";
import { getCompanyDataList, getMemberInfoList } from "@/api/modules/labor";
import type { TabsPaneContext } from 'element-plus'
import { getAlarmTypeOption } from "@/api/modules/aIEarlyWarn";
+import noDataImage from "@/assets/images/vehicleManagement/car.png";
import { getAlarmRecordApi, getAlarmTypeCountApi } from "@/api/modules/agjtCommandApi";
const store = GlobalStore();
const props = defineProps(["tip"]);
@@ -482,6 +486,10 @@ onMounted(async () => {
height: 100%;
}
}
+ .el-no-img{
+ width: 30px;
+ height: 30px;
+ }
}
div {
width: 17%;
diff --git a/src/views/commandScreen/dialogCompnnents/member-count-list.vue b/src/views/commandScreen/dialogCompnnents/member-count-list.vue
index 32561610..edded0b8 100644
--- a/src/views/commandScreen/dialogCompnnents/member-count-list.vue
+++ b/src/views/commandScreen/dialogCompnnents/member-count-list.vue
@@ -20,7 +20,11 @@
{{index + 1}}
{{item.engineeringName}}
-
{{item.progressDescribe}}
+
+
+ {{item.progressDescribe}}
+
+
+
+
+
@@ -86,7 +93,11 @@
{{index + 1}}
{{item.engineeringName}}
-
{{item.acceptanceDesc}}
+
+
+ {{item.acceptanceDesc}}
+
+
{{item.acceptanceResult == 1?'合格':'不合格'}}
+
+
+
@@ -126,6 +140,9 @@
:src="BASEURL + '/image/' + item.imageUrl"
:preview-src-list="[BASEURL + '/image/' + item.imageUrl]"
>
+
+
+
@@ -147,6 +164,7 @@ import { ref, onMounted } from "vue";
import { GlobalStore } from "@/stores";
import { getCompanyDataList, getMemberInfoList } from "@/api/modules/labor";
import type { TabsPaneContext } from 'element-plus'
+import noDataImage from "@/assets/images/vehicleManagement/car.png";
import { getProgressRecordApi, getInspectionRecordApi, getEngineeringRecordApi, getSideStationApi } from "@/api/modules/agjtCommandApi";
const store = GlobalStore();
const props = defineProps(["tip"]);
@@ -316,6 +334,10 @@ onMounted(async () => {
height: 100%;
}
}
+ .el-no-img{
+ width: 30px;
+ height: 30px;
+ }
}
div {
width: 17%;
@@ -371,6 +393,10 @@ onMounted(async () => {
height: 100%;
}
}
+ .el-no-img{
+ width: 30px;
+ height: 30px;
+ }
}
div {
width: 17%;
@@ -426,6 +452,10 @@ onMounted(async () => {
height: 100%;
}
}
+ .el-no-img{
+ width: 30px;
+ height: 30px;
+ }
}
div {
width: 20%;
@@ -471,6 +501,10 @@ onMounted(async () => {
font-size: 12px;
margin-bottom: 5px;
.list-img {
+ .el-img {
+ width: 50px;
+ height: 25px;
+ }
.el-img {
width: 30px;
height: 30px;
@@ -481,6 +515,10 @@ onMounted(async () => {
height: 100%;
}
}
+ .el-no-img{
+ width: 30px;
+ height: 30px;
+ }
}
div {
width: 20%;
diff --git a/src/views/commandScreen/dialogCompnnents/month-safe-score.vue b/src/views/commandScreen/dialogCompnnents/month-safe-score.vue
index d3e055f8..f1b0f974 100644
--- a/src/views/commandScreen/dialogCompnnents/month-safe-score.vue
+++ b/src/views/commandScreen/dialogCompnnents/month-safe-score.vue
@@ -2,14 +2,14 @@
- 综合得分:78
+ 综合得分:{{ countData.total || 0 }}
月度安全综合评分表
- 工程名称:123测试工程
- 表格日期:2024-05-10
+ 工程名称:{{projectData.projectName || ""}}
+ 表格日期:{{currentDate}}
@@ -29,7 +29,7 @@
- {{ index3 + 1 }}
+ {{ index3 }}
{{item.name}}
@@ -37,11 +37,17 @@
-
-
{{ key2 }}
+
+ 25%
+ 15%
+ 15%
+ 25%
-
-
{{ key2 }}
+
+ {{ countData.hiddenDangerScore || 0 }}
+ {{ countData.dangerEngScore || 0 }}
+ {{ countData.riskscore || 0 }}
+ 25
@@ -55,16 +61,16 @@
告警数量月度环比对比
- 123
+ 100%
- 123
+ {{ countData.aiScore || 0 }}
综合得分
- 89
+ {{ countData.total || 0 }}
@@ -89,33 +95,54 @@
From ff976e18177e246bab800e814db4e0e166967bca Mon Sep 17 00:00:00 2001
From: kun <1422840143@qq.com>
Date: Sun, 12 May 2024 17:06:37 +0800
Subject: [PATCH 3/5] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.development | 5 +-
.../dialogCompnnents/member-count-list.vue | 7 ++-
.../dialogCompnnents/safe-hidden.vue | 54 +++++++++++++------
3 files changed, 46 insertions(+), 20 deletions(-)
diff --git a/.env.development b/.env.development
index 35105fa4..f0d54dfc 100644
--- a/.env.development
+++ b/.env.development
@@ -3,10 +3,9 @@ NODE_ENV = 'development'
# 本地环境接口地址(/api/index.ts文件中使用)
# 后端本地
-# VITE_API_URL = 'http://192.168.34.221:9111'
-# VITE_API_URL = 'http://182.90.224.237:51234' #雄哥远程
-VITE_API_URL = 'http://jxj.zhgdyun.com:61212' #杰哥远程
VITE_API_URL = 'http://192.168.34.221:9111'
+# VITE_API_URL = 'http://182.90.224.237:51234' #雄哥远程
+# VITE_API_URL = 'http://jxj.zhgdyun.com:61212' #杰哥远程
# VITE_API_URL = 'http://192.168.34.155:19111'
# VITE_API_URL = 'http://192.168.34.221:28888'
# VITE_API_URL = 'http://121.196.214.246/api'
diff --git a/src/views/commandScreen/dialogCompnnents/member-count-list.vue b/src/views/commandScreen/dialogCompnnents/member-count-list.vue
index edded0b8..32f68458 100644
--- a/src/views/commandScreen/dialogCompnnents/member-count-list.vue
+++ b/src/views/commandScreen/dialogCompnnents/member-count-list.vue
@@ -124,6 +124,7 @@
序号
+
危大工程名称
旁站记录
图片
记录人
@@ -132,6 +133,7 @@
{{index + 1}}
+
{{item.engineeringName}}
{{item.buildSituation}}
{
// if(activeName.value === 'first') console.log('1')
// if(activeName.value === 'second') console.log('2')
// if(activeName.value === 'third') console.log('3')
+ if(tab.index == activeIndex.value) return;
activeIndex.value = tab.index
partyMemberList.value = [];
getMemberCountList('search')
@@ -488,7 +491,7 @@ onMounted(async () => {
margin-top: 2%;
div {
text-align: center;
- width: 20%;
+ width: 17%;
}
}
.listBox {
@@ -521,7 +524,7 @@ onMounted(async () => {
}
}
div {
- width: 20%;
+ width: 17%;
white-space: nowrap; //单行
overflow: hidden;
text-overflow: ellipsis;
diff --git a/src/views/commandScreen/dialogCompnnents/safe-hidden.vue b/src/views/commandScreen/dialogCompnnents/safe-hidden.vue
index 239997e0..0a1dd905 100644
--- a/src/views/commandScreen/dialogCompnnents/safe-hidden.vue
+++ b/src/views/commandScreen/dialogCompnnents/safe-hidden.vue
@@ -44,6 +44,7 @@
v-model="searchForm.status"
:clearable="true"
style="width: 150px"
+ @change="conditionSearch"
>
@@ -57,8 +58,9 @@
v-model="searchForm.level"
:clearable="true"
style="width: 150px"
+ @change="conditionSearch"
>
-
+
@@ -67,11 +69,12 @@
class="m-2"
placeholder="请选择"
size="small"
- v-model="searchForm.inspectId"
+ v-model="searchForm.inspectManId"
:clearable="true"
style="width: 150px"
+ @change="conditionSearch"
>
-
+
@@ -83,8 +86,9 @@
v-model="searchForm.changeId"
:clearable="true"
style="width: 150px"
+ @change="conditionSearch"
>
-
+
@@ -96,6 +100,7 @@
v-model="searchForm.enterpriseId"
:clearable="true"
style="width: 150px"
+ @change="conditionSearch"
>
@@ -118,14 +123,22 @@
{{index + 1}}
-
{{statusList[item.status].name}}
+
{{item.status?textFilter(item.status):''}}
{{item.level?levelListData[item.level - 1].name:''}}
{{item.regionName}}
-
{{item.dangerItemContent}}
-
{{item.changeLimitTime}}
+
+
+ {{item.dangerItemContent}}
+
+
+
+
+ {{item.changeLimitTime}}
+
+
{{item.inspectManName}}
{{item.inspectTime}}
-
{{item.changeId}}
+
{{item.changeName}}
{{item.enterpriseName}}
@@ -149,18 +162,18 @@ const BASEURL = import.meta.env.VITE_API_URL;
const inspectList = ref([] as any);
const enterpriseListData = ref([] as any);
const levelListData = ref([
- { name: "重大隐患", value: 1 },
- { name: "较大隐患", value: 2 },
- { name: "一般隐患", value: 3 },
- { name: "低隐患", value: 4 }
+ { name: "一级", value: 1 },
+ { name: "二级", value: 2 },
+ { name: "三级", value: 3 },
+ { name: "四级", value: 4 }
])
const statusList = ref([
- { name: "无需整改", value: 1 },
+ // { name: "无需整改", value: 1 },
{ name: "待整改", value: 2 },
{ name: "待复查", value: 3 },
{ name: "待核验", value: 4 },
{ name: "合格", value: 5 },
- { name: "不合格", value: 6 },
+ // { name: "不合格", value: 6 },
{ name: "超期未关闭", value: 7 },
]);
let pageNo = ref(1 as any);
@@ -168,13 +181,24 @@ let moreScroll = ref(true as any);
const refScrollbar = ref(null as any); // 绑定到滚动的盒子上
const searchForm = ref({
status: '',
- inspectId: '',
+ inspectManId: '',
changeId: '',
enterpriseId: '',
level: ''
});
const topDangerList = ref([] as any)
const partyMemberList = ref({} as any);
+// 文本处理
+const textFilter = (val:any) => {
+ let findItem:any = statusList.value.find(item => {
+ return item.value == val;
+ })
+ return findItem.name
+}
+// 条件查询
+const conditionSearch = async () => {
+ getMemberCountList('search')
+}
// 获取整改人、检查人
const getSystemUserFn = async () => {
let data = {
From 269a6840d67fc0af429b749eef87ef216a70ed85 Mon Sep 17 00:00:00 2001
From: Vce
Date: Sun, 12 May 2024 17:43:36 +0800
Subject: [PATCH 4/5] =?UTF-8?q?=E8=B0=83=E6=95=B4centerTop=E5=AE=89?=
=?UTF-8?q?=E5=85=A8=E8=AF=84=E5=88=86=E5=BC=B9=E7=AA=97=E5=92=8CcenterBot?=
=?UTF-8?q?tom=E5=BA=95=E9=83=A8=E6=BB=9A=E5=8A=A8=E9=80=9F=E5=BA=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../commandCenter/centerBottom.vue | 2 +-
.../dialogCompnnents/month-safe-score.vue | 38 +++++++++----------
2 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/src/views/commandScreen/commandCenter/centerBottom.vue b/src/views/commandScreen/commandCenter/centerBottom.vue
index a868dc9f..573e3a3d 100644
--- a/src/views/commandScreen/commandCenter/centerBottom.vue
+++ b/src/views/commandScreen/commandCenter/centerBottom.vue
@@ -8,7 +8,7 @@
-
+
{{ item.header }}
diff --git a/src/views/commandScreen/dialogCompnnents/month-safe-score.vue b/src/views/commandScreen/dialogCompnnents/month-safe-score.vue
index f1b0f974..9b2cc048 100644
--- a/src/views/commandScreen/dialogCompnnents/month-safe-score.vue
+++ b/src/views/commandScreen/dialogCompnnents/month-safe-score.vue
@@ -13,12 +13,12 @@
-
考核分类
-
考核指标
-
指标说明
-
单模块权重
-
模块权重
-
模块得分
+
考核分类
+
考核指标
+
指标说明
+
单模块权重
+
模块权重
+
模块得分
@@ -26,24 +26,24 @@
{{ key2 }}
-
+
{{ index3 }}
-
{{item.name}}
-
+
{{item.name}}
+
{{item.value}}
-
+
25%
15%
15%
25%
-
+
{{ countData.hiddenDangerScore || 0 }}
{{ countData.dangerEngScore || 0 }}
{{ countData.riskscore || 0 }}
@@ -51,25 +51,25 @@
-
+
AI报警
-
+
AI违章抓拍
-
+
告警数量月度环比对比
-
+
100%
-
-
{{ countData.aiScore || 0 }}
+
+ {{ countData.aiScore || 0 }}
-
综合得分
-
+
综合得分
+
{{ countData.total || 0 }}
From dfa7bfd58039eb4d598a27a1b0073297198270a0 Mon Sep 17 00:00:00 2001
From: kun <1422840143@qq.com>
Date: Sun, 12 May 2024 17:54:33 +0800
Subject: [PATCH 5/5] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/commandScreen/dialogCompnnents/safe-hidden.vue | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/views/commandScreen/dialogCompnnents/safe-hidden.vue b/src/views/commandScreen/dialogCompnnents/safe-hidden.vue
index 0a1dd905..4cc36d26 100644
--- a/src/views/commandScreen/dialogCompnnents/safe-hidden.vue
+++ b/src/views/commandScreen/dialogCompnnents/safe-hidden.vue
@@ -173,7 +173,7 @@ const statusList = ref([
{ name: "待复查", value: 3 },
{ name: "待核验", value: 4 },
{ name: "合格", value: 5 },
- // { name: "不合格", value: 6 },
+ { name: "已撤回", value: 6 },
{ name: "超期未关闭", value: 7 },
]);
let pageNo = ref(1 as any);
@@ -190,6 +190,7 @@ const topDangerList = ref([] as any)
const partyMemberList = ref({} as any);
// 文本处理
const textFilter = (val:any) => {
+ console.log(val,777888)
let findItem:any = statusList.value.find(item => {
return item.value == val;
})