| | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <div style="margin: 0px auto;width: 600px;"> |
| | | <div> |
| | | <div style="color: brown;font-size: 25px;">车轮è¶
ææ°éï¼ <i style="font-size: 35px;">{{ wheelsCount }} 个</i></div> |
| | | </div> |
| | | <div> |
| | | <div style="color: brown;font-size: 25px;">å¶å¨çè¶
ææ°éï¼ <i style="font-size: 35px;">{{ zdpCount }} 个</i></div> |
| | | </div> |
| | | </div> |
| | | |
| | | </template> |
| | | <script> |
| | | import axios from 'axios'; |
| | |
| | | data() { |
| | | return { |
| | | datalist: [], |
| | | zdpCount:0, |
| | | wheelsCount:0, |
| | | url: "http://192.168.12.189/:8098/api/", |
| | | |
| | | }; |
| | |
| | | mounted() { |
| | | // setInterval(() => { |
| | | this.AddTask(); |
| | | this.StockYx(); |
| | | // }, 5000); |
| | | |
| | | }, |
| | |
| | | } |
| | | |
| | | }) |
| | | }, |
| | | StockYx() { |
| | | axios.post("http://172.21.1.139:5000/api/Task/GetStockStatue") |
| | | .then(response => { |
| | | console.log(response.data.data.zdpCount) |
| | | if(response.status){ |
| | | this.wheelsCount=response.data.data.wheelsCount; |
| | | this.zdpCount=response.data.data.zdpCount; |
| | | } |
| | | |
| | | }) |
| | | } |
| | | |
| | | }, |