gaoshp
2024-11-03 3931e2728f618d0090f129b2665bc1285c4440c3
src/views/mdc/status-record.vue
@@ -225,7 +225,7 @@
                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);
                }
@@ -260,7 +260,7 @@
            })
        },
        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 = [];  //人工反馈状态
@@ -280,7 +280,7 @@
        },
        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');