diff --git a/src/api/stureg/temp.js b/src/api/stureg/temp.js new file mode 100644 index 0000000..f33046e --- /dev/null +++ b/src/api/stureg/temp.js @@ -0,0 +1,16 @@ +import request from '@/utils/request'; + +export function syncClassCode() { + return request({ + url: "/system/reg/syncClassCode", + method: "post" + }); +} + +export function listXsxxTemp(params) { + return request({ + url: "/system/reg/listXsxxTemp", + method: "GET", + params + }); +} \ No newline at end of file diff --git a/src/views/stuCQS/info-fill/sport/index.vue b/src/views/stuCQS/info-fill/sport/index.vue index 66724de..8893b7b 100644 --- a/src/views/stuCQS/info-fill/sport/index.vue +++ b/src/views/stuCQS/info-fill/sport/index.vue @@ -182,7 +182,7 @@ import { listAllStuYear } from "@/api/stuCQS/info-fill/score"; import * as XLSX from 'xlsx'; import { workbook2blob, openDownloadDialog, file2Xce } from "@/api/helpFunc"; import { treeStudent, listEnableStu } from "@/api/stuCQS/basedata/student"; -import { isEmpty } from "@/api/helpFunc"; +import { isEmpty,fullLoading } from "@/api/helpFunc"; import { listAllYear as listYear } from "@/api/stuCQS/basedata/year"; import { listEnableYear } from "@/api/stuCQS/basedata/year"; @@ -399,7 +399,9 @@ export default { }); let jsonStr = JSON.stringify(sdata); + let loading = fullLoading(this); let res = await importExcel(jsonStr); + loading.close(); this.loading = false; this.$message(res.msg); this.getList(); diff --git a/src/views/stureg/temp/index.vue b/src/views/stureg/temp/index.vue new file mode 100644 index 0000000..7fc60bf --- /dev/null +++ b/src/views/stureg/temp/index.vue @@ -0,0 +1,100 @@ + + \ No newline at end of file