Compare commits

...

2 Commits

  1. 38
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/emergencyAgencies/index.vue

38
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 { delay, exportFile, confirm } from "@screen/utils/common";
import { Message } from "element-ui"; import { Message } from "element-ui";
let vehicleTypeList = [];
// //
export default { export default {
name: 'EmergencyAgencies', name: 'EmergencyAgencies',
@ -105,18 +107,48 @@ export default {
key: "dcOrganizations.stakeMark", key: "dcOrganizations.stakeMark",
label: "桩号" label: "桩号"
}, },
// {
// key: "dcOrganizations.latitude",
// label: ""
// },
{ {
key: "dcOrganizations.latitude", key: "car",
label: "救援外协单位" label: "驻点车辆",
value: "aaa"
},
{
key: "employeesNum",
label: "驻点人员"
} }
], ],
isFirst: true, isFirst: true
} }
}, },
created() { created() {
this.getData(); this.getData();
this.getVehicleTypeList();
}, },
methods: { 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) { async handleDelete(data) {
await confirm({ message: "是否要删除该机构?" }); await confirm({ message: "是否要删除该机构?" });

Loading…
Cancel
Save