From 81692cb83adb88b0208d31694d06a5853e74bd49 Mon Sep 17 00:00:00 2001 From: zhy <17877871893@163.com> Date: Sun, 7 Sep 2025 22:10:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E7=8F=AD=E7=BA=A7=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E5=88=B0=E6=96=B0=E7=94=9F=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/stureg/temp.js | 16 ++++ src/views/stuCQS/info-fill/sport/index.vue | 4 +- src/views/stureg/temp/index.vue | 100 +++++++++++++++++++++ 3 files changed, 119 insertions(+), 1 deletion(-) create mode 100644 src/api/stureg/temp.js create mode 100644 src/views/stureg/temp/index.vue 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