修改污染情况
This commit is contained in:
parent
a8a6a3da88
commit
8542baf747
@ -175,10 +175,14 @@
|
||||
pollute_instrument t1
|
||||
WHERE
|
||||
t1.is_delete = 0
|
||||
<if test="instrumentId != null and instrumentId != ''">
|
||||
<if test="instrumentId != null and instrumentId != ''">
|
||||
AND
|
||||
t1.instrument_id = #{instrumentId}
|
||||
</if>
|
||||
</if>
|
||||
<if test="instrumentMn != null and instrumentMn != ''">
|
||||
AND
|
||||
t1.instrument_mn = #{instrumentMn}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<!-- 数采仪详情 -->
|
||||
@ -203,10 +207,14 @@
|
||||
pollute_instrument t1
|
||||
WHERE
|
||||
t1.is_delete = 0
|
||||
<if test="instrumentId != null and instrumentId != ''">
|
||||
<if test="instrumentId != null and instrumentId != ''">
|
||||
AND
|
||||
t1.instrument_id = #{instrumentId}
|
||||
</if>
|
||||
</if>
|
||||
<if test="instrumentMn != null and instrumentMn != ''">
|
||||
AND
|
||||
t1.instrument_mn = #{instrumentMn}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<!-- 数采仪详情 -->
|
||||
@ -231,10 +239,14 @@
|
||||
pollute_instrument t1
|
||||
WHERE
|
||||
t1.is_delete = 0
|
||||
<if test="instrumentId != null and instrumentId != ''">
|
||||
<if test="instrumentId != null and instrumentId != ''">
|
||||
AND
|
||||
t1.instrument_id = #{instrumentId}
|
||||
</if>
|
||||
</if>
|
||||
<if test="instrumentMn != null and instrumentMn != ''">
|
||||
AND
|
||||
t1.instrument_mn = #{instrumentMn}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<!-- 数采仪列表 -->
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user