|
@@ -5,7 +5,9 @@
|
|
|
<AlaemList :selectTimes="selectTimes" :list="bjxxList" v-if="bjxxList && bjxxList.length > 0" @callback="callback" :pId="pId" />
|
|
|
</border-panel>
|
|
|
<border-panel height="593px" width="540px" style="margin-bottom: 6px" :headerType="3" title="出动力量">
|
|
|
- <MobilizeStrength style="width: 518px;" :list="cdxxList" :zlxx="zlxx" :hcws="hcws" />
|
|
|
+ <MobilizeStrength style="width: 518px;" :list="cdxxList"
|
|
|
+ :hcws1="hcws1"
|
|
|
+ :zlxx="zlxx" :hcws="hcws" />
|
|
|
</border-panel>
|
|
|
</div>
|
|
|
<div style="width: 1000px">
|
|
@@ -67,8 +69,9 @@
|
|
|
ajid: "",
|
|
|
bjxxList: [], //报警信息
|
|
|
cdxxList: [], //出动信息列表
|
|
|
- zlxx: [], //出动信息总览
|
|
|
+ zlxx: "", //出动信息总览
|
|
|
hcws: [], //火场文书
|
|
|
+ hcws1: [],
|
|
|
ajxxList: [],
|
|
|
jzxxList: {},
|
|
|
fxxxList: {},
|
|
@@ -105,9 +108,23 @@
|
|
|
return null;
|
|
|
},
|
|
|
callback(id) {
|
|
|
- this.params.id = id;
|
|
|
- this.getMapData();
|
|
|
- this.getOtherData();
|
|
|
+ if (id) {
|
|
|
+ this.params.id = id;
|
|
|
+ this.getMapData();
|
|
|
+ this.getOtherData();
|
|
|
+ } else {
|
|
|
+ this.ajid = ""
|
|
|
+ this.cdxxList = []//出动信息列表
|
|
|
+ this.zlxx = "" //出动信息总览
|
|
|
+ this.hcws = [] //火场文书
|
|
|
+ this.hcws1 = []
|
|
|
+ this.ajxxList = []
|
|
|
+ this.jzxxList = {}
|
|
|
+ this.fxxxList = {}
|
|
|
+ this.lshzList = []
|
|
|
+ this.wlwsb = []
|
|
|
+ this.mapData = null
|
|
|
+ }
|
|
|
},
|
|
|
openBasicModal() {
|
|
|
this.showModal("basicInfoModal");
|
|
@@ -129,7 +146,12 @@
|
|
|
jqTywysbm: this.params.id,
|
|
|
};
|
|
|
getHcws(hcwsId).then((res) => {
|
|
|
- this.hcws = res.data.rows[0];
|
|
|
+ this.hcws1 = res.data.rows[0]
|
|
|
+ let i = res.data.rows
|
|
|
+ let i2 = i.filter((item, index) => {
|
|
|
+ return index
|
|
|
+ })
|
|
|
+ this.hcws = i2;
|
|
|
});
|
|
|
// 事故单位信息-案件信息列表
|
|
|
getAjxx(this.params).then((res) => {
|