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

bug fixes

上级 c07b33a3
...@@ -50,8 +50,8 @@ export default { ...@@ -50,8 +50,8 @@ export default {
progress: {}, progress: {},
submissionStage: { submissionStage: {
0: ['FILLING', 'PREPAYMENT'], 0: ['FILLING', 'PREPAYMENT'],
1: ['INTERVIEW_APPLICATION', 'AUDITION', 'INTERVIEW', 'PAYMENT'], 1: ['INTERVIEW_APPLICATION', 'AUDITION', 'INTERVIEW'],
2: ['REGISTRATION'], 2: ['REGISTRATION', 'PAYMENT'],
3: ['CLOSED'] 3: ['CLOSED']
}, },
result: {}, result: {},
......
...@@ -17,7 +17,7 @@ export default function(_this) { ...@@ -17,7 +17,7 @@ export default function(_this) {
'PAYMENT', 'PAYMENT',
'CLOSED' 'CLOSED'
] ]
this.form.options.disabled = stageList.findIndex(item => item === submissionStage) > 6 this.form.options.disabled = stageList.findIndex(item => item === submissionStage) >= 6
return attachments.reduce( return attachments.reduce(
(result, item) => { (result, item) => {
if (item.file_type_id === 'DIPLOMA_CN') { if (item.file_type_id === 'DIPLOMA_CN') {
......
...@@ -17,7 +17,7 @@ export default function(_this) { ...@@ -17,7 +17,7 @@ export default function(_this) {
'PAYMENT', 'PAYMENT',
'CLOSED' 'CLOSED'
] ]
this.form.options.disabled = stageList.findIndex(item => item === submissionStage) > 6 this.form.options.disabled = stageList.findIndex(item => item === submissionStage) >= 6
return attachments.reduce( return attachments.reduce(
(result, item) => { (result, item) => {
if (item.file_type_id === 'REPORT_CARD_CN') { if (item.file_type_id === 'REPORT_CARD_CN') {
......
...@@ -17,7 +17,7 @@ export default function(_this) { ...@@ -17,7 +17,7 @@ export default function(_this) {
'PAYMENT', 'PAYMENT',
'CLOSED' 'CLOSED'
] ]
this.form.options.disabled = stageList.findIndex(item => item === submissionStage) > 6 this.form.options.disabled = stageList.findIndex(item => item === submissionStage) >= 6
const PERSONAL_STATEMENT = attachments.filter(item => { const PERSONAL_STATEMENT = attachments.filter(item => {
return item.file_type_id === 'PERSONAL_STATEMENT' return item.file_type_id === 'PERSONAL_STATEMENT'
}) })
......
...@@ -17,7 +17,7 @@ export default function(_this) { ...@@ -17,7 +17,7 @@ export default function(_this) {
'PAYMENT', 'PAYMENT',
'CLOSED' 'CLOSED'
] ]
this.form.options.disabled = stageList.findIndex(item => item === submissionStage) > 6 this.form.options.disabled = stageList.findIndex(item => item === submissionStage) >= 6
return attachments.reduce( return attachments.reduce(
(result, item) => { (result, item) => {
item.disabled = item.upload_operator_user_id !== _this.user?.id item.disabled = item.upload_operator_user_id !== _this.user?.id
......
...@@ -29,11 +29,11 @@ ...@@ -29,11 +29,11 @@
width="348px" width="348px"
> >
<div class="dialog-tips"> <div class="dialog-tips">
<p>请确认是否已缴费,如未缴费点击下方缴费按钮 <br />(已缴费,请忽略)</p> <!-- <p>请确认是否已缴费,如未缴费点击下方缴费按钮 <br />(已缴费,请忽略)</p> -->
<div class="icon"><img src="https://webapp-pub.ezijing.com/project/application/images/icon_success.png" /></div> <div class="icon"><img src="https://webapp-pub.ezijing.com/project/application/images/icon_success.png" /></div>
</div> </div>
<template #footer> <template #footer>
<el-button type="primary" @click="toPay">立即缴费</el-button> <!-- <el-button type="primary" @click="toPay">立即缴费</el-button> -->
<el-button type="primary" @click="dialogVisible = false">忽略</el-button> <el-button type="primary" @click="dialogVisible = false">忽略</el-button>
</template> </template>
</el-dialog> </el-dialog>
...@@ -75,7 +75,7 @@ export default { ...@@ -75,7 +75,7 @@ export default {
computed: { computed: {
isSubmited() { isSubmited() {
if (this.detail) { if (this.detail) {
return !!this.detail.material.attachments.find(item => item.file_type_id === 'ADMISSION_AGREEMENT') return this.detail.material.submission_stage === 'PAYMENT'
} }
return false return false
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论