From 0924fcc06ead4d10ea5d0d579c8224850a0f37a4 Mon Sep 17 00:00:00 2001
From: fuchengshen <men883234@gmail.com>
Date: 星期五, 24 六月 2022 09:15:09 +0800
Subject: [PATCH] 更改设备分组页面样式

---
 src/cool/modules/hntask/views/periodic_task.vue |   57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 55 insertions(+), 2 deletions(-)

diff --git a/src/cool/modules/hntask/views/periodic_task.vue b/src/cool/modules/hntask/views/periodic_task.vue
index fd80db3..ad44778 100644
--- a/src/cool/modules/hntask/views/periodic_task.vue
+++ b/src/cool/modules/hntask/views/periodic_task.vue
@@ -54,6 +54,20 @@
 					required: true
 				},
 				{
+					label: "浠诲姟鎸囦护",
+					prop: "task_command",
+					component: {
+						name: "el-input"
+					}
+				},
+				{
+					label: "浠诲姟鍐呭鎻忚堪",
+					prop: "task_content",
+					component: {
+						name: "el-input"
+					}
+				},
+				{
 					prop: "task_type",
 					value: 1,
 					label: "浠诲姟绫诲瀷",
@@ -104,7 +118,17 @@
 					label: "鐘舵��",
 					prop: "status",
 					component: {
-						name: "el-input"
+						name: "el-radio-group",
+						options: [
+							{
+								label: "鏈惎鐢�",
+								value: 0
+							},
+							{
+								label: "鍚敤",
+								value: 1
+							}
+						]
 					}
 				}
 			]
@@ -161,6 +185,14 @@
 					width: 100
 				},
 				{
+					label: "浠诲姟鎸囦护",
+					prop: "task_command"
+				},
+				{
+					label: "浠诲姟鍐呭鎻忚堪",
+					prop: "task_content"
+				},
+				{
 					label: "璁惧鍒嗙粍ID",
 					prop: "group_id"
 				},
@@ -174,7 +206,28 @@
 				},
 				{
 					label: "鐘舵��",
-					prop: "status"
+					prop: "status",
+					dict: [
+						{
+							label: "鍋滅敤",
+							value: 0,
+							type: "info" //success  warning  danger  info鍙��
+						},
+						{
+							label: "鍚敤",
+							value: 1
+						}
+					],
+					filters: [
+						{
+							text: "鍋滅敤",
+							value: 0
+						},
+						{
+							text: "鍚敤",
+							value: 1
+						}
+					]
 				},
 				{
 					label: "鎿嶄綔",

--
Gitblit v1.9.1