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