Commit 8eb82615 by 梁建民

js

parent 80c6f6c3
......@@ -76,15 +76,26 @@ const actions = {
state.finished = false;
let param = {
/* let param = {
'sample_status/eq': 1
};
};*/
/* let obj = Object.assign({}, param, payload.params);*/
let obj={
...payload.params,
'sample_status/eq': 1,
}
let obj = Object.assign({}, param, payload.params);
let params = Util.getParams(obj);
Services.ZiYingIndex(params).then((res) => {
state.loading = false;
let data = res.data;
......
......@@ -273,6 +273,14 @@
onLoad() {
this.p++;
let params = Object.assign({}, {p:this.p,'sample_class_id/eq': this.sample_class_id}, this.brand_id, this.packing, this.encap, this.attrs, {id: this.id.join(',')});
this.$store.dispatch({
type: "ziYingIndex",
params: params
});
},
getuserf() {
this.getPop = false;
......
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