...
|
...
|
@@ -100,37 +100,37 @@ Page({ |
100
|
100
|
placeholder: '请选择教育阶段',
|
101
|
101
|
onChange: 'onPickerSelect'
|
102
|
102
|
},
|
103
|
|
- edudegreeData: {
|
104
|
|
- label: '教育阶段',
|
105
|
|
- bindtype: 'edu_degree',
|
106
|
|
- selected: '',
|
107
|
|
- isblack: 'true',
|
108
|
|
- values: ["小学", "初中", "高中", "大学"],
|
109
|
|
- placeholder: '请选择教育阶段',
|
110
|
|
- onChange: 'onPickerSelect'
|
111
|
|
- },
|
|
103
|
+ // edudegreeData: {
|
|
104
|
+ // label: '教育阶段',
|
|
105
|
+ // bindtype: 'edu_degree',
|
|
106
|
+ // selected: '',
|
|
107
|
+ // isblack: 'true',
|
|
108
|
+ // values: ["专科", "本科", "硕士研究生", "博士研究生","其他"],
|
|
109
|
+ // placeholder: '请选择教育阶段',
|
|
110
|
+ // onChange: 'onPickerSelect'
|
|
111
|
+ // },
|
112
|
112
|
edutypeData: {
|
113
|
|
- label: '教育类型',
|
|
113
|
+ label: '继续教育情况',
|
114
|
114
|
isrequre: true,
|
115
|
115
|
bindtype: 'edu_type',
|
116
|
116
|
selected: '',
|
117
|
117
|
isblack: 'true',
|
118
|
|
- values: ["学历教育", "非学历教育"],
|
119
|
|
- placeholder: '请选择教育类型',
|
|
118
|
+ values: ["学历继续教育", "非学历继续教育"],
|
|
119
|
+ placeholder: '请选择教育情况',
|
120
|
120
|
onChange: 'onPickerSelect'
|
121
|
121
|
},
|
122
|
122
|
edustyleData: {
|
123
|
|
- label: '教育类别',
|
|
123
|
+ label: '继续教育类型',
|
124
|
124
|
isrequre: true,
|
125
|
125
|
bindtype: 'edu_style',
|
126
|
126
|
selected: '',
|
127
|
127
|
isblack: 'true',
|
128
|
|
- values: ["职业能力", "专业能力"],
|
129
|
|
- placeholder: '请选择教育类别',
|
|
128
|
+ values: ["技能人员职业资格", "专业技术人员职业资格"],
|
|
129
|
+ placeholder: '请选择教育类型',
|
130
|
130
|
onChange: 'onPickerSelect'
|
131
|
131
|
},
|
132
|
132
|
edulevelData: {
|
133
|
|
- label: '学历教育阶段',
|
|
133
|
+ label: '教育阶段',
|
134
|
134
|
isrequre: true,
|
135
|
135
|
bindtype: 'edu_level',
|
136
|
136
|
selected: '',
|
...
|
...
|
@@ -214,7 +214,7 @@ Page({ |
214
|
214
|
selected: '',
|
215
|
215
|
isblack: 'true',
|
216
|
216
|
values: ["是", "否"],
|
217
|
|
- placeholder: '请选择受教育日期',
|
|
217
|
+ placeholder: '请选择时间',
|
218
|
218
|
onChange: 'onPickerSelect',
|
219
|
219
|
mode: "date",
|
220
|
220
|
fields: "day",
|
...
|
...
|
@@ -228,7 +228,21 @@ Page({ |
228
|
228
|
selected: '',
|
229
|
229
|
isblack: 'true',
|
230
|
230
|
values: ["是", "否"],
|
231
|
|
- placeholder: '请选择受教育日期止',
|
|
231
|
+ placeholder: '请选择时间',
|
|
232
|
+ onChange: 'onPickerSelect',
|
|
233
|
+ mode: "date",
|
|
234
|
+ fields: "day",
|
|
235
|
+ start: '1970-01-01',
|
|
236
|
+ datelong: 0,
|
|
237
|
+ },
|
|
238
|
+ applydate: {
|
|
239
|
+ label: '发证(批准)日期',
|
|
240
|
+ isrequre: true,
|
|
241
|
+ bindtype: 'apply_date',
|
|
242
|
+ selected: '',
|
|
243
|
+ isblack: 'true',
|
|
244
|
+ values: ["是", "否"],
|
|
245
|
+ placeholder: '请选择时间',
|
232
|
246
|
onChange: 'onPickerSelect',
|
233
|
247
|
mode: "date",
|
234
|
248
|
fields: "day",
|
...
|
...
|
@@ -344,7 +358,7 @@ Page({ |
344
|
358
|
placeholder: '中国',
|
345
|
359
|
onChange: 'onPickerSelect',
|
346
|
360
|
},
|
347
|
|
- edu_lable: "",
|
|
361
|
+ edu_lable: "school",
|
348
|
362
|
oldersupport_lable: "",
|
349
|
363
|
img_path: "/images/upload_img.png"
|
350
|
364
|
},
|
...
|
...
|
@@ -457,6 +471,17 @@ Page({ |
457
|
471
|
// }
|
458
|
472
|
this.setData(setData)
|
459
|
473
|
break;
|
|
474
|
+ case 'continuing_education':
|
|
475
|
+ var setData = {}
|
|
476
|
+
|
|
477
|
+ var studystartdate = this.data.studystartdate
|
|
478
|
+ studystartdate.label = "入学时间起"
|
|
479
|
+ setData.studystartdate = studystartdate
|
|
480
|
+
|
|
481
|
+ this.setData({
|
|
482
|
+ studystartdate: studystartdate
|
|
483
|
+ })
|
|
484
|
+ break;
|
460
|
485
|
case 'medical_fund':
|
461
|
486
|
var setData = {}
|
462
|
487
|
if (data.name && data.name.length) {
|
...
|
...
|
@@ -662,7 +687,7 @@ Page({ |
662
|
687
|
case 'continuing_education':
|
663
|
688
|
subUrl = 'persontax/v1/continuing-educations'
|
664
|
689
|
if (this.data.edutypeData.selected.length < 1) {
|
665
|
|
- this.showToast('请选择教育类别')
|
|
690
|
+ this.showToast('请选择教育情况')
|
666
|
691
|
return
|
667
|
692
|
} else if (this.data.edu_lable == 'school') {
|
668
|
693
|
// newdata.edu_type_lable = '0'
|
...
|
...
|
@@ -671,11 +696,11 @@ Page({ |
671
|
696
|
return
|
672
|
697
|
}
|
673
|
698
|
if (this.data.studystartdate.selected.length < 1) {
|
674
|
|
- this.showToast('请选择受教育日期')
|
|
699
|
+ this.showToast('请选择受入学日期')
|
675
|
700
|
return
|
676
|
701
|
}
|
677
|
702
|
if (this.data.studyenddate.selected.length < 1) {
|
678
|
|
- this.showToast('请选择受教育日期')
|
|
703
|
+ this.showToast('请选择受预计毕业日期')
|
679
|
704
|
return
|
680
|
705
|
}
|
681
|
706
|
newdata.education_start = this.data.studystartdate.datelong
|
...
|
...
|
@@ -687,6 +712,10 @@ Page({ |
687
|
712
|
this.showToast('请选择教育类型')
|
688
|
713
|
return
|
689
|
714
|
}
|
|
715
|
+ if (this.data.applydate.selected.length < 1) {
|
|
716
|
+ this.showToast('请选择发证日期')
|
|
717
|
+ return
|
|
718
|
+ }
|
690
|
719
|
if (!formdata.occupational_qualifiy_name || formdata.occupational_qualifiy_name.length < 1) {
|
691
|
720
|
this.showToast('请填写证书名称')
|
692
|
721
|
return
|
...
|
...
|
@@ -701,7 +730,7 @@ Page({ |
701
|
730
|
}
|
702
|
731
|
//新增教育类型(区别教育类别)
|
703
|
732
|
// newdata.edu_type_lable = '1'
|
704
|
|
- newdata.education_type = this.data.edustyleData.selected == '职业能力' ? 'profession' : 'major'
|
|
733
|
+ newdata.education_type = this.data.edustyleData.selected == '技能人员职业资格' ? 'profession' : 'major'
|
705
|
734
|
}
|
706
|
735
|
break;
|
707
|
736
|
case 'support_duty':
|
...
|
...
|
@@ -971,13 +1000,13 @@ Page({ |
971
|
1000
|
childedudegreeData: childedudegreeData
|
972
|
1001
|
})
|
973
|
1002
|
break;
|
974
|
|
- case 'edu_degree':
|
975
|
|
- var edudegree_data = this.data.edudegreeData
|
976
|
|
- edudegree_data.selected = edudegree_data.values[e.detail.value]
|
977
|
|
- this.setData({
|
978
|
|
- edudegreeData: edudegree_data
|
979
|
|
- })
|
980
|
|
- break;
|
|
1003
|
+ // case 'edu_degree':
|
|
1004
|
+ // var edudegree_data = this.data.edudegreeData
|
|
1005
|
+ // edudegree_data.selected = edudegree_data.values[e.detail.value]
|
|
1006
|
+ // this.setData({
|
|
1007
|
+ // edudegreeData: edudegree_data
|
|
1008
|
+ // })
|
|
1009
|
+ // break;
|
981
|
1010
|
case 'edu_country':
|
982
|
1011
|
var eduCountry_data = this.data.eduCountryData
|
983
|
1012
|
eduCountry_data.selected = eduCountry_data.values[e.detail.value]
|
...
|
...
|
@@ -1044,6 +1073,15 @@ Page({ |
1044
|
1073
|
edulevelData: edulevel_data
|
1045
|
1074
|
})
|
1046
|
1075
|
break;
|
|
1076
|
+ case 'apply_date':
|
|
1077
|
+ var apply_date = this.data.applydate
|
|
1078
|
+ apply_date.selected = e.detail.value
|
|
1079
|
+ console.log('apply_date', Date.parse(new Date(e.detail.value)))
|
|
1080
|
+ this.setData({
|
|
1081
|
+ applydate: apply_date
|
|
1082
|
+ })
|
|
1083
|
+ break;
|
|
1084
|
+ break;
|
1047
|
1085
|
case 'cardtype':
|
1048
|
1086
|
var cardtype_Data = this.data.cardtypeData
|
1049
|
1087
|
cardtype_Data.selected = cardtype_Data.values[e.detail.value]
|
...
|
...
|
|