408249787@qq.com 3 時間 前
コミット
6e22513e62
1 ファイル変更7 行追加7 行削除
  1. 7 7
      src/views/repair/application-form/RepairForm.vue

+ 7 - 7
src/views/repair/application-form/RepairForm.vue

@@ -165,11 +165,7 @@ export default {
     return {
       // 查询参数
       queryParam: {
-        filter: this.filter,
-        searchType: this.searchType,
-        deptId: this.$store.getters.userInfo.deptId,
-        searchStartTime: null,
-        searchEndTime: null
+
       },
       visible: true,
       // 表头
@@ -304,6 +300,8 @@ export default {
         parameter = {
           ...parameter,
           ...this.queryParam,
+          filter: this.filter,
+          searchType: this.searchType,
           type: 1,
           dataScope: {
             sortBy: 'asc, desc',
@@ -438,8 +436,10 @@ export default {
     },
     resetSearchForm() {
       this.queryParam = {
-        filter: this.filter,
-        searchType: this.searchType
+
+        deptId: this.$store.getters.userInfo.deptId,
+        searchStartTime: null,
+        searchEndTime: null
       }
       this.$refs.table.refresh(true)
     },