From c4251204afde4dad907b175900727f531db72f70 Mon Sep 17 00:00:00 2001 From: wangwenhua <12345678> Date: Tue, 16 Sep 2025 09:35:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=BE=91=E8=A3=85?= =?UTF-8?q?=E5=A4=87=E9=A1=B6=E7=BA=A7=E5=88=86=E7=B1=BB=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/simulationScene/database/zbsjk.vue | 27 +++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/src/views/simulationScene/database/zbsjk.vue b/src/views/simulationScene/database/zbsjk.vue index 04f2425..5ee61eb 100644 --- a/src/views/simulationScene/database/zbsjk.vue +++ b/src/views/simulationScene/database/zbsjk.vue @@ -280,6 +280,26 @@ const listGridInfo = { { title: '所属国', dataIndex: 'operatorCountry' }, { dataIndex: 'action' }, ], + hospital: [ + { title: '#DBID', dataIndex: 'id', width: 80 }, + { title: '名称', dataIndex: 'resourceName', width: 200, ellipsis: true }, + { title: '经度', dataIndex: 'lng' }, + { title: '纬度', dataIndex: 'lat' }, + { title: '医生数量', dataIndex: 'doctorNum' }, + { title: '护士数量', dataIndex: 'nurseNum' }, + { title: '病床', dataIndex: 'hospitalBed' }, + { dataIndex: 'action' }, + ], + warehouse: [ + { title: '#DBID', dataIndex: 'id', width: 80 }, + { title: '名称', dataIndex: 'resourceName', width: 200, ellipsis: true }, + { title: '经度', dataIndex: 'lng' }, + { title: '纬度', dataIndex: 'lat' }, + { title: '药材数量', dataIndex: 'medicalNum' }, + { title: '油料', dataIndex: 'fuelNum' }, + { title: '弹药', dataIndex: 'ammunitionNum' }, + { dataIndex: 'action' }, + ], } export default { @@ -313,6 +333,10 @@ export default { valueKey: 'key', }, }, + { + label: '装备分类编码', + prop: 'entityType', + }, { label: '装备分类名称', prop: 'entityName', @@ -446,6 +470,7 @@ export default { created() { this.getZzTree() for (const key in this.dicData) { + console.log('=this.dicData=='+key) this.$http({ url: '/dicdata/' + key + '/getList', method: 'get', @@ -484,7 +509,7 @@ export default { handleOpenEditZbflModal(data) { this.zbflModal.title = '编辑装备分类' this.zbflModal.mode = 'edit' - this.zbflModal.formData = { id: data.id, parentId: data.parentId, entityName: data.entityName } + this.zbflModal.formData = { id: data.id, parentId: data.parentId, entityName: data.entityName,entityType: data.entityType } this.zbflModal.visible = true }, handleSubmitZbfl(formData) {