提交 682d4ae4 authored 作者: 王鹏飞's avatar 王鹏飞

chore: 在线报名隐藏所受培训模块

上级 fb3a1896
......@@ -3,7 +3,7 @@ import profile from './info/profile'
import education from './info/education'
import career from './info/career'
import honor from './info/honor'
import training from './info/training'
// import training from './info/training'
import answer from './info/answer'
export default function(_this) {
......@@ -11,6 +11,7 @@ export default function(_this) {
id: 'application_info',
// title: '个人资料',
title: _this.$t('application.personalProfile'),
tabs: [first(_this), profile(_this), education(_this), career(_this), answer(_this), training(_this), honor(_this)]
// tabs: [first(_this), profile(_this), education(_this), career(_this), answer(_this), training(_this), honor(_this)]
tabs: [first(_this), profile(_this), education(_this), career(_this), answer(_this), honor(_this)]
}
}
......@@ -41,7 +41,8 @@ export default function(_this) {
},
form: {
prev: { to: { query: { active: 'application_info', tab: 'application_info_career' } }, isSubmit: true },
next: { to: { query: { active: 'application_info', tab: 'application_info_training' } }, isSubmit: true },
// next: { to: { query: { active: 'application_info', tab: 'application_info_training' } }, isSubmit: true },
next: { to: { query: { active: 'application_info', tab: 'application_info_honor' } }, isSubmit: true },
options: {},
items: [
{
......
......@@ -31,7 +31,8 @@ export default function(_this) {
}
},
form: {
prev: { to: { query: { active: 'application_info', tab: 'application_info_training' } }, isSubmit: true },
// prev: { to: { query: { active: 'application_info', tab: 'application_info_training' } }, isSubmit: true },
prev: { to: { query: { active: 'application_info', tab: 'application_info_answer' } }, isSubmit: true },
next: { to: { query: { active: 'application_tjx' } }, isSubmit: true },
hasAdd: true,
options: { labelWidth: '140px' },
......
......@@ -277,25 +277,25 @@ export default {
return `<div class="answers">${result.join('')}</div>`
}
},
{
title: '所受培训',
code: 'trainings',
edit: {
to: { path: '/my/application', query: { active: 'application_info', tab: 'application_info_training' } }
},
isMultiple: true,
items: [
{
label: '培训时间',
code: 'start_date',
computed(data) {
return `${data.start_date}至${data.end_date}`
}
},
{ label: '培训机构', code: 'institution_cn' },
{ label: '课程名称', code: 'course_cn' }
]
},
// {
// title: '所受培训',
// code: 'trainings',
// edit: {
// to: { path: '/my/application', query: { active: 'application_info', tab: 'application_info_training' } }
// },
// isMultiple: true,
// items: [
// {
// label: '培训时间',
// code: 'start_date',
// computed(data) {
// return `${data.start_date}至${data.end_date}`
// }
// },
// { label: '培训机构', code: 'institution_cn' },
// { label: '课程名称', code: 'course_cn' }
// ]
// },
{
title: '荣誉奖励',
code: 'honors',
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论