设备无数据显示--

master
wj 2 years ago
parent b33754ffd2
commit 48112b9a09
  1. 8
      psdc-ui/src/views/emonitor/db/index.vue
  2. 14
      psdc-ui/src/views/emonitor/drgl/index.vue
  3. 12
      psdc-ui/src/views/emonitor/frdl/index.vue
  4. 14
      psdc-ui/src/views/emonitor/kqyrb/index.vue
  5. 5
      psdc-ui/src/views/emonitor/wdcgq/index.vue
  6. 14
      psdc-ui/src/views/emonitor/xrgl/index.vue

@ -63,10 +63,10 @@ export default {
name: "db",
setup() {
let data = reactive({
totp:'',
totwh:'',
eday:'',
emonth:'',
totp:'-- ',
totwh:'-- ',
eday:'-- ',
emonth:'-- ',
glData:[],
glXz:[
"00:00",

@ -26,11 +26,11 @@
<div><img src="../../../assets/images/温度.png"></div>
<div>
<div style="display: flex; margin-bottom: 5px">
<p style="color: #cccccc">进水温度:</p>
<p style="color: #cccccc">进水温度</p>
<h1>{{data.tempIn}}</h1>
</div>
<div style="display: flex">
<p style="color: #cccccc">出水温度:</p>
<p style="color: #cccccc">出水温度</p>
<h1>{{data.tempOut}}</h1>
</div>
</div>
@ -81,12 +81,12 @@ export default {
name: "drgl",
setup() {
let data = reactive({
totwh:'',
totp:'',
tempIn:'',
tempOut:'',
totwh:'-- ',
totp:'-- ',
tempIn:'-- ',
tempOut:'-- ',
//1 2
runStatus:'',
runStatus:'-- ',
glData:[],
glXz:[
"00:00",

@ -70,13 +70,13 @@ export default {
name: "frdl",
setup() {
let data = reactive({
totwh:'',
totp:'',
temp:'',
tempIn:'',
tempOut:'',
totwh:'-- ',
totp:'-- ',
temp:'-- ',
tempIn:'-- ',
tempOut:'-- ',
//1 2
runStatus:'',
runStatus:'-- ',
glData:[],
glXz:[
"00:00",

@ -19,11 +19,11 @@
<div><img src="../../../assets/images/温度.png"></div>
<div>
<div style="display: flex; margin-bottom: 5px">
<p style="color: #cccccc">进水温度:</p>
<p style="color: #cccccc">进水温度</p>
<h1>{{data.tempIn}}</h1>
</div>
<div style="display: flex">
<p style="color: #cccccc">出水温度:</p>
<p style="color: #cccccc">出水温度</p>
<h1>{{data.tempOut}}</h1>
</div>
</div>
@ -74,12 +74,12 @@ export default {
name: "kqyrb",
setup() {
let data = reactive({
totwh:'',
totp:'',
tempIn:'',
tempOut:'',
totwh:'-- ',
totp:'-- ',
tempIn:'-- ',
tempOut:'-- ',
//1 2
runStatus:'',
runStatus:'-- ',
glData:[],
glXz:[
"00:00",

@ -59,6 +59,9 @@ export default {
let brr = []
let crr = []
for (let i in res.data) {
if(res.data[i].deviceTemp == null){
res.data[i].deviceTemp = '-- '
}
arr.push({name: res.data[i].deviceName, temp: res.data[i].deviceTemp})
brr.push({
name: res.data[i].deviceName,
@ -70,7 +73,7 @@ export default {
})
crr.push(res.data[i].times)
}
console.log(crr)
// console.log('arr',arr)
data.info = arr
data.infos = brr
data.xinfo = crr

@ -19,11 +19,11 @@
<div><img src="../../../assets/images/温度.png"></div>
<div>
<div style="display: flex; margin-bottom: 5px">
<p style="color: #cccccc">进水温度:</p>
<p style="color: #cccccc">进水温度</p>
<h1>{{data.tempIn}}</h1>
</div>
<div style="display: flex">
<p style="color: #cccccc">出水温度:</p>
<p style="color: #cccccc">出水温度</p>
<h1>{{data.tempOut}}</h1>
</div>
</div>
@ -74,12 +74,12 @@ export default {
name: "xrgl",
setup() {
let data = reactive({
totwh:'',
totp:'',
tempIn:'',
tempOut:'',
totwh:'-- ',
totp:'-- ',
tempIn:'-- ',
tempOut:'-- ',
//1 2
runStatus:'',
runStatus:'-- ',
glData:[],
glXz:[
"00:00",

Loading…
Cancel
Save