Commit f6891393 by crushh

update: dist

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