学员批量导入

This commit is contained in:
禺狨
2023-03-08 11:40:36 +08:00
parent dbfce61c40
commit 6dea270641
8 changed files with 278 additions and 5 deletions

View File

@@ -75,7 +75,7 @@ export function destroyUser(id: number) {
//startline是表格真是数据的起始行号-用于提示哪一行数据存在问题
//users是一个二维字符串数组每个数组的元素如下[部门ids字符串,邮箱,昵称,密码,姓名,身份证]
export function storeBatch(startLine: number, users: string[][]) {
return client.post("/backend/v1/user/create", {
return client.post("/backend/v1/user/store-batch", {
start_line: startLine,
users: users,
});