事件弹窗图片大小修改

This commit is contained in:
chenchenzai 2022-11-27 16:53:58 +08:00
parent 82ad8fcf41
commit afe4a69116
4 changed files with 46 additions and 11 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 987 KiB

After

Width:  |  Height:  |  Size: 159 KiB

BIN
src/assets/img/taidong1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 987 KiB

View File

@ -28,7 +28,7 @@
<div class="item">
<p>
<span>负责人</span>
<span></span>
<span>淑华</span>
</p>
<p>
<span>联系方式</span>

View File

@ -63,10 +63,11 @@
<div class="data-monitoring">
<div class="basic-information">
<div class="green-cicle"><div></div></div>
<p><b>负责人</b>张三</p>
<p><b>负责人</b>刘国华</p>
<p><b>联系方式</b>13356870098</p>
<p><b>告警时间</b>{{ feature.data.captureTime || "" }}</p>
<p><b>告警值</b>42231</p>
<!-- <p><b>告警时间</b>{{ feature.data.captureTime || "" }}</p> -->
<p><b>告警时间</b>{{nowDate}}</p>
<p><b>告警值</b>7890</p>
<p><b>事件状态</b>待下发</p>
<div class="flow-chart">
<div class="chart-title"><span>告警当天人流量数值</span></div>
@ -74,24 +75,25 @@
</div>
</div>
<div class="relate-video">
<p style="margin-left:3px"><b>更新时间</b>{{ feature.data.captureTime || "" }}</p>
<!-- <p style="margin-left:3px"><b>更新时间</b>{{ feature.data.captureTime || "" }}</p> -->
<p style="margin-left:3px"><b>更新时间</b>{{nowDate}}</p>
<div class="population-statistics">
<div class="item">
<div><span>当前人数</span></div>
<div><span>0000</span><span></span></div>
<div><span>990</span><span></span></div>
</div>
<div class="item">
<div>
<span>本地人数</span>
</div>
<div>
<span>0000</span>
<span>790</span>
<span></span>
</div>
</div>
<div class="item">
<div><span>外地人数</span></div>
<div><span>0000</span><span></span></div>
<div><span>200</span><span></span></div>
</div>
</div>
<div class="video-content">
@ -135,7 +137,7 @@ export default {
mounted() {
this.newImageUrl = this.IntelliURLReplaceIP(this.feature.data.imageUrl);
console.log(this.newImageUrl);
this.getNowTime();
console.log(this.feature, "1234567");
this.$nextTick( () => {
this.initPeopleCountingChart();
@ -151,8 +153,8 @@ export default {
openVideo: false,
newImageUrl: "",
resourceType:"resource",
channelCode:"3701222749350945"
channelCode:"3701222749350945",
nowDate:""//
};
},
methods: {
@ -305,7 +307,40 @@ export default {
document.getElementById('people-counting-chart')
)
peopleCounting.setOption(option)
},
//
getNowTime(){
var myDate = new Date(); //Date
var Y = myDate.getFullYear(); //
var M = myDate.getMonth() + 1; //
var D = myDate.getDate(); //1-31
var H = myDate.getHours(); //
var i = myDate.getMinutes(); //
var s = myDate.getSeconds(); //
// 100
if(M < 10){
M = '0' + M;
}
// 100
if(D < 10){
D = '0' + D;
}
// 100
if(H < 10){
H = '0' + H;
}
// 100
if(i < 10){
i = '0' + i;
}
// 100
if(s < 10){
s = '0' +s;
}
//
var nowDate = Y+'-'+M+'-'+D+' '+H+':'+i+':'+s;
this.nowDate = nowDate;
},
},
};
</script>