From 0f9b62278f0da862a32c1f1fba69882da46bd3a9 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期四, 29 一月 2026 09:22:48 +0800
Subject: [PATCH] 内容完善

---
 /dev/null                                              |   22 ----------------------
 src/views/safeProduction/dangerInvestigation/index.vue |   14 +++++++++++++-
 2 files changed, 13 insertions(+), 23 deletions(-)

diff --git a/src/views/safeProduction/dangerInvestigation/index.vue b/src/views/safeProduction/dangerInvestigation/index.vue
index a918bef..eaa12bb 100644
--- a/src/views/safeProduction/dangerInvestigation/index.vue
+++ b/src/views/safeProduction/dangerInvestigation/index.vue
@@ -288,7 +288,9 @@
           <span class="detail-title">{{ form.type }}</span>
         </el-descriptions-item>
         <el-descriptions-item label="闅愭偅椋庨櫓绛夌骇">
-          <span class="detail-title">{{ form.riskLevel }}</span>
+          <el-tag :type="getTypeTagType(form.riskLevel)">
+            {{ form.riskLevel }}
+          </el-tag>
         </el-descriptions-item>
         <el-descriptions-item label="涓婃姤浜�">
           <span class="detail-title">{{ form.createUserName }}</span>
@@ -466,6 +468,16 @@
       return "楠屾敹椤甸潰";
     }
   };
+  // 鑾峰彇绫诲瀷鏍囩绫诲瀷
+  const getTypeTagType = type => {
+    const typeMap = {
+      杈冨ぇ椋庨櫓: "warning",
+      浣庨闄�: "info",
+      涓�鑸闄�: "info",
+      閲嶅ぇ椋庨櫓: "danger",
+    };
+    return typeMap[type] || "info";
+  };
   // 鐢ㄦ埛淇℃伅琛ㄥ崟寮规鏁版嵁
   const operationType = ref("");
   const dialogFormVisible = ref(false);
diff --git a/src/views/safeProduction/safeWorkApproval/index1.vue b/src/views/safeProduction/safeWorkApproval/index1.vue
deleted file mode 100644
index e5ce4b4..0000000
--- a/src/views/safeProduction/safeWorkApproval/index1.vue
+++ /dev/null
@@ -1,22 +0,0 @@
-<template>
-  <div class="container">
-    <!-- 寮曞叆index.vue缁勪欢骞朵紶閫掑弬鏁� -->
-    <ApprovalProcessIndex :approveType="1" />
-  </div>
-</template>
-
-<script setup>
-  import ApprovalProcessIndex from "./index.vue";
-
-  // 瀹氫箟缁勪欢鍚嶇О
-  defineOptions({
-    name: "ApprovalProcessIndex1",
-  });
-</script>
-
-<style scoped>
-  .container {
-    width: 100%;
-    height: 100%;
-  }
-</style>

--
Gitblit v1.9.3