Commit 9d23498a by crushh

update: dist

parent 3be0bd93
......@@ -332,7 +332,6 @@ export default {
} else {
params = { ...this.activityData, search, storeGroupId, orderBy };
}
console.log(params);
return { ...this.activityData, ...params };
}
},
......@@ -436,7 +435,8 @@ export default {
this.cardLoading = false;
}
},
async aiTransformStoreGroupSplit(activityId, planId) {
async aiTransformStoreGroupSplit() {
const { activityId, planId } = this.activityData;
let res = await aiTransformStoreGroupSplit({ activityId, planId });
this.options.treeOptions.data = res.result || [];
},
......@@ -447,8 +447,8 @@ export default {
const { startDate, endDate, activityName, activityId } = result;
const smsFlag = result.activityPlanList[0].activityEventList[0].smsFlag;
const planId = result.activityPlanList[0].planId;
this.activityData = { startTime: startDate, endTime: endDate, smsFlag, activityName, activityId };
this.aiTransformStoreGroupSplit(activityId, planId);
this.activityData = { startTime: startDate, endTime: endDate, smsFlag, activityName, activityId, planId };
this.aiTransformStoreGroupSplit();
} catch (err) {}
},
radioChange(data) {
......
......@@ -338,7 +338,6 @@ export default {
} else {
params = { ...this.activityData, search, storeGroupId, orderBy };
}
console.log(params);
return { ...this.activityData, ...params };
}
},
......@@ -450,7 +449,8 @@ export default {
this.cardLoading = false;
}
},
async aiOutboundStoreGroupSplit(activityId, planId) {
async aiOutboundStoreGroupSplit() {
const { activityId, planId } = this.activityData;
let res = await aiOutboundStoreGroupSplit({ activityId, planId });
this.options.treeOptions.data = res.result || [];
},
......@@ -461,9 +461,9 @@ export default {
const { startDate, endDate, activityName, activityId } = result;
const smsFlag = result.activityPlanList[0].activityEventList[0].smsFlag;
const planId = result.activityPlanList[0].planId;
this.activityData = { startTime: startDate, endTime: endDate, smsFlag, activityName, activityId };
this.activityData = { startTime: startDate, endTime: endDate, smsFlag, activityName, activityId, planId };
this.aiStoreOutboundRank();
this.aiOutboundStoreGroupSplit(activityId, planId);
this.aiOutboundStoreGroupSplit();
} catch (err) {}
},
radioChange(data) {
......
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