| | |
| | | }, |
| | | save() { |
| | | console.log(this.checkedCities) |
| | | this.$HTTP.post(`/api/blade-mdc/process-parameter/excel/export`, { |
| | | this.$HTTP.post(`/api/mdc/process-parameter/excel/export`, { |
| | | collectItem: this.list.filter(v => this.checkedCities.includes(v.id)), |
| | | endTime: this.timeRange.endTime, |
| | | startTime: this.timeRange.startTime, |
| | |
| | | this.visible = true |
| | | }, |
| | | init() { |
| | | this.$HTTP.get('/api/blade-mdc/process-parameter').then(res => { |
| | | this.$HTTP.get('/api/mdc/process-parameter').then(res => { |
| | | if (res.code === 200) { |
| | | this.legend = res.data |
| | | } |
| | |
| | | viewData(item) { |
| | | this.drawerName = item.dpLabel |
| | | |
| | | this.$HTTP.post('/api/blade-mdc/process-parameter/item?current=1&size=1500', { |
| | | this.$HTTP.post('/api/mdc/process-parameter/item?current=1&size=1500', { |
| | | endTime: this.timeRange.endTime, |
| | | startTime: this.timeRange.startTime, |
| | | item: item.name, |
| | |
| | | workstationId: this.treeChecked.toString() |
| | | }) |
| | | this.list = [] |
| | | this.$HTTP.get('/api/blade-mdc/process-parameter/params', { workstationId: this.treeChecked.toString() }).then(res => { |
| | | this.$HTTP.get('/api/mdc/process-parameter/params', { workstationId: this.treeChecked.toString() }).then(res => { |
| | | if (res.code === 200) { |
| | | console.log('jkjkjkjkj', this.list) |
| | | this.list = res.data.map(v => { |
| | |
| | | delete params.name |
| | | delete params.height |
| | | } catch (err) { console.error(err) } |
| | | this.$HTTP.post('/api/blade-mdc/process-parameter/chart/dmp-item', { |
| | | this.$HTTP.post('/api/mdc/process-parameter/chart/dmp-item', { |
| | | methodEnum: "HOUR", |
| | | startTime: this.timeRange.startTime, |
| | | endTime: this.timeRange.endTime, |