修改污染情况
This commit is contained in:
parent
a8a6a3da88
commit
8542baf747
@ -175,10 +175,14 @@
|
|||||||
pollute_instrument t1
|
pollute_instrument t1
|
||||||
WHERE
|
WHERE
|
||||||
t1.is_delete = 0
|
t1.is_delete = 0
|
||||||
<if test="instrumentId != null and instrumentId != ''">
|
<if test="instrumentId != null and instrumentId != ''">
|
||||||
AND
|
AND
|
||||||
t1.instrument_id = #{instrumentId}
|
t1.instrument_id = #{instrumentId}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="instrumentMn != null and instrumentMn != ''">
|
||||||
|
AND
|
||||||
|
t1.instrument_mn = #{instrumentMn}
|
||||||
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 数采仪详情 -->
|
<!-- 数采仪详情 -->
|
||||||
@ -203,10 +207,14 @@
|
|||||||
pollute_instrument t1
|
pollute_instrument t1
|
||||||
WHERE
|
WHERE
|
||||||
t1.is_delete = 0
|
t1.is_delete = 0
|
||||||
<if test="instrumentId != null and instrumentId != ''">
|
<if test="instrumentId != null and instrumentId != ''">
|
||||||
AND
|
AND
|
||||||
t1.instrument_id = #{instrumentId}
|
t1.instrument_id = #{instrumentId}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="instrumentMn != null and instrumentMn != ''">
|
||||||
|
AND
|
||||||
|
t1.instrument_mn = #{instrumentMn}
|
||||||
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 数采仪详情 -->
|
<!-- 数采仪详情 -->
|
||||||
@ -231,10 +239,14 @@
|
|||||||
pollute_instrument t1
|
pollute_instrument t1
|
||||||
WHERE
|
WHERE
|
||||||
t1.is_delete = 0
|
t1.is_delete = 0
|
||||||
<if test="instrumentId != null and instrumentId != ''">
|
<if test="instrumentId != null and instrumentId != ''">
|
||||||
AND
|
AND
|
||||||
t1.instrument_id = #{instrumentId}
|
t1.instrument_id = #{instrumentId}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="instrumentMn != null and instrumentMn != ''">
|
||||||
|
AND
|
||||||
|
t1.instrument_mn = #{instrumentMn}
|
||||||
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 数采仪列表 -->
|
<!-- 数采仪列表 -->
|
||||||
|
@ -503,21 +503,22 @@
|
|||||||
},
|
},
|
||||||
mounted: function() {
|
mounted: function() {
|
||||||
var self = this;
|
var self = this;
|
||||||
self.initCount();
|
|
||||||
self.initSocket();
|
self.initSocket();
|
||||||
// setInterval(function() {
|
self.initCount();
|
||||||
// self.initCount();
|
setInterval(function() {
|
||||||
// }, 10000);
|
self.initCount();
|
||||||
|
}, 10000);
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
self.initPollIds();
|
self.initPollIds();
|
||||||
// self.initHistoryValue();
|
|
||||||
self.initRealTimeValue();
|
self.initRealTimeValue();
|
||||||
self.initPollChart();
|
self.initPollChart();
|
||||||
|
setInterval(function() {
|
||||||
|
self.initPollIds();
|
||||||
|
self.initRealTimeValue();
|
||||||
|
self.initPollChart();
|
||||||
|
}, 3000);
|
||||||
}, 500);
|
}, 500);
|
||||||
// setInterval(function() {
|
|
||||||
// self.initHistoryValue();
|
|
||||||
// self.initRealTimeValue();
|
|
||||||
// }, 3000);
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user