|
@@ -353,12 +353,14 @@
|
|
<div style="clear: both;"></div>
|
|
<div style="clear: both;"></div>
|
|
</el-form>
|
|
</el-form>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <!-- 添加区域标记 -->
|
|
<el-dialog title="火灾区域" :visible.sync="regionalFlagOpen" width="1000px">
|
|
<el-dialog title="火灾区域" :visible.sync="regionalFlagOpen" width="1000px">
|
|
<areaSupermap ref="fireAreaSupermap" v-if="regionalFlagOpen" style="width: 100%;height:74vh"
|
|
<areaSupermap ref="fireAreaSupermap" v-if="regionalFlagOpen" style="width: 100%;height:74vh"
|
|
:mapDiv="'fireAreaSuperMap1'" :mapSite="{doubleClickZoom:false}" :codes="['9fa5']"
|
|
:mapDiv="'fireAreaSuperMap1'" :mapSite="{doubleClickZoom:false}" :codes="['9fa5']"
|
|
:isSideBySide="false"
|
|
:isSideBySide="false"
|
|
:showAreaLatLng="showAreaLatLng"></areaSupermap>
|
|
:showAreaLatLng="showAreaLatLng"></areaSupermap>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <!-- 图片,视频预览 -->
|
|
<el-dialog title="视频预览" :visible.sync="showTcPlayer" width="28%" customClass="customWidthMp4">
|
|
<el-dialog title="视频预览" :visible.sync="showTcPlayer" width="28%" customClass="customWidthMp4">
|
|
<TcPlayer ref="TcPlayer" :playVideo="playVideo" :widthHeigt="[100,100]"></TcPlayer>
|
|
<TcPlayer ref="TcPlayer" :playVideo="playVideo" :widthHeigt="[100,100]"></TcPlayer>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
@@ -384,7 +386,7 @@
|
|
@click="dutysystemSelect(item.deptId, item.deptName, item.id)"
|
|
@click="dutysystemSelect(item.deptId, item.deptName, item.id)"
|
|
>
|
|
>
|
|
{{ truncateText(item.deptName, 12) }}
|
|
{{ truncateText(item.deptName, 12) }}
|
|
- </div>
|
|
|
|
|
|
+ </div>
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -439,6 +441,7 @@
|
|
<div style="clear: both;"></div>
|
|
<div style="clear: both;"></div>
|
|
</el-form>
|
|
</el-form>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <!-- 会议弹窗 start -->
|
|
<el-dialog title="视频会议" :visible.sync="showMeetingMsgDialog" v-if="showMeetingMsgDialog" width="65%"
|
|
<el-dialog title="视频会议" :visible.sync="showMeetingMsgDialog" v-if="showMeetingMsgDialog" width="65%"
|
|
@close="closeMeetingMsgDialog()">
|
|
@close="closeMeetingMsgDialog()">
|
|
<el-form label-width="1500px">
|
|
<el-form label-width="1500px">
|
|
@@ -503,6 +506,7 @@
|
|
<div style="clear: both;"></div>
|
|
<div style="clear: both;"></div>
|
|
</el-form>
|
|
</el-form>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <!-- 会议弹窗 end -->
|
|
<el-dialog title="火险报告" :visible.sync="showEventConfirm_gd" v-if="showEventConfirm_gd" width="100%"
|
|
<el-dialog title="火险报告" :visible.sync="showEventConfirm_gd" v-if="showEventConfirm_gd" width="100%"
|
|
class="top-dialog" @close="cancelEventConfirm_gd()">
|
|
class="top-dialog" @close="cancelEventConfirm_gd()">
|
|
<div class="table-container">
|
|
<div class="table-container">
|
|
@@ -1005,13 +1009,9 @@
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
- <el-dialog title="火灾区域" :visible.sync="regionalFlagOpen" width="1000px">
|
|
|
|
- <areaSupermap ref="fireAreaSupermap" v-if="regionalFlagOpen" style="width: 100%;height:74vh"
|
|
|
|
- :mapDiv="'fireAreaSuperMap1'" :mapSite="{doubleClickZoom:false}" :codes="['9fa5']"
|
|
|
|
- :isSideBySide="false"
|
|
|
|
- :showAreaLatLng="showAreaLatLng"></areaSupermap>
|
|
|
|
- <!-- <areaSupermap ref="fireAreaSupermap" v-if="regionalFlagOpen" :showAreaLatLng="showAreaLatLng"></areaSupermap> -->
|
|
|
|
- </el-dialog>
|
|
|
|
|
|
+ <!-- 添加区域标记 -->
|
|
|
|
+
|
|
|
|
+ <!-- 图片,视频预览 -->
|
|
<el-dialog title="人员选择" :visible.sync="showFindUserByDept" width="40%">
|
|
<el-dialog title="人员选择" :visible.sync="showFindUserByDept" width="40%">
|
|
<findUserByDept v-if="showFindUserByDept" ref="findUserByDept" :deptId="iconCurrentIndex"
|
|
<findUserByDept v-if="showFindUserByDept" ref="findUserByDept" :deptId="iconCurrentIndex"
|
|
@addSelection="addSelection"></findUserByDept>
|
|
@addSelection="addSelection"></findUserByDept>
|
|
@@ -1124,7 +1124,6 @@ import {
|
|
getIconBg
|
|
getIconBg
|
|
} from '@/api/components/sookaMapIcon'; //资源底色控制文件
|
|
} from '@/api/components/sookaMapIcon'; //资源底色控制文件
|
|
import TVWall from '@/components/TVWall.vue' //电视墙弹窗
|
|
import TVWall from '@/components/TVWall.vue' //电视墙弹窗
|
|
-import {getBroadcast} from "@/api/datacenter";
|
|
|
|
import {
|
|
import {
|
|
getEventDetail,
|
|
getEventDetail,
|
|
sendEventLog,
|
|
sendEventLog,
|
|
@@ -1146,7 +1145,16 @@ import {
|
|
eventExamine,
|
|
eventExamine,
|
|
fireControlViewList,
|
|
fireControlViewList,
|
|
sendMessage,
|
|
sendMessage,
|
|
- fireControlViewPoint
|
|
|
|
|
|
+ fireControlViewPoint,
|
|
|
|
+ dutysystemRemove_direct,
|
|
|
|
+ dutysystemList_direct,
|
|
|
|
+ centereventtdepteventList_direct,
|
|
|
|
+ dutysystemAdd_direct,
|
|
|
|
+ listYuAn_direct,
|
|
|
|
+ updateYjYuAn_direct,
|
|
|
|
+ listSJfl_direct,
|
|
|
|
+ selectByeventCode_direct,
|
|
|
|
+ getEventDetail_direct, eventHandling_direct, sendTask_direct
|
|
} from '@/api/forest'
|
|
} from '@/api/forest'
|
|
import {
|
|
import {
|
|
treeselectAll as deptTreeselect
|
|
treeselectAll as deptTreeselect
|
|
@@ -1169,7 +1177,8 @@ import {
|
|
import findUserByDept from '@/views/findUserByDept'
|
|
import findUserByDept from '@/views/findUserByDept'
|
|
import Cookies from "js-cookie"; //责任人选择弹框
|
|
import Cookies from "js-cookie"; //责任人选择弹框
|
|
import request from "@/utils/request";
|
|
import request from "@/utils/request";
|
|
-import { selectConfigKey } from "@/api/system/config";
|
|
|
|
|
|
+import {selectConfigKey} from "@/api/system/config";
|
|
|
|
+import {getBroadcast} from "@/api/datacenter";
|
|
|
|
|
|
export default {
|
|
export default {
|
|
dicts: ['task_source'],
|
|
dicts: ['task_source'],
|
|
@@ -1746,7 +1755,8 @@ export default {
|
|
}, 1000)
|
|
}, 1000)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- } else if(type=="sxt"){
|
|
|
|
|
|
+ }
|
|
|
|
+ else if(type=="sxt"){
|
|
this.listResourceByWz(type);
|
|
this.listResourceByWz(type);
|
|
}
|
|
}
|
|
else if(type=="broadcast"){
|
|
else if(type=="broadcast"){
|
|
@@ -1943,7 +1953,7 @@ export default {
|
|
let param = {
|
|
let param = {
|
|
ids: row.id
|
|
ids: row.id
|
|
}
|
|
}
|
|
- dutysystemRemove(param).then(res => {
|
|
|
|
|
|
+ dutysystemRemove_direct(param.ids).then(res => {
|
|
this.$message.success(`删除成功!`)
|
|
this.$message.success(`删除成功!`)
|
|
this.dutysystemSelect(this.iconCurrentIndex, this.dutysystemDeptName, this.depteventId)
|
|
this.dutysystemSelect(this.iconCurrentIndex, this.dutysystemDeptName, this.depteventId)
|
|
})
|
|
})
|
|
@@ -1954,7 +1964,7 @@ export default {
|
|
handleSave: function (index, rowData) { //保存负责人行数
|
|
handleSave: function (index, rowData) { //保存负责人行数
|
|
rowData.dept = this.dutysystemDeptName
|
|
rowData.dept = this.dutysystemDeptName
|
|
rowData.depteventId = this.depteventId
|
|
rowData.depteventId = this.depteventId
|
|
- dutysystemAdd(rowData).then(res => {
|
|
|
|
|
|
+ dutysystemAdd_direct(rowData).then(res => {
|
|
this.$message.success(`保存成功!`)
|
|
this.$message.success(`保存成功!`)
|
|
this.dutysystemSelect(this.iconCurrentIndex, this.dutysystemDeptName, this.depteventId)
|
|
this.dutysystemSelect(this.iconCurrentIndex, this.dutysystemDeptName, this.depteventId)
|
|
})
|
|
})
|
|
@@ -1969,7 +1979,7 @@ export default {
|
|
let param = {
|
|
let param = {
|
|
depteventId: depteventId
|
|
depteventId: depteventId
|
|
}
|
|
}
|
|
- dutysystemList(param).then(res => {
|
|
|
|
|
|
+ dutysystemList_direct(param).then(res => {
|
|
if (res.data != null && res.data.length > 0) {
|
|
if (res.data != null && res.data.length > 0) {
|
|
this.dutysystemTableData = res.data
|
|
this.dutysystemTableData = res.data
|
|
} else {
|
|
} else {
|
|
@@ -1982,7 +1992,7 @@ export default {
|
|
let param = {
|
|
let param = {
|
|
eventCode: this.eventCode
|
|
eventCode: this.eventCode
|
|
}
|
|
}
|
|
- centereventtdepteventList(param).then(res => {
|
|
|
|
|
|
+ centereventtdepteventList_direct(param).then(res => {
|
|
this.depteventList = res.data
|
|
this.depteventList = res.data
|
|
this.showResponsibilityDialog = true
|
|
this.showResponsibilityDialog = true
|
|
})
|
|
})
|
|
@@ -2017,7 +2027,7 @@ export default {
|
|
eventCode: this.eventCode,
|
|
eventCode: this.eventCode,
|
|
eventName: this.eventName
|
|
eventName: this.eventName
|
|
}
|
|
}
|
|
- dutysystemAdd(param).then(res => {
|
|
|
|
|
|
+ dutysystemAdd_direct(param).then(res => {
|
|
this.$message.success(`保存成功!`)
|
|
this.$message.success(`保存成功!`)
|
|
this.dutysystemSelect(this.iconCurrentIndex, this.dutysystemDeptName, this.depteventId);
|
|
this.dutysystemSelect(this.iconCurrentIndex, this.dutysystemDeptName, this.depteventId);
|
|
this.closeResponsibilityDialog();
|
|
this.closeResponsibilityDialog();
|
|
@@ -2033,7 +2043,7 @@ export default {
|
|
this.$refs.supermapDialog1.showheatPlotting(this.latitude, this.longitude, this.windSpeed, this.windDirection)
|
|
this.$refs.supermapDialog1.showheatPlotting(this.latitude, this.longitude, this.windSpeed, this.windDirection)
|
|
},
|
|
},
|
|
showUpdateYjYuAn() {
|
|
showUpdateYjYuAn() {
|
|
- listYuAn().then(res => {
|
|
|
|
|
|
+ listYuAn_direct({}).then(res => {
|
|
//关联预案列表
|
|
//关联预案列表
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.guanLianYuAnList = res.data
|
|
this.guanLianYuAnList = res.data
|
|
@@ -2050,7 +2060,7 @@ export default {
|
|
eventCode: this.eventCode,
|
|
eventCode: this.eventCode,
|
|
reserve: this.sendGuanLianYuAn
|
|
reserve: this.sendGuanLianYuAn
|
|
}
|
|
}
|
|
- updateYjYuAn(param).then(res => {
|
|
|
|
|
|
+ updateYjYuAn_direct(param).then(res => {
|
|
//事件调整关联预案
|
|
//事件调整关联预案
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.$message.success(`预案调整成功!`)
|
|
this.$message.success(`预案调整成功!`)
|
|
@@ -2397,20 +2407,20 @@ export default {
|
|
if (that.eventTypeXl != null) {
|
|
if (that.eventTypeXl != null) {
|
|
that.sendEventType = that.eventTypeXl;
|
|
that.sendEventType = that.eventTypeXl;
|
|
} else {
|
|
} else {
|
|
- await listSJfl(param).then((res) => {
|
|
|
|
- //事件类型
|
|
|
|
- if (res.code == 200) {
|
|
|
|
|
|
+ await listSJfl_direct(param).then((res) => {
|
|
|
|
+ //事件类型
|
|
|
|
+ if (res.code == 200) {
|
|
that.eventTypeList = res.data;
|
|
that.eventTypeList = res.data;
|
|
- }
|
|
|
|
|
|
+ }
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- await listYuAn().then(res => {
|
|
|
|
|
|
+ await listYuAn_direct({}).then(res => {
|
|
//关联预案
|
|
//关联预案
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
that.guanLianYuAnList = res.data
|
|
that.guanLianYuAnList = res.data
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- await selectByeventCode(that.eventCode).then(res => {
|
|
|
|
|
|
+ await selectByeventCode_direct(that.eventCode).then(res => {
|
|
//签收部门
|
|
//签收部门
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
that.deptOptions = res.data
|
|
that.deptOptions = res.data
|
|
@@ -2422,7 +2432,7 @@ export default {
|
|
that.eventConfirmTitle = '事件确认'
|
|
that.eventConfirmTitle = '事件确认'
|
|
} else if (eventStatus == 'wb') { //误报
|
|
} else if (eventStatus == 'wb') { //误报
|
|
that.eventConfirmTitle = '事件误报'
|
|
that.eventConfirmTitle = '事件误报'
|
|
- await selectByeventCode(that.eventCode).then(res => {
|
|
|
|
|
|
+ await selectByeventCode_direct(that.eventCode).then(res => {
|
|
//签收部门
|
|
//签收部门
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
that.deptOptions = res.data
|
|
that.deptOptions = res.data
|
|
@@ -2432,7 +2442,7 @@ export default {
|
|
that.showEventConfirm = true
|
|
that.showEventConfirm = true
|
|
} else if (eventStatus == 'cf') { //重复
|
|
} else if (eventStatus == 'cf') { //重复
|
|
that.eventConfirmTitle = '事件重复'
|
|
that.eventConfirmTitle = '事件重复'
|
|
- await selectByeventCode(that.eventCode).then(res => {
|
|
|
|
|
|
+ await selectByeventCode_direct(that.eventCode).then(res => {
|
|
//签收部门
|
|
//签收部门
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
that.deptOptions = res.data
|
|
that.deptOptions = res.data
|
|
@@ -2441,7 +2451,7 @@ export default {
|
|
})
|
|
})
|
|
that.showEventConfirm = true
|
|
that.showEventConfirm = true
|
|
} else if (eventStatus == 'ld') { //联动
|
|
} else if (eventStatus == 'ld') { //联动
|
|
- await selectByeventCode(that.eventCode).then(res => {
|
|
|
|
|
|
+ await selectByeventCode_direct(that.eventCode).then(res => {
|
|
//签收部门
|
|
//签收部门
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
that.deptOptions = res.data
|
|
that.deptOptions = res.data
|
|
@@ -2496,7 +2506,7 @@ export default {
|
|
// return
|
|
// return
|
|
// }
|
|
// }
|
|
let eventState = "";
|
|
let eventState = "";
|
|
- listSJfl({
|
|
|
|
|
|
+ listSJfl_direct({
|
|
parentId: that.eventType
|
|
parentId: that.eventType
|
|
}).then(res => {
|
|
}).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
@@ -2519,7 +2529,6 @@ export default {
|
|
eventState: eventState,
|
|
eventState: eventState,
|
|
eventName: that.eventName
|
|
eventName: that.eventName
|
|
}
|
|
}
|
|
- debugger
|
|
|
|
sendTask(param).then(res => {
|
|
sendTask(param).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
that.$message.success(`联动发起成功!`)
|
|
that.$message.success(`联动发起成功!`)
|
|
@@ -2664,7 +2673,7 @@ export default {
|
|
that.eventDescription = ""
|
|
that.eventDescription = ""
|
|
})
|
|
})
|
|
} else if (eventStatus == 'cz') {
|
|
} else if (eventStatus == 'cz') {
|
|
- eventHandling(that.eventId, that.eventCode).then(res => {
|
|
|
|
|
|
+ eventHandling_direct(that.eventId, that.eventCode).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
that.$message.success(`处理成功!`)
|
|
that.$message.success(`处理成功!`)
|
|
that.refreshEvent(that.eventCode)
|
|
that.refreshEvent(that.eventCode)
|
|
@@ -2775,12 +2784,12 @@ export default {
|
|
this.mapToolShow = false
|
|
this.mapToolShow = false
|
|
this.mapToolCheckItem = [];
|
|
this.mapToolCheckItem = [];
|
|
this.mapToolCheckAll = false
|
|
this.mapToolCheckAll = false
|
|
- this.mapToolShowBH = false,
|
|
|
|
- this.getNewDataByDate(this.calendarDay)
|
|
|
|
|
|
+ this.mapToolShowBH = false
|
|
|
|
+ this.getNewDataByDate(this.calendarDay)
|
|
this.eventCode = eventCode
|
|
this.eventCode = eventCode
|
|
let that = this
|
|
let that = this
|
|
//获取事件详情
|
|
//获取事件详情
|
|
- getEventDetail({
|
|
|
|
|
|
+ getEventDetail_direct({
|
|
eventCode: eventCode
|
|
eventCode: eventCode
|
|
}).then(res => {
|
|
}).then(res => {
|
|
let markersMapList = [];
|
|
let markersMapList = [];
|
|
@@ -2925,7 +2934,7 @@ export default {
|
|
this.eventCode = eventCode
|
|
this.eventCode = eventCode
|
|
let that = this
|
|
let that = this
|
|
//刷新--事件详情
|
|
//刷新--事件详情
|
|
- getEventDetail({
|
|
|
|
|
|
+ getEventDetail_direct({
|
|
eventCode: eventCode
|
|
eventCode: eventCode
|
|
}).then(res => {
|
|
}).then(res => {
|
|
let markersMapList = [];
|
|
let markersMapList = [];
|
|
@@ -3070,7 +3079,7 @@ export default {
|
|
},
|
|
},
|
|
refreshEventDialog(eventCode) {
|
|
refreshEventDialog(eventCode) {
|
|
//刷新--事件日志12
|
|
//刷新--事件日志12
|
|
- getEventDetail({
|
|
|
|
|
|
+ getEventDetail_direct({
|
|
eventCode: eventCode
|
|
eventCode: eventCode
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.eventLogList = res.data.eventlog
|
|
this.eventLogList = res.data.eventlog
|