提交 67278018 编写于 作者: xingli.wu's avatar xingli.wu

Merge branch 'feature/wxl' into 'release'

feat: 导入人员名单优化

See merge request com.pica.cloud.education.frontend/pica.cloud.web-education-admin!505
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
"private": true, "private": true,
"license": "GPL", "license": "GPL",
"scripts": { "scripts": {
"dev": "cross-env BUILD_ENV=uat node build/dev-server.js", "dev": "cross-env BUILD_ENV=dev node build/dev-server.js",
"local": "cross-env BUILD_ENV=development node build/dev-server.js", "local": "cross-env BUILD_ENV=development node build/dev-server.js",
"build": "node build/build.js", "build": "node build/build.js",
"build:dev": "cross-env BUILD_ENV=dev node build/build.js", "build:dev": "cross-env BUILD_ENV=dev node build/build.js",
...@@ -97,4 +97,4 @@ ...@@ -97,4 +97,4 @@
"node": ">= 4.0.0", "node": ">= 4.0.0",
"npm": ">= 3.0.0" "npm": ">= 3.0.0"
} }
} }
\ No newline at end of file
...@@ -9,7 +9,7 @@ let headers = { ...@@ -9,7 +9,7 @@ let headers = {
export const getUserTypeReq = (type) => { export const getUserTypeReq = (type) => {
return fetch({ return fetch({
headers, headers,
url: getBaseUrl(`cme/admin/auth/external`), url: getBaseUrl(`api-ws/admin/auth/external`),
method: 'get', method: 'get',
description: '获取是否是外部用户', description: '获取是否是外部用户',
}) })
......
...@@ -80,3 +80,28 @@ export const uploadBatchExcel = (data) => { ...@@ -80,3 +80,28 @@ export const uploadBatchExcel = (data) => {
description: "屏蔽机构操作上传文件", description: "屏蔽机构操作上传文件",
}); });
}; };
export const getUploadExcelProgress = (id) => {
return fetch({
headers: {
token: localStorage.getItem("storageToken"),
},
url: getBaseUrl(`portal/new/batch/progress/doctor/${id}`),
method: "post",
description: "人员导入核销处理进度,id为批次id",
});
};
export const uploadPersonExcel2 = (data, projectId) => {
return fetch({
headers: {
"Content-Type": "application/json;charset=UTF-8",
sysCode: 12,
token: localStorage.getItem("storageToken"),
},
url: getBaseUrl("portal/new/scope/doctor/v2/" + projectId + "/import"),
method: "put",
data: data,
description: "上传excel文件",
});
};
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册