From cc775a55002961023bec7a86da14c1d59864a9b5 Mon Sep 17 00:00:00 2001
From: LiuQAQQWQ <1109326957@qq.com>
Date: Mon, 8 Dec 2025 15:17:59 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E7=94=9F=E5=AE=A1=E6=A0=B8=E9=83=A8?=
=?UTF-8?q?=E5=88=86=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../stuRegistration.admission/edit.vue | 198 +++++++++++++++
.../stuRegistration.admission/index.vue | 227 ++++++++++++++++++
.../stuRegistration.enrollment/edit.vue | 220 +++++++++++++++++
.../stuRegistration.enrollment/index.vue | 227 ++++++++++++++++++
.../freshman/stuRegistration.payment/edit.vue | 217 +++++++++++++++++
.../stuRegistration.payment/index.vue | 227 ++++++++++++++++++
.../stuRegistration.registration/edit.vue | 218 +++++++++++++++++
.../stuRegistration.registration/index.vue | 227 ++++++++++++++++++
.../student/freshman/stuRegistration/edit.vue | 20 ++
.../freshman/stuRegistration/index.vue | 32 +--
10 files changed, 1783 insertions(+), 30 deletions(-)
create mode 100644 admin/src/views/student/freshman/stuRegistration.admission/edit.vue
create mode 100644 admin/src/views/student/freshman/stuRegistration.admission/index.vue
create mode 100644 admin/src/views/student/freshman/stuRegistration.enrollment/edit.vue
create mode 100644 admin/src/views/student/freshman/stuRegistration.enrollment/index.vue
create mode 100644 admin/src/views/student/freshman/stuRegistration.payment/edit.vue
create mode 100644 admin/src/views/student/freshman/stuRegistration.payment/index.vue
create mode 100644 admin/src/views/student/freshman/stuRegistration.registration/edit.vue
create mode 100644 admin/src/views/student/freshman/stuRegistration.registration/index.vue
diff --git a/admin/src/views/student/freshman/stuRegistration.admission/edit.vue b/admin/src/views/student/freshman/stuRegistration.admission/edit.vue
new file mode 100644
index 00000000..e5e7b85b
--- /dev/null
+++ b/admin/src/views/student/freshman/stuRegistration.admission/edit.vue
@@ -0,0 +1,198 @@
+
+
+
+
diff --git a/admin/src/views/student/freshman/stuRegistration.admission/index.vue b/admin/src/views/student/freshman/stuRegistration.admission/index.vue
new file mode 100644
index 00000000..ff91817f
--- /dev/null
+++ b/admin/src/views/student/freshman/stuRegistration.admission/index.vue
@@ -0,0 +1,227 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
diff --git a/admin/src/views/student/freshman/stuRegistration.enrollment/edit.vue b/admin/src/views/student/freshman/stuRegistration.enrollment/edit.vue
new file mode 100644
index 00000000..29509bca
--- /dev/null
+++ b/admin/src/views/student/freshman/stuRegistration.enrollment/edit.vue
@@ -0,0 +1,220 @@
+
+
+
+
diff --git a/admin/src/views/student/freshman/stuRegistration.enrollment/index.vue b/admin/src/views/student/freshman/stuRegistration.enrollment/index.vue
new file mode 100644
index 00000000..41c699a5
--- /dev/null
+++ b/admin/src/views/student/freshman/stuRegistration.enrollment/index.vue
@@ -0,0 +1,227 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
diff --git a/admin/src/views/student/freshman/stuRegistration.payment/edit.vue b/admin/src/views/student/freshman/stuRegistration.payment/edit.vue
new file mode 100644
index 00000000..12660817
--- /dev/null
+++ b/admin/src/views/student/freshman/stuRegistration.payment/edit.vue
@@ -0,0 +1,217 @@
+
+
+
+
diff --git a/admin/src/views/student/freshman/stuRegistration.payment/index.vue b/admin/src/views/student/freshman/stuRegistration.payment/index.vue
new file mode 100644
index 00000000..97e4dc3f
--- /dev/null
+++ b/admin/src/views/student/freshman/stuRegistration.payment/index.vue
@@ -0,0 +1,227 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
diff --git a/admin/src/views/student/freshman/stuRegistration.registration/edit.vue b/admin/src/views/student/freshman/stuRegistration.registration/edit.vue
new file mode 100644
index 00000000..766840a8
--- /dev/null
+++ b/admin/src/views/student/freshman/stuRegistration.registration/edit.vue
@@ -0,0 +1,218 @@
+
+
+
+
diff --git a/admin/src/views/student/freshman/stuRegistration.registration/index.vue b/admin/src/views/student/freshman/stuRegistration.registration/index.vue
new file mode 100644
index 00000000..1663c113
--- /dev/null
+++ b/admin/src/views/student/freshman/stuRegistration.registration/index.vue
@@ -0,0 +1,227 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
diff --git a/admin/src/views/student/freshman/stuRegistration/edit.vue b/admin/src/views/student/freshman/stuRegistration/edit.vue
index 5356094f..3e692da6 100644
--- a/admin/src/views/student/freshman/stuRegistration/edit.vue
+++ b/admin/src/views/student/freshman/stuRegistration/edit.vue
@@ -107,6 +107,7 @@ import {
stuRegistrationEdit
} from '@/api/stuRegistration'
import Popup from '@/components/popup/index.vue'
+import useUserStore from '@/stores/modules/user'
import feedback from '@/utils/feedback'
defineProps({
dictData: {
@@ -115,6 +116,7 @@ defineProps({
}
})
const emit = defineEmits(['success', 'close'])
+const userStore = useUserStore()
const formRef = shallowRef()
const popupRef = shallowRef>()
const mode = ref('add')
@@ -232,9 +234,27 @@ const handleSubmit = async () => {
const open = (type = 'add') => {
mode.value = type
+ console.log('当前权限:', userStore.perms)
+ console.log('getFetchFun', getFetchFun())
popupRef.value?.open()
}
+const getFetchFun = () => {
+ const { perms } = userStore
+ if (perms.includes('stuRegistration/list')) {
+ return 5
+ } else if (perms.includes('stuRegistration/list.enrollment')) {
+ return 2
+ } else if (perms.includes('stuRegistration/list.payment')) {
+ return 3
+ } else if (perms.includes('stuRegistration/list.registration')) {
+ return 4
+ } else if (perms.includes('stuRegistration/list.admission')) {
+ return 1
+ }
+ return 0
+}
+
const setFormData = async (data: Record) => {
for (const key in formData) {
if (data[key] != null && data[key] != undefined) {
diff --git a/admin/src/views/student/freshman/stuRegistration/index.vue b/admin/src/views/student/freshman/stuRegistration/index.vue
index cde6746d..6fe38678 100644
--- a/admin/src/views/student/freshman/stuRegistration/index.vue
+++ b/admin/src/views/student/freshman/stuRegistration/index.vue
@@ -99,7 +99,6 @@
/>
-