Commit 1d089567 by 曾经

导入成功提示

parent 9f75cc7e
......@@ -176,9 +176,11 @@ export default {
formData.append('requestProject', 'member');
formData.append('batchType', importValue);
doFetch(url.uploadExecl,formData).then((res)=>{
let {errorCode} = res.data;
let {errorCode,result} = res.data;
if(errorCode == 0){
checkSuccess('上传成功')
this.$emit('successImport', result);
this.$refs.formByImport.resetFields();
this.$refs.importFile.reset();
this.onDialogImportClosed();
}
}).finally(()=>{
......
......@@ -153,6 +153,23 @@ export default {
path: "/customerDetail",
query: { memberId }
});
}
},
handleToTaskCenter(id) {
this.$confirm(
`请去【系统】-【操作任务】-【任务中心】查看处理结果和执行进度`,
`任务发起成功`,
{
type: "success",
confirmButtonText: "去任务中心",
cancelButtonText: "取消",
showClose: false,
}
).then(()=>{
this.loadData();
window.open(`/gic-web/#/taskDetail/${id}`);
}).catch(()=>{
this.loadData();
});
},
}
};
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