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/application/application.js | 45 +++++++++++++++++++++++++++++++++------------
1 files changed, 33 insertions(+), 12 deletions(-)
diff --git a/src/const/application/application.js b/src/const/application/application.js
index 4af12ec..bde9434 100644
--- a/src/const/application/application.js
+++ b/src/const/application/application.js
@@ -17,10 +17,12 @@
border: true,
index: true,
viewBtn: false,
+ addBtn:false,
delBtn:false,
editBtn:false,
selection: true,
dialogClickModal: false,
+ menu:false,
group: [
{
label: '基本信息',
@@ -54,23 +56,42 @@
disabled:false,
rules: [{required: true, trigger: ['blur','change'],validator:mobileValidate}]
},
+ // {
+ // label: "通行开始时间",
+ // prop: "startPassTime",
+ // type: "date",
+ // format:'yyyy-MM-dd',
+ // valueFormat:'yyyy-MM-dd',
+ // labelWidth:labelWidth,
+ // disabled:false,
+ // pickerOptions: {
+ // disabledDate(time) {
+ // return time.getTime() < Date.now();
+ // },
+ // }
+ // },
+ // {
+ // label: "通行结束时间",
+ // prop: "endPassTime",
+ // type: "date",
+ // format:'yyyy-MM-dd',
+ // valueFormat:'yyyy-MM-dd',
+ // labelWidth:labelWidth,
+ // disabled:false,
+ // },
{
- label: "通行开始时间",
- prop: "startTime",
- type: "date",
+ label: "通行时间段",
+ prop: "passTime",
+ type: "daterange",
format:'yyyy-MM-dd',
valueFormat:'yyyy-MM-dd',
labelWidth:labelWidth,
disabled:false,
- },
- {
- label: "通行结束时间",
- prop: "endTime",
- type: "date",
- format:'yyyy-MM-dd',
- valueFormat:'yyyy-MM-dd',
- labelWidth:labelWidth,
- disabled:false,
+ pickerOptions: {
+ disabledDate(time) {
+ return time.getTime() < Date.now();
+ },
+ }
},
{
label: "起运机构",
--
Gitblit v1.9.3