Commit f6891393 by crushh

update: dist

parent 7d08beb1
...@@ -153,10 +153,14 @@ export default { ...@@ -153,10 +153,14 @@ export default {
this.tableDate = this.tableDate.splice(0); this.tableDate = this.tableDate.splice(0);
if (this.echoRuleId) this.tableRadio = this.echoRuleId; if (this.echoRuleId) this.tableRadio = this.echoRuleId;
this.tableDate.forEach(async item => { this.tableDate.forEach(async item => {
if (item.memberType == 3 && !item.showBack) { if (item.memberType == 3) {
const res = await this.echoData(item.filterJson); if (item.filterJson) {
item.showBack = res.data.result; const res = await this.echoData(item.filterJson);
} else if (item.memberType == 4 && !item.showBack) { item.showBack = res.data.result;
} else {
item.showBack = '所有人群';
}
} else if (item.memberType == 4) {
const { storeMode, storeWidgetId } = JSON.parse(item.filterJson); const { storeMode, storeWidgetId } = JSON.parse(item.filterJson);
const res = await this.echoData2(storeWidgetId, storeMode); const res = await this.echoData2(storeWidgetId, storeMode);
const { data: { result: { result } } } = res; const { data: { result: { result } } } = res;
......
...@@ -261,6 +261,9 @@ export default { ...@@ -261,6 +261,9 @@ export default {
this.submitRequest(); this.submitRequest();
}); });
} else { } else {
this.ruleForm.filterJson = '';
this.ruleForm.searchJson = '';
this.ruleForm.searchId = '';
this.submitRequest(); this.submitRequest();
} }
} else if (this.ruleForm.memberType == 4) { } else if (this.ruleForm.memberType == 4) {
......
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 to comment