From 2c08d6eca0987d2fa87f44a3db7f169b0889df7f Mon Sep 17 00:00:00 2001 From: Vce Date: Sun, 12 May 2024 18:02:27 +0800 Subject: [PATCH 1/2] =?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 | 3 ++- .../dialogCompnnents/safe-info.vue | 24 +++++++++++++++---- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/.env.development b/.env.development index 06c624d..31b7352 100644 --- a/.env.development +++ b/.env.development @@ -3,7 +3,8 @@ NODE_ENV = 'development' # 本地环境接口地址(/api/index.ts文件中使用) # 后端本地 -VITE_API_URL = 'http://192.168.34.221:9111' +VITE_API_URL = 'http://192.168.34.221:19111' +# VITE_API_URL = 'http://192.168.34.221:9111' # 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/views/commandScreen/dialogCompnnents/safe-info.vue b/src/views/commandScreen/dialogCompnnents/safe-info.vue index d5fcfe4..9853d4b 100644 --- a/src/views/commandScreen/dialogCompnnents/safe-info.vue +++ b/src/views/commandScreen/dialogCompnnents/safe-info.vue @@ -75,11 +75,27 @@ -
{{ item.enterpriseName }}
-
{{ item.personType == 1 ? item.teamName : item.departmentName }}
-
{{ item.idCard }}
+
+ + {{ item.enterpriseName }} + +
+
+ + {{ item.personType == 1 ? item.teamName : item.departmentName }} + +
+
+ + {{ item.idCard }} + +
{{ item.phoneNumber }}
-
{{ item.educationTime }}
+
+ + {{ item.educationTime }} + +
{{ item.isExamPass == -1 ? "未培训" : item.isExamPass == 1 ? "合格" : "不合格" }}
From d69541caadce2e535716e37b8547f30889a0eda9 Mon Sep 17 00:00:00 2001 From: Vce Date: Mon, 13 May 2024 01:17:34 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dialogCompnnents/month-safe-score.vue | 2 +- .../commandScreen/dialogCompnnents/risk-count.vue | 14 +++++++++----- .../commandScreen/dialogCompnnents/safe-hidden.vue | 9 +++++++-- .../dialogCompnnents/weather-info.vue | 2 +- 4 files changed, 18 insertions(+), 9 deletions(-) diff --git a/src/views/commandScreen/dialogCompnnents/month-safe-score.vue b/src/views/commandScreen/dialogCompnnents/month-safe-score.vue index 9b2cc04..010db6b 100644 --- a/src/views/commandScreen/dialogCompnnents/month-safe-score.vue +++ b/src/views/commandScreen/dialogCompnnents/month-safe-score.vue @@ -61,7 +61,7 @@ 告警数量月度环比对比
- 100% + 20%
      {{ countData.aiScore || 0 }} diff --git a/src/views/commandScreen/dialogCompnnents/risk-count.vue b/src/views/commandScreen/dialogCompnnents/risk-count.vue index 1539779..31ab7b9 100644 --- a/src/views/commandScreen/dialogCompnnents/risk-count.vue +++ b/src/views/commandScreen/dialogCompnnents/risk-count.vue @@ -52,14 +52,18 @@
{{ index + 1 }}
{{ item.problemDescription }}
-
{{ item.remark }}
+
+ + {{item.remark}} + +
{{ item.level == 1 - ? "一级" + ? "重大" : item.level == 2 - ? "二级" + ? "较大" : item.level == 3 - ? "三级" - : "四级" }}
+ ? "一般" + : "低" }}
{{ item.inspectTime }}
diff --git a/src/views/commandScreen/dialogCompnnents/safe-hidden.vue b/src/views/commandScreen/dialogCompnnents/safe-hidden.vue index 4cc36d2..9263af2 100644 --- a/src/views/commandScreen/dialogCompnnents/safe-hidden.vue +++ b/src/views/commandScreen/dialogCompnnents/safe-hidden.vue @@ -305,7 +305,12 @@ onMounted(async () => { }); +