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