增加导入优化导出

This commit is contained in:
龙运模
2024-07-15 17:24:45 +08:00
parent bb6c776515
commit 6dd9d35ce3
10 changed files with 258 additions and 73 deletions
+15
View File
@@ -219,6 +219,21 @@ export default {
post: async function (params) {
return await http.post(this.url,params);
}
},
template:{
url: `${config.API_URL}/company.import.template`,
name: "公司资料导入模版",
responseType: 'arraybuffer',
get: async function (params) {
return await http.get(this.url,params);
}
},
import:{
url: `${config.API_URL}/organization.import`,
name: "公司资料导入",
post: async function (params) {
return await http.post(this.url,params);
}
}
},
dept: {