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