Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center-ui
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center-ui
Commits
67e8f960
Commit
67e8f960
authored
Jul 07, 2021
by
陈浩建
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复新用户审核页面
parent
bb077996
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
11 deletions
+25
-11
src/views/school-center/order/order.vue
+0
-1
src/views/school-center/userManager/newUser.vue
+25
-10
No files found.
src/views/school-center/order/order.vue
View file @
67e8f960
...
...
@@ -1394,7 +1394,6 @@
this
.
edit
=
false
;
},
showDrawer
(
data
,
type
)
{
console
.
log
(
data
);
this
.
certificatePhoto
.
push
(
this
.
apis
+
(
data
.
idCardz
!=
null
?
data
.
idCardz
.
replace
(
"manager"
,
"app"
)
:
""
));
this
.
certificatePhoto
.
push
(
this
.
apis
+
(
data
.
idCardf
!=
null
?
data
.
idCardf
.
replace
(
"manager"
,
"app"
)
:
""
));
this
.
certificatePhoto
.
push
(
this
.
apis
+
(
data
.
idCardzs
!=
null
?
data
.
idCardzs
.
replace
(
"manager"
,
"app"
)
:
""
));
...
...
src/views/school-center/userManager/newUser.vue
View file @
67e8f960
...
...
@@ -85,13 +85,15 @@
<
template
slot=
"idcardImgUrl"
slot-scope=
"text"
>
<p
v-show=
"text == null"
>
未上传
</p>
<p
v-show=
"text == ''"
>
未上传
</p>
<van-image
v-show=
"text != null && text != ''"
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"apis + text"
/>
<!--
<van-image
v-show=
"text != null && text != ''"
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"imgUrl(text)"
/>
-->
<a
v-show=
"text != null && text != ''"
@
click=
"imgClick(text)"
>
点击查看
</a>
<!--
<van-image
width=
"100"
height=
"100"
@
click=
"imgClick('https://img.yzcdn.cn/vant/cat.jpeg')"
src=
"https://img.yzcdn.cn/vant/cat.jpeg"
/>
-->
</
template
>
<
template
slot=
"studentImgUrl"
slot-scope=
"text"
>
<p
v-show=
"text == null"
>
未上传
</p>
<p
v-show=
"text == ''"
>
未上传
</p>
<van-image
v-show=
"text != null && text != ''"
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"apis + text"
/>
<a
v-show=
"text != null && text != ''"
@
click=
"imgClick(text)"
>
点击查看
</a>
<!--
<van-image
v-show=
"text != null && text != ''"
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"imgUrl(text)"
/>
-->
<!--
<van-image
width=
"100"
height=
"100"
@
click=
"imgClick('https://img.yzcdn.cn/vant/cat.jpeg')"
src=
"https://img.yzcdn.cn/vant/cat.jpeg"
/>
-->
</
template
>
<!--<template slot="operation" slot-scope="text,record">
...
...
@@ -108,7 +110,7 @@
:closable=
"false"
@
close=
"pictureOnClose"
:visible=
"visiblepicture"
width=
"
3
0%"
width=
"
5
0%"
>
<div>
<img
class=
"bg-img"
:src=
"imgInfo"
>
...
...
@@ -175,8 +177,8 @@
{
dataIndex
:
'sex'
,
width
:
50
,
title
:
'性别'
,
scopedSlots
:
{
customRender
:
"sex"
}},
{
dataIndex
:
'schoolName'
,
width
:
100
,
title
:
'所属校园'
},
{
dataIndex
:
'grade'
,
width
:
60
,
title
:
'年级'
},
{
dataIndex
:
'subName'
,
width
:
60
,
title
:
'县分'
},
{
dataIndex
:
'idCard'
,
width
:
150
,
title
:
'身份证号'
},
{
dataIndex
:
'subName'
,
width
:
60
,
title
:
'县分'
},
{
dataIndex
:
'idCard'
,
width
:
150
,
title
:
'身份证号'
},
{
dataIndex
:
'idcardImgUrl'
,
width
:
180
,
title
:
'身份证扫描件(正面)'
,
scopedSlots
:
{
customRender
:
"idcardImgUrl"
}},
{
dataIndex
:
'studentImgUrl'
,
width
:
180
,
title
:
'学生证'
,
scopedSlots
:
{
customRender
:
"studentImgUrl"
}},
{
dataIndex
:
'createtime'
,
width
:
100
,
title
:
'注册时间'
,
scopedSlots
:
{
customRender
:
"createtime"
}},
...
...
@@ -187,6 +189,10 @@
],
rowdata
:
parameter
=>
{
const
env
=
process
.
env
.
NODE_ENV
;
//获取当前环境
if
(
env
===
'development'
)
{
//测试环境默认添加前缀
this
.
apis
=
'/api/'
;
}
let
params
=
{
pageNo
:
parameter
.
pageNo
,
pageSize
:
parameter
.
pageSize
...
...
@@ -218,11 +224,13 @@
tempMode
:
[
'month'
,
'month'
],
schoolNames
:
[],
subNames
:
[],
apis
:
'
img/
'
,
apis
:
''
,
imgInfo
:
''
,
visiblepicture
:
false
,
selectedRowKeys
:
[],
hasSelected
:
false
,
idcardImgUrl
:
""
,
studentImgUrl
:
""
,
}
},
methods
:
{
...
...
@@ -248,9 +256,14 @@
this
.
visiblepicture
=
false
;
},
imgClick
(
res
)
{
this
.
imgInfo
=
this
.
apis
+
res
this
.
imgInfo
=
this
.
apis
+
(
res
!=
null
?
res
.
replace
(
"manager"
,
"app"
)
:
""
);
this
.
visiblepicture
=
true
},
imgUrl
(
res
){
let
imgUrl
;
imgUrl
=
this
.
apis
+
(
res
!=
null
?
res
.
replace
(
"manager"
,
"app"
)
:
""
);
return
imgUrl
;
},
createfunctionOk
()
{
update
({
'ids'
:
this
.
selectedRowKeys
,
'status'
:
this
.
Formtable
.
status
}).
then
(
res
=>
{
if
(
res
.
state
!==
'success'
)
{
...
...
@@ -314,5 +327,8 @@
</
script
>
<
style
scoped
>
</
style
>
\ No newline at end of file
.ant-table-row-cell-break-word
{
padding
:
4px
4px
!important
;
text-align
:
center
!important
;
}
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment