소스 검색

修改问题:
修改统计页省直单位各地市详情列表,查询条件重置后列表数据与初始列表数据不一致问题;

chengbeibei 11 달 전
부모
커밋
de221ef1c8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/sydwqcsb/QcSsgqzysytdqkList_tj.vue

+ 2 - 2
src/views/sydwqcsb/QcSsgqzysytdqkList_tj.vue

@@ -306,7 +306,7 @@ export default {
         this.$message.error("请设置url.list属性!")
         return
       }
-      this.queryParam = this.param
+      this.queryParam = Object.assign(this.queryParam, this.param);
 
       //加载数据 若传入参数1则加载第一页的内容
       if (arg === 1) {
@@ -378,7 +378,7 @@ export default {
     searchReset() {
       this.$refs.JArea.allClear(),
 
-      this.param={}
+      // this.param={}
         this.queryParam = {}
         this.loadData(1);
     },