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

chore: update

上级 cd6ec4fa
......@@ -16,6 +16,7 @@ export default function(_this) {
const isSubmited = submissionStage !== 'FILLING'
this.form.options.disabled = isSubmited
if (isSubmited) {
_this.submittedVisible = true
return { isAgree: [1] }
}
return { isAgree: [] }
......@@ -27,7 +28,8 @@ export default function(_this) {
_this.getApplication()
this.form.options.disabled = true
// _this.$router.push({ path: this.$route.path, query: { active: 'application_pay' } })
_this.$router.push({ path: '/my/interview' })
// _this.$router.push({ path: '/my/interview' })
_this.submittedVisible = true
},
errorCallback() {
_this.completeVisible = true
......
......@@ -49,6 +49,16 @@
<app-preview :hasEdit="true" @edit="handlePreviewEdit" v-if="dialogVisible" />
</el-dialog>
<app-complete v-model="completeVisible"></app-complete>
<el-dialog :visible.sync="submittedVisible" :center="true" :close-on-click-modal="false" width="348px">
<div class="dialog-pay">
<p>请填写申请面试的材料,材料齐全后<br />招生办老师将给您致电预约面试日期与时间</p>
<div class="icon"><img src="https://webapp-pub.ezijing.com/project/application/images/icon_success.png" /></div>
</div>
<template #footer>
<el-button type="primary" @click="toInterview">立即预约</el-button>
</template>
</el-dialog>
</app-layout>
</template>
......@@ -72,7 +82,8 @@ export default {
tabActive: 'application_info_profile',
dialogVisible: false,
detail: null,
completeVisible: false
completeVisible: false,
submittedVisible: false
}
},
watch: {
......@@ -169,6 +180,10 @@ export default {
this.$message.error(message)
}
})
},
// 申请面试
toInterview() {
this.$router.push('/my/interview')
}
},
beforeMount() {
......@@ -191,4 +206,15 @@ export default {
padding: 0;
}
}
.dialog-pay {
text-align: center;
p {
color: #262626;
line-height: 20px;
}
.icon {
margin-top: 20px;
text-align: center;
}
}
</style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论