From 0ed65d2b6b8dbfeaeda4720964ee5fbf3f42197e Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期一, 04 八月 2025 16:03:54 +0800
Subject: [PATCH] feat(bigScreen): 添加大屏故障页面并更新相关路由和权限- 在 pageEnum.ts 中添加 BIG_FAULT 路径 - 在 permissionGuard.ts 中添加 BIG_FAULT_PATH 到白名单路径列表 - 更新路由配置,将 BigFault组件指向新的 BigFault-tjt.vue 文件 - 新增 BigEqp-two.vue 组件,用于展示设备分割图像

---
 src/views/dry/dataDefine/DryEquipment.data.ts |  146 +++++++++++++++++++++++++-----------------------
 1 files changed, 75 insertions(+), 71 deletions(-)

diff --git a/src/views/dry/dataDefine/DryEquipment.data.ts b/src/views/dry/dataDefine/DryEquipment.data.ts
index 1e6d6bd..f8aedf6 100644
--- a/src/views/dry/dataDefine/DryEquipment.data.ts
+++ b/src/views/dry/dataDefine/DryEquipment.data.ts
@@ -20,26 +20,27 @@
 		align: 'center',
 		dataIndex: 'type_dictText',
 	},
-	{
-		title: '鍒堕�犲晢',
-		align: 'center',
-		dataIndex: 'manufacturer',
-	},
-	{
-		title: '璐叆鏃ユ湡',
-		align: 'center',
-		dataIndex: 'purchaseDate',
-	},
-	{
-		title: '鍚敤鏃ユ湡',
-		align: 'center',
-		dataIndex: 'startDate',
-	},
-	{
-		title: '瀹夎浣嶇疆',
-		align: 'center',
-		dataIndex: 'location',
-	},
+  {
+    title: '璁惧IP',
+    align: 'center',
+    dataIndex: 'ip',
+  },
+  {
+    title: '杞﹂棿',
+    align: 'center',
+    dataIndex: 'shopId_dictText',
+  },
+  {
+    title: '鍚敤鐘舵��',
+    align: 'center',
+    dataIndex: 'enable',
+    customRender: ({ text }) => {
+      return render.renderSwitch(text, [
+        { text: '鏄�', value: 'Y' },
+        { text: '鍚�', value: 'N' },
+      ])
+    },
+  },
 	{
 		title: '璁惧鐘舵��',
 		align: 'center',
@@ -56,6 +57,26 @@
       return options[text] || text;
     }
 	},
+  {
+    title: '鍒堕�犲晢',
+    align: 'center',
+    dataIndex: 'manufacturer',
+  },
+  {
+    title: '璐叆鏃ユ湡',
+    align: 'center',
+    dataIndex: 'purchaseDate',
+  },
+  {
+    title: '鍚敤鏃ユ湡',
+    align: 'center',
+    dataIndex: 'startDate',
+  },
+  {
+    title: '瀹夎浣嶇疆',
+    align: 'center',
+    dataIndex: 'location',
+  },
 	{
 		title: '鎶ュ簾鏃ユ湡',
 		align: 'center',
@@ -66,27 +87,7 @@
 		align: 'center',
 		dataIndex: 'remark',
 	},
-	{
-		title: '璁惧IP',
-		align: 'center',
-		dataIndex: 'ip',
-	},
-	{
-		title: '杞﹂棿',
-		align: 'center',
-		dataIndex: 'shopId_dictText',
-	},
-	{
-		title: '鍚敤鐘舵��',
-		align: 'center',
-		dataIndex: 'enable',
-		customRender: ({ text }) => {
-			return render.renderSwitch(text, [
-				{ text: '鏄�', value: 'Y' },
-				{ text: '鍚�', value: 'N' },
-			])
-		},
-	},
+
 ]
 //鏌ヨ鏁版嵁
 export const searchFormSchema: FormSchema[] = [
@@ -139,6 +140,37 @@
 			return [{ required: true, message: '璇疯緭鍏ヨ澶囧悕绉�!' }, { ...rules.duplicateCheckRule('dry_equipment', 'name', model, schema)[0] }]
 		},
 	},
+  {
+    label: '杞﹂棿id',
+    field: 'shopId',
+    component: 'JDictSelectTag',
+    componentProps: {
+      dictCode: 'dry_shop,name,id,tenant_id=' + getTenantId(),
+    },
+    dynamicRules: ({ }) => {
+      return [{ required: true, message: '璇疯緭鍏ヨ溅闂磇d!' }]
+    },
+  },
+
+  {
+    label: '璁惧绫诲瀷',
+    field: 'type',
+    component: 'JDictSelectTag',
+    componentProps: {
+      dictCode: 'dry_eqp_type,name,id,tenant_id=' + getTenantId(),
+    },
+    dynamicRules: ({  }) => {
+      return [{ required: true, message: '璇疯緭鍏ヨ澶囩被鍨�!' }]
+    },
+  },
+  {
+    label: '璁惧IP',
+    field: 'ip',
+    component: 'Input',
+    dynamicRules: ({ model, schema }) => {
+      return [{ required: true, message: '璇风粦瀹氳澶嘔P!' }, { ...rules.duplicateCheckRule('dry_equipment', 'ip', model, schema)[0] }]
+    },
+  },
 	{
 		label: '鍒堕�犲晢',
 		field: 'manufacturer',
@@ -190,41 +222,13 @@
 			format: 'YYYY-MM-DD'
 		},
 	},
-	{
-		label: '璁惧IP',
-		field: 'ip',
-		component: 'Input',
-		dynamicRules: ({ model, schema }) => {
-			return [{ required: true, message: '璇风粦瀹氳澶嘔P!' }, { ...rules.duplicateCheckRule('dry_equipment', 'ip', model, schema)[0] }]
-		},
-	},
-	{
-		label: '璁惧绫诲瀷',
-		field: 'type',
-		component: 'JDictSelectTag',
-		componentProps: {
-			dictCode: 'dry_eqp_type,name,id,tenant_id=' + getTenantId(),
-		},
-		dynamicRules: ({  }) => {
-			return [{ required: true, message: '璇疯緭鍏ヨ澶囩被鍨�!' }]
-		},
-	},
+
 	{
 		label: '璁惧鎻忚堪',
 		field: 'remark',
 		component: 'Input',
 	},
-	{
-		label: '杞﹂棿id',
-		field: 'shopId',
-		component: 'JDictSelectTag',
-		componentProps: {
-			dictCode: 'dry_shop,name,id,tenant_id=' + getTenantId(),
-		},
-		dynamicRules: ({ }) => {
-			return [{ required: true, message: '璇疯緭鍏ヨ溅闂磇d!' }]
-		},
-	},
+
 	{
 		label: '鍚敤鐘舵��',
 		field: 'enable',

--
Gitblit v1.9.3