From 1ea71a9eb4cca2b13d9cef801b65216f17a1a670 Mon Sep 17 00:00:00 2001 From: zhoutianchi <1305666981@qq.com> Date: Fri, 16 Jan 2026 13:59:22 +0800 Subject: [PATCH] 1 --- src/api/recruit/recruitschoolcode.ts | 14 +++++----- src/api/recruit/recruitstudentschool.ts | 14 +++++----- .../recruit/backSchoolCheckin/tabIndex.vue | 12 ++++----- src/views/recruit/newstucheckin/index.vue | 2 +- .../recruit/recruitstudentplan/index.vue | 8 +++--- .../recruitstudentschool/detaiform.vue | 6 ++--- .../recruit/recruitstudentschool/index.vue | 4 +-- .../recruitstudentsignup/dorm_analysis.vue | 4 +-- .../recruit/recruitstudentsignup/index.vue | 26 +++++++++---------- .../recruitstudentsignup/indexClass.vue | 10 +++---- .../recruit/recruitstudentsignup/list.vue | 12 ++++----- .../recruit/recruitstudentsignup/static.vue | 20 +++++++------- 12 files changed, 68 insertions(+), 64 deletions(-) diff --git a/src/api/recruit/recruitschoolcode.ts b/src/api/recruit/recruitschoolcode.ts index 6c53b75..1704cc0 100644 --- a/src/api/recruit/recruitschoolcode.ts +++ b/src/api/recruit/recruitschoolcode.ts @@ -18,7 +18,7 @@ export const fetchList = (query?: any) => { */ export const addObj = (obj: any) => { return request({ - url: '/recruit/recruitschoolcode', + url: '/recruit/recruitschoolcode/add', method: 'post', data: obj, }); @@ -30,8 +30,9 @@ export const addObj = (obj: any) => { */ export const getObj = (id: string | number) => { return request({ - url: `/recruit/recruitschoolcode/${id}`, + url: `/recruit/recruitschoolcode/getById`, method: 'get', + params:{id:id} }); }; @@ -41,8 +42,9 @@ export const getObj = (id: string | number) => { */ export const delObj = (id: string | number) => { return request({ - url: `/recruit/recruitschoolcode/${id}`, - method: 'delete', + url: `/recruit/recruitschoolcode/deleteById`, + method: 'post', + data:{id:id} }); }; @@ -52,8 +54,8 @@ export const delObj = (id: string | number) => { */ export const putObj = (obj: any) => { return request({ - url: '/recruit/recruitschoolcode', - method: 'put', + url: '/recruit/recruitschoolcode/edit', + method: 'post', data: obj, }); }; diff --git a/src/api/recruit/recruitstudentschool.ts b/src/api/recruit/recruitstudentschool.ts index 516b980..154970b 100644 --- a/src/api/recruit/recruitstudentschool.ts +++ b/src/api/recruit/recruitstudentschool.ts @@ -54,7 +54,7 @@ export const areaSonList = (query?: any) => { */ export const addObj = (obj: any) => { return request({ - url: '/recruit/recruitstudentschool', + url: '/recruit/recruitstudentschool/add', method: 'post', data: obj, }); @@ -66,8 +66,9 @@ export const addObj = (obj: any) => { */ export const getObj = (id: string | number) => { return request({ - url: `/recruit/recruitstudentschool/${id}`, + url: `/recruit/recruitstudentschool/getById`, method: 'get', + params:{id:id} }); }; @@ -77,8 +78,9 @@ export const getObj = (id: string | number) => { */ export const delObj = (id: string | number) => { return request({ - url: `/recruit/recruitstudentschool/${id}`, - method: 'delete', + url: `/recruit/recruitstudentschool/deleteByid`, + method: 'post', + data:{id:id} }); }; @@ -88,8 +90,8 @@ export const delObj = (id: string | number) => { */ export const putObj = (obj: any) => { return request({ - url: '/recruit/recruitstudentschool', - method: 'put', + url: '/recruit/recruitstudentschool/edit', + method: 'post', data: obj, }); }; diff --git a/src/views/recruit/backSchoolCheckin/tabIndex.vue b/src/views/recruit/backSchoolCheckin/tabIndex.vue index 8836993..a42646f 100644 --- a/src/views/recruit/backSchoolCheckin/tabIndex.vue +++ b/src/views/recruit/backSchoolCheckin/tabIndex.vue @@ -30,8 +30,8 @@ /> - - + + - + @@ -283,7 +283,7 @@ const pushedList = ref([{ label: '未推送', value: '0' }, { label: '已推送' // 查询表单 const queryForm = reactive({ groupId: '', - xy: '', + deptCode: '', confirmedMajor: '', search: '', paystatus: '', @@ -527,7 +527,7 @@ const showPayCode = (row: any) => { const resetQuery = () => { searchFormRef.value?.resetFields() queryForm.groupId = '' - queryForm.xy = '' + queryForm.deptCode = '' queryForm.confirmedMajor = '' queryForm.search = '' queryForm.paystatus = '' diff --git a/src/views/recruit/newstucheckin/index.vue b/src/views/recruit/newstucheckin/index.vue index cbad82e..61914ab 100644 --- a/src/views/recruit/newstucheckin/index.vue +++ b/src/views/recruit/newstucheckin/index.vue @@ -58,7 +58,7 @@ :header-cell-style="tableStyle.headerCellStyle" > - + @@ -442,7 +442,7 @@ - {{ getLabelValueByProps(deptList, scope.row.xy, { key: 'deptCode', value: 'deptName' }) }} + {{ getLabelValueByProps(deptList, scope.row.deptCode, { key: 'deptCode', value: 'deptName' }) }}
({{scope.row.auditorName}}) @@ -592,7 +592,7 @@ const showSearch = ref(true) const dataForm = reactive({ zlsh: '', groupId: '', - xy: '', + deptCode: '', confirmedMajor: '', degreeOfEducation: '', isAccommodation: '', diff --git a/src/views/recruit/recruitstudentsignup/indexClass.vue b/src/views/recruit/recruitstudentsignup/indexClass.vue index d2bb716..f6490fa 100644 --- a/src/views/recruit/recruitstudentsignup/indexClass.vue +++ b/src/views/recruit/recruitstudentsignup/indexClass.vue @@ -20,8 +20,8 @@
- - + + - - + + - + @@ -260,7 +260,7 @@ const isSendList = ref([{ label: '未发送', value: 0 }, { label: '已发送', // 查询表单 const queryForm = reactive({ groupId: '', - xy: '', + deptCode: '', confirmedMajor: '', search: '', isOutFw: '', @@ -407,7 +407,7 @@ const handleExport = async () => { const resetQuery = () => { searchFormRef.value?.resetFields() queryForm.groupId = '' - queryForm.xy = '' + queryForm.deptCode = '' queryForm.confirmedMajor = '' queryForm.search = '' queryForm.isOutFw = '' diff --git a/src/views/recruit/recruitstudentsignup/static.vue b/src/views/recruit/recruitstudentsignup/static.vue index ccd7670..3bffbdf 100644 --- a/src/views/recruit/recruitstudentsignup/static.vue +++ b/src/views/recruit/recruitstudentsignup/static.vue @@ -58,7 +58,7 @@ import { BasicTableProps, useTable } from '/@/hooks/table' import { useMessage } from '/@/hooks/message' import { useDict } from '/@/hooks/dict' import { getList } from '/@/api/recruit/recruitstudentplangroup' -import { fetchListByStatic, listPlanByCondition as planMajor } from '/@/api/recruit/recruitstudentplan' +import { listPlanByCondition as planMajor } from '/@/api/recruit/recruitstudentplan' import { getDeptList } from '/@/api/basic/basicclass' // @ts-ignore import global from '/@/components/tools/commondict.vue' @@ -88,15 +88,15 @@ const queryForm = reactive({ // 表格状态 const state: BasicTableProps = reactive({ queryForm: queryForm, - pageList: async (params: any) => { - const response = await fetchListByStatic(params) - return { - data: { - records: response.data || [], - total: response.data?.length || 0 - } - } - }, + // pageList: async (params: any) => { + // const response = await fetchListByStatic(params) + // return { + // data: { + // records: response.data || [], + // total: response.data?.length || 0 + // } + // } + // }, createdIsNeed: false })