From 7f55d647cabae0bdc7164f2e3b21e1efca1fdde0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=9C=8B?= Date: Thu, 29 Feb 2024 09:35:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=96=E6=AE=B5=E7=AE=A1=E7=90=86=E6=96=B0?= =?UTF-8?q?=E5=A2=9E,=E5=85=B6=E5=AE=9E=E6=A1=A9=E5=8F=B7=E5=BF=85?= =?UTF-8?q?=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/jurisdictionalManagement/data.js | 72 ++----------------- 1 file changed, 5 insertions(+), 67 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/jurisdictionalManagement/data.js b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/jurisdictionalManagement/data.js index d4413bf8..23793e1f 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/jurisdictionalManagement/data.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/jurisdictionalManagement/data.js @@ -36,75 +36,13 @@ export const addEditFormList = [ required: true, }, - merge(cloneDeep(PresetFormItems.station), { - required: false, - label: "起始桩号:", - options: { - options: [ - { - rules: [ - { - message: "请补全桩号", - callback(value, data) { - if (!value?.trim() && data.startStakeMark[1]?.trim()) - return false; - else return true; - }, - }, - ], - key: "startStakeMark[0]", - }, - { - rules: [ - { - message: "请补全桩号", - callback(value, data) { - if (!value?.trim() && data.startStakeMark[0]?.trim()) - return false; - else return true; - }, - }, - ], - key: "startStakeMark[1]", - }, - ], - }, + merge(cloneDeep(PresetFormItems.startStation), { + required: true, }), - - merge(cloneDeep(PresetFormItems.station), { - required: false, - label: "结束桩号:", - options: { - options: [ - { - rules: [ - { - message: "请补全桩号", - callback(value, data) { - if (!value?.trim() && data.endStakeMark[1]?.trim()) - return false; - else return true; - }, - }, - ], - key: "endStakeMark[0]", - }, - { - rules: [ - { - message: "请补全桩号", - callback(value, data) { - if (!value?.trim() && data.endStakeMark[0]?.trim()) - return false; - else return true; - }, - }, - ], - key: "endStakeMark[1]", - }, - ], - }, + merge(cloneDeep(PresetFormItems.endStation), { + required: true, }), + { label: "辖区路段编号:", key: "roadCode",