| | |
| | | <!-- |
| | | * @Date: 2024-01-05 22:26:22 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-01-15 23:00:09 |
| | | * @LastEditTime: 2024-01-16 00:30:16 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/Map/index.vue |
| | | --> |
| | | <template> |
| | |
| | | } catch (error) { |
| | | |
| | | } |
| | | getRequest('machineList', { |
| | | plantId: this.id, |
| | | }).then(res => { |
| | | // this.list = res.data.list |
| | | this.info = { |
| | | runRate: res.data.runRate, |
| | | cutRate: res.data.cutRate, |
| | | alarmRate: res.data.alarmRate, |
| | | threeShiftRate: res.data.threeShiftRate, |
| | | twoShiftRate: res.data.twoShiftRate, |
| | | run: res.data.run, |
| | | alarm: res.data.alarm, |
| | | stop: res.data.stop, |
| | | idle: res.data.idle |
| | | } |
| | | }) |
| | | // getRequest('machineList', { |
| | | // plantId: this.id, |
| | | // }).then(res => { |
| | | // // this.list = res.data.list |
| | | // this.info = { |
| | | // runRate: res.data.runRate, |
| | | // cutRate: res.data.cutRate, |
| | | // alarmRate: res.data.alarmRate, |
| | | // threeShiftRate: res.data.threeShiftRate, |
| | | // twoShiftRate: res.data.twoShiftRate, |
| | | // run: res.data.run, |
| | | // alarm: res.data.alarm, |
| | | // stop: res.data.stop, |
| | | // idle: res.data.idle |
| | | // } |
| | | // }) |
| | | } |
| | | }, |
| | | data() { |