Commit 0e75b93f by lishengfu

update

parent f7145649
...@@ -46,7 +46,6 @@ address, caption, cite, code, dfn, th, var, b, em, i,table,td,tr,th,strong{ ...@@ -46,7 +46,6 @@ address, caption, cite, code, dfn, th, var, b, em, i,table,td,tr,th,strong{
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
font-family:'微软雅黑','宋体'; font-family:'微软雅黑','宋体';
color:#333;
box-sizing: border-box; box-sizing: border-box;
} }
ul, ol, li,dl { ul, ol, li,dl {
......
...@@ -7,6 +7,8 @@ export interface EmployeeInterface { ...@@ -7,6 +7,8 @@ export interface EmployeeInterface {
getDispatchInfo(params: any): Promise<any>; //通过身份证号和派遣公司ID拿到派遣员工的信息(劳务派遣首页数据) getDispatchInfo(params: any): Promise<any>; //通过身份证号和派遣公司ID拿到派遣员工的信息(劳务派遣首页数据)
getWorkInfoList(params: any): Promise<any>; //获取工作信息列表 getWorkInfoList(params: any): Promise<any>; //获取工作信息列表
getWorkInfoDetail(params: any): Promise<any>; //获取工作信息详情 getWorkInfoDetail(params: any): Promise<any>; //获取工作信息详情
updateWorkInfo(params: any): Promise<any>; //修改工作信息
addWorkInfo(params: any): Promise<any>; //新增工作信息
getPersonInfo(params: any): Promise<any>; //获取个人信息 getPersonInfo(params: any): Promise<any>; //获取个人信息
savePersonInfo(params: any): Promise<any>; //保存个人信息 savePersonInfo(params: any): Promise<any>; //保存个人信息
getContactInfo(params: any): Promise<any>; //获取联系信息 getContactInfo(params: any): Promise<any>; //获取联系信息
......
...@@ -85,6 +85,26 @@ class EmployeeService implements EmployeeInterface { ...@@ -85,6 +85,26 @@ class EmployeeService implements EmployeeInterface {
} }
/** /**
* 修改工作信息
* @param params 请求参数
*/
public updateWorkInfo(params: any): Promise<any> {
let url = urls.employeeUrl + `/api/user/employee/work/info`;
return request.put(url, params, this.header)
}
/**
* 新增工作信息
* @param params 请求参数
*/
public addWorkInfo(params: any): Promise<any> {
let url = urls.employeeUrl + `/api/user/employee/work/info`;
return request.post(url, params, this.header)
}
/**
* 获取个人信息 * 获取个人信息
* @param params 请求参数 * @param params 请求参数
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment