Forráskód Böngészése

修改查询窗口,去掉_self.$refs.info.refresh();

yangzhijie 4 éve
szülő
commit
dbf6442fbb

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "pc-component-v3",
-  "version": "1.0.11",
+  "version": "1.0.12",
   "description": "",
   "main": "dist/pc-component-v3.js",
   "scripts": {

+ 0 - 6
packages/info/src/InfoMultiSearchWidget.vue

@@ -112,12 +112,6 @@ export default {
     showSearchDialog: function () {
       var _self = this;
       _self.modal=true;
-      _self.$nextTick(function () {
-        _self.modal=true;
-        if (this.$refs.info) {
-          _self.$refs.info.refresh();
-        }
-      });
     },
 
     searchDialogOk: function () {

+ 0 - 15
packages/info/src/InfoSearchWidget.vue

@@ -158,15 +158,6 @@ export default {
       deep: true,
     },
 
-    // 查询条件变化时,重新查询数据
-    whereClauseSource: function () {
-      let _self = this;
-      this.$nextTick(function(){
-        if (_self.$refs.info) {
-          _self.$refs.info.refresh();
-        }
-      });
-    },
   },
 
   methods: {
@@ -202,12 +193,6 @@ export default {
       this.modal=true;
 
       _self.autoCompleteVisible = false;
-
-      this.$nextTick(function () {
-        if (this.$refs.info) {
-          _self.$refs.info.refresh();
-        }
-      });
     },
 
     /**

+ 0 - 13
packages/info/src/SearchWidget.vue

@@ -189,15 +189,6 @@ export default {
       deep: true,
     },
 
-    // 查询条件变化时,重新查询数据
-    whereClauseSource: function () {
-      let _self = this;
-      this.$nextTick(function(){
-        if (_self.$refs.info) {
-          _self.$refs.info.refresh();
-        }
-      });
-    },
   },
 
   created: function () {
@@ -242,10 +233,6 @@ export default {
       this.modal=true;
 
       _self.autoCompleteVisible = false;
-
-      if (this.$refs.info) {
-        _self.$refs.info.refresh();
-      }
     },
 
     /**

+ 0 - 5
packages/process/src/MultiSearchWidget.vue

@@ -205,11 +205,6 @@ export default {
         return;
       }
       _self.modal=true;
-      _self.$nextTick(function () {
-        if (this.$refs.info) {
-          _self.$refs.info.refresh();
-        }
-      });
     },
 
     searchDialogOk: function () {