From 4e93e4083fcc1c922787db4847bc5953936a44cd Mon Sep 17 00:00:00 2001 From: liujun Date: Thu, 8 Aug 2024 15:06:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E6=80=A5=E6=95=91=E6=8F=B4=E6=8C=87?= =?UTF-8?q?=E6=8C=A5=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../emergency_map/components/baseTable.vue | 4 +++ .../emergency_map/components/mapAssembly.vue | 28 ++++++++++++++++++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/src/views/emergen_cyrescue/emergency_map/components/baseTable.vue b/src/views/emergen_cyrescue/emergency_map/components/baseTable.vue index 13b4b27..222062f 100644 --- a/src/views/emergen_cyrescue/emergency_map/components/baseTable.vue +++ b/src/views/emergen_cyrescue/emergency_map/components/baseTable.vue @@ -63,6 +63,10 @@ export default { infomations: { type: Object, required: true + }, + info: { + type: Object, + required: true } }, data() { diff --git a/src/views/emergen_cyrescue/emergency_map/components/mapAssembly.vue b/src/views/emergen_cyrescue/emergency_map/components/mapAssembly.vue index bb20536..ae50881 100644 --- a/src/views/emergen_cyrescue/emergency_map/components/mapAssembly.vue +++ b/src/views/emergen_cyrescue/emergency_map/components/mapAssembly.vue @@ -8,7 +8,7 @@
- +
@@ -59,6 +59,7 @@ export default { components: { baseTable, sysChat, DialogIndex }, data() { return { + info: {}, infomations: { dutyInfoData: [ { @@ -376,6 +377,9 @@ export default { /** 初始化选中首个二级坐标点位分类 */ this.currSubControlPoint = this.subControlPoint['0'] }, + created() { + this.initInfo() + }, methods: { /** 地图初始化 */ mapInit() { @@ -531,6 +535,28 @@ export default { // 接收子组件传递出来的指令发送的事件 handlerOrderMessage() { this.infoDialog.visible = true + }, + initInfo() { + const loading = this.$loading({ + lock: true, + text: 'Loading', + spinner: 'el-icon-loading', + background: 'rgba(0, 0, 0, 0.7)' + }) + requestFN( + '/bi/emergency/getYjBiInformation', + { + FIRERESERVEPLAN_ID: '1458bd17152c44e1aa733408d3b84b98', + REPORT_ID: '4a225c74482140c0a4838704304cfb47', + CORP_ID: '13cf0f4ec77e4d98ae8cdd9c3386ae0c' + } + ).then((data) => { + console.log(data) + loading.close() + }).catch((e) => { + console.log(e) + loading.close() + }) } } }