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
8da03f91
Commit
8da03f91
authored
Jun 05, 2020
by
彭祥礼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
。。。
parent
4f7ef4aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
47 deletions
+40
-47
src/views/school-center/uploadVerify/studentCardVerify.vue
+17
-13
src/views/school-center/uploadVerify/studentdwkVerify.vue
+23
-34
No files found.
src/views/school-center/uploadVerify/studentCardVerify.vue
View file @
8da03f91
...
@@ -132,19 +132,20 @@
...
@@ -132,19 +132,20 @@
</
template
>
</
template
>
<
template
slot=
"studentCardUrl"
slot-scope=
"text"
>
<
template
slot=
"studentCardUrl"
slot-scope=
"text"
>
<
van-image
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"apis + text"
/
>
<
p
v-show=
"text=='' "
>
无
</p
>
<
!--
<van-image
width=
"100"
height=
"100"
@
click=
"imgClick('https://img.yzcdn.cn/vant/cat.jpeg')"
src=
"https://img.yzcdn.cn/vant/cat.jpeg"
/>
--
>
<
van-image
v-show=
"text!='' "
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"apis + text"
/
>
</
template
>
</
template
>
<
template
slot=
"otherImgUrl1"
slot-scope=
"text"
>
<
template
slot=
"otherImgUrl1"
slot-scope=
"text"
>
<
van-image
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"apis + text"
/
>
<
p
v-show=
"text=='' "
>
无
</p
>
<
!--
<van-image
width=
"100"
height=
"100"
@
click=
"imgClick('https://img.yzcdn.cn/vant/cat.jpeg')"
src=
"https://img.yzcdn.cn/vant/cat.jpeg"
/>
--
>
<
van-image
v-show=
"text!='' "
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"apis + text"
/
>
</
template
>
</
template
>
<
template
slot=
"otherImgUrl2"
slot-scope=
"text"
>
<
template
slot=
"otherImgUrl2"
slot-scope=
"text"
>
<
van-image
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"apis + text"
/
>
<
p
v-show=
"text=='' "
>
无
</p
>
<
!--
<van-image
width=
"100"
height=
"100"
@
click=
"imgClick('https://img.yzcdn.cn/vant/cat.jpeg')"
src=
"https://img.yzcdn.cn/vant/cat.jpeg"
/>
--
>
<
van-image
v-show=
"text!='' "
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"apis + text"
/
>
</
template
>
</
template
>
<
template
slot=
"otherImgUrl3"
slot-scope=
"text"
>
<
template
slot=
"otherImgUrl3"
slot-scope=
"text"
>
<van-image
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"apis + text"
/>
<p
v-show=
"text=='' "
>
无
</p>
<van-image
v-show=
"text!='' "
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"apis + text"
/>
</
template
>
</
template
>
<!--<template slot="operation" slot-scope="text,record">
<!--<template slot="operation" slot-scope="text,record">
<span>
<span>
...
@@ -177,14 +178,17 @@
...
@@ -177,14 +178,17 @@
<a-form-item
label=
"联系号码"
>
{{Formtable.linkPhone}}
</a-form-item>
<a-form-item
label=
"联系号码"
>
{{Formtable.linkPhone}}
</a-form-item>
<a-form-item
label=
"上传资料时间"
>
{{Formtable.uploadDate | dayjs}}
</a-form-item>
<a-form-item
label=
"上传资料时间"
>
{{Formtable.uploadDate | dayjs}}
</a-form-item>
<br>
<br>
<a-form-item
label=
"上传图片1:"
>
<a-form-item
label=
"学生证封面照片:"
>
<van-image
width=
"100"
height=
"100"
@
click=
"imgClick(Formtable.studentCardUrl)"
:src=
"apis + Formtable.studentCardUrl"
/>
<a
v-show=
"Formtable.studentCardUrl != '' "
href=
"javascript:void(0);"
@
click=
"imgClick(Formtable.studentCardUrl)"
>
点击查看
</a>
<!--<van-image width="100" height="100" @click="imgClick(Formtable.studentCardUrl)" :src="apis + Formtable.studentCardUrl" />-->
</a-form-item>
</a-form-item>
<a-form-item
label=
"上传图片2"
>
<a-form-item
label=
"学生证内页照片"
>
<van-image
width=
"100"
height=
"100"
@
click=
"imgClick(Formtable.otherImgUrl1)"
:src=
"apis + Formtable.otherImgUrl1"
/>
<a
v-show=
"Formtable.otherImgUrl1 != '' "
href=
"javascript:void(0);"
@
click=
"imgClick(Formtable.otherImgUrl1)"
>
点击查看
</a>
<!--<van-image width="100" height="100" @click="imgClick(Formtable.otherImgUrl1)" :src="apis + Formtable.otherImgUrl1" />-->
</a-form-item>
</a-form-item>
<a-form-item
label=
"上传图片3"
>
<a-form-item
label=
"身份证照片"
>
<van-image
width=
"100"
height=
"100"
@
click=
"imgClick(Formtable.otherImgUrl2)"
:src=
"apis + Formtable.otherImgUrl2"
/>
<a
v-show=
"Formtable.otherImgUrl2 != '' "
href=
"javascript:void(0);"
@
click=
"imgClick(Formtable.otherImgUrl2)"
>
点击查看
</a>
<!--<van-image width="100" height="100" @click="imgClick(Formtable.otherImgUrl2)" :src="apis + Formtable.otherImgUrl2" />-->
</a-form-item>
</a-form-item>
<br>
<br>
<a-form-item
label=
"是否审核通过"
>
<a-form-item
label=
"是否审核通过"
>
...
...
src/views/school-center/uploadVerify/studentdwkVerify.vue
View file @
8da03f91
...
@@ -135,20 +135,20 @@
...
@@ -135,20 +135,20 @@
<p
v-else=
""
></p>
<p
v-else=
""
></p>
</
template
>
</
template
>
<
template
slot=
"studentCardUrl"
slot-scope=
"text"
>
<
template
slot=
"studentCardUrl"
slot-scope=
"text"
>
<
van-image
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"apis + text"
/
>
<
p
v-show=
"text=='' "
>
无
</p
>
<
!--
<van-image
width=
"100"
height=
"100"
@
click=
"imgClick('https://img.yzcdn.cn/vant/cat.jpeg')"
src=
"https://img.yzcdn.cn/vant/cat.jpeg"
/>
--
>
<
van-image
v-show=
"text!='' "
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"apis + text"
/
>
</
template
>
</
template
>
<
template
slot=
"schoolCardUrl"
slot-scope=
"text"
>
<
template
slot=
"schoolCardUrl"
slot-scope=
"text"
>
<
van-image
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"apis + text"
/
>
<
p
v-show=
"text=='' "
>
无
</p
>
<
!--
<van-image
width=
"100"
height=
"100"
@
click=
"imgClick('https://img.yzcdn.cn/vant/cat.jpeg')"
src=
"https://img.yzcdn.cn/vant/cat.jpeg"
/>
--
>
<
van-image
v-show=
"text!='' "
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"apis + text"
/
>
</
template
>
</
template
>
<
template
slot=
"noticeUrl"
slot-scope=
"text"
>
<
template
slot=
"noticeUrl"
slot-scope=
"text"
>
<
van-image
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"apis + text"
/
>
<
p
v-show=
"text=='' "
>
无
</p
>
<
!--
<van-image
width=
"100"
height=
"100"
@
click=
"imgClick('https://img.yzcdn.cn/vant/cat.jpeg')"
src=
"https://img.yzcdn.cn/vant/cat.jpeg"
/>
--
>
<
van-image
v-show=
"text!='' "
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"apis + text"
/
>
</
template
>
</
template
>
<
template
slot=
"otherUrl"
slot-scope=
"text"
>
<
template
slot=
"otherUrl"
slot-scope=
"text"
>
<
!--
<van-image
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"apis + text"
/>
--
>
<
p
v-show=
"text=='' "
>
无
</p
>
<van-image
width=
"100"
height=
"100"
@
click=
"imgClick('https://img.yzcdn.cn/vant/cat.jpeg')"
src=
"https://img.yzcdn.cn/vant/cat.jpeg
"
/>
<van-image
v-show=
"text!='' "
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"apis + text
"
/>
</
template
>
</
template
>
<!--<template slot="operation" slot-scope="text,record">
<!--<template slot="operation" slot-scope="text,record">
<span>
<span>
...
@@ -181,14 +181,14 @@
...
@@ -181,14 +181,14 @@
<a-form-item
label=
"联系号码"
>
{{Formtable.linkPhone}}
</a-form-item>
<a-form-item
label=
"联系号码"
>
{{Formtable.linkPhone}}
</a-form-item>
<a-form-item
label=
"上传资料时间"
>
{{Formtable.uploadDate | dayjs}}
</a-form-item>
<a-form-item
label=
"上传资料时间"
>
{{Formtable.uploadDate | dayjs}}
</a-form-item>
<br>
<br>
<a-form-item
label=
"
上传图片1
:"
>
<a-form-item
label=
"
学生证封面照片
:"
>
<a
v-show=
"Formtable.studentCardUrl != '' "
href=
"javascript:void(0);"
@
click=
"imgClick(
'https://img.yzcdn.cn/vant/cat.jpeg'
)"
>
点击查看
</a>
<a
v-show=
"Formtable.studentCardUrl != '' "
href=
"javascript:void(0);"
@
click=
"imgClick(
Formtable.studentCardUrl
)"
>
点击查看
</a>
</a-form-item>
</a-form-item>
<a-form-item
label=
"
上传图片2
"
>
<a-form-item
label=
"
学生证内页照片
"
>
<a
v-show=
"Formtable.
otherImgUrl1 != '' "
href=
"javascript:void(0);"
@
click=
"imgClick('https://img.yzcdn.cn/vant/cat.jpeg'
)"
>
点击查看
</a>
<a
v-show=
"Formtable.
schoolCardUrl != '' "
href=
"javascript:void(0);"
@
click=
"imgClick(Formtable.schoolCardUrl
)"
>
点击查看
</a>
</a-form-item>
</a-form-item>
<a-form-item
label=
"
上传图片3
"
>
<a-form-item
label=
"
录取通知书照片
"
>
<a
v-show=
"Formtable.
otherImgUrl2 != '' "
href=
"javascript:void(0);"
@
click=
"imgClick('https://img.yzcdn.cn/vant/cat.jpeg'
)"
>
点击查看
</a>
<a
v-show=
"Formtable.
noticeUrl != '' "
href=
"javascript:void(0);"
@
click=
"imgClick(Formtable.noticeUrl
)"
>
点击查看
</a>
</a-form-item>
</a-form-item>
<br>
<br>
<a-form-item
label=
"是否审核通过"
>
<a-form-item
label=
"是否审核通过"
>
...
@@ -206,13 +206,12 @@
...
@@ -206,13 +206,12 @@
<
script
>
<
script
>
import
STable
from
'@/components/table'
;
import
STable
from
'@/components/table'
;
import
ImportBtn
from
"../../../components/sysmanage/ImportBtn"
;
import
ImportBtn
from
"../../../components/sysmanage/ImportBtn"
;
import
{
list
,
excelOut
,
update
}
from
"../../../api/school-center/uploadVerify/studentdwkVerifyKpiAPI"
import
{
list
,
excelOut
,
update
,
queryById
}
from
"../../../api/school-center/uploadVerify/studentdwkVerifyKpiAPI"
import
{
cloneObject
,
exportFile
}
from
'@/utils/util'
;
import
{
cloneObject
,
exportFile
}
from
'@/utils/util'
;
import
ConstantActivity
from
"@/constant/ConstantActivity"
;
import
ConstantActivity
from
"@/constant/ConstantActivity"
;
import
Vue
from
'vue'
;
import
Vue
from
'vue'
;
import
moment
from
"moment"
;
import
moment
from
"moment"
;
import
{
DatetimePicker
,
Dialog
}
from
'vant'
;
import
{
DatetimePicker
,
Dialog
}
from
'vant'
;
import
{
queryById
}
from
"../../../api/school-center/uploadVerify/studentdwkVerifyKpiAPI"
;
import
{
Image
as
VanImage
}
from
'vant'
;
import
{
Image
as
VanImage
}
from
'vant'
;
Vue
.
use
(
VanImage
);
Vue
.
use
(
VanImage
);
...
@@ -237,9 +236,9 @@
...
@@ -237,9 +236,9 @@
uploadDate
:
''
,
uploadDate
:
''
,
auditDate
:
''
,
auditDate
:
''
,
studentCardUrl
:
''
,
studentCardUrl
:
''
,
otherImgUrl1
:
''
,
schoolCardUrl
:
''
,
otherImgUrl2
:
''
,
noticeUrl
:
''
,
other
ImgUrl3
:
''
,
other
Url
:
''
,
},
},
title
:
ConstantActivity
.
title
,
title
:
ConstantActivity
.
title
,
queryParam
:
{
queryParam
:
{
...
@@ -260,7 +259,7 @@
...
@@ -260,7 +259,7 @@
{
dataIndex
:
'auditState'
,
width
:
100
,
title
:
'是否通过审核'
,
ellipsis
:
true
,
scopedSlots
:
{
customRender
:
"auditState"
}},
{
dataIndex
:
'auditState'
,
width
:
100
,
title
:
'是否通过审核'
,
ellipsis
:
true
,
scopedSlots
:
{
customRender
:
"auditState"
}},
{
dataIndex
:
'studentCardUrl'
,
width
:
180
,
title
:
'学生证封面照片'
,
scopedSlots
:
{
customRender
:
"studentCardUrl"
}},
{
dataIndex
:
'studentCardUrl'
,
width
:
180
,
title
:
'学生证封面照片'
,
scopedSlots
:
{
customRender
:
"studentCardUrl"
}},
{
dataIndex
:
'schoolCardUrl'
,
width
:
180
,
title
:
'学生证内页照片'
,
scopedSlots
:
{
customRender
:
"schoolCardUrl"
}},
{
dataIndex
:
'schoolCardUrl'
,
width
:
180
,
title
:
'学生证内页照片'
,
scopedSlots
:
{
customRender
:
"schoolCardUrl"
}},
{
dataIndex
:
'noticeUrl'
,
width
:
180
,
title
:
'
身份证
照片'
,
scopedSlots
:
{
customRender
:
"noticeUrl"
}},
{
dataIndex
:
'noticeUrl'
,
width
:
180
,
title
:
'
录取通知书
照片'
,
scopedSlots
:
{
customRender
:
"noticeUrl"
}},
{
dataIndex
:
'otherUrl'
,
width
:
180
,
title
:
'补充照片'
,
scopedSlots
:
{
customRender
:
"otherUrl"
}},
{
dataIndex
:
'otherUrl'
,
width
:
180
,
title
:
'补充照片'
,
scopedSlots
:
{
customRender
:
"otherUrl"
}},
{
dataIndex
:
'uploadDate'
,
width
:
100
,
title
:
'上传时间'
,
scopedSlots
:
{
customRender
:
"uploadDate"
}},
{
dataIndex
:
'uploadDate'
,
width
:
100
,
title
:
'上传时间'
,
scopedSlots
:
{
customRender
:
"uploadDate"
}},
{
dataIndex
:
'agentBusinessman'
,
width
:
60
,
title
:
'代理商'
},
{
dataIndex
:
'agentBusinessman'
,
width
:
60
,
title
:
'代理商'
},
...
@@ -306,7 +305,6 @@
...
@@ -306,7 +305,6 @@
methods
:
{
methods
:
{
moment
,
moment
,
start
(
auditState
)
{
start
(
auditState
)
{
console
.
log
(
auditState
);
if
(
this
.
selectedRowKeys
.
length
==
0
){
if
(
this
.
selectedRowKeys
.
length
==
0
){
this
.
$message
.
error
(
"请勾选审核项!!!"
);
this
.
$message
.
error
(
"请勾选审核项!!!"
);
return
;
return
;
...
@@ -321,21 +319,12 @@
...
@@ -321,21 +319,12 @@
this
.
Formtable
.
uploadDate
=
res
.
data
.
uploadDate
this
.
Formtable
.
uploadDate
=
res
.
data
.
uploadDate
this
.
Formtable
.
auditDate
=
res
.
data
.
auditDate
this
.
Formtable
.
auditDate
=
res
.
data
.
auditDate
this
.
Formtable
.
studentCardUrl
=
res
.
data
.
studentCardUrl
this
.
Formtable
.
studentCardUrl
=
res
.
data
.
studentCardUrl
this
.
Formtable
.
otherImgUrl1
=
res
.
data
.
otherImgUrl1
this
.
Formtable
.
schoolCardUrl
=
res
.
data
.
schoolCardUrl
this
.
Formtable
.
otherImgUrl2
=
res
.
data
.
otherImgUrl2
this
.
Formtable
.
noticeUrl
=
res
.
data
.
noticeUrl
this
.
Formtable
.
other
ImgUrl3
=
res
.
data
.
otherImgUrl3
this
.
Formtable
.
other
Url
=
res
.
data
.
otherUrl
this
.
Formtable
.
auditState
=
'是'
this
.
Formtable
.
auditState
=
'是'
if
(
res
.
data
.
auditState
!=
1
){
if
(
res
.
data
.
auditState
!=
1
){
Dialog
.
confirm
({
this
.
modifyvisible
=
true
;
title
:
'提示'
,
message
:
'已审核过,是否重新审核???'
,
}).
then
(()
=>
{
this
.
modifyvisible
=
true
;
}).
catch
(()
=>
{
this
.
modifyvisible
=
false
;
this
.
Formtable
=
[];
return
;
});
}
else
{
}
else
{
this
.
modifyvisible
=
true
;
this
.
modifyvisible
=
true
;
}
}
...
...
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