Commit 6b6da1e0 by 梁建民

重置功能

parent fc4057d8
...@@ -270,11 +270,11 @@ ...@@ -270,11 +270,11 @@
getAggData: function (id) { getAggData: function (id) {
let params = Object.assign({}, {'reset': true, 'sample_class_id/eq': id}); let params = Object.assign({}, {'reset': true, 'sample_class_id/eq': id});
this.id=[]; this.id = [];
this.brand_id={}; this.brand_id = {};
this.packing={}; this.packing = {};
this.encap={}; this.encap = {};
this.attrs={}; this.attrs = {};
this.$store.dispatch({ this.$store.dispatch({
type: "aggs", type: "aggs",
...@@ -298,6 +298,17 @@ ...@@ -298,6 +298,17 @@
}, },
canel: function () { canel: function () {
let params = Object.assign({}, {'reset': true, 'sample_class_id/eq': this.sample_class_id});
this.id = [];
this.brand_id = {};
this.packing = {};
this.encap = {};
this.attrs = {};
this.$store.dispatch({
type: "aggs",
params, params
});
}, },
screenFn: function (id, key, flag) { screenFn: function (id, key, flag) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment