|
@@ -23,14 +23,14 @@
|
|
|
<dt>
|
|
|
<span style="width: 40px;text-align: center;padding-left: 1%;">类型</span>
|
|
|
<span style="width: 128px;text-indent: 20px;padding-left: 3%;">事件名称</span>
|
|
|
- <span style="width: 128px;text-align: center;">事件描述</span>
|
|
|
+ <span style="width: 128px;text-align: center;">发生时间</span>
|
|
|
</dt>
|
|
|
<div class="hei_scroll hei56">
|
|
|
<dd v-for="(e,idx) in deviceListSearch" :key="idx" @click="getEventDetail(e.eventId,e.latitude,e.longitude)">
|
|
|
<img :src="e.eventSource == 'artificial' ? require('@/assets/images/artificialIcon.png') : require('@/assets/images/deviceIcon.png') " style="display: inline-block;margin: 3% 0% 0% 4%;;width: 20px;height: 20px;">
|
|
|
<span style="width: 128px;text-wrap: nowrap;overflow: hidden;text-overflow: ellipsis;padding-left: 3%;" :title="e.eventTitle">{{ e.eventTitle }}</span>
|
|
|
- <span style="width: 128px;text-wrap: nowrap;overflow: hidden;text-overflow: ellipsis;padding-left: 4%;" :title="e.eventDescription">
|
|
|
- {{ e.eventDescription }}
|
|
|
+ <span style="width: 128px;text-wrap: nowrap;overflow: hidden;text-overflow: ellipsis;padding-left: 4%;" :title="e.createTime">
|
|
|
+ {{ e.createTime }}
|
|
|
</span>
|
|
|
</dd>
|
|
|
</div>
|
|
@@ -44,7 +44,17 @@
|
|
|
:total="deviceTotal">
|
|
|
</el-pagination>
|
|
|
</div>
|
|
|
- <div class="setEmergencyEvent" @click="setEmergencyEvent">发起应急事件</div>
|
|
|
+ <el-popover
|
|
|
+ placement="right"
|
|
|
+ width="160"
|
|
|
+ trigger="click"
|
|
|
+ v-model="visible">
|
|
|
+ <p>请选择经纬度</p>
|
|
|
+ <div style="text-align: right; margin: 0">
|
|
|
+ <el-button type="primary" size="mini" @click="visible = false">确定</el-button>
|
|
|
+ </div>
|
|
|
+ <div class="setEmergencyEvent" slot="reference" @click="getLocation">发起应急事件</div>
|
|
|
+ </el-popover>
|
|
|
<div class="visual-body">
|
|
|
<!--弹框演示模板 开始-->
|
|
|
<!-- <img src="../assets/images/sentinel/hz_qy.png" class="qydw1"/>
|
|
@@ -414,6 +424,7 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ visible: false,
|
|
|
deptOptionsLiandong: [],
|
|
|
deptId:null,
|
|
|
isVisible: false, // 初始时设置为false,不显示内容
|
|
@@ -507,6 +518,18 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ setPositioning(longitude, latitude) {
|
|
|
+ let that = this
|
|
|
+ that.positioning.lon = longitude
|
|
|
+ that.positioning.lat = latitude
|
|
|
+ },
|
|
|
+ getLocation(){
|
|
|
+ // this.visible = true;
|
|
|
+ // this.positioning.lon = ''
|
|
|
+ // this.positioning.lat = ''
|
|
|
+ this.$parent.$refs.supermap.clearDW()
|
|
|
+ this.$parent.$refs.supermap.setIsObtainLaAndLon(true)
|
|
|
+ },
|
|
|
// 获取部门列表树
|
|
|
getDeptTreeselect(){
|
|
|
treeselectAll().then((response) => {
|
|
@@ -1390,6 +1413,7 @@
|
|
|
}
|
|
|
|
|
|
.setEmergencyEvent{
|
|
|
+ border: none;
|
|
|
width: 122px;
|
|
|
height: 22px;
|
|
|
position: absolute;
|
|
@@ -1433,7 +1457,7 @@
|
|
|
|
|
|
.tk_div{
|
|
|
width: 21%;
|
|
|
- height: 38%;
|
|
|
+ height: 50%;
|
|
|
position: absolute;
|
|
|
top: 24%;
|
|
|
left: 32.2%;
|