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
f4d4dee1
authored
Jun 03, 2020
by
e
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
updata
parent
207efc7d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
183 additions
and
29 deletions
src/components/archives/socialInfo.vue
src/components/archives/technologyExperience.vue
src/components/archives/socialInfo.vue
View file @
f4d4dee1
...
...
@@ -35,19 +35,129 @@
<label>
{{
obj
.
unitPreEmploymentStatus
}}
</label>
</div>
</div>
<van-popup
v-model=
"show"
position=
"right"
:style=
"
{ height: '100%',width: '
9
0%' }">
<van-popup
v-model=
"show"
position=
"right"
:style=
"
{ height: '100%',width: '
10
0%' }">
<van-form>
<van-field
v-model=
"obj.infoRegisteredResidence"
label=
"户口性质"
placeholder=
"请选择户口性质"
/>
<van-field
v-model=
"obj.unitPreSocialStatus"
label=
"前期社保状态"
placeholder=
"请选择前期社保状态"
/>
<van-field
v-model=
"obj.unitPrePaymentType"
label=
"前期缴费种类"
placeholder=
"请选择前期缴费种类"
/>
<van-field
v-model=
"obj.unitPreSocialCity"
label=
"原社保缴纳省市"
placeholder=
"请选择原社保缴纳省市"
/>
<!--
<van-field
v-model=
"obj.infoRegisteredResidence"
label=
"户口性质"
placeholder=
"请选择户口性质"
/>
-->
<van-field
readonly
clickable
v-model=
"obj.infoRegisteredResidence"
:value=
"value"
label=
"户口性质"
placeholder=
"请选择"
@
click=
"showCategory = true"
/>
<!--
<van-field
v-model=
"obj.unitPreSocialStatus"
label=
"前期社保状态"
placeholder=
"请选择前期社保状态"
/>
-->
<van-field
readonly
clickable
v-model=
"obj.unitPreSocialStatus"
:value=
"value"
label=
"前期社保状态"
placeholder=
"请选择"
@
click=
"showSocialStatus = true"
/>
<!--
<van-field
v-model=
"obj.unitPrePaymentType"
label=
"前期缴费种类"
placeholder=
"请选择前期缴费种类"
/>
-->
<van-field
readonly
clickable
v-model=
"obj.unitPrePaymentType"
:value=
"value"
label=
"前期缴费种类"
placeholder=
"请选择"
@
click=
"showPaymentType = true"
/>
<!--
<van-field
v-model=
"obj.unitPreSocialCity"
label=
"原社保缴纳省市"
placeholder=
"请选择原社保缴纳省市"
/>
-->
<van-field
readonly
clickable
v-model=
"obj.unitPreSocialCity"
:value=
"value"
label=
"原社保缴纳省市"
placeholder=
"请选择"
@
click=
"showSocialCity = true"
/>
<van-field
v-model=
"obj.unitPreSocialUnit"
label=
"原社保缴纳单位"
placeholder=
"请填写原社保缴纳单位"
/>
<van-field
v-model=
"obj.unitRelationUnit"
label=
"与原单位关系"
placeholder=
"请选择与原单位关系"
/>
<van-field
v-model=
"obj.unitPreEmploymentStatus"
label=
"前期就业状态"
placeholder=
"请选择前期就业状态"
/>
<!--
<van-field
v-model=
"obj.unitRelationUnit"
label=
"与原单位关系"
placeholder=
"请选择与原单位关系"
/>
-->
<van-field
readonly
clickable
v-model=
"obj.unitRelationUnit"
:value=
"value"
label=
"与原单位关系"
placeholder=
"请选择"
@
click=
"showRelationUnit = true"
/>
<!--
<van-field
v-model=
"obj.unitPreEmploymentStatus"
label=
"前期就业状态"
placeholder=
"请选择前期就业状态"
/>
-->
<van-field
readonly
clickable
v-model=
"obj.unitPreEmploymentStatus"
:value=
"value"
label=
"前期就业状态"
placeholder=
"请选择"
@
click=
"showEmploymentStatus = true"
/>
<div
style=
"margin: 16px;"
>
<van-button
round
block
type=
"info"
native-type=
"submit"
@
click=
"updateContactInfo"
>
保存
</van-button>
</div>
<!-- 户口性质 -->
<van-popup
v-model=
"showCategory"
position=
"bottom"
>
<van-picker
show-toolbar
:columns=
"columns.category"
@
confirm=
"onConfirmCategory"
@
cancel=
"showCategory = false"
/>
</van-popup>
<!-- 前期社保状态 -->
<van-popup
v-model=
"showSocialStatus"
position=
"bottom"
>
<van-picker
show-toolbar
:columns=
"columns.socialStatus"
@
confirm=
"onConfirmSocialStatus"
@
cancel=
"showSocialStatus = false"
/>
</van-popup>
<!-- 前期缴费种类 -->
<van-popup
v-model=
"showPaymentType"
position=
"bottom"
>
<van-picker
show-toolbar
:columns=
"columns.paymentType"
@
confirm=
"onConfirmPaymentType"
@
cancel=
"showPaymentType = false"
/>
</van-popup>
<!-- 原社保缴纳省市 -->
<van-popup
v-model=
"showSocialCity"
position=
"bottom"
>
<van-picker
show-toolbar
:columns=
"columns.socialCity"
@
confirm=
"onConfirmSocialCity"
@
cancel=
"showSocialCity = false"
/>
</van-popup>
<!-- 与原单位关系 -->
<van-popup
v-model=
"showRelationUnit"
position=
"bottom"
>
<van-picker
show-toolbar
:columns=
"columns.relationUnit"
@
confirm=
"onConfirmRelationUnit"
@
cancel=
"showRelationUnit = false"
/>
</van-popup>
<!-- 前期就业状态 -->
<van-popup
v-model=
"showEmploymentStatus"
position=
"bottom"
>
<van-picker
show-toolbar
:columns=
"columns.employmentStatus"
@
confirm=
"onConfirmEmploymentStatus"
@
cancel=
"showEmploymentStatus = false"
/>
</van-popup>
</van-form>
</van-popup>
</div>
...
...
@@ -55,7 +165,7 @@
<
script
lang=
"ts"
>
import
Vue
from
"vue"
;
import
{
Button
,
Icon
,
Popup
,
Form
,
Picker
,
Field
,
Toast
}
from
"vant"
;
import
{
Button
,
Icon
,
Popup
,
Form
,
Picker
,
Field
,
Toast
}
from
"vant"
;
import
{
Component
}
from
"vue-property-decorator"
;
@
Component
({
...
...
@@ -65,19 +175,64 @@ import { Component } from "vue-property-decorator";
[
Popup
.
name
]:
Popup
,
[
Form
.
name
]:
Form
,
[
Picker
.
name
]:
Picker
,
[
Field
.
name
]:
Field
[
Field
.
name
]:
Field
,
}
})
export
default
class
socialInfo
extends
Vue
{
// private infoRegisteredResidence:string="" // 户口性质
// private unitPreSocialStatus:string="" // 前期社保状态
// private unitPrePaymentType:string="" // 前期缴费种类
// private unitPreSocialCity:string="" // 原社保缴纳省市
// private unitPreSocialUnit:string="" // 原社保缴纳单位
// private unitRelationUnit:string="" // 与原单位关系
// private unitPreEmploymentStatus:string="" // 前期就业状态
private
obj
:
any
=
{};
private
obj
:
any
=
{};
private
show
:
boolean
=
false
;
private
showCategory
:
boolean
=
false
;
private
showSocialStatus
:
boolean
=
false
;
private
showPaymentType
:
boolean
=
false
;
private
showSocialCity
:
boolean
=
false
;
private
showRelationUnit
:
boolean
=
false
;
private
showEmploymentStatus
:
boolean
=
false
;
private
columns
:
any
=
{
category
:
[
"本地城镇"
,
"外地城镇"
,
"本地农村"
,
"外地农村"
],
socialStatus
:[
"曾上过社会保险"
,
"从未上过社会保险"
],
paymentType
:[
"养老"
,
"失业"
,
"工伤"
,
"生育"
,
"医疗"
,
"住房"
],
relationUnit
:[
"与原单位已不存在任何劳动关系"
,
"与原单位仍保持劳动关系,社保由原单位缴纳"
],
employmentStatus
:[
"下岗"
,
"内退"
,
"其他"
],
socialCity
:[
"北京市"
,
"郑州市"
]
};
// 户口性质
onConfirmCategory
(
value
:
string
,
index
:
any
)
{
this
.
obj
.
infoRegisteredResidence
=
value
;
this
.
showCategory
=
false
;
}
// 前期社保状态
onConfirmSocialStatus
(
value
:
string
,
index
:
any
)
{
this
.
obj
.
unitPreSocialStatus
=
value
;
this
.
showSocialStatus
=
false
;
}
// 前期缴费种类
onConfirmPaymentType
(
value
:
string
,
index
:
any
)
{
this
.
obj
.
unitPrePaymentType
=
value
;
this
.
showPaymentType
=
false
;
}
// 原社保缴纳省市
onConfirmSocialCity
(
value
:
string
,
index
:
any
)
{
this
.
obj
.
unitPreSocialCity
=
value
;
this
.
showSocialCity
=
false
;
}
// 与原单位关系
onConfirmRelationUnit
(
value
:
string
,
index
:
any
)
{
this
.
obj
.
unitRelationUnit
=
value
;
this
.
showRelationUnit
=
false
;
}
// 前期就业状态
onConfirmEmploymentStatus
(
value
:
string
,
index
:
any
)
{
this
.
obj
.
unitPreEmploymentStatus
=
value
;
this
.
showEmploymentStatus
=
false
;
}
created
()
{
let
params
=
{
edId
:
this
.
$route
.
query
.
ed_id
...
...
@@ -85,7 +240,7 @@ export default class socialInfo extends Vue {
this
.
$server
.
EmployeeService
.
getSocialInfo
(
params
)
.
then
(
res
=>
{
// console.log("res=" + JSON.stringify(res)+'社保信息');
this
.
obj
=
res
;
})
.
catch
(
error
=>
{});
...
...
@@ -96,16 +251,15 @@ export default class socialInfo extends Vue {
updateContactInfo
()
{
let
data
=
{
id
:
this
.
$route
.
query
.
ed_id
,
infoRegisteredResidence
:
this
.
obj
.
infoRegisteredResidence
,
// 户口性质
unitRelationUnit
:
this
.
obj
.
unitRelationUnit
,
// 与原单位关系
unitPreEmploymentStatus
:
this
.
obj
.
unitPreEmploymentStatus
,
// 前期就业状态
unitPreSocialStatus
:
this
.
obj
.
unitPreSocialStatus
,
// 前期社保状态
unitPrePaymentType
:
this
.
obj
.
unitPrePaymentType
,
// 前期缴费种类
unitPreSocialUnit
:
this
.
obj
.
unitPreSocialUnit
,
// 原社保缴纳单位
unitPreSocialCity
:
this
.
obj
.
unitPreSocialCity
// 原社保缴纳省市
infoRegisteredResidence
:
this
.
obj
.
infoRegisteredResidence
,
// 户口性质
unitRelationUnit
:
this
.
obj
.
unitRelationUnit
,
// 与原单位关系
unitPreEmploymentStatus
:
this
.
obj
.
unitPreEmploymentStatus
,
// 前期就业状态
unitPreSocialStatus
:
this
.
obj
.
unitPreSocialStatus
,
// 前期社保状态
unitPrePaymentType
:
this
.
obj
.
unitPrePaymentType
,
// 前期缴费种类
unitPreSocialUnit
:
this
.
obj
.
unitPreSocialUnit
,
// 原社保缴纳单位
unitPreSocialCity
:
this
.
obj
.
unitPreSocialCity
// 原社保缴纳省市
};
if
(
!
this
.
obj
.
infoRegisteredResidence
)
{
Toast
(
"请选择户口性质"
);
return
;
...
...
src/components/archives/technologyExperience.vue
View file @
f4d4dee1
...
...
@@ -19,7 +19,7 @@
<label>
{{
obj
.
expertiseQualification
}}
</label>
</div>
</div>
<van-popup
v-model=
"show"
position=
"right"
:style=
"
{ height: '100%',width: '
9
0%' }">
<van-popup
v-model=
"show"
position=
"right"
:style=
"
{ height: '100%',width: '
10
0%' }">
<van-form>
<van-field
v-model=
"obj.expertiseTechnologySpecialty"
label=
"技术特长"
placeholder=
"请填写技术特长"
/>
<van-field
v-model=
"obj.expertiseTechnologyTitle"
label=
"技术职称"
placeholder=
"请填写技术职称"
/>
...
...
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