diff --git a/.env.prod b/.env.prod index ab14c09c..8291a432 100644 --- a/.env.prod +++ b/.env.prod @@ -2,6 +2,8 @@ NODE_ENV=prod VUE_APP_BASE=/manage VUE_APP_BASE_API=/manageApi +VUE_APP_PROXY_URL=https://u.boe.com/ + VUE_APP_LOGIN_URL=https://u.boe.com/web VUE_APP_BOE_API_URL=https://u.boe.com diff --git a/.env.release b/.env.release index 887d9220..39b98c87 100644 --- a/.env.release +++ b/.env.release @@ -1,6 +1,8 @@ NODE_ENV=release VUE_APP_BASE=/manage-release VUE_APP_BASE_API=/manageApi-release + +VUE_APP_PROXY_URL=https://u-pre.boe.com/ VUE_APP_LOGIN_URL=https://u.boe.com/web-release VUE_APP_BOE_API_URL=https://u.boe.com diff --git a/src/api/index1.js b/src/api/index1.js index fdd23835..b2fdae52 100644 --- a/src/api/index1.js +++ b/src/api/index1.js @@ -2,7 +2,7 @@ * @Author: lixg lixg@dongwu-inc.com * @Date: 2022-11-04 22:45:31 * @LastEditors: lixg lixg@dongwu-inc.com - * @LastEditTime: 2023-01-07 16:53:23 + * @LastEditTime: 2023-01-09 15:16:47 * @FilePath: /fe-manage/src/api/index1.js * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ @@ -176,4 +176,6 @@ export const batchUpdateStatus = (obj) => http.post('/admin/student/batchUpdateS export const batchImportScore = (obj) => http.post('/admin/student/importHomeWork', obj, { headers: { "Content-Type": "multipart/form-data" }, - }); \ No newline at end of file + }); +//数据导入状态 +export const getImportStatus = (uuid) => http.get('/admin/student/getImportStatus', { params: { uuid: uuid } }) \ No newline at end of file diff --git a/src/components/drawers/ExportScore.vue b/src/components/drawers/ExportScore.vue index 7ac029c8..20204dcc 100644 --- a/src/components/drawers/ExportScore.vue +++ b/src/components/drawers/ExportScore.vue @@ -28,12 +28,11 @@