提交 d5360538 authored 作者: matian's avatar matian

updates

上级 2b144053
......@@ -20,8 +20,7 @@ export default function(_this) {
} = data.data.material
this.form.options.disabled = submissionStage !== 'FILLING'
list[0].education_status = basicInfo.education_status
return Object.assign({}, basicInfo, list.length ? list : [{}])
return list.length ? list : [{}]
}
},
update: {
......@@ -33,8 +32,11 @@ export default function(_this) {
return result
}, {})
})
const basic_info = { education_status: data[0].education_status }
return { basic_info, educations }
const basicInfo = { education_status: data[0].education_status }
return { basic_info: basicInfo, educations }
},
callback() {
_this.getApplication()
}
},
form: {
......@@ -42,6 +44,16 @@ export default function(_this) {
next: { to: { query: { active: 'application_info', tab: 'application_info_career' } }, isSubmit: true },
hasAdd: true,
options: { labelWidth: '140px' },
appendItems: [
{
type: 'v-input',
label: '当前教育状态',
model: 'education_status',
attrs: { placeholder: '请填写当前教育状态' },
rules: [{ required: true, message: '请填写当前教育状态', trigger: 'blur' }],
append: '<p style="color:#606266">当前教育状态(填写示例:本科在读/大四)</p>'
}
],
items: [
{
type: 'v-datepicker',
......@@ -96,16 +108,6 @@ export default function(_this) {
model: 'degree',
rules: [{ required: true, message: '请选择学历/学位', trigger: 'change' }]
}
],
appendItems: [
{
type: 'v-input',
label: '当前教育状态',
model: 'education_status',
attrs: { placeholder: '请填写当前教育状态' },
rules: [{ required: true, message: '请填写当前教育状态', trigger: 'blur' }],
append: '<p style="color:#606266">当前教育状态(填写示例:本科在读/大四)</p>'
}
]
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论