| | |
| | | return |
| | | } |
| | | console.log(data, '>>>>>>>>>>>') |
| | | data.machineId && this.$HTTP.get(`/api/smis/workstation/listDmpVariablesByMachineId?machineId=${data.machineId}`).then(res => { |
| | | this.list = res?.data |
| | | // Object.keys(this.basic).forEach(key => { |
| | | // this.basic[key] = res?.data?.[key] || '-' |
| | | // }) |
| | | }) |
| | | this.$HTTP.get(`/api/smis/workstation/listDmpVariablesByWorkstationId?workstationId=${data.id}`).then(res => { |
| | | // this.list = res?.data?.dmpVariablesVOList |
| | | Object.keys(this.basic).forEach(key => { |
| | | this.basic[key] = res?.data?.[key] || '-' |
| | | }) |
| | | }) |
| | | this.$HTTP.get(`/api/smis/workstation-workbench/listWorkbench?workstationId=${data.id}`).then(res => { |
| | | Object.keys(this.info).forEach(key => { |
| | | this.info[key] = res?.data?.[key] || '-' |
| | | }) |
| | | this.workbenchVOList = res?.data?.workstationList || [] |
| | | }) |
| | | |
| | | |
| | | // data.machineId && this.$HTTP.get(`/api/smis/workstation/listDmpVariablesByMachineId?machineId=${data.machineId}`).then(res => { |
| | | // this.list = res?.data |
| | | // // Object.keys(this.basic).forEach(key => { |
| | | // // this.basic[key] = res?.data?.[key] || '-' |
| | | // // }) |
| | | // }) |
| | | // this.$HTTP.get(`/api/smis/workstation/listDmpVariablesByWorkstationId?workstationId=${data.id}`).then(res => { |
| | | // // this.list = res?.data?.dmpVariablesVOList |
| | | // Object.keys(this.basic).forEach(key => { |
| | | // this.basic[key] = res?.data?.[key] || '-' |
| | | // }) |
| | | // }) |
| | | // this.$HTTP.get(`/api/smis/workstation-workbench/listWorkbench?workstationId=${data.id}`).then(res => { |
| | | // Object.keys(this.info).forEach(key => { |
| | | // this.info[key] = res?.data?.[key] || '-' |
| | | // }) |
| | | // this.workbenchVOList = res?.data?.workstationList || [] |
| | | // }) |
| | | }, |
| | | groupClick1(data) { |
| | | var params = { |