src/views/reportAnalysis/productionAnalysis/components/left-top.vue
@@ -1,6 +1,6 @@ <template> <div> <PanelHeader title="工序产出分析" /> <PanelHeader title="工序产出分析" to="/productionManagement/processStatistics" /> <div class="main-panel panel-item-customers"> <div class="filters-row"> <DateTypeSwitch v-model="dateType" @change="handleDateTypeChange" /> @@ -33,7 +33,7 @@ const pieWrapperRef = ref(null) const pieBackgroundRef = ref(null) const dateType = ref(1) // 1=周 2=月 3=季度 const dateType = ref(3) // 1=周 2=月 3=季度 function array2obj(array, key) { const resObj = {}