应急救援指挥对接
							parent
							
								
									5ef547fc8f
								
							
						
					
					
						commit
						4e93e4083f
					
				|  | @ -63,6 +63,10 @@ export default { | |||
|     infomations: { | ||||
|       type: Object, | ||||
|       required: true | ||||
|     }, | ||||
|     info: { | ||||
|       type: Object, | ||||
|       required: true | ||||
|     } | ||||
|   }, | ||||
|   data() { | ||||
|  |  | |||
|  | @ -8,7 +8,7 @@ | |||
|       <div class="body_flex_box"> | ||||
|         <!-- 左侧面板 --> | ||||
|         <div class="left"> | ||||
|           <base-table :infomations="infomations" use-type="dutyInfo" /> | ||||
|           <base-table :infomations="infomations" :info="info" use-type="dutyInfo" /> | ||||
|           <base-table :infomations="infomations" use-type="reservePlanInfo" is-reserve-plan /> | ||||
|           <base-table :infomations="infomations" use-type="addressBook" /> | ||||
|         </div> | ||||
|  | @ -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() | ||||
|       }) | ||||
|     } | ||||
|   } | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue