正在显示
1 个修改的文件
包含
16 行增加
和
13 行删除
@@ -98,25 +98,28 @@ Page({ | @@ -98,25 +98,28 @@ Page({ | ||
98 | onChange: 'onPickerSelect' | 98 | onChange: 'onPickerSelect' |
99 | }, | 99 | }, |
100 | edutypeData: { | 100 | edutypeData: { |
101 | - label: '教育类别', | 101 | + label: '教育类型', |
102 | + isrequre: true, | ||
102 | bindtype: 'edu_type', | 103 | bindtype: 'edu_type', |
103 | selected: '', | 104 | selected: '', |
104 | isblack: 'true', | 105 | isblack: 'true', |
105 | - values: ["职业能力", "专业能力"], | ||
106 | - placeholder: '请选择教育类别', | 106 | + values: ["学历教育", "非学历教育"], |
107 | + placeholder: '请选择教育类型', | ||
107 | onChange: 'onPickerSelect' | 108 | onChange: 'onPickerSelect' |
108 | }, | 109 | }, |
109 | edustyleData: { | 110 | edustyleData: { |
110 | - label: '教育类型', | 111 | + label: '教育类别', |
112 | + isrequre: true, | ||
111 | bindtype: 'edu_style', | 113 | bindtype: 'edu_style', |
112 | selected: '', | 114 | selected: '', |
113 | isblack: 'true', | 115 | isblack: 'true', |
114 | - values: ["学历教育", "非学历教育"], | ||
115 | - placeholder: '请选择教育类型', | 116 | + values: ["职业能力", "专业能力"], |
117 | + placeholder: '请选择教育类别', | ||
116 | onChange: 'onPickerSelect' | 118 | onChange: 'onPickerSelect' |
117 | }, | 119 | }, |
118 | edulevelData: { | 120 | edulevelData: { |
119 | label: '学历教育阶段', | 121 | label: '学历教育阶段', |
122 | + isrequre: true, | ||
120 | bindtype: 'edu_level', | 123 | bindtype: 'edu_level', |
121 | selected: '', | 124 | selected: '', |
122 | isblack: 'true', | 125 | isblack: 'true', |
@@ -592,10 +595,10 @@ Page({ | @@ -592,10 +595,10 @@ Page({ | ||
592 | break; | 595 | break; |
593 | case 'continuing_education': | 596 | case 'continuing_education': |
594 | if (this.data.edutypeData.selected.length < 1) { | 597 | if (this.data.edutypeData.selected.length < 1) { |
595 | - this.showToast('请选择教育类型') | 598 | + this.showToast('请选择教育类别') |
596 | return | 599 | return |
597 | - } else if (this.data.edutypeData.edu_lable == 'school') { | ||
598 | - newdata.edu_type_lable = '0' | 600 | + } else if (this.data.edu_lable == 'school') { |
601 | + // newdata.edu_type_lable = '0' | ||
599 | newdata.study_startdate = this.data.studystartdate.selected | 602 | newdata.study_startdate = this.data.studystartdate.selected |
600 | newdata.study_enddate = this.data.studyenddate.selected | 603 | newdata.study_enddate = this.data.studyenddate.selected |
601 | if (this.data.edulevelData.selected.length < 1) { | 604 | if (this.data.edulevelData.selected.length < 1) { |
@@ -610,8 +613,9 @@ Page({ | @@ -610,8 +613,9 @@ Page({ | ||
610 | this.showToast('请选择受教育日期') | 613 | this.showToast('请选择受教育日期') |
611 | return | 614 | return |
612 | } | 615 | } |
616 | + newdata.education_type = 'title'//学历 | ||
613 | newdata.education_period = this.data.edulevelData.selected | 617 | newdata.education_period = this.data.edulevelData.selected |
614 | - } else if (this.data.edutypeData.edu_lable == 'tech') { | 618 | + } else if (this.data.edu_lable == 'tech') { |
615 | if (this.data.edustyleData.selected.length < 1) { | 619 | if (this.data.edustyleData.selected.length < 1) { |
616 | this.showToast('请选择教育类型') | 620 | this.showToast('请选择教育类型') |
617 | return | 621 | return |
@@ -629,10 +633,9 @@ Page({ | @@ -629,10 +633,9 @@ Page({ | ||
629 | return | 633 | return |
630 | } | 634 | } |
631 | //新增教育类型(区别教育类别) | 635 | //新增教育类型(区别教育类别) |
632 | - newdata.education_style = this.data.edustyleData.selected | ||
633 | - newdata.edu_type_lable = '1' | 636 | + // newdata.edu_type_lable = '1' |
637 | + newdata.education_type = this.data.edustyleData.selected == '职业能力' ? 'profession' : 'major' | ||
634 | } | 638 | } |
635 | - newdata.education_type = this.data.edutypeData.selected | ||
636 | newdata.education_end = this.data.studystartdate.datelong | 639 | newdata.education_end = this.data.studystartdate.datelong |
637 | newdata.education_start = this.data.studyenddate.datelong | 640 | newdata.education_start = this.data.studyenddate.datelong |
638 | break; | 641 | break; |
请
注册
或
登录
后发表评论