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

报名费放到申请声明之前

上级 2fd2479c
...@@ -2,6 +2,6 @@ projectId=1001 ...@@ -2,6 +2,6 @@ projectId=1001
newProjectId=6800243768751554560 newProjectId=6800243768751554560
baseURL=https://project-api.ezijing.com baseURL=https://project-api2.ezijing.com
loginURL=https://login.ezijing.com/auth loginURL=https://login2.ezijing.com/auth
\ No newline at end of file \ No newline at end of file
...@@ -43,6 +43,11 @@ export default { ...@@ -43,6 +43,11 @@ export default {
title: '个人资料', title: '个人资料',
code: 'applicaitonInfo', code: 'applicaitonInfo',
view: { to: { path: '/my/application', query: { active: 'application_info' } } } view: { to: { path: '/my/application', query: { active: 'application_info' } } }
},
{
title: '缴报名费',
code: 'applicationPay',
view: { to: { path: '/my/application', query: { active: 'application_pay' } } }
} }
// { // {
// title: '推荐信', // title: '推荐信',
...@@ -120,7 +125,7 @@ export default { ...@@ -120,7 +125,7 @@ export default {
const fillingMissedRequiredList = progress.FILLING.attachments.missed_required_list const fillingMissedRequiredList = progress.FILLING.attachments.missed_required_list
// 个人资料 // 个人资料
const applicaitonInfo = { progress: 0 } const applicaitonInfo = { progress: 0 }
const infoRequriedList = ['basic_info', 'educations', 'careers', 'answers'] const infoRequriedList = ['basic_info', 'educations', 'careers', 'answers', 'attachments']
for (const key of infoRequriedList) { for (const key of infoRequriedList) {
if (progress.FILLING[key].progress < 1) { if (progress.FILLING[key].progress < 1) {
applicaitonInfo.progress = 0 applicaitonInfo.progress = 0
...@@ -133,6 +138,11 @@ export default { ...@@ -133,6 +138,11 @@ export default {
} else { } else {
applicaitonInfo.progress = 0 applicaitonInfo.progress = 0
} }
// 缴报名费
const applicationPay = { progress: 0 }
applicationPay.progress = progress.FILLING.payment_records ? progress.FILLING.payment_records.progress : 0
// 推荐信 // 推荐信
const applicationTjx = { progress: 0 } const applicationTjx = { progress: 0 }
applicationTjx.progress = progress.FILLING.reco_letters ? progress.FILLING.reco_letters.progress : 0 applicationTjx.progress = progress.FILLING.reco_letters ? progress.FILLING.reco_letters.progress : 0
...@@ -167,6 +177,7 @@ export default { ...@@ -167,6 +177,7 @@ export default {
this.progress = { this.progress = {
applicaitonInfo, applicaitonInfo,
applicationPay,
applicationTjx, applicationTjx,
applicationWfzzm, applicationWfzzm,
interviewZp, interviewZp,
......
...@@ -34,7 +34,7 @@ export default function(_this) { ...@@ -34,7 +34,7 @@ export default function(_this) {
} }
}, },
form: { form: {
prev: { to: { query: { active: 'application_info', tab: 'application_info_attachment' } } }, prev: { to: { query: { active: 'application_pay' } } },
submitText: '提交报名申请', submitText: '提交报名申请',
model: { isAgree: [] }, model: { isAgree: [] },
options: {}, options: {},
......
...@@ -11,15 +11,15 @@ export default function(_this) { ...@@ -11,15 +11,15 @@ export default function(_this) {
info(_this), info(_this),
// tjx(_this), // tjx(_this),
// wfzsm(_this), // wfzsm(_this),
declare(_this),
{ {
id: 'application_pay', id: 'application_pay',
title: '缴报名费', title: '缴报名费'
show: false, // show: false,
visible() { // visible() {
return _this.visible // return _this.visible
} // }
} },
declare(_this)
] ]
} }
} }
...@@ -46,7 +46,7 @@ export default function(_this) { ...@@ -46,7 +46,7 @@ export default function(_this) {
}, },
form: { form: {
prev: { to: { query: { active: 'application_info', tab: 'application_info_honor' } } }, prev: { to: { query: { active: 'application_info', tab: 'application_info_honor' } } },
next: { to: { query: { active: 'application_declare' } } }, next: { to: { query: { active: 'application_pay' } } },
hasButton: false, hasButton: false,
options: { labelWidth: '140px' }, options: { labelWidth: '140px' },
items: [ items: [
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论