From 29bf5936bf1da2eea81f3abe07dc738f5267c42c Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 02 Jan 2023 16:34:16 +0800
Subject: [PATCH] 修改顶部栏

---
 src/const/applicationDelay/applicationDelay.js |   44 +++++++++++++++++++++++++++++++-------------
 1 files changed, 31 insertions(+), 13 deletions(-)

diff --git a/src/const/applicationDelay/applicationDelay.js b/src/const/applicationDelay/applicationDelay.js
index 2605279..53f17b4 100644
--- a/src/const/applicationDelay/applicationDelay.js
+++ b/src/const/applicationDelay/applicationDelay.js
@@ -11,6 +11,7 @@
   searchMenuSpan: 6,
   border: true,
   index: true,
+  addBtn:false,
   viewBtn: true,
   selection: true,
   dialogClickModal: false,
@@ -32,7 +33,7 @@
       prop: "no",
       span:24,
       type: "select",
-      dicUrl: "/api/application/application/getAll?status=10&&userId="+userId,
+      dicUrl: "/api/application/application/getAll?status=10&&passStatus=1&&userId="+userId,
       props:{
         label:"no",
         value:"no"
@@ -42,23 +43,39 @@
       },
       rules: [{required: true, trigger: ['blur','change'],message:'请输入申请编号'}]
     },
+    // {
+    //   label: "通行开始时间",
+    //   labelWidth:labelWidth,
+    //   prop: "delayStartTime",
+    //   type: "date",
+    //   format:'yyyy-MM-dd',
+    //   valueFormat:'yyyy-MM-dd',
+    //   disabled:false,
+    // },
+    // {
+    //   label: "通行结束时间",
+    //   labelWidth:labelWidth,
+    //   prop: "delayEndTime",
+    //   type: "date",
+    //   format:'yyyy-MM-dd',
+    //   valueFormat:'yyyy-MM-dd',
+    //   disabled:false,
+    // },
     {
-      label: "通行开始时间",
-      labelWidth:labelWidth,
-      prop: "delayStartTime",
-      type: "date",
+      label: "通行时间段",
+      prop: "passTime",
+      type: "daterange",
       format:'yyyy-MM-dd',
       valueFormat:'yyyy-MM-dd',
-      disabled:false,
-    },
-    {
-      label: "通行结束时间",
       labelWidth:labelWidth,
-      prop: "delayEndTime",
-      type: "date",
-      format:'yyyy-MM-dd',
-      valueFormat:'yyyy-MM-dd',
+      width:170,
       disabled:false,
+      pickerOptions: {
+        disabledDate(time) {
+          return time.getTime() < Date.now();
+        },
+      },
+      rules: [{required: true, trigger: ['blur','change'],message:'请输入通行时间段'}]
     },
     {
       label: "起运机构",
@@ -123,6 +140,7 @@
       prop: "remark",
       type: "textarea",
       minRows:2,
+      hide: true
     },
     {
       label: "办理进度",

--
Gitblit v1.9.3