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
967cc8ac
Commit
967cc8ac
authored
May 22, 2020
by
彭祥礼
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
证件稽核页面调整
parent
edb8b901
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
101 additions
and
54 deletions
+101
-54
src/views/school-center/uploadVerify/studentCardVerify.vue
+47
-24
src/views/school-center/uploadVerify/studentdwkVerify.vue
+54
-30
No files found.
src/views/school-center/uploadVerify/studentCardVerify.vue
View file @
967cc8ac
...
@@ -178,17 +178,17 @@
...
@@ -178,17 +178,17 @@
<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=
"上传图片1:"
>
<
a
v-show=
"Formtable.studentCardUrl != '' "
href=
"javascript:void(0);"
@
click=
"imgClick('https://img.yzcdn.cn/vant/cat.jpeg')"
>
点击查看
</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=
"上传图片2"
>
<
a
v-show=
"Formtable.otherImgUrl1 != '' "
href=
"javascript:void(0);"
@
click=
"imgClick('https://img.yzcdn.cn/vant/cat.jpeg')"
>
点击查看
</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=
"上传图片3"
>
<
a
v-show=
"Formtable.otherImgUrl2 != '' "
href=
"javascript:void(0);"
@
click=
"imgClick('https://img.yzcdn.cn/vant/cat.jpeg')"
>
点击查看
</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=
"是否审核通过"
>
<a-select
v-model=
"
Formtable.auditS
tate"
style=
"width: 8rem;"
>
<a-select
v-model=
"
temps
tate"
style=
"width: 8rem;"
>
<a-select-option
key=
"是"
>
是
</a-select-option>
<a-select-option
key=
"是"
>
是
</a-select-option>
<a-select-option
key=
"否"
>
否
</a-select-option>
<a-select-option
key=
"否"
>
否
</a-select-option>
<a-select-option
key=
"无效"
>
无效
</a-select-option>
<a-select-option
key=
"无效"
>
无效
</a-select-option>
...
@@ -202,13 +202,12 @@
...
@@ -202,13 +202,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/studentCardVerifyAPI"
import
{
list
,
excelOut
,
update
,
queryById
}
from
"@/api/school-center/studentCardVerifyAPI"
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/studentdwkVerifyKpiAPI"
;
import
{
Image
as
VanImage
}
from
'vant'
;
import
{
Image
as
VanImage
}
from
'vant'
;
Vue
.
use
(
VanImage
);
Vue
.
use
(
VanImage
);
...
@@ -237,6 +236,7 @@
...
@@ -237,6 +236,7 @@
otherImgUrl2
:
''
,
otherImgUrl2
:
''
,
otherImgUrl3
:
''
,
otherImgUrl3
:
''
,
},
},
tempstate
:
''
,
title
:
ConstantActivity
.
title
,
title
:
ConstantActivity
.
title
,
queryParam
:
{
queryParam
:
{
userName
:
''
,
userName
:
''
,
...
@@ -304,7 +304,7 @@
...
@@ -304,7 +304,7 @@
},
},
tempMode
:
[
'month'
,
'month'
],
tempMode
:
[
'month'
,
'month'
],
apis
:
'img/'
,
apis
:
'img/'
,
imgInfo
:
''
,
imgInfo
:
''
,
//require("../../../assets/img/previewAvatar.jpg"),
visiblepicture
:
false
,
visiblepicture
:
false
,
selectedRowKeys
:
[],
selectedRowKeys
:
[],
hasSelected
:
false
,
hasSelected
:
false
,
...
@@ -347,21 +347,15 @@
...
@@ -347,21 +347,15 @@
this
.
Formtable
.
otherImgUrl1
=
res
.
data
.
otherImgUrl1
this
.
Formtable
.
otherImgUrl1
=
res
.
data
.
otherImgUrl1
this
.
Formtable
.
otherImgUrl2
=
res
.
data
.
otherImgUrl2
this
.
Formtable
.
otherImgUrl2
=
res
.
data
.
otherImgUrl2
this
.
Formtable
.
otherImgUrl3
=
res
.
data
.
otherImgUrl3
this
.
Formtable
.
otherImgUrl3
=
res
.
data
.
otherImgUrl3
this
.
Formtable
.
auditState
=
'是'
this
.
Formtable
.
auditState
=
res
.
data
.
auditState
if
(
res
.
data
.
auditState
!=
1
){
if
(
res
.
data
.
auditState
==
1
||
res
.
data
.
auditState
==
2
){
Dialog
.
confirm
({
this
.
tempstate
=
'是'
title
:
'提示'
,
}
else
if
(
res
.
data
.
auditState
==
3
){
message
:
'已审核过,是否重新审核???'
,
this
.
tempstate
=
'否'
}).
then
(()
=>
{
}
else
if
(
res
.
data
.
auditState
==
4
){
this
.
modifyvisible
=
true
;
this
.
tempstate
=
'无效'
}).
catch
(()
=>
{
this
.
modifyvisible
=
false
;
this
.
Formtable
=
[];
return
;
});
}
else
{
this
.
modifyvisible
=
true
;
}
}
this
.
modifyvisible
=
true
;
}
}
})
})
}
else
{
}
else
{
...
@@ -415,6 +409,27 @@
...
@@ -415,6 +409,27 @@
},
},
createfunctionOk
()
{
createfunctionOk
()
{
this
.
selectedRowKeys
=
[]
this
.
selectedRowKeys
.
push
(
this
.
Formtable
.
id
);
if
(
this
.
tempstate
==
'是'
){
this
.
Formtable
.
auditState
=
2
}
else
if
(
this
.
tempstate
==
'否'
){
this
.
Formtable
.
auditState
==
3
}
else
if
(
this
.
tempstate
==
'无效'
){
this
.
Formtable
.
auditState
=
4
}
update
({
'ids'
:
this
.
selectedRowKeys
,
'state'
:
this
.
Formtable
.
auditState
}).
then
(
res
=>
{
if
(
res
.
state
!==
'success'
)
{
this
.
$message
.
error
(
"审核失败!"
,
5
);
}
else
{
setTimeout
(()
=>
{
this
.
loading
=
false
;
this
.
selectedRowKeys
=
[];
},
1000
);
this
.
hasSelected
=
true
;
this
.
$refs
.
table
.
refresh
({
search
:
true
})
}
})
this
.
modifyvisible
=
false
this
.
modifyvisible
=
false
this
.
clearmodel
();
this
.
clearmodel
();
},
},
...
@@ -423,9 +438,17 @@
...
@@ -423,9 +438,17 @@
this
.
clearmodel0
();
this
.
clearmodel0
();
},
},
clearmodel
()
{
clearmodel
()
{
this
.
importTile
=
""
;
this
.
Formtable
.
id
=
''
this
.
zjlmoBan
=
false
;
this
.
Formtable
.
userName
=
''
this
.
importUrl
=
""
;
this
.
Formtable
.
orderPhone
=
''
this
.
Formtable
.
linkPhone
=
''
this
.
Formtable
.
uploadDate
=
''
this
.
Formtable
.
auditDate
=
''
this
.
Formtable
.
studentCardUrl
=
''
this
.
Formtable
.
otherImgUrl1
=
''
this
.
Formtable
.
otherImgUrl2
=
''
this
.
Formtable
.
otherImgUrl3
=
''
this
.
Formtable
.
auditState
==
''
},
},
search
()
{
search
()
{
console
.
log
(
"queryParam.month=================="
+
this
.
queryParam
);
console
.
log
(
"queryParam.month=================="
+
this
.
queryParam
);
...
...
src/views/school-center/uploadVerify/studentdwkVerify.vue
View file @
967cc8ac
...
@@ -147,8 +147,8 @@
...
@@ -147,8 +147,8 @@
<!--
<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
width=
"100"
height=
"100"
@
click=
"imgClick('https://img.yzcdn.cn/vant/cat.jpeg')"
src=
"https://img.yzcdn.cn/vant/cat.jpeg"
/>
-->
</
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"
/>
--
>
<
van-image
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"apis + text"
/
>
<
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
width=
"100"
height=
"100"
@
click=
"imgClick('https://img.yzcdn.cn/vant/cat.jpeg')"
src=
"https://img.yzcdn.cn/vant/cat.jpeg"
/>
--
>
</
template
>
</
template
>
<!--<template slot="operation" slot-scope="text,record">
<!--<template slot="operation" slot-scope="text,record">
<span>
<span>
...
@@ -182,17 +182,17 @@
...
@@ -182,17 +182,17 @@
<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=
"上传图片1:"
>
<
a
v-show=
"Formtable.studentCardUrl != '' "
href=
"javascript:void(0);"
@
click=
"imgClick('https://img.yzcdn.cn/vant/cat.jpeg')"
>
点击查看
</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=
"上传图片2"
>
<
a
v-show=
"Formtable.otherImgUrl1 != '' "
href=
"javascript:void(0);"
@
click=
"imgClick('https://img.yzcdn.cn/vant/cat.jpeg')"
>
点击查看
</a
>
<
van-image
width=
"100"
height=
"100"
@
click=
"imgClick(Formtable.schoolCardUrl)"
:src=
"apis + Formtable.schoolCardUrl"
/
>
</a-form-item>
</a-form-item>
<a-form-item
label=
"上传图片3"
>
<a-form-item
label=
"上传图片3"
>
<
a
v-show=
"Formtable.otherImgUrl2 != '' "
href=
"javascript:void(0);"
@
click=
"imgClick('https://img.yzcdn.cn/vant/cat.jpeg')"
>
点击查看
</a
>
<
van-image
width=
"100"
height=
"100"
@
click=
"imgClick(Formtable.schoolCardUrl)"
:src=
"apis + Formtable.noticeUrl"
/
>
</a-form-item>
</a-form-item>
<br>
<br>
<a-form-item
label=
"是否审核通过"
>
<a-form-item
label=
"是否审核通过"
>
<a-select
v-model=
"
Formtable.auditS
tate"
style=
"width: 8rem;"
>
<a-select
v-model=
"
temps
tate"
style=
"width: 8rem;"
>
<a-select-option
key=
"是"
>
是
</a-select-option>
<a-select-option
key=
"是"
>
是
</a-select-option>
<a-select-option
key=
"否"
>
否
</a-select-option>
<a-select-option
key=
"否"
>
否
</a-select-option>
<a-select-option
key=
"无效"
>
无效
</a-select-option>
<a-select-option
key=
"无效"
>
无效
</a-select-option>
...
@@ -237,10 +237,11 @@
...
@@ -237,10 +237,11 @@
uploadDate
:
''
,
uploadDate
:
''
,
auditDate
:
''
,
auditDate
:
''
,
studentCardUrl
:
''
,
studentCardUrl
:
''
,
otherImgUrl1
:
''
,
schoolCardUrl
:
''
,
otherImgUrl2
:
''
,
noticeUrl
:
''
,
other
ImgUrl3
:
''
,
other
Url
:
''
,
},
},
tempstate
:
''
,
title
:
ConstantActivity
.
title
,
title
:
ConstantActivity
.
title
,
queryParam
:
{
queryParam
:
{
userName
:
''
,
userName
:
''
,
...
@@ -297,7 +298,7 @@
...
@@ -297,7 +298,7 @@
},
},
tempMode
:
[
'month'
,
'month'
],
tempMode
:
[
'month'
,
'month'
],
apis
:
'img/'
,
apis
:
'img/'
,
imgInfo
:
''
,
imgInfo
:
''
,
//require("../../../assets/img/previewAvatar.jpg"),
visiblepicture
:
false
,
visiblepicture
:
false
,
selectedRowKeys
:
[],
selectedRowKeys
:
[],
hasSelected
:
false
,
hasSelected
:
false
,
...
@@ -321,24 +322,18 @@
...
@@ -321,24 +322,18 @@
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
.
otherImgUrl3
=
res
.
data
.
otherImgUrl3
this
.
Formtable
.
otherUrl
=
res
.
data
.
otherUrl
this
.
Formtable
.
auditState
=
'是'
this
.
Formtable
.
auditState
=
res
.
data
.
auditState
if
(
res
.
data
.
auditState
!=
1
){
if
(
res
.
data
.
auditState
==
1
||
res
.
data
.
auditState
==
2
){
Dialog
.
confirm
({
this
.
tempstate
=
'是'
title
:
'提示'
,
}
else
if
(
res
.
data
.
auditState
==
3
){
message
:
'已审核过,是否重新审核???'
,
this
.
tempstate
=
'否'
}).
then
(()
=>
{
}
else
if
(
res
.
data
.
auditState
==
4
){
this
.
modifyvisible
=
true
;
this
.
tempstate
=
'无效'
}).
catch
(()
=>
{
this
.
modifyvisible
=
false
;
this
.
Formtable
=
[];
return
;
});
}
else
{
this
.
modifyvisible
=
true
;
}
}
this
.
modifyvisible
=
true
;
}
}
})
})
}
else
{
}
else
{
...
@@ -395,6 +390,27 @@
...
@@ -395,6 +390,27 @@
},
},
createfunctionOk
()
{
createfunctionOk
()
{
this
.
selectedRowKeys
=
[]
this
.
selectedRowKeys
.
push
(
this
.
Formtable
.
id
);
if
(
this
.
tempstate
==
'是'
){
this
.
Formtable
.
auditState
=
2
}
else
if
(
this
.
tempstate
==
'否'
){
this
.
Formtable
.
auditState
==
3
}
else
if
(
this
.
tempstate
==
'无效'
){
this
.
Formtable
.
auditState
=
4
}
update
({
'ids'
:
this
.
selectedRowKeys
,
'state'
:
this
.
Formtable
.
auditState
}).
then
(
res
=>
{
if
(
res
.
state
!==
'success'
)
{
this
.
$message
.
error
(
"审核失败!"
,
5
);
}
else
{
setTimeout
(()
=>
{
this
.
loading
=
false
;
this
.
selectedRowKeys
=
[];
},
1000
);
this
.
hasSelected
=
true
;
this
.
$refs
.
table
.
refresh
({
search
:
true
})
}
})
this
.
modifyvisible
=
false
this
.
modifyvisible
=
false
this
.
clearmodel
();
this
.
clearmodel
();
},
},
...
@@ -403,9 +419,17 @@
...
@@ -403,9 +419,17 @@
this
.
clearmodel0
();
this
.
clearmodel0
();
},
},
clearmodel
()
{
clearmodel
()
{
this
.
importTile
=
""
;
this
.
Formtable
.
id
=
''
this
.
zjlmoBan
=
false
;
this
.
Formtable
.
userName
=
''
this
.
importUrl
=
""
;
this
.
Formtable
.
orderPhone
=
''
this
.
Formtable
.
linkPhone
=
''
this
.
Formtable
.
uploadDate
=
''
this
.
Formtable
.
auditDate
=
''
this
.
Formtable
.
studentCardUrl
=
''
this
.
Formtable
.
schoolCardUrl
=
''
this
.
Formtable
.
noticeUrl
=
''
this
.
Formtable
.
otherUrl
=
''
this
.
Formtable
.
auditState
==
''
},
},
search
()
{
search
()
{
console
.
log
(
"queryParam.month=================="
+
this
.
queryParam
);
console
.
log
(
"queryParam.month=================="
+
this
.
queryParam
);
...
...
彭祥礼
@pengxiangli
mentioned in commit
98115998
May 28, 2020
mentioned in commit
98115998
mentioned in commit 98115998b4ba8c03768767fb5e29dacc73d8956b
Toggle commit list
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