From f98e7b54788f431ed4475d83f6e90e1941775b9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=9C=8B?= Date: Fri, 1 Mar 2024 10:40:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A9=BB=E7=82=B9=E4=BA=BA=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/emergencyAgencies/index.vue | 38 +++++++++++++++++-- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/emergencyAgencies/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/emergencyAgencies/index.vue index ac0da082..6f823813 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/emergencyAgencies/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/emergencyAgencies/index.vue @@ -61,6 +61,8 @@ import { setLoading } from "@screen/utils/index.js" import { delay, exportFile, confirm } from "@screen/utils/common"; import { Message } from "element-ui"; +let vehicleTypeList = []; + // 应急机构 export default { name: 'EmergencyAgencies', @@ -105,18 +107,48 @@ export default { key: "dcOrganizations.stakeMark", label: "桩号" }, + // { + // key: "dcOrganizations.latitude", + // label: "救援外协单位" + // }, { - key: "dcOrganizations.latitude", - label: "救援外协单位" + key: "car", + label: "驻点车辆", + value: "aaa" + }, + { + key: "employeesNum", + label: "驻点人员" } ], - isFirst: true, + isFirst: true } }, created() { this.getData(); + this.getVehicleTypeList(); }, methods: { + getVehicleTypeList() { + if (vehicleTypeList.length) return; + + request({ + url: `/system/dict/data/type/sys_vehicle_type`, + method: "GET", + params: {} + }) + .then(({ data, code }) => { + if (code != 200) return ;//Message.error("详情获取失败"); + + // vehicleTypeList = this.formList[5].options.options = data.map(item => ({ + // key: item.dictValue, + // label: item.dictLabel + // })) + }) + .catch((err) => { + + }); + }, async handleDelete(data) { await confirm({ message: "是否要删除该机构?" });