From 707545f51e0a6e41c484d52477c9f255862052db Mon Sep 17 00:00:00 2001
From: zhoutianchi <1305666981@qq.com>
Date: Mon, 9 Feb 2026 18:02:02 +0800
Subject: [PATCH] 1
---
.../recruit/common/import-recruit-info.vue | 20 +++++++--
src/views/recruit/recruitplanmajor/index.vue | 2 +-
.../index.vue | 20 +++++++++
.../recruit/recruitstudentsignup/index.vue | 43 +++++++++++++------
4 files changed, 68 insertions(+), 17 deletions(-)
diff --git a/src/views/recruit/common/import-recruit-info.vue b/src/views/recruit/common/import-recruit-info.vue
index 10181cb..b7a35ff 100644
--- a/src/views/recruit/common/import-recruit-info.vue
+++ b/src/views/recruit/common/import-recruit-info.vue
@@ -1,10 +1,22 @@
-
+
下载模板
-
+
+ 请从中招平台导出数据后导入
+
+
+
+
+ void }>()
const titleMap: Record = {
- planMajor: '计划专业导入'
+ R10001: '计划专业导入',
+ R10002: '地区分数导入',
+ R10003: '中招平台数据导入'
}
// 方法
const init = (type: any) => {
diff --git a/src/views/recruit/recruitplanmajor/index.vue b/src/views/recruit/recruitplanmajor/index.vue
index 7a95d65..a2a5a92 100644
--- a/src/views/recruit/recruitplanmajor/index.vue
+++ b/src/views/recruit/recruitplanmajor/index.vue
@@ -50,7 +50,7 @@
新 增
新 增
+ 导入信息
+
@@ -83,6 +92,9 @@
+
+
+
@@ -94,6 +106,8 @@ import { BasicTableProps, useTable } from '/@/hooks/table'
import { useMessage, useMessageBox } from '/@/hooks/message'
import { getList } from '/@/api/recruit/recruitstudentplangroup'
import { fetchList, delObj } from '/@/api/recruit/recruitstudentplancorrectscoreconfig'
+const ImportRecruitInfo = defineAsyncComponent(() => import('/@/views/recruit/common/import-recruit-info.vue'));
+const ImportRecruitInfoRef=ref();
const TableForm = defineAsyncComponent(() => import('./detaiform.vue'))
const { hasAuth } = useAuth()
@@ -183,6 +197,12 @@ const resetQuery = () => {
getDataList()
}
+const exportLoading = ref(false);
+
+const handleImportDialog = () => {
+ ImportRecruitInfoRef.value?.init("R10002");
+};
+
onMounted(() => {
init()
})
diff --git a/src/views/recruit/recruitstudentsignup/index.vue b/src/views/recruit/recruitstudentsignup/index.vue
index 09a1538..83a02d3 100644
--- a/src/views/recruit/recruitstudentsignup/index.vue
+++ b/src/views/recruit/recruitstudentsignup/index.vue
@@ -281,19 +281,28 @@
@click="handleAddData">新增
招生名单打包导出
-
- 名单导出
+ v-auth="'recruit_zzpt_import'"
+ type="primary"
+ plain
+ icon="UploadFilled"
+ :loading="exportLoading"
+ @click="handleImportDialog"
+ >导入中招平台数据
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -634,7 +643,9 @@
-
+
+
+
@@ -681,6 +692,8 @@ const InterviewForm = defineAsyncComponent(() => import('/@/views/recruit/recrui
const PayQrcodeDialog = defineAsyncComponent(() => import('./PayQrcodeDialog.vue'))
const AdmissionNoticeDialog = defineAsyncComponent(() => import('./AdmissionNoticeDialog.vue'))
const ActionDropdown = defineAsyncComponent(() => import('/@/components/tools/action-dropdown.vue'))
+const ImportRecruitInfo = defineAsyncComponent(() => import('/@/views/recruit/common/import-recruit-info.vue'));
+const ImportRecruitInfoRef=ref();
const { hasAuth } = useAuth()
// 消息提示 hooks
const message = useMessage()
@@ -1131,6 +1144,10 @@ watch(() => dataForm.groupId, () => {
}
})
+const handleImportDialog = () => {
+ ImportRecruitInfoRef.value?.init("R10003");
+};
+
onMounted(() => {
init()
})