人员管理
This commit is contained in:
@@ -35,7 +35,7 @@ export const fetchList = (query?: any) => {
|
||||
*/
|
||||
export const addObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionalpartychange',
|
||||
url: '/professional/professionalpartychange/add',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
@@ -47,8 +47,11 @@ export const addObj = (obj: any) => {
|
||||
*/
|
||||
export const getObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionalpartychange/${id}`,
|
||||
url: `/professional/professionalpartychange/getById`,
|
||||
method: 'get',
|
||||
params: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -58,8 +61,11 @@ export const getObj = (id: string | number) => {
|
||||
*/
|
||||
export const delObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionalpartychange/${id}`,
|
||||
method: 'delete',
|
||||
url: `/professional/professionalpartychange/deleteById`,
|
||||
method: 'post',
|
||||
data: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -69,8 +75,8 @@ export const delObj = (id: string | number) => {
|
||||
*/
|
||||
export const putObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionalpartychange',
|
||||
method: 'put',
|
||||
url: '/professional/professionalpartychange/edit',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
};
|
||||
|
||||
@@ -35,7 +35,7 @@ export const fetchList = (query?: any) => {
|
||||
*/
|
||||
export const addObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionalpoliticsstatus',
|
||||
url: '/professional/professionalpoliticsstatus/add',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
@@ -47,7 +47,7 @@ export const addObj = (obj: any) => {
|
||||
*/
|
||||
export const addPoliticssStatus = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionalpoliticsstatus',
|
||||
url: '/professional/professionalpoliticsstatus/add',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
@@ -59,8 +59,11 @@ export const addPoliticssStatus = (obj: any) => {
|
||||
*/
|
||||
export const getObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionalpoliticsstatus/${id}`,
|
||||
url: `/professional/professionalpoliticsstatus/getById`,
|
||||
method: 'get',
|
||||
params: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -70,8 +73,11 @@ export const getObj = (id: string | number) => {
|
||||
*/
|
||||
export const delObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionalpoliticsstatus/${id}`,
|
||||
method: 'delete',
|
||||
url: `/professional/professionalpoliticsstatus/deleteById`,
|
||||
method: 'post',
|
||||
data: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -81,8 +87,11 @@ export const delObj = (id: string | number) => {
|
||||
*/
|
||||
export const dePoObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionalpoliticsstatus/${id}`,
|
||||
method: 'delete',
|
||||
url: `/professional/professionalpoliticsstatus/deleteById`,
|
||||
method: 'post',
|
||||
data: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -92,8 +101,8 @@ export const dePoObj = (id: string | number) => {
|
||||
*/
|
||||
export const putObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionalpoliticsstatus',
|
||||
method: 'put',
|
||||
url: '/professional/professionalpoliticsstatus/edit',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
};
|
||||
@@ -35,7 +35,7 @@ export function fetchList(query?: any) {
|
||||
*/
|
||||
export function addObj(obj?: any) {
|
||||
return request({
|
||||
url: '/professional/professionalqualificationrelation',
|
||||
url: '/professional/professionalqualificationrelation/add',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
@@ -47,7 +47,7 @@ export function addObj(obj?: any) {
|
||||
*/
|
||||
export function addQuaRelation(obj?: any) {
|
||||
return request({
|
||||
url: '/professional/professionalqualificationrelation',
|
||||
url: '/professional/professionalqualificationrelation/add',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
@@ -59,8 +59,11 @@ export function addQuaRelation(obj?: any) {
|
||||
*/
|
||||
export function getObj(id: string | number) {
|
||||
return request({
|
||||
url: '/professional/professionalqualificationrelation/' + id,
|
||||
url: '/professional/professionalqualificationrelation/getById',
|
||||
method: 'get',
|
||||
params: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -70,8 +73,11 @@ export function getObj(id: string | number) {
|
||||
*/
|
||||
export function delObj(id: string | number) {
|
||||
return request({
|
||||
url: '/professional/professionalqualificationrelation/' + id,
|
||||
method: 'delete',
|
||||
url: '/professional/professionalqualificationrelation/deleteById',
|
||||
method: 'post',
|
||||
data: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -81,8 +87,11 @@ export function delObj(id: string | number) {
|
||||
*/
|
||||
export function delQuaObj(id: string | number) {
|
||||
return request({
|
||||
url: '/professional/professionalqualificationrelation/' + id,
|
||||
method: 'delete',
|
||||
url: '/professional/professionalqualificationrelation/deleteById',
|
||||
method: 'post',
|
||||
data: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -92,8 +101,8 @@ export function delQuaObj(id: string | number) {
|
||||
*/
|
||||
export function putObj(obj?: any) {
|
||||
return request({
|
||||
url: '/professional/professionalqualificationrelation',
|
||||
method: 'put',
|
||||
url: '/professional/professionalqualificationrelation/edit',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ export const fetchList = (query?: any) => {
|
||||
*/
|
||||
export const addObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionalsocial',
|
||||
url: '/professional/professionalsocial/add',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
@@ -47,7 +47,7 @@ export const addObj = (obj: any) => {
|
||||
*/
|
||||
export const addSocialObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionalsocial',
|
||||
url: '/professional/professionalsocial/add',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
@@ -59,8 +59,11 @@ export const addSocialObj = (obj: any) => {
|
||||
*/
|
||||
export const getObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionalsocial/${id}`,
|
||||
url: `/professional/professionalsocial/getById`,
|
||||
method: 'get',
|
||||
params: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -70,8 +73,11 @@ export const getObj = (id: string | number) => {
|
||||
*/
|
||||
export const delObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionalsocial/${id}`,
|
||||
method: 'delete',
|
||||
url: `/professional/professionalsocial/deleteById`,
|
||||
method: 'post',
|
||||
data: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -81,8 +87,11 @@ export const delObj = (id: string | number) => {
|
||||
*/
|
||||
export const delSocialObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionalsocial/${id}`,
|
||||
method: 'delete',
|
||||
url: `/professional/professionalsocial/deleteById`,
|
||||
method: 'post',
|
||||
data: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -92,8 +101,8 @@ export const delSocialObj = (id: string | number) => {
|
||||
*/
|
||||
export const putObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionalsocial',
|
||||
method: 'put',
|
||||
url: '/professional/professionalsocial/edit',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
};
|
||||
@@ -35,7 +35,7 @@ export const fetchList = (query?: any) => {
|
||||
*/
|
||||
export const addObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionalteacheracademicrelation',
|
||||
url: '/professional/professionalteacheracademicrelation/add',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
@@ -47,7 +47,7 @@ export const addObj = (obj: any) => {
|
||||
*/
|
||||
export const addAcadeRelation = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionalteacheracademicrelation',
|
||||
url: '/professional/professionalteacheracademicrelation/add',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
@@ -59,8 +59,11 @@ export const addAcadeRelation = (obj: any) => {
|
||||
*/
|
||||
export const getObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionalteacheracademicrelation/${id}`,
|
||||
url: `/professional/professionalteacheracademicrelation/getById`,
|
||||
method: 'get',
|
||||
params: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -70,8 +73,11 @@ export const getObj = (id: string | number) => {
|
||||
*/
|
||||
export const delObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionalteacheracademicrelation/${id}`,
|
||||
method: 'delete',
|
||||
url: `/professional/professionalteacheracademicrelation/deleteById`,
|
||||
method: 'post',
|
||||
data: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -81,8 +87,11 @@ export const delObj = (id: string | number) => {
|
||||
*/
|
||||
export const delEduObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionalteacheracademicrelation/${id}`,
|
||||
method: 'delete',
|
||||
url: `/professional/professionalteacheracademicrelation/deleteById`,
|
||||
method: 'post',
|
||||
data: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -92,8 +101,8 @@ export const delEduObj = (id: string | number) => {
|
||||
*/
|
||||
export const putObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionalteacheracademicrelation',
|
||||
method: 'put',
|
||||
url: '/professional/professionalteacheracademicrelation/edit',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
};
|
||||
|
||||
@@ -35,7 +35,7 @@ export const fetchList = (query?: any) => {
|
||||
*/
|
||||
export const addObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionalteachercertificaterelation',
|
||||
url: '/professional/professionalteachercertificaterelation/add',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
@@ -47,8 +47,11 @@ export const addObj = (obj: any) => {
|
||||
*/
|
||||
export const getObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionalteachercertificaterelation/${id}`,
|
||||
url: `/professional/professionalteachercertificaterelation/getById`,
|
||||
method: 'get',
|
||||
params: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -58,8 +61,11 @@ export const getObj = (id: string | number) => {
|
||||
*/
|
||||
export const delObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionalteachercertificaterelation/${id}`,
|
||||
method: 'delete',
|
||||
url: `/professional/professionalteachercertificaterelation/deleteById`,
|
||||
method: 'post',
|
||||
data: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -69,8 +75,8 @@ export const delObj = (id: string | number) => {
|
||||
*/
|
||||
export const putObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionalteachercertificaterelation',
|
||||
method: 'put',
|
||||
url: '/professional/professionalteachercertificaterelation/edit',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
};
|
||||
|
||||
@@ -35,7 +35,7 @@ export const fetchList = (query?: any) => {
|
||||
*/
|
||||
export const addObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionalteacherhonor',
|
||||
url: '/professional/professionalteacherhonor/add',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
@@ -47,8 +47,11 @@ export const addObj = (obj: any) => {
|
||||
*/
|
||||
export const getObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionalteacherhonor/${id}`,
|
||||
url: `/professional/professionalteacherhonor/getById`,
|
||||
method: 'get',
|
||||
params: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -58,8 +61,11 @@ export const getObj = (id: string | number) => {
|
||||
*/
|
||||
export const delObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionalteacherhonor/${id}`,
|
||||
method: 'delete',
|
||||
url: `/professional/professionalteacherhonor/deleteById`,
|
||||
method: 'post',
|
||||
data: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -69,8 +75,8 @@ export const delObj = (id: string | number) => {
|
||||
*/
|
||||
export const putObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionalteacherhonor',
|
||||
method: 'put',
|
||||
url: '/professional/professionalteacherhonor/edit',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
};
|
||||
|
||||
@@ -35,7 +35,7 @@ export const fetchList = (query?: any) => {
|
||||
*/
|
||||
export const addObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionalteacherstationchange',
|
||||
url: '/professional/professionalteacherstationchange/add',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
@@ -47,8 +47,11 @@ export const addObj = (obj: any) => {
|
||||
*/
|
||||
export const getObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionalteacherstationchange/${id}`,
|
||||
url: `/professional/professionalteacherstationchange/getById`,
|
||||
method: 'get',
|
||||
params: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -58,8 +61,11 @@ export const getObj = (id: string | number) => {
|
||||
*/
|
||||
export const delObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionalteacherstationchange/${id}`,
|
||||
method: 'delete',
|
||||
url: `/professional/professionalteacherstationchange/deleteById`,
|
||||
method: 'post',
|
||||
data: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -69,8 +75,8 @@ export const delObj = (id: string | number) => {
|
||||
*/
|
||||
export const putObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionalteacherstationchange',
|
||||
method: 'put',
|
||||
url: '/professional/professionalteacherstationchange/edit',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
};
|
||||
|
||||
@@ -35,7 +35,7 @@ export const fetchList = (query?: any) => {
|
||||
*/
|
||||
export const addObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionaltitlerelation',
|
||||
url: '/professional/professionaltitlerelation/add',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
@@ -47,7 +47,7 @@ export const addObj = (obj: any) => {
|
||||
*/
|
||||
export const addTitleRelationObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionaltitlerelation',
|
||||
url: '/professional/professionaltitlerelation/add',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
@@ -59,8 +59,11 @@ export const addTitleRelationObj = (obj: any) => {
|
||||
*/
|
||||
export const getObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionaltitlerelation/${id}`,
|
||||
url: `/professional/professionaltitlerelation/getById`,
|
||||
method: 'get',
|
||||
params: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -70,8 +73,11 @@ export const getObj = (id: string | number) => {
|
||||
*/
|
||||
export const delObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionaltitlerelation/${id}`,
|
||||
method: 'delete',
|
||||
url: `/professional/professionaltitlerelation/deleteById`,
|
||||
method: 'post',
|
||||
data: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -81,8 +87,11 @@ export const delObj = (id: string | number) => {
|
||||
*/
|
||||
export const delTitleObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/professionaltitlerelation/${id}`,
|
||||
method: 'delete',
|
||||
url: `/professional/professionaltitlerelation/deleteById`,
|
||||
method: 'post',
|
||||
data: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -92,8 +101,8 @@ export const delTitleObj = (id: string | number) => {
|
||||
*/
|
||||
export const putObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/professionaltitlerelation',
|
||||
method: 'put',
|
||||
url: '/professional/professionaltitlerelation/edit',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
};
|
||||
|
||||
@@ -35,7 +35,7 @@ export const fetchList = (query?: any) => {
|
||||
*/
|
||||
export const addObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/teacherbase',
|
||||
url: '/professional/teacherbase/add',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
@@ -47,8 +47,11 @@ export const addObj = (obj: any) => {
|
||||
*/
|
||||
export const getObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/teacherbase/${id}`,
|
||||
url: `/professional/teacherbase/getById`,
|
||||
method: 'get',
|
||||
params: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -58,8 +61,11 @@ export const getObj = (id: string | number) => {
|
||||
*/
|
||||
export const delObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/professional/teacherbase/${id}`,
|
||||
method: 'delete',
|
||||
url: `/professional/teacherbase/deleteById`,
|
||||
method: 'post',
|
||||
data: {
|
||||
id: id
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -69,8 +75,8 @@ export const delObj = (id: string | number) => {
|
||||
*/
|
||||
export const putObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/professional/teacherbase',
|
||||
method: 'put',
|
||||
url: '/professional/teacherbase/edit',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
};
|
||||
@@ -336,3 +342,4 @@ export const search = (data: string | number) => {
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user