Commit 8da03f91 by 彭祥礼

。。。

parent 4f7ef4aa
...@@ -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="是否审核通过">
......
...@@ -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: '',
otherImgUrl3: '', otherUrl: '',
}, },
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.otherImgUrl3 = res.data.otherImgUrl3 this.Formtable.otherUrl = 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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment