yuan
3 天以前 7726b6cdab80596d2e2f7dd3fe1ec3dfbdeee155
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