提交 a11fd864 authored 作者: lihuihui's avatar lihuihui

修改bug

上级 115b2ec0
......@@ -6,6 +6,7 @@
<template>
<div class="label">{{ item.label }}</div>
<div class="up-box">
<div class="btn-go" v-if="item.name == 'apply'" @click="goEditForm">更改个人资料</div>
<van-field
class="field"
:border="false"
......@@ -95,6 +96,12 @@ export default {
}
},
methods: {
goEditForm() {
this.$router.push({
path: '/attestation/form',
query: this.$route.query
})
},
onChange(src) {
this.images = [src]
this.show = true
......@@ -152,10 +159,24 @@ export default {
</script>
<style lang="scss">
.up-box{
position: relative;
display: flex;
padding-top: 10px;
margin-bottom: 10px;
height: 90px;
.btn-go{
position: absolute;
bottom: 0;
left: 0;
z-index: 999;
width: 40%;
height: 27px;
color: #fff;
text-align: center;
line-height: 27px;
text-align: center;
background: linear-gradient(100deg, rgba(0, 0, 0, .1) 0%, #000000 200%);
}
.field{
width: 40%;
padding: 0;
......
......@@ -146,7 +146,7 @@
/>
</div>
<div class="btn-box">
<van-button native-type="submit" class="b" color="linear-gradient(180deg, #FF9B96 0%, #CE3E3A 100%)">提交</van-button>
<van-button native-type="submit" class="b" color="linear-gradient(180deg, #FF9B96 0%, #CE3E3A 100%)">生成预览</van-button>
<!-- <van-button class="b" @click="revokes">撤销</van-button> -->
<div class="revokes" @click="revokes">撤销</div>
</div>
......@@ -168,6 +168,9 @@
import * as api from '@/api/attestation'
import { Form, Button, Dialog, Toast, Picker } from 'vant'
export default {
metaInfo: {
title: '三级认证个人信息填写'
},
components: {
[Form.name]: Form,
[Button.name]: Button,
......
......@@ -42,6 +42,9 @@ import h5Pay from './buy/components/h5Pay.vue'
import { ImagePreview, Toast, Empty, Dialog } from 'vant'
import * as api from '@/api/attestation'
export default {
metaInfo: {
title: '三级认证个人信息申请'
},
components: {
[ImagePreview.name]: ImagePreview,
[Toast.name]: Toast,
......
......@@ -14,6 +14,9 @@
<script>
import { ImagePreview } from 'vant'
export default {
metaInfo: {
title: '预览'
},
components: {
[ImagePreview.name]: ImagePreview
},
......
......@@ -82,6 +82,11 @@ import { Toast, Dialog, ImagePreview } from 'vant'
import * as api from '@/api/attestation'
export default {
metaInfo() {
return {
title: this.isLook ? '查看信息' : '上传'
}
},
name: 'submitStudent',
components: {
Card,
......@@ -224,7 +229,7 @@ export default {
console.log(ruleForm)
for (let i = 0; i < Object.values(ruleForm).length; i++) {
if (Object.values(ruleForm)[i] === '') {
Toast('请上传')
Toast('上传资料不完整。请将资料补充完整,再确认提交')
return
}
}
......@@ -235,7 +240,7 @@ export default {
confirmButtonText: '确定',
message: '上传成功'
})
.then(() => {
.then(() => { //ganniniangde
// queding
this.isLook = true
this.getCertificationDetail()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论