Commit 44cbacd0 authored by renjintao's avatar renjintao

api modify

parent 77bd72b8
...@@ -30,5 +30,8 @@ export default { ...@@ -30,5 +30,8 @@ export default {
importUser(params) {//用户管理导入 importUser(params) {//用户管理导入
return Api.post(`${systemUrl}/userimportservice/import`, params); return Api.post(`${systemUrl}/userimportservice/import`, params);
}, },
updateimportstatus(params) {//用户管理导入
return Api.post(`${systemUrl}/importcenter/updateimportstatus`, params);
},
} }
...@@ -619,6 +619,15 @@ export default { ...@@ -619,6 +619,15 @@ export default {
this.excelData = []; this.excelData = [];
this.excelDataBack = []; this.excelDataBack = [];
this.$refs.uploadfile.clearFiles(); this.$refs.uploadfile.clearFiles();
let parms = {
status: 1,
id: this.eid
}
Api.updateimportstatus(parms).then(res => {
if (res.sucess) {
this.$refs.grid.load();
}
})
this.$emit("on-close"); this.$emit("on-close");
}, },
//粘贴excel相关start //粘贴excel相关start
......
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