提交 381661a1 authored 作者: lhh's avatar lhh

修改缴费

上级 8a0dc49b
<template> <template>
<el-dialog <div>
title="您当前完成进度如下:" <el-dialog
width="348px" title="您当前完成进度如下:"
:center="true" width="348px"
:close-on-click-modal="false" :center="true"
:visible.sync="dialogVisible" :close-on-click-modal="false"
@open="handleOpen" :visible.sync="dialogVisible"
@close="handleClose" @open="handleOpen"
> @close="handleClose"
<div> >
<ul v-if="detail"> <div>
<li <ul v-if="detail">
v-for="item in currentOptions" <li
:class="progress[item.code].progress === 1 ? 'is-success' : 'is-error'" v-for="item in currentOptions"
:key="item.code" :class="progress[item.code].progress === 1 ? 'is-success' : 'is-error'"
:key="item.code"
>
<span class="name">{{ item.title }}</span>
<span class="line"></span>
<span class="status">{{ progress[item.code].progress === 1 ? '已完成' : '未完成' }}</span>
<span class="view" @click="handleView(item.view.to)">立即查看</span>
</li>
</ul>
</div>
<template #footer>
<el-button
type="primary"
@click="
dialogVisible = false
dialogVisible2 = true
"
>我知道啦</el-button
> >
<span class="name">{{ item.title }}</span> </template>
<span class="line"></span> </el-dialog>
<span class="status">{{ progress[item.code].progress === 1 ? '已完成' : '未完成' }}</span> <el-dialog :visible.sync="dialogVisible2">
<span class="view" @click="handleView(item.view.to)">立即查看</span> <pay></pay>
</li> <template #footer>
</ul> <el-button style="display: block; margin: 0 auto" type="primary" @click="dialogVisible2 = false"
</div> >关闭</el-button
<template #footer> >
<el-button type="primary" @click="dialogVisible = false">我知道啦</el-button> </template>
</template> </el-dialog>
</el-dialog> </div>
</template> </template>
<script> <script>
import * as api from '@/api/my' import * as api from '@/api/my'
import pay from './pay.vue'
export default { export default {
props: { value: { type: Boolean, default: false }, type: { type: Number, default: 0 } }, props: { value: { type: Boolean, default: false }, type: { type: Number, default: 0 } },
components: {
pay
},
data() { data() {
return { return {
dialogVisible2: false,
dialogVisible: false, dialogVisible: false,
detail: null, detail: null,
progress: {}, progress: {},
......
...@@ -82,7 +82,10 @@ export default { ...@@ -82,7 +82,10 @@ export default {
const { data, error, message } = response const { data, error, message } = response
if (error.toString() === '0') { if (error.toString() === '0') {
this.detail = data this.detail = data
if (!data.progress.FILLING.attachments || data.progress.FILLING.attachments.missed_required_list.ID_CARD_PHOTO) { if (
!data.progress.FILLING.attachments ||
data.progress.FILLING.attachments.missed_required_list.ID_CARD_PHOTO
) {
this.tabActive = 'application_info_first' this.tabActive = 'application_info_first'
} }
const { submission_stage: submissionStage = 'FILLING' } = data.material const { submission_stage: submissionStage = 'FILLING' } = data.material
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论