From 26a32b8da575f2697b800bcf97f1336d1363f2f2 Mon Sep 17 00:00:00 2001 From: ywyonui Date: Fri, 18 Jul 2025 14:20:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=95=99=E5=B8=88=E6=A1=A3?= =?UTF-8?q?=E6=A1=88=E5=8F=8D=E6=98=BE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/base/gwqkApi.ts | 26 ++ src/api/base/gzjlApi.ts | 66 ++++ src/api/base/jtcyApi.ts | 66 ++++ src/api/base/server.ts | 4 + src/api/base/zcxxApi.ts | 26 ++ .../BasicForm/components/BasicUpload.vue | 4 +- src/components/BasicUpload/Upload.vue | 3 +- src/config.ts | 3 +- src/pages/system/login/login.vue | 3 +- .../view/hr/teacherProfile/ExperienceInfo.vue | 31 +- .../view/hr/teacherProfile/FamilyInfo.vue | 31 +- .../view/hr/teacherProfile/PositionInfo.vue | 26 +- .../hr/teacherProfile/RecordMaterials.vue | 47 ++- .../view/hr/teacherProfile/TitleInfo.vue | 35 ++- .../view/hr/teacherProfile/education.vue | 120 +++---- src/pages/view/hr/teacherProfile/index.vue | 13 +- src/pages/view/hr/teacherProfile/position.vue | 297 ++++++++++-------- .../view/hr/teacherProfile/qualification.vue | 12 +- 18 files changed, 556 insertions(+), 257 deletions(-) create mode 100644 src/api/base/gwqkApi.ts create mode 100644 src/api/base/gzjlApi.ts create mode 100644 src/api/base/jtcyApi.ts create mode 100644 src/api/base/zcxxApi.ts diff --git a/src/api/base/gwqkApi.ts b/src/api/base/gwqkApi.ts new file mode 100644 index 0000000..5c5cb90 --- /dev/null +++ b/src/api/base/gwqkApi.ts @@ -0,0 +1,26 @@ +// 参数接口 + +// 响应接口 +import { get, post } from "@/utils/request"; + +/** + * 分页查询 + */ +export function gwqkFindPageApi(params: any) { + return get('/api/gwqk/findPage', params); +} + +/** + * 新增/修改 + */ +export function gwqkSaveApi(params: any) { + return post('/api/gwqk/save', params); +} + +/** + * 新增/修改 + */ +export function gwqkLogicDeleteApi(params: any) { + return post('/api/gwqk/logicDelete', params); +} + diff --git a/src/api/base/gzjlApi.ts b/src/api/base/gzjlApi.ts new file mode 100644 index 0000000..ac9bc4d --- /dev/null +++ b/src/api/base/gzjlApi.ts @@ -0,0 +1,66 @@ +// 参数接口 + +// 响应接口 +import { get, post } from "@/utils/request"; + +/** + * 分页查询 + */ +export function gzjlFindPageApi(params: any) { + return get('/api/gzjl/findPage', params); +} + +/** + * 新增/修改 + */ +export function gzjlSaveApi(params: any) { + return post('/api/gzjl/save', params); +} + +/** + * 删除 + */ +export function gzjlLogicDeleteApi(params: any) { + return post('/api/gzjl/logicDelete', params); +} + +/** + * 根据id查询 + */ +export function gzjlFindByIdApi(params: any) { + return get('/api/gzjl/findById', params); +} + +/** + * 查询全部 + */ +export function gzjlFindAllApi() { + return get('/api/gzjl/findAll'); +} + +/** + * 导出字段选择 + */ +export function gzjlExportFieldChooseApi(params: any) { + return get('/api/gzjl/exportFieldChoose', params); +} + +/** + * 导出 + */ +export function gzjlExportFileApi(params: any) { + return post('/api/gzjl/export', params); +} +/** + * 导入 + */ +export function gzjlImportDataApi(params: any) { + return post('/api/gzjl/importData', params); +} +/** + * 强删除活动 + * @param {*} parameter + */ +export function gzjlDelApi(parameter: any) { + return post('/api/gzjl/delete', parameter); +} diff --git a/src/api/base/jtcyApi.ts b/src/api/base/jtcyApi.ts new file mode 100644 index 0000000..5d8d266 --- /dev/null +++ b/src/api/base/jtcyApi.ts @@ -0,0 +1,66 @@ +// 参数接口 + +// 响应接口 +import { get, post } from "@/utils/request"; + +/** + * 分页查询 + */ +export function jtcyFindPageApi(params: any) { + return get('/api/jtcy/findPage', params); +} + +/** + * 新增/修改 + */ +export function jtcySaveApi(params: any) { + return post('/api/jtcy/save', params); +} + +/** + * 删除 + */ +export function jtcyLogicDeleteApi(params: any) { + return post('/api/jtcy/logicDelete', params); +} + +/** + * 根据id查询 + */ +export function jtcyFindByIdApi(params: any) { + return get('/api/jtcy/findById', params); +} + +/** + * 查询全部 + */ +export function jtcyFindAllApi() { + return get('/api/jtcy/findAll'); +} + +/** + * 导出字段选择 + */ +export function jtcyExportFieldChooseApi(params: any) { + return get('/api/jtcy/exportFieldChoose', params); +} + +/** + * 导出 + */ +export function jtcyExportFileApi(params: any) { + return post('/api/jtcy/export', params); +} +/** + * 导入 + */ +export function jtcyImportDataApi(params: any) { + return post('/api/jtcy/importData', params); +} +/** + * 强删除活动 + * @param {*} parameter + */ +export function jtcyDelApi(parameter: any) { + return post('/api/jtcy/delete', parameter); +} diff --git a/src/api/base/server.ts b/src/api/base/server.ts index 3f1291c..62a834e 100644 --- a/src/api/base/server.ts +++ b/src/api/base/server.ts @@ -55,6 +55,10 @@ export const fractionRuleApi1 = async () => { ); }; +export const zwGetListByLxApi = async (params: any) => { + return await get("/api/zw/getListByLx", params); +}; + // 查询教师信息 export const jsdfindJsByPhoneApi = async (params: any) => { return await get("/api/js/findJsByPhone", params); diff --git a/src/api/base/zcxxApi.ts b/src/api/base/zcxxApi.ts new file mode 100644 index 0000000..521337a --- /dev/null +++ b/src/api/base/zcxxApi.ts @@ -0,0 +1,26 @@ +// 参数接口 + +// 响应接口 +import { get, post } from "@/utils/request"; + +/** + * 分页查询 + */ +export function zcxxFindPageApi(params: any) { + return get('/api/zcxx/findPage', params); +} + +/** + * 新增/修改 + */ +export function zcxxSaveApi(params: any) { + return post('/api/zcxx/save', params); +} + +/** + * 新增/修改 + */ +export function zcxxLogicDeleteApi(params: any) { + return post('/api/zcxx/logicDelete', params); +} + diff --git a/src/components/BasicForm/components/BasicUpload.vue b/src/components/BasicForm/components/BasicUpload.vue index 980cb98..d08e1cf 100644 --- a/src/components/BasicForm/components/BasicUpload.vue +++ b/src/components/BasicForm/components/BasicUpload.vue @@ -1,12 +1,12 @@