diff --git a/src/api/finance/recruitProject.ts b/src/api/finance/recruitProject.ts new file mode 100644 index 0000000..78c9b70 --- /dev/null +++ b/src/api/finance/recruitProject.ts @@ -0,0 +1,65 @@ +/* + * Copyright (c) 2018-2025, cyweb All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * Neither the name of the pig4cloud.com developer nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + */ + +import request from '/@/utils/request'; + +export function getPage(params?: any) { + return request({ + url: '/finance/recruitproject/page', + method: 'get', + params + }); +} + +export function getList(params?: any) { + return request({ + url: '/finance/recruitproject/list', + method: 'get', + params + }); +} + +export function getObj(id: string) { + return request({ + url: '/finance/recruitproject/' + id, + method: 'get' + }); +} + +export function addObj(obj: any) { + return request({ + url: '/finance/recruitproject', + method: 'post', + data: obj + }); +} + +export function editObj(obj: any) { + return request({ + url: '/finance/recruitproject/edit', + method: 'post', + data: obj + }); +} + +export function delObj(id: string) { + return request({ + url: '/finance/recruitproject/delete', + method: 'post', + data: { id } + }); +} \ No newline at end of file diff --git a/src/api/finance/recruitSetting.ts b/src/api/finance/recruitSetting.ts new file mode 100644 index 0000000..c6521bb --- /dev/null +++ b/src/api/finance/recruitSetting.ts @@ -0,0 +1,57 @@ +/* + * Copyright (c) 2018-2025, cyweb All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * Neither the name of the pig4cloud.com developer nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + */ + +import request from '/@/utils/request'; + +export function getPage(params?: any) { + return request({ + url: '/finance/recruitsetting/page', + method: 'get', + params + }); +} + +export function getObj(id: string) { + return request({ + url: '/finance/recruitsetting/' + id, + method: 'get' + }); +} + +export function addObj(obj: any) { + return request({ + url: '/finance/recruitsetting', + method: 'post', + data: obj + }); +} + +export function editObj(obj: any) { + return request({ + url: '/finance/recruitsetting/edit', + method: 'post', + data: obj + }); +} + +export function delObj(id: string) { + return request({ + url: '/finance/recruitsetting/delete', + method: 'post', + data: { id } + }); +} \ No newline at end of file diff --git a/src/api/finance/recruitStu.ts b/src/api/finance/recruitStu.ts new file mode 100644 index 0000000..3524c09 --- /dev/null +++ b/src/api/finance/recruitStu.ts @@ -0,0 +1,57 @@ +/* + * Copyright (c) 2018-2025, cyweb All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * Neither the name of the pig4cloud.com developer nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + */ + +import request from '/@/utils/request'; + +export function getPage(params?: any) { + return request({ + url: '/finance/recruitstu/page', + method: 'get', + params + }); +} + +export function getObj(id: string) { + return request({ + url: '/finance/recruitstu/' + id, + method: 'get' + }); +} + +export function addObj(obj: any) { + return request({ + url: '/finance/recruitstu', + method: 'post', + data: obj + }); +} + +export function editObj(obj: any) { + return request({ + url: '/finance/recruitstu/edit', + method: 'post', + data: obj + }); +} + +export function delObj(id: string) { + return request({ + url: '/finance/recruitstu/delete', + method: 'post', + data: { id } + }); +} \ No newline at end of file diff --git a/src/api/finance/recruitStuProject.ts b/src/api/finance/recruitStuProject.ts new file mode 100644 index 0000000..d7d3250 --- /dev/null +++ b/src/api/finance/recruitStuProject.ts @@ -0,0 +1,89 @@ +/* + * Copyright (c) 2018-2025, cyweb All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * Neither the name of the pig4cloud.com developer nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + */ + +import request from '/@/utils/request'; + +export function getPage(params?: any) { + return request({ + url: '/finance/recruitstuproject/page', + method: 'get', + params + }); +} + +export function getBySerialNumber(serialNumber: string) { + return request({ + url: '/finance/recruitstuproject/stu/' + serialNumber, + method: 'get' + }); +} + +export function getObj(id: string) { + return request({ + url: '/finance/recruitstuproject/' + id, + method: 'get' + }); +} + +export function addObj(obj: any) { + return request({ + url: '/finance/recruitstuproject', + method: 'post', + data: obj + }); +} + +export function editObj(obj: any) { + return request({ + url: '/finance/recruitstuproject/edit', + method: 'post', + data: obj + }); +} + +export function delObj(id: string) { + return request({ + url: '/finance/recruitstuproject/delete', + method: 'post', + data: { id } + }); +} + +export function bindProject(serialNumber: string, projectCodes: string[]) { + return request({ + url: '/finance/recruitstuproject/bind', + method: 'post', + params: { serialNumber }, + data: projectCodes + }); +} + +export function payRegister(id: string, payType: string) { + return request({ + url: '/finance/recruitstuproject/pay', + method: 'post', + params: { id, payType } + }); +} + +export function cancelPay(id: string) { + return request({ + url: '/finance/recruitstuproject/cancel', + method: 'post', + params: { id } + }); +} \ No newline at end of file diff --git a/src/views/finance/recruitproject/form.vue b/src/views/finance/recruitproject/form.vue new file mode 100644 index 0000000..385ee96 --- /dev/null +++ b/src/views/finance/recruitproject/form.vue @@ -0,0 +1,120 @@ + + + \ No newline at end of file diff --git a/src/views/finance/recruitproject/index.vue b/src/views/finance/recruitproject/index.vue new file mode 100644 index 0000000..6ce6025 --- /dev/null +++ b/src/views/finance/recruitproject/index.vue @@ -0,0 +1,121 @@ + + + + + \ No newline at end of file diff --git a/src/views/finance/recruitsetting/form.vue b/src/views/finance/recruitsetting/form.vue new file mode 100644 index 0000000..3868959 --- /dev/null +++ b/src/views/finance/recruitsetting/form.vue @@ -0,0 +1,135 @@ + + + \ No newline at end of file diff --git a/src/views/finance/recruitsetting/index.vue b/src/views/finance/recruitsetting/index.vue new file mode 100644 index 0000000..be27ba8 --- /dev/null +++ b/src/views/finance/recruitsetting/index.vue @@ -0,0 +1,139 @@ + + + + + \ No newline at end of file diff --git a/src/views/finance/recruitstu/feeDetail.vue b/src/views/finance/recruitstu/feeDetail.vue new file mode 100644 index 0000000..388fe5c --- /dev/null +++ b/src/views/finance/recruitstu/feeDetail.vue @@ -0,0 +1,211 @@ + + + + + \ No newline at end of file diff --git a/src/views/finance/recruitstu/form.vue b/src/views/finance/recruitstu/form.vue new file mode 100644 index 0000000..15086c4 --- /dev/null +++ b/src/views/finance/recruitstu/form.vue @@ -0,0 +1,147 @@ + + + \ No newline at end of file diff --git a/src/views/finance/recruitstu/index.vue b/src/views/finance/recruitstu/index.vue new file mode 100644 index 0000000..4266636 --- /dev/null +++ b/src/views/finance/recruitstu/index.vue @@ -0,0 +1,148 @@ + + + + + \ No newline at end of file diff --git a/src/views/finance/recruitstuproject/index.vue b/src/views/finance/recruitstuproject/index.vue new file mode 100644 index 0000000..28a4913 --- /dev/null +++ b/src/views/finance/recruitstuproject/index.vue @@ -0,0 +1,205 @@ + + + + + \ No newline at end of file diff --git a/src/views/purchase/purchasingrequisition/add.vue b/src/views/purchase/purchasingrequisition/add.vue index 964f47b..377a475 100644 --- a/src/views/purchase/purchasingrequisition/add.vue +++ b/src/views/purchase/purchasingrequisition/add.vue @@ -66,6 +66,14 @@ + + + + + + + + @@ -591,6 +599,7 @@ const dataForm = reactive({ budget: null as number | null, isCentralized: '', isSpecial: '', + hasAssets: '0', purchaseMode: '', purchaseType: '', purchaseTypeUnion: '',