forked from drone/command-center-dashboard

罗广辉
2025-04-21 2800fa4f32f3900509cb4d6eefaf2bfaf54efdd7
src/views/TaskManage/TaskTop/TaskTime.vue
@@ -45,19 +45,37 @@
    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: '单位:件',
@@ -107,7 +125,6 @@
// 添加监听
watch(() => store.state.task.taskSearchParams, (newVal) => {
  console.log(newVal, '33333');
  if (newVal) {
    getJobNumBar(newVal);
    (newVal);