fix:增加面授课开课学员成绩导入成功后提示及自动关闭抽屉获重新取数据

This commit is contained in:
wyx
2023-04-04 15:39:46 +08:00
parent c12d58d2f0
commit 659c479474
3 changed files with 6 additions and 4 deletions

View File

@@ -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------------");

View File

@@ -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);

View File

@@ -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,