mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-07 01:46:43 +08:00
fix:增加面授课开课学员成绩导入成功后提示及自动关闭抽屉获重新取数据
This commit is contained in:
@@ -34,7 +34,7 @@ import {USER_PERMISSION} from "@/api/ThirdApi";
|
||||
const store = useStore();
|
||||
const isLogin = ref(false);
|
||||
|
||||
console.log("版本2.4.1------------");
|
||||
console.log("版本2.4.2------------");
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -97,6 +97,7 @@
|
||||
|
||||
<script setup>
|
||||
import {defineEmits, defineProps, ref} from "vue";
|
||||
import {message} from "ant-design-vue";
|
||||
import {getImportStatus} from "@/api/index1";
|
||||
import {useTimeout} from "@/utils/useCommon";
|
||||
import err from "@/assets/images/err.png";
|
||||
@@ -124,6 +125,8 @@ const { start } = useTimeout(async ({ uuid, file }) => {
|
||||
fileList.value = [...fileList.value];
|
||||
if (upData && upData.status !== "START" && upData.status !== "NULL") {
|
||||
emit("change", "end");
|
||||
message.success("导入成功");
|
||||
closeDrawer();
|
||||
throw Error("查询任务结束");
|
||||
}
|
||||
}, 1000);
|
||||
|
||||
@@ -16,11 +16,10 @@ module.exports = defineConfig({
|
||||
port: 8070,
|
||||
proxy: {
|
||||
"/manageApi": {
|
||||
// target: 'http:' + process.env.VUE_APP_PROXY_URL,
|
||||
target: 'http://localhost:30001',
|
||||
target: 'http:' + process.env.VUE_APP_PROXY_URL,
|
||||
changeOrigin: true, //表示是否改变原域名
|
||||
pathRewrite: {
|
||||
// "^/manageApi": "",
|
||||
"^/manageApi": "",
|
||||
},
|
||||
}, "/userbasic": {
|
||||
target: 'https:' + process.env.VUE_APP_BOE_API_URL,
|
||||
|
||||
Reference in New Issue
Block a user