修改污染情况

This commit is contained in:
wanggeng888 2021-03-31 21:44:01 +08:00
parent a8a6a3da88
commit 8542baf747
3 changed files with 28 additions and 15 deletions

View File

@ -179,6 +179,10 @@
AND
t1.instrument_id = #{instrumentId}
</if>
<if test="instrumentMn != null and instrumentMn != ''">
AND
t1.instrument_mn = #{instrumentMn}
</if>
</select>
<!-- 数采仪详情 -->
@ -207,6 +211,10 @@
AND
t1.instrument_id = #{instrumentId}
</if>
<if test="instrumentMn != null and instrumentMn != ''">
AND
t1.instrument_mn = #{instrumentMn}
</if>
</select>
<!-- 数采仪详情 -->
@ -235,6 +243,10 @@
AND
t1.instrument_id = #{instrumentId}
</if>
<if test="instrumentMn != null and instrumentMn != ''">
AND
t1.instrument_mn = #{instrumentMn}
</if>
</select>
<!-- 数采仪列表 -->

View File

@ -503,21 +503,22 @@
},
mounted: function() {
var self = this;
self.initCount();
self.initSocket();
// setInterval(function() {
// self.initCount();
// }, 10000);
self.initCount();
setInterval(function() {
self.initCount();
}, 10000);
setTimeout(function() {
self.initPollIds();
// self.initHistoryValue();
self.initRealTimeValue();
self.initPollChart();
setInterval(function() {
self.initPollIds();
self.initRealTimeValue();
self.initPollChart();
}, 3000);
}, 500);
// setInterval(function() {
// self.initHistoryValue();
// self.initRealTimeValue();
// }, 3000);
}
})
</script>