Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
alumni-show-h5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
alumni-show-h5
Commits
a11fd864
提交
a11fd864
authored
11月 25, 2020
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改bug
上级
115b2ec0
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
38 行增加
和
3 行删除
+38
-3
attestationFormUpload.vue
src/components/attestationFormUpload.vue
+21
-0
form.vue
src/views/attestation/form.vue
+4
-1
index.vue
src/views/attestation/index.vue
+3
-0
printing.vue
src/views/attestation/printing.vue
+3
-0
upload.vue
src/views/attestation/upload.vue
+7
-2
没有找到文件。
src/components/attestationFormUpload.vue
浏览文件 @
a11fd864
...
...
@@ -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
;
...
...
src/views/attestation/form.vue
浏览文件 @
a11fd864
...
...
@@ -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
,
...
...
src/views/attestation/index.vue
浏览文件 @
a11fd864
...
...
@@ -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
,
...
...
src/views/attestation/printing.vue
浏览文件 @
a11fd864
...
...
@@ -14,6 +14,9 @@
<
script
>
import
{
ImagePreview
}
from
'vant'
export
default
{
metaInfo
:
{
title
:
'预览'
},
components
:
{
[
ImagePreview
.
name
]:
ImagePreview
},
...
...
src/views/attestation/upload.vue
浏览文件 @
a11fd864
...
...
@@ -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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论