完善导入模块

This commit is contained in:
龙运模
2024-07-18 00:32:02 +08:00
parent 39caa09d1a
commit cdc9f459c9
6 changed files with 163 additions and 61 deletions
+8 -1
View File
@@ -231,7 +231,7 @@ export default {
url: `${config.API_URL}/organization.import`,
name: "公司资料导入",
post: async function (params) {
return await http.post(this.url,params);
return await http.post(this.url,params,{'Content-Type': 'multipart/form-data'});
}
}
},
@@ -294,6 +294,13 @@ export default {
return await http.post(this.url, params);
},
},
logout: {
url: `${config.API_URL}/user.logout`,
name: "用户退出",
post: async function (params) {
return await http.post(this.url, params);
}
},
add:{
url: `${config.API_URL}/user.add`,
name: "用户新增",