From 79ca2de06017a568c7e5445209d92fb262a5769e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=9C=8B?= Date: Wed, 21 Feb 2024 16:02:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=8F=91=E5=B8=83=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=A1=B5=E5=A2=9E=E5=8A=A0=E7=AD=9B=E9=80=89=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../JiHeExpressway/common/PresetFormItems.js | 60 +++++++++++++++++- .../Cards/AuditLists/data.js | 63 +++++++++++++++++++ .../Cards/AuditLists/index.vue | 4 +- 3 files changed, 125 insertions(+), 2 deletions(-) create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditLists/data.js diff --git a/ruoyi-ui/src/views/JiHeExpressway/common/PresetFormItems.js b/ruoyi-ui/src/views/JiHeExpressway/common/PresetFormItems.js index f1761c92..16ae2971 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/common/PresetFormItems.js +++ b/ruoyi-ui/src/views/JiHeExpressway/common/PresetFormItems.js @@ -73,7 +73,7 @@ export const illegalTriggeringType = { export const station = { label: "桩号:", key: "stakeMark", - required: true, + required: false, type: "MultipleLabelItem", options: { options: [ @@ -99,6 +99,64 @@ export const station = { } }; +export const startStation = { + label: "开始桩号:", + key: "startStakeMark", + required: false, + type: "MultipleLabelItem", + options: { + options: [ + { + prefix: { + text: "K", + style: { + color: "#3DE8FF", + }, + }, + key: "startStakeMark[0]", + }, + { + prefix: { + text: "+", + style: { + color: "#3DE8FF", + }, + }, + key: "startStakeMark[1]", + }, + ], + } +}; + +export const endStation = { + label: "结束桩号:", + key: "endStakeMark", + required: false, + type: "MultipleLabelItem", + options: { + options: [ + { + prefix: { + text: "K", + style: { + color: "#3DE8FF", + }, + }, + key: "endStakeMark[0]", + }, + { + prefix: { + text: "+", + style: { + color: "#3DE8FF", + }, + }, + key: "endStakeMark[1]", + }, + ], + } +}; + export const startEndStation = { label: "起止桩号:", key: "stakeMark", diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditLists/data.js b/ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditLists/data.js new file mode 100644 index 00000000..53f9c406 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditLists/data.js @@ -0,0 +1,63 @@ +import * as PresetFormItems from "@screen/common/PresetFormItems.js"; +import { merge, cloneDeep } from "lodash"; + +export const searchFormList = [ + PresetFormItems.eventType, + { + label: "事件状态:", + key: "eventState", + type: "RadioGroup", + options: { + options: [ + { + key: "0", + label: "未解决", + }, + { + key: "1", + label: "已解决", + }, + { + key: "2", + label: "已关闭", + }, + ], + }, + }, + { + label: "审核状态:", + key: "checkState", + type: "RadioGroup", + options: { + options: [ + { + key: "0", + label: "待审核", + }, + { + key: "1", + label: "已审核", + }, + { + key: "2", + label: "未通过", + }, + ], + }, + }, + { + label: "时间范围:", + key: "daterange", + required: false, + type: "datePicker", + options: { + type: "daterange", + format: "yyyy-MM-dd HH:mm:ss", + valueFormat: "yyyy-MM-dd HH:mm:ss", + }, + }, + PresetFormItems.startStation, + PresetFormItems.endStation + + +]; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditLists/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditLists/index.vue index 4336be2a..76172ed7 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditLists/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditLists/index.vue @@ -1,6 +1,6 @@