yuan
2026-06-12 ef8d3df7b1944c0a8243cf5ffc35f604dfef94e8
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