| | |
| | | startTime: this.time[0], |
| | | workstationInfoList: this.workstationInfoList |
| | | } |
| | | this.$HTTP.post(`/api/blade-mdc/status-record/excel/export`,obj).then(res=> { |
| | | this.$HTTP.post(`/api/mdc/status-record/excel/export`,obj).then(res=> { |
| | | if(res.code == 200) { |
| | | window.open(res.data.link); |
| | | } |
| | |
| | | }) |
| | | }, |
| | | getachievements() { //班次状态记录采集状态 |
| | | this.$HTTP.get(`/api/blade-cps/global_wcs/wcs-achievements`).then(res=> { |
| | | this.$HTTP.get(`/api/smis/global_wcs/wcs-achievements`).then(res=> { |
| | | if(res.code == 200) { |
| | | var achievements = [];//采集状态 |
| | | var collectionstatus = []; //人工反馈状态 |
| | |
| | | }, |
| | | getTime(data) { |
| | | return new Promise(resolve=> { |
| | | this.$HTTP.post('/api/blade-mdc/efficiency-analysis/interval', {...data}).then(res => { |
| | | this.$HTTP.post('/api/mdc/efficiency-analysis/interval', {...data}).then(res => { |
| | | if (res.code === 200) { |
| | | var today = moment().format('YYYY-MM-DD'); |
| | | var yesterday = moment().subtract(1, 'days').format('YYYY-MM-DD'); |