From e4e92ce9eee6d39ae6bddaeca8f212d9b3b52ecc Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Fri, 23 Sep 2022 14:25:51 +0800
Subject: [PATCH] 事件管理、巡检计划、维修管理添加时间查询

---
 src/const/taskinfo/taskinfo.js |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/src/const/taskinfo/taskinfo.js b/src/const/taskinfo/taskinfo.js
index 7a028de..ecdd3d0 100644
--- a/src/const/taskinfo/taskinfo.js
+++ b/src/const/taskinfo/taskinfo.js
@@ -6,7 +6,7 @@
   searchMenuSpan: 6,
   border: true,
   index: true,
-  viewBtn: true,
+  viewBtn: false,
   selection: true,
   dialogClickModal: false,
   column: [
@@ -76,18 +76,22 @@
       type: "select",
       span: 24,
       dicUrl: "/api/blade-user/user-list",
-      dataType: "number",
       props: {
         label: "name",
         value: "id"
       },
+      rules:[{
+        required: true,
+        message: "请输入巡检人员",
+        trigger: "blur"
+      }]
     },
     {
       label: "任务状态",
       prop: "state",
       type: "select",
       dicUrl: "/api/blade-system/dict-biz/dictionary?code=TACK_STATE",
-      dataType: "number",
+      disabled: true,
       props: {
         label: "dictValue",
         value: "dictKey"
@@ -97,7 +101,8 @@
       label: "任务来源",
       prop: "source",
       type: "select",
-      dicData: [{id:'WEB',name:'WEB'},{id:'APP',name:'APP'}],
+      dicData: [{id:'SYSTEMNEW',name:'系统创建'},{id:'SYSTEMAUTO',name:'计划任务新增'}],
+      disabled: true,
       props: {
         label: "name",
         value: "id"
@@ -108,6 +113,9 @@
       prop: "routeRange",
       type: "input",
       hide: true,
+      span: 24,
+      display: true,
+      addDisplay: true
     },
     {
       label: "创建人",

--
Gitblit v1.9.3