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
3caceda0
authored
Jun 24, 2020
by
lishengfu
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
UDAPTE
parent
bf3f4d47
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
5 deletions
src/services/employee/employeeService.ts
src/servicesImpl/employee/employeeImpl.ts
src/views/archives/personInfo.vue
src/views/archives/workInfo.vue
src/services/employee/employeeService.ts
View file @
3caceda0
...
...
@@ -3,6 +3,7 @@
*/
export
interface
EmployeeInterface
{
getUserInfo
(
params
:
any
):
Promise
<
any
>
;
updateBaseInfo
(
params
:
any
):
Promise
<
any
>
;
getCityList
(
params
:
any
):
Promise
<
any
>
;
// 获取城市列表
getDispatchList
(
params
:
any
):
Promise
<
any
>
;
//根据身份证获取用户所属派遣公司列表
getDispatchInfo
(
params
:
any
):
Promise
<
any
>
;
//通过身份证号和派遣公司ID拿到派遣员工的信息(劳务派遣首页数据)
...
...
src/servicesImpl/employee/employeeImpl.ts
View file @
3caceda0
...
...
@@ -349,6 +349,16 @@ class EmployeeService implements EmployeeInterface {
let
url
=
urls
.
employeeUrl
+
`/api/user/employee/
${
params
.
idNo
}
/bill/item`
;
return
request
.
get
(
url
,
{},
this
.
header
);
}
/**
*
* 提交基本信息
* @param params
*/
public
updateBaseInfo
(
params
:
any
):
Promise
<
any
>
{
let
url
=
urls
.
employeeUrl
+
`/api/user/employee/
${
params
.
edId
}
/base/info`
;
return
request
.
post
(
url
,
params
,
this
.
header
);
}
}
export
default
new
EmployeeService
();
src/views/archives/personInfo.vue
View file @
3caceda0
...
...
@@ -312,7 +312,6 @@ export default class personInfo extends Vue {
};
this
.
$server
.
EmployeeService
.
getPersonInfo
(
params
).
then
(
res
=>
{
this
.
obj
=
res
;
console
.
log
(
res
);
});
}
editInfo
():
void
{
...
...
@@ -373,8 +372,6 @@ export default class personInfo extends Vue {
};
this
.
$server
.
EmployeeService
.
savePersonInfo
(
params
)
.
then
(
res
=>
{
console
.
log
(
res
);
Toast
.
success
(
"保存成功"
);
this
.
show
=
false
;
})
...
...
src/views/archives/workInfo.vue
View file @
3caceda0
...
...
@@ -7,7 +7,7 @@
<div
class=
"box"
>
<div
class=
"item"
>
<span>
派遣公司
</span>
<label>
{{
query
.
sp
_full_n
ame
}}
</label>
<label>
{{
query
.
sp
FullN
ame
}}
</label>
</div>
<div
class=
"item"
>
<span>
用工单位
</span>
...
...
@@ -15,7 +15,7 @@
</div>
<div
class=
"item"
>
<span>
工作地点
</span>
<label>
{{
query
.
work
_a
ddress
}}
</label>
<label>
{{
query
.
work
A
ddress
}}
</label>
</div>
<div
class=
"item"
>
<span>
工作职位
</span>
...
...
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