| | |
| | | export default { |
| | | props: ['setWork','achievements',"select"], |
| | | watch: { |
| | | setWork(val) { |
| | | this.current = "1"; |
| | | this.getCharts(); |
| | | }, |
| | | select(val) { |
| | | this.current = "1"; |
| | | this.getCharts(); |
| | | } |
| | | // setWork(val) { |
| | | // this.current = "1"; |
| | | // this.getCharts(); |
| | | // }, |
| | | // select(val) { |
| | | // this.current = "1"; |
| | | // this.getCharts(); |
| | | // } |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | }, |
| | | getCharts() { |
| | | if(!this.setWork) return; |
| | | if(this.select.length == 0) return; |
| | | this.$HTTP.post(`/api/blade-mdc/status-record/status-record-by-workstation?current=${this.current}&size=${this.size}`,this.setWork).then(res => { |
| | | if (res.code === 200) { |
| | | var yAxisData = []; |