diff --git a/admin/src/views/student/freshman/identity/index.vue b/admin/src/views/student/freshman/identity/index.vue deleted file mode 100644 index cdd8583..0000000 --- a/admin/src/views/student/freshman/identity/index.vue +++ /dev/null @@ -1,150 +0,0 @@ - - - - - diff --git a/admin/src/views/stuBaseInfo/edit.vue b/admin/src/views/student/freshman/stuBaseInfo/edit.vue similarity index 100% rename from admin/src/views/stuBaseInfo/edit.vue rename to admin/src/views/student/freshman/stuBaseInfo/edit.vue diff --git a/admin/src/views/stuBaseInfo/index.vue b/admin/src/views/student/freshman/stuBaseInfo/index.vue similarity index 100% rename from admin/src/views/stuBaseInfo/index.vue rename to admin/src/views/student/freshman/stuBaseInfo/index.vue diff --git a/admin/src/views/stuRegistration/edit.vue b/admin/src/views/student/freshman/stuRegistration/edit.vue similarity index 100% rename from admin/src/views/stuRegistration/edit.vue rename to admin/src/views/student/freshman/stuRegistration/edit.vue diff --git a/admin/src/views/stuRegistration/index.vue b/admin/src/views/student/freshman/stuRegistration/index.vue similarity index 83% rename from admin/src/views/stuRegistration/index.vue rename to admin/src/views/student/freshman/stuRegistration/index.vue index 1b3ded7..cde6746 100644 --- a/admin/src/views/stuRegistration/index.vue +++ b/admin/src/views/student/freshman/stuRegistration/index.vue @@ -99,16 +99,33 @@ /> - - - - - - - + + + + @@ -164,12 +181,9 @@ const userStore = useUserStore() const editRef = shallowRef>() const showEdit = ref(false) const queryParams = reactive({ - userId: '', baseInfoId: '', applicationNumber: '', invitationCode: '', - intendedCollegeId: '', - intendedMajorId: '', admissionStatus: '', paymentStatus: '', registrationStatus: '', @@ -185,6 +199,40 @@ const queryParams = reactive({ registrationTimeEnd: '' }) +const formatAdmissionStatus = (row: any, column: any, cellValue: any) => { + const statusMap: Record = { + '0': '待审核', + '1': '已录取', + '2': '未录取' + } + return statusMap[String(cellValue)] || cellValue +} + +const formatPaymentStatus = (row: any, column: any, cellValue: any) => { + const statusMap: Record = { + '0': '未缴费', + '1': '已缴费' + } + return statusMap[String(cellValue)] || cellValue +} + +const formatRegistrationStatus = (row: any, column: any, cellValue: any) => { + const statusMap: Record = { + '0': '未入学', + '1': '已入学' + } + return statusMap[String(cellValue)] || cellValue +} + +const formatApprovalStatus = (row: any, column: any, cellValue: any) => { + const statusMap: Record = { + '0': '待审核', + '1': '已审核', + '2': '审核不通过' + } + return statusMap[String(cellValue)] || cellValue +} + // 根据权限选择对应的 API const getFetchFun = () => { const { perms } = userStore diff --git a/admin/src/views/teacher/time/slot/index.vue b/admin/src/views/teacher/time/slot/index.vue index be467d8..a2e5635 100644 --- a/admin/src/views/teacher/time/slot/index.vue +++ b/admin/src/views/teacher/time/slot/index.vue @@ -273,6 +273,10 @@ getLists() background-color: #f2fff2; } +:deep(.el-table tbody tr:hover > td) { + background-color: transparent !important; +} + .cell-content { padding: 5px; border-radius: 4px; diff --git a/stu/src/App.vue b/stu/src/App.vue index fe8e085..39635be 100644 --- a/stu/src/App.vue +++ b/stu/src/App.vue @@ -8,6 +8,7 @@ const isMenuOpen = ref(false); // 用于移动端菜单控制 + \ No newline at end of file diff --git a/stu/src/components/navigation.vue b/stu/src/components/navigation.vue deleted file mode 100644 index e69de29..0000000