yuan
5 小时以前 5253510e94811f79843c4da399b1db4533227eb2
fix: 生产驾驶舱类型默认季度
已修改1个文件
4 ■■■■ 文件已修改
src/views/reportAnalysis/productionAnalysis/components/right-top.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/reportAnalysis/productionAnalysis/components/right-top.vue
@@ -28,7 +28,7 @@
import Echarts from '@/components/Echarts/echarts.vue'
import DateTypeSwitch from './DateTypeSwitch.vue'
const dateType = ref(1) // 1=周 2=月 3=季度
const dateType = ref(3) // 1=周 2=月 3=季度
const chartStyle = {
  width: '100%',
@@ -135,7 +135,7 @@
}
const fetchData = () => {
  workOrderEfficiencyAnalysis({ dateType: dateType.value })
  workOrderEfficiencyAnalysis({ type: dateType.value })
    .then((res) => {
      if (res.code !== 200 || !Array.isArray(res.data)) return
      const items = res.data