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() + }) } } }