|
@@ -46,7 +46,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { ref, onMounted } from 'vue'
|
|
|
-import { getOneMonthOffset, formatMonth, formatYear } from '@/utils/date'
|
|
|
+import { getRawMonthOffset, formatMonth, formatYear } from '@/utils/date'
|
|
|
import { analyzeQualityControl } from '@/api/case-front-sheet/index'
|
|
|
import { Export } from '@/utils/ExportExcel'
|
|
|
import { ElMessage } from 'element-plus'
|
|
@@ -103,7 +103,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
onMounted(() => {
|
|
|
- const offset = getOneMonthOffset()
|
|
|
+ const offset = getRawMonthOffset()
|
|
|
monthrange.value[0] = offset.start
|
|
|
monthrange.value[1] = offset.end
|
|
|
year.value = new Date()
|