diff --git a/src/views/QualityManager/HomePage.vue b/src/views/QualityManager/HomePage.vue
index 7956494..47eaea9 100644
--- a/src/views/QualityManager/HomePage.vue
+++ b/src/views/QualityManager/HomePage.vue
@@ -186,7 +186,7 @@
- dataUpdateToken = str">产品成品率
+ { dataUpdateToken = obj.str; dateMode2 = obj.mode }">产品成品率
diff --git a/src/views/QualityManager/components/productionRateHeader.vue b/src/views/QualityManager/components/productionRateHeader.vue
index f75b755..7302b59 100644
--- a/src/views/QualityManager/components/productionRateHeader.vue
+++ b/src/views/QualityManager/components/productionRateHeader.vue
@@ -114,7 +114,7 @@
:class="{ 'date-select__active': dateMode === 'day' }"
@click="
dateMode = 'day'
- $emit('update-data', '' + Math.random())
+ $emit('update-data', { str: '' + Math.random(), mode: dateMode })
"
>
日
@@ -123,7 +123,7 @@
:class="{ 'date-select__active': dateMode === 'month' }"
@click="
dateMode = 'month'
- $emit('update-data', '' + Math.random())
+ $emit('update-data', { str: '' + Math.random(), mode: dateMode })
"
>
月