修改 铝内胆设备看板

master
wangh 2 years ago
parent 25a7564a85
commit f5b51179f2

@ -131,7 +131,7 @@ public class AluminumLinerkController {
@GetMapping("/getStatisticalOutputByModel") @GetMapping("/getStatisticalOutputByModel")
@ResponseBody @ResponseBody
public String getStatisticalOutputByModel() { public String getStatisticalOutputByModel() {
List<DeviceFault> list=iMesProductionDataService.selectDeviceFaultByType("铝内胆"); List<DeviceFault> list=iMesProductionDataService.selectDeviceFaultByType("1#内胆吸附机");
return JSONArray.toJSONString(list); return JSONArray.toJSONString(list);
} }

@ -40,7 +40,7 @@ $(() => {
success: function (res) { success: function (res) {
let Res = res let Res = res
console.log("生产计划"+res) console.log("生产计划"+res)
Res.data.forEach(val => { res.data.forEach(val => {
val[0] = 'sc-228NE' val[0] = 'sc-228NE'
val[1] = '431' val[1] = '431'
val[2] = '0' val[2] = '0'

Loading…
Cancel
Save