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
bf3f4d47
authored
Jun 24, 2020
by
cocomilk2012
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
a5d1d006
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
src/servicesImpl/employee/employeeImpl.ts
src/views/archives/personInfo.vue
src/servicesImpl/employee/employeeImpl.ts
View file @
bf3f4d47
...
...
@@ -132,7 +132,7 @@ class EmployeeService implements EmployeeInterface {
* @param params 请求参数
*/
public
savePersonInfo
(
params
:
any
):
Promise
<
any
>
{
let
url
=
urls
.
employeeUrl
+
`/api/user/employee/
${
params
.
edI
d
}
/info`
;
let
url
=
urls
.
employeeUrl
+
`/api/user/employee/
${
params
.
i
d
}
/info`
;
return
request
.
post
(
url
,
params
,
this
.
header
);
}
...
...
src/views/archives/personInfo.vue
View file @
bf3f4d47
...
...
@@ -361,17 +361,20 @@ export default class personInfo extends Vue {
updatePersonInfo
()
{
let
params
=
{
id
:
this
.
$route
.
query
.
ed_id
,
infoBirthCity
:
this
.
obj
.
infoBirthCity
,
infoFileLocation
:
this
.
obj
.
infoFileLocation
,
infoHighestEducation
:
this
.
obj
.
infoHighestEducation
,
infoMaritalStatus
:
this
.
obj
.
infoMaritalStatus
,
infoMaternityStatus
:
this
.
obj
.
infoMaternityStatus
,
infoNation
:
this
.
obj
.
infoNation
,
infoPoliticalStatus
:
this
.
obj
.
infoPoliticalStatus
,
infoWorkStartDate
:
this
.
obj
.
infoWorkStartDate
infoBirthCity
:
''
,
//this.obj.infoBirthCity,
infoFileLocation
:
''
,
//this.obj.infoFileLocation,
infoHighestEducation
:
''
,
//this.obj.infoHighestEducation,
infoMaritalStatus
:
''
,
//this.obj.infoMaritalStatus,
infoMaternityStatus
:
''
,
//this.obj.infoMaternityStatus,
infoNation
:
''
,
//this.obj.infoNation,
infoPoliticalStatus
:
''
,
//this.obj.infoPoliticalStatus,
infoWorkStartDate
:
''
,
//this.obj.infoWorkStartDate,
};
this
.
$server
.
EmployeeService
.
savePersonInfo
(
params
)
.
then
(
res
=>
{
console
.
log
(
res
);
Toast
.
success
(
"保存成功"
);
this
.
show
=
false
;
})
...
...
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