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

chore: 调整留位费显示的位置

上级 741d5daf
......@@ -2,9 +2,7 @@
<div class="my">
<div class="card">
<div class="result">
<div class="result-left">
<img src="https://webapp-pub.ezijing.com/project/application/images/my_icon.png" />招生办反馈
</div>
<div class="result-left"><img src="https://webapp-pub.ezijing.com/project/application/images/my_icon.png" />招生办反馈</div>
<!-- <div class="result-right">{{ result.submit_status_desc || '未收到报名信息' }}</div> -->
</div>
</div>
......@@ -68,10 +66,19 @@ export default {
for (const key in this.submissionStage) {
const list = this.submissionStage[key]
if (list.includes(this.material.submission_stage)) {
if (key === '3' && !this.isPay) {
return 2
}
return parseInt(key)
}
}
return 0
},
isPay() {
const records = this.material?.payment_records || []
return !!records.find(item => {
return item.bill_type === 'APPLICATION_FEE' && item.payment_status === 'SUCCESS'
})
}
},
methods: {
......
......@@ -12,6 +12,20 @@ export default function(_this) {
return {
id: 'admission',
title: '综合评审',
children: [{ required: true, id: 'application_pay', title: '缴留位费' }, cjd(_this), tjx(_this), grcs(_this), byzs(_this), form(_this)]
children: [
cjd(_this),
tjx(_this),
grcs(_this),
byzs(_this),
form(_this),
{
required: true,
id: 'application_pay',
title: '缴留位费',
visible() {
return _this.hasPay
}
}
]
}
}
......@@ -27,7 +27,7 @@
</vue-form>
<el-dialog title="综合评审资料提交成功" :visible.sync="dialogVisible" :center="true" :close-on-click-modal="false" width="348px">
<div class="dialog-tips">
<!-- <p>请确认是否已缴费,如未缴费点击下方缴费按钮 <br />(已缴费,请忽略)</p> -->
<p>材料补充已完成,请等待招生办进一步通知。</p>
<div class="icon"><img src="https://webapp-pub.ezijing.com/project/application/images/icon_success.png" /></div>
</div>
<template #footer>
......@@ -53,11 +53,11 @@ export default {
const menus = getMenu(this)
return {
menus: [menus],
currentActive: 'application_pay',
currentActive: 'admission_cjd',
dialogVisible: false,
detail: null,
completeVisible: false,
isPay: false
isPay: true
}
},
watch: {
......@@ -65,7 +65,7 @@ export default {
immediate: true,
handler(route) {
const { query = {} } = route
this.currentActive = query.active || 'application_pay'
this.currentActive = query.active || 'admission_cjd'
}
},
showSubmittedDialog(value) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论