From dc51134c2f6b5c3605a03fa0e54aaf0e49e044a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=9C=8B?= Date: Wed, 10 Apr 2024 16:45:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E6=80=A5=E4=BA=BA=E5=91=98=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E4=BA=BA=E5=91=98=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/PeopleCard/index.vue | 5 ++++ .../components/AddNEditDialog.vue | 26 ++++++++++++++++--- .../views/firstResponders/index.vue | 2 +- 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/components/PeopleCard/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/components/PeopleCard/index.vue index 632ebe65..c01a56f1 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/components/PeopleCard/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/components/PeopleCard/index.vue @@ -42,6 +42,10 @@ export default { key: "name", label: "姓名" }, + { + key: "type", + label: "类型" + }, { key: "postName", label: "岗位" @@ -72,6 +76,7 @@ export default { display: flex; flex-direction: column; gap: 6px; + font-size: 14px; } .btns { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/firstResponders/components/AddNEditDialog.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/firstResponders/components/AddNEditDialog.vue index c38226b5..2c21617b 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/firstResponders/components/AddNEditDialog.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/firstResponders/components/AddNEditDialog.vue @@ -7,7 +7,7 @@ ref="FormConfigRef" :formList="formList" column="1" - labelWidth="90px" + labelWidth="100px" /> @@ -68,6 +68,24 @@ export default { }, ], }, + { + label: "人员类型:", + key: "employeesType", + required: true, + type: "select", + options: { + options: [ + { + key: 1, + label: "路管人员", + }, + { + key: 2, + label: "应急人员", + }, + ], + }, + }, { label: "岗位:", key: "postId", @@ -127,7 +145,7 @@ export default { getSelectOptionsStation(2), ]).then(([post, organization]) => { if (post.status === "fulfilled" && post.value.code == 200) { - this.formList[2].options.options = post.value.data.map((item) => ({ + this.formList[3].options.options = post.value.data.map((item) => ({ key: item.postId + "", label: item.postName, })); @@ -137,7 +155,7 @@ export default { organization.status === "fulfilled" && Array.isArray(organization.value) ) { - this.formList[3].options.options = organization.value; + this.formList[4].options.options = organization.value; } }); }, @@ -181,7 +199,7 @@ export default {