From e90b860aaa30bb3e5486618b447589eee75ff6ec Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期二, 07 十一月 2023 12:37:38 +0800
Subject: [PATCH] 机台监控和车间大屏优化

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

diff --git a/src/views/dry/dataDefine/DryEquipment.data.ts b/src/views/dry/dataDefine/DryEquipment.data.ts
index 1fb349f..759f100 100644
--- a/src/views/dry/dataDefine/DryEquipment.data.ts
+++ b/src/views/dry/dataDefine/DryEquipment.data.ts
@@ -26,6 +26,11 @@
 		dataIndex: 'remark',
 	},
 	{
+		title: '璁惧IP',
+		align: 'center',
+		dataIndex: 'ip',
+	},
+	{
 		title: '杞﹂棿id',
 		align: 'center',
 		dataIndex: 'shopId_dictText',
@@ -94,6 +99,14 @@
 		},
 	},
 	{
+		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',
@@ -152,6 +165,7 @@
 	code: string
 	name: string
 	type: string
+	type_dictText: string
 	remark: string
 	shop_id: string
 	enable: string
@@ -160,5 +174,6 @@
 	update_by: string
 	update_time: Date
 	tenant_id: number
+	ip: string
 	order: dryOrder
 }

--
Gitblit v1.9.3