| | |
| | | <div class="user_Overview_nums allnum "> |
| | | <dv-digital-flop :config="inboundConfig" style="width:100%;height:100%;" /> |
| | | </div> |
| | | <p>成品入库</p> |
| | | <p>实框入库</p> |
| | | <br> |
| | | <!-- <p>{{stationstate[0].station_state}}</p> --> |
| | | <!-- <p v-if="stationstate[0].station_state == '检修中'">{{stationstate[0].station_checkName}}</p> --> |
| | |
| | | <div class="user_Overview_nums online"> |
| | | <dv-digital-flop :config="outboundConfig" style="width:100%;height:100%;" /> |
| | | </div> |
| | | <p>成品出库</p> |
| | | <p>实框出库</p> |
| | | <br> |
| | | <!-- <p>{{stationstate[1].station_state}}</p> --> |
| | | <!-- <p v-if="stationstate[1].station_state == '检修中'">{{stationstate[1].station_checkName}}</p> --> |
| | |
| | | <div class="user_Overview_nums offline"> |
| | | <dv-digital-flop :config="backConfig" style="width:100%;height:100%;" /> |
| | | </div> |
| | | <p>成品回框</p> |
| | | <p>空框入库</p> |
| | | <br> |
| | | <!-- <p>{{stationstate[1].station_state}}</p> --> |
| | | <!-- <p v-if="stationstate[1].station_state == '检修中'">{{stationstate[1].station_checkName}}</p> --> |
| | |
| | | <div class="user_Overview_nums laramnum"> |
| | | <dv-digital-flop :config="surplusConfig" style="width:100%;height:100%;" /> |
| | | </div> |
| | | <p>成品退库</p> |
| | | <p>空框出库</p> |
| | | <br> |
| | | <!-- <p>{{stationstate[1].station_state}}</p> --> |
| | | <!-- <p v-if="stationstate[1].station_state == '检修中'">{{stationstate[1].station_checkName}}</p> --> |
| | |
| | | <script> |
| | | import { currentGET } from 'api/modules' |
| | | import {Floorfault} from "@/api/http.js" |
| | | |
| | | let style = { |
| | | fontSize: 24 |
| | | } |
| | |
| | | stationstate:[], |
| | | pageflag: true, |
| | | timer: null, |
| | | backConfig: { //成品回框 |
| | | number: [9999], |
| | | backConfig: { //空框入库 |
| | | number: [50], |
| | | content: '{nt}', |
| | | style: { |
| | | ...style, |
| | |
| | | }, |
| | | async getData() { |
| | | this.pageflag = true; |
| | | // currentGET("big2").then((res) => { |
| | | // if (!this.timer) { |
| | | // console.log("设备总览2", res); |
| | | // } |
| | | // if (res.success) { |
| | | // this.userOverview = res.data; |
| | | // this.onlineconfig = { |
| | | // ...this.onlineconfig, |
| | | // number: [1] |
| | | // } |
| | | // this.config = { |
| | | // ...this.config, |
| | | // number: [7] |
| | | // } |
| | | // this.offlineconfig = { |
| | | // ...this.offlineconfig, |
| | | // number: [4] |
| | | // } |
| | | // this.laramnumconfig = { |
| | | // ...this.laramnumconfig, |
| | | // number: [10] |
| | | // } |
| | | // this.switper(); |
| | | // } else { |
| | | // this.pageflag = false; |
| | | // this.$Message.warning(res.msg); |
| | | // } |
| | | // }); |
| | | var rep = await Floorfault(); |
| | | |
| | | |
| | | var rep1 = await Floorfault(); |
| | | var rep=rep1.filter(it=>it.roadway.includes("CW")) |
| | | |
| | | |
| | | this.inboundConfig={ |
| | | ...this.inboundConfig, |
| | | number: [rep.inboundCount] |
| | | number: [rep.filter(task => task.taskType === "入库").length] |
| | | } |
| | | this.outboundConfig={ |
| | | ...this.outboundConfig, |
| | | number: [rep.outboundCount] |
| | | number: [rep.filter(task => task.taskType === "出库").length] |
| | | } |
| | | this.backConfig={ |
| | | ...this.backConfig, |
| | | number: [rep.backboundCount] |
| | | number: [rep.filter(task => task.taskType === "空托盘入库").length] |
| | | } |
| | | this.surplusConfig={ |
| | | ...this.surplusConfig, |
| | | number: [rep.surplusCount] |
| | | number: [rep.filter(task => task.taskType === "空托盘出库").length] |
| | | } |
| | | // this.onlineconfig = { |
| | | // ...this.onlineconfig, |
| | |
| | | }, |
| | | //轮询 |
| | | switper() { |
| | | if (this.timer) { |
| | | |
| | | |
| | | if (this.timer) { |
| | | return |
| | | } |
| | | let looper = (a) => { |