| | |
| | | bottom: '2%', |
| | | containLabel: true |
| | | }, |
| | | // xAxis: { |
| | | // type: 'category', |
| | | // axisLine: { |
| | | // lineStyle: { |
| | | // color: '#fff' |
| | | // } |
| | | // }, |
| | | // axisLabel: { |
| | | // color: '#fff', |
| | | // interval: 0, |
| | | // rotate: 30 |
| | | // } |
| | | // }, |
| | | xAxis: { |
| | | type: 'category', |
| | | axisLine: { |
| | | lineStyle: { |
| | | color: '#fff' |
| | | } |
| | | }, |
| | | axisLabel: { |
| | | color: '#fff', |
| | | interval: 0, |
| | | rotate: 30 |
| | | } |
| | | }, |
| | | type: 'category', |
| | | data: ['1'], |
| | | axisLine: { |
| | | show: false, // 隐藏轴线 |
| | | }, |
| | | axisTick: { |
| | | show: true, |
| | | length: 2, |
| | | lineStyle: { |
| | | color: '#ffffff', |
| | | }, |
| | | }, |
| | | axisLabel: { |
| | | color: '#ffffff', |
| | | margin: 8, |
| | | }, |
| | | }, |
| | | yAxis: { |
| | | type: 'value', |
| | | name: '单位:件', |
| | |
| | | |
| | | // 添加监听 |
| | | watch(() => store.state.task.taskSearchParams, (newVal) => { |
| | | console.log(newVal, '33333'); |
| | | if (newVal) { |
| | | getJobNumBar(newVal); |
| | | (newVal); |