Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
frontend
/
qqxb-self-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0e75b93f
authored
Jun 04, 2020
by
lishengfu
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
f7145649
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
1 deletions
src/assets/css/index.less
src/services/employee/employeeService.ts
src/servicesImpl/employee/employeeImpl.ts
src/assets/css/index.less
View file @
0e75b93f
...
...
@@ -46,7 +46,6 @@ address, caption, cite, code, dfn, th, var, b, em, i,table,td,tr,th,strong{
font-style: normal;
font-weight: normal;
font-family:'微软雅黑','宋体';
color:#333;
box-sizing: border-box;
}
ul, ol, li,dl {
...
...
src/services/employee/employeeService.ts
View file @
0e75b93f
...
...
@@ -7,6 +7,8 @@ export interface EmployeeInterface {
getDispatchInfo
(
params
:
any
):
Promise
<
any
>
;
//通过身份证号和派遣公司ID拿到派遣员工的信息(劳务派遣首页数据)
getWorkInfoList
(
params
:
any
):
Promise
<
any
>
;
//获取工作信息列表
getWorkInfoDetail
(
params
:
any
):
Promise
<
any
>
;
//获取工作信息详情
updateWorkInfo
(
params
:
any
):
Promise
<
any
>
;
//修改工作信息
addWorkInfo
(
params
:
any
):
Promise
<
any
>
;
//新增工作信息
getPersonInfo
(
params
:
any
):
Promise
<
any
>
;
//获取个人信息
savePersonInfo
(
params
:
any
):
Promise
<
any
>
;
//保存个人信息
getContactInfo
(
params
:
any
):
Promise
<
any
>
;
//获取联系信息
...
...
src/servicesImpl/employee/employeeImpl.ts
View file @
0e75b93f
...
...
@@ -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 请求参数
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment