From 7be4d41df4b2bec3f88eff576d60a6b4714aae05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=BA=8E=E6=99=8F=E5=BD=AD?= <995457985@qq.com>
Date: Tue, 23 May 2023 14:48:51 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../AIwarning/accessSituation/index.scss | 8 ++++++
.../AIwarning/accessSituation/index.vue | 25 ++++++++++++++++---
.../AIwarning/accessSituation/index.scss | 9 ++++++-
.../AIwarning/accessSituation/index.vue | 6 ++++-
.../approve/company/components/unit-table.vue | 4 +--
.../goverment/approve/company/index.scss | 7 +++---
src/views/goverment/approve/company/index.vue | 2 +-
.../AIwarning/accessSituation/index.scss | 8 ++++++
.../AIwarning/accessSituation/index.vue | 11 ++++++--
9 files changed, 66 insertions(+), 14 deletions(-)
diff --git a/src/views/enterprise/AIwarning/accessSituation/index.scss b/src/views/enterprise/AIwarning/accessSituation/index.scss
index 2f0f258..9f14180 100644
--- a/src/views/enterprise/AIwarning/accessSituation/index.scss
+++ b/src/views/enterprise/AIwarning/accessSituation/index.scss
@@ -59,6 +59,14 @@
flex-wrap: wrap;
justify-content: flex-start;
flex: 1;
+ .table-empty {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ flex: 1;
+ flex-direction: column;
+ color: #999;
+ }
.img_item {
width: 23.1%;
height: 244px;
diff --git a/src/views/enterprise/AIwarning/accessSituation/index.vue b/src/views/enterprise/AIwarning/accessSituation/index.vue
index 69719e0..34ff85a 100644
--- a/src/views/enterprise/AIwarning/accessSituation/index.vue
+++ b/src/views/enterprise/AIwarning/accessSituation/index.vue
@@ -20,16 +20,22 @@

-
今日报警次数:{{data.aiAlarmStat===null? 0 : parse(data.aiAlarmStat)?.todayAlarm }}
+
今日报警次数:{{ data.aiAlarmStat === null ? 0 : parse(data.aiAlarmStat)?.todayAlarm }}
- 今日待整改问题:{{data.aiAlarmStat===null? 0 : parse(data.aiAlarmStat)?.questionNum }}
+ 今日待整改问题:{{ data.aiAlarmStat === null ? 0 : parse(data.aiAlarmStat)?.questionNum }}
- 今日已整改问题:{{data.aiAlarmStat===null? 0 : parse(data.aiAlarmStat)?.solveQuestionNum }}
+ 今日已整改问题:{{ data.aiAlarmStat === null ? 0 : parse(data.aiAlarmStat)?.solveQuestionNum }}
@@ -64,7 +70,13 @@
-
+
{{ item.typeName }}
@@ -74,6 +86,10 @@
+
+

+
暂无数据
+
{
searchName.value = (records.value as ResAiProjectPage[])[0].projectName;
getAiMonitorDevList();
+ console.log(questList.value);
});
diff --git a/src/views/goverment/AIwarning/accessSituation/index.scss b/src/views/goverment/AIwarning/accessSituation/index.scss
index 8d1c7dc..b39c718 100644
--- a/src/views/goverment/AIwarning/accessSituation/index.scss
+++ b/src/views/goverment/AIwarning/accessSituation/index.scss
@@ -64,7 +64,14 @@
}
}
}
-
+ .table-empty {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ flex: 1;
+ flex-direction: column;
+ color: #999;
+ }
.pagination {
display: flex;
align-items: center;
diff --git a/src/views/goverment/AIwarning/accessSituation/index.vue b/src/views/goverment/AIwarning/accessSituation/index.vue
index b845005..542a6e3 100644
--- a/src/views/goverment/AIwarning/accessSituation/index.vue
+++ b/src/views/goverment/AIwarning/accessSituation/index.vue
@@ -70,7 +70,7 @@
-
+
+
+

+
暂无数据
+
{{ divide.index }}
{{ modelValue.mainTypeName }}
-
+
diff --git a/src/views/goverment/approve/company/index.scss b/src/views/goverment/approve/company/index.scss
index 3b1183f..ce1bd5c 100644
--- a/src/views/goverment/approve/company/index.scss
+++ b/src/views/goverment/approve/company/index.scss
@@ -90,6 +90,7 @@ $primary: #409eff;
padding: 0 0 0 14%;
}
}
-:deep(.el-dialog) {
- min-height: 20%;
-}
+
+// :deep(.el-dialog) {
+// min-height: 20%;
+// }
diff --git a/src/views/goverment/approve/company/index.vue b/src/views/goverment/approve/company/index.vue
index 1f903d4..f4899b7 100644
--- a/src/views/goverment/approve/company/index.vue
+++ b/src/views/goverment/approve/company/index.vue
@@ -313,7 +313,7 @@ const deleteAccount = async (row: any) => {
text-align: left;
}
}
-.loogDialog :deep(.el-dialog__body) {
+:deep(.el-dialog__body) {
height: 800px;
overflow: auto;
}
diff --git a/src/views/project/AIwarning/accessSituation/index.scss b/src/views/project/AIwarning/accessSituation/index.scss
index 8148049..4d512e8 100644
--- a/src/views/project/AIwarning/accessSituation/index.scss
+++ b/src/views/project/AIwarning/accessSituation/index.scss
@@ -21,6 +21,14 @@
border-radius: 8px;
display: flex;
flex-direction: column;
+ .table-empty {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ flex: 1;
+ flex-direction: column;
+ color: #999;
+ }
.imgTable {
width: 100%;
display: flex;
diff --git a/src/views/project/AIwarning/accessSituation/index.vue b/src/views/project/AIwarning/accessSituation/index.vue
index 5729289..483f0b7 100644
--- a/src/views/project/AIwarning/accessSituation/index.vue
+++ b/src/views/project/AIwarning/accessSituation/index.vue
@@ -25,7 +25,7 @@
-
+
+
+

+
暂无数据
+
("");
+const qusLength = ref([]);
+
const pages = ref({
pageNo: 1,
pageSize: 12,
@@ -387,6 +393,7 @@ const beforeAvatarUpload: UploadProps["beforeUpload"] = rawFile => {
const getAIproPage = async () => {
const { result } = await getAIAlarmPage({ ...pages.value });
questList.value = result;
+ qusLength.value = result.records;
pages.value.total = Number(result.total);
};
// 监控名称下拉框的value
@@ -418,7 +425,7 @@ const onUpdate = async row => {
ElMessage.success("页面已更新");
};
-onMounted(async () => {
+onMounted(() => {
getAIproPage();
getAiMonitorDevList();
});