diff --git a/src/views/report/boxTraceabilityReport/index.vue b/src/views/report/boxTraceabilityReport/index.vue
index f43ff0b..0013775 100644
--- a/src/views/report/boxTraceabilityReport/index.vue
+++ b/src/views/report/boxTraceabilityReport/index.vue
@@ -139,39 +139,38 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -174,7 +174,7 @@ export default {
MATERIAL_NAME: null,
BEGIN_DATE: null,
month: "1",
- year: null,
+ year: new Date(),
},
// 表单参数
form: {},
@@ -586,6 +586,9 @@ export default {
/** 查询工单信息列表 */
getList() {
this.loading = true
+ if (this.queryParams.year!=null){
+ this.queryParams.year = this.queryParams.year.getFullYear().toString()
+ }
if (null != this.daterangeBeginTime && '' != this.daterangeBeginTime) {
this.queryParams.beginBeginTime = this.daterangeBeginTime[0]
this.queryParams.endBeginTime = this.daterangeBeginTime[1]
@@ -602,6 +605,7 @@ export default {
this.getChart()
}
repairRateReportList(this.queryParams).then(response => {
+ this.queryParams.year = new Date(this.queryParams.year)
this.reportList = response.data
this.totalSum = 0;
this.reportList.forEach(e => {
diff --git a/src/views/report/weldLeakRate/index.vue b/src/views/report/weldLeakRate/index.vue
index fdb3506..1b7aa7c 100644
--- a/src/views/report/weldLeakRate/index.vue
+++ b/src/views/report/weldLeakRate/index.vue
@@ -8,7 +8,7 @@
placeholder="选择年">
-
+