Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydLife
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sweet Zhang
ydLife
Commits
8e16a47e
Commit
8e16a47e
authored
Feb 22, 2023
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
电子报聘增加政治面貌入参
parent
f0f6df65
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
3 deletions
+31
-3
src/app/domain/employBasicQuery.ts
+2
-1
src/app/my/application-process/employee-basic-info/employee-basic-info.component.html
+9
-2
src/app/my/application-process/employee-basic-info/employee-basic-info.component.ts
+12
-0
src/app/my/my.service.ts
+8
-0
No files found.
src/app/domain/employBasicQuery.ts
View file @
8e16a47e
...
...
@@ -15,7 +15,8 @@ export class EmployBasicQuery {
public
cityName
?:
string
,
public
residentAddress
?:
string
,
public
wechatId
?:
number
,
public
email
?:
string
public
email
?:
string
,
public
politicalOutlook
?:
string
)
{
}
...
...
src/app/my/application-process/employee-basic-info/employee-basic-info.component.html
View file @
8e16a47e
...
...
@@ -40,7 +40,6 @@
出生日期
</ListItem>
</List>
<div
class=
"contentItem"
>
<span>
性别
</span>
<select
class=
"form-control"
[(
ngModel
)]="
editEmployBasicInfo
.
gender
"
...
...
@@ -49,7 +48,15 @@
<option
value=
'1'
>
男
</option>
<option
value=
"2"
>
女
</option>
</select>
</div>
<div
class=
"contentItem"
>
<span>
政治面貌
</span>
<select
class=
"form-control"
[(
ngModel
)]="
editEmployBasicInfo
.
politicalOutlook
"
[
disabled
]="
approveStatus
!=
null
&&
approveStatus
!='
-1
'"
>
<option
[
value
]="
listItem
.
codeName
"
*
ngFor=
"let listItem of list"
>
{{listItem.codeName}}
</option>
</select>
</div>
<div
class=
"contentItem"
>
<span>
户籍
</span>
...
...
src/app/my/application-process/employee-basic-info/employee-basic-info.component.ts
View file @
8e16a47e
...
...
@@ -23,6 +23,7 @@ export class EmployeeBasicInfoComponent implements OnInit {
maxDate
:
any
=
new
Date
();
//通过0,拒绝-1,已填完-2
approveStatus
:
any
;
list
:
Array
<
any
>
;
constructor
(
private
activatedRoute
:
ActivatedRoute
,
private
router
:
Router
,
public
lifeCommonService
:
LifeCommonService
,
public
myService
:
MyService
)
{
}
...
...
@@ -36,6 +37,7 @@ export class EmployeeBasicInfoComponent implements OnInit {
this
.
provCityQry
();
this
.
editEmployBasicInfo
=
new
EmployBasicQuery
(
this
.
hiringBasicInfoId
,
null
,
this
.
editEmployBasicInfo
.
mobileNo
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
)
this
.
queryWholeInfo
(
this
.
hiringBasicInfoId
);
this
.
queryMdCode
();
}
erpInitialize
(){
...
...
@@ -165,6 +167,10 @@ export class EmployeeBasicInfoComponent implements OnInit {
this
.
openPopInfo
(
'请选择您的户籍!'
)
return
;
}
if
(
!
this
.
editEmployBasicInfo
.
politicalOutlook
){
this
.
openPopInfo
(
'请选择您的政治面貌!'
)
return
;
}
if
(
!
this
.
editEmployBasicInfo
.
residentAddress
){
this
.
openPopInfo
(
'请输入您的居住地址!'
)
return
;
...
...
@@ -266,5 +272,11 @@ export class EmployeeBasicInfoComponent implements OnInit {
this
.
router
.
navigate
([
'/work_experience'
],{
queryParams
:
{
hiringBasicInfoId
:
this
.
hiringBasicInfoId
}
});
}
queryMdCode
(){
this
.
myService
.
queryMdCode
({
codeType
:
"PoliticalOutlook"
}).
subscribe
((
res
)
=>
{
console
.
log
(
res
)
this
.
list
=
res
[
'data'
][
'list'
];
})
}
}
src/app/my/my.service.ts
View file @
8e16a47e
...
...
@@ -954,4 +954,12 @@ export class MyService {
const
url
=
this
.
ydapi
+
"/practitioner/queryCanSee"
;
return
this
.
http
.
post
(
url
,
JSON
.
stringify
(
params
))
}
//政治面貌
queryMdCode
(
param
){
const
url
=
this
.
API
+
"/metadata/queryMdCode"
;
return
this
.
http
.
post
(
url
,
JSON
.
stringify
(
param
)).
pipe
(
res
=>
{
return
res
;
});
}
}
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