Commit ddf54233 by liuchenxi

update: 增加任务中心口子

parent 99bdca7d
......@@ -498,12 +498,13 @@ export default {
this.remark = "";
this.middleList.length = 0;
this.loading = true;
setTimeout(() => {
setTimeout(async () => {
this.loading = false;
this.$message({
message: "冻结成功",
type: "success"
});
await this.handleToTaskCenter(res.data.result);
this.$router.push({ path: "/frozenList" });
}, 5000);
} else {
......@@ -573,7 +574,17 @@ export default {
}
// 上一次勾选的数据 对比具体是哪一项不匹配
this.midSelect = val;
}
},
async handleToTaskCenter(id) {
await this.$confirm(`请去【企业管理】-【任务中心】查看处理结果和执行进度`, `任务发起成功`, {
type: 'success',
confirmButtonText: '去任务中心',
cancelButtonText: '取消',
showClose: false
})
window.open(`/gic-web/#/taskDetail/${id}`);
return true;
},
}
};
</script>
......
......@@ -496,7 +496,7 @@ export default {
status: options.frozenType, // 1 冻结 0 解冻
phoneNameCard: this.keywords // 会员名称 手机号
};
doFetch("/api-member/members-batch-update-frozen", datas).then(res => {
doFetch("/api-member/members-batch-update-frozen", datas).then(async res => {
if (res.data.errorCode === 0) {
this.$message({
message: "解冻成功",
......@@ -506,6 +506,7 @@ export default {
pSize: 20,
cPage: 1
});
this.handleToTaskCenter(res.data.result);
}
});
},
......@@ -524,6 +525,15 @@ export default {
});
});
},
async handleToTaskCenter(id) {
await this.$confirm(`请去【企业管理】-【任务中心】查看处理结果和执行进度`, `任务发起成功`, {
type: 'success',
confirmButtonText: '去任务中心',
cancelButtonText: '取消',
showClose: false
})
window.open(`/gic-web/#/taskDetail/${id}`);
},
submit() {
this.getList({
pSize: 20,
......
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