Commit 8da03f91 by 彭祥礼

。。。

parent 4f7ef4aa
......@@ -132,19 +132,20 @@
</template>
<template slot="studentCardUrl" slot-scope="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" />-->
<p v-show="text=='' "></p>
<van-image v-show="text!='' " width="100" height="100" @click="imgClick(text)" :src="apis + text" />
</template>
<template slot="otherImgUrl1" slot-scope="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" />-->
<p v-show="text=='' "></p>
<van-image v-show="text!='' " width="100" height="100" @click="imgClick(text)" :src="apis + text" />
</template>
<template slot="otherImgUrl2" slot-scope="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" />-->
<p v-show="text=='' "></p>
<van-image v-show="text!='' " width="100" height="100" @click="imgClick(text)" :src="apis + text" />
</template>
<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 slot="operation" slot-scope="text,record">
<span>
......@@ -177,14 +178,17 @@
<a-form-item label="联系号码">{{Formtable.linkPhone}}</a-form-item>
<a-form-item label="上传资料时间">{{Formtable.uploadDate | dayjs}}</a-form-item>
<br>
<a-form-item label="上传图片1:">
<van-image width="100" height="100" @click="imgClick(Formtable.studentCardUrl)" :src="apis + Formtable.studentCardUrl" />
<a-form-item label="学生证封面照片:">
<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 label="上传图片2">
<van-image width="100" height="100" @click="imgClick(Formtable.otherImgUrl1)" :src="apis + Formtable.otherImgUrl1" />
<a-form-item label="学生证内页照片">
<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 label="上传图片3">
<van-image width="100" height="100" @click="imgClick(Formtable.otherImgUrl2)" :src="apis + Formtable.otherImgUrl2" />
<a-form-item label="身份证照片">
<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>
<br>
<a-form-item label="是否审核通过">
......
......@@ -135,20 +135,20 @@
<p v-else=""></p>
</template>
<template slot="studentCardUrl" slot-scope="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" />-->
<p v-show="text=='' "></p>
<van-image v-show="text!='' " width="100" height="100" @click="imgClick(text)" :src="apis + text" />
</template>
<template slot="schoolCardUrl" slot-scope="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" />-->
<p v-show="text=='' "></p>
<van-image v-show="text!='' " width="100" height="100" @click="imgClick(text)" :src="apis + text" />
</template>
<template slot="noticeUrl" slot-scope="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" />-->
<p v-show="text=='' "></p>
<van-image v-show="text!='' " width="100" height="100" @click="imgClick(text)" :src="apis + text" />
</template>
<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('https://img.yzcdn.cn/vant/cat.jpeg')" src="https://img.yzcdn.cn/vant/cat.jpeg" />
<p v-show="text=='' "></p>
<van-image v-show="text!='' " width="100" height="100" @click="imgClick(text)" :src="apis + text" />
</template>
<!--<template slot="operation" slot-scope="text,record">
<span>
......@@ -181,14 +181,14 @@
<a-form-item label="联系号码">{{Formtable.linkPhone}}</a-form-item>
<a-form-item label="上传资料时间">{{Formtable.uploadDate | dayjs}}</a-form-item>
<br>
<a-form-item label="上传图片1:">
<a v-show="Formtable.studentCardUrl != '' " href="javascript:void(0);" @click="imgClick('https://img.yzcdn.cn/vant/cat.jpeg')">点击查看</a>
<a-form-item label="学生证封面照片:">
<a v-show="Formtable.studentCardUrl != '' " href="javascript:void(0);" @click="imgClick(Formtable.studentCardUrl)">点击查看</a>
</a-form-item>
<a-form-item label="上传图片2">
<a v-show="Formtable.otherImgUrl1 != '' " href="javascript:void(0);" @click="imgClick('https://img.yzcdn.cn/vant/cat.jpeg')">点击查看</a>
<a-form-item label="学生证内页照片">
<a v-show="Formtable.schoolCardUrl != '' " href="javascript:void(0);" @click="imgClick(Formtable.schoolCardUrl)">点击查看</a>
</a-form-item>
<a-form-item label="上传图片3">
<a v-show="Formtable.otherImgUrl2 != '' " href="javascript:void(0);" @click="imgClick('https://img.yzcdn.cn/vant/cat.jpeg')">点击查看</a>
<a-form-item label="录取通知书照片">
<a v-show="Formtable.noticeUrl != '' " href="javascript:void(0);" @click="imgClick(Formtable.noticeUrl)">点击查看</a>
</a-form-item>
<br>
<a-form-item label="是否审核通过">
......@@ -206,13 +206,12 @@
<script>
import STable from '@/components/table';
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 ConstantActivity from "@/constant/ConstantActivity";
import Vue from 'vue';
import moment from "moment";
import {DatetimePicker,Dialog} from 'vant';
import {queryById} from "../../../api/school-center/uploadVerify/studentdwkVerifyKpiAPI";
import { Image as VanImage } from 'vant';
Vue.use(VanImage);
......@@ -237,9 +236,9 @@
uploadDate: '',
auditDate: '',
studentCardUrl: '',
otherImgUrl1: '',
otherImgUrl2: '',
otherImgUrl3: '',
schoolCardUrl: '',
noticeUrl: '',
otherUrl: '',
},
title: ConstantActivity.title,
queryParam: {
......@@ -260,7 +259,7 @@
{ dataIndex: 'auditState',width: 100,title: '是否通过审核',ellipsis: true,scopedSlots: {customRender: "auditState"}},
{dataIndex: 'studentCardUrl', width: 180, title: '学生证封面照片', scopedSlots: {customRender: "studentCardUrl"}},
{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: 'uploadDate', width: 100, title: '上传时间', scopedSlots: {customRender: "uploadDate"}},
{dataIndex: 'agentBusinessman', width: 60, title: '代理商'},
......@@ -306,7 +305,6 @@
methods: {
moment,
start(auditState) {
console.log(auditState);
if(this.selectedRowKeys.length == 0){
this.$message.error("请勾选审核项!!!");
return;
......@@ -321,21 +319,12 @@
this.Formtable.uploadDate = res.data.uploadDate
this.Formtable.auditDate = res.data.auditDate
this.Formtable.studentCardUrl = res.data.studentCardUrl
this.Formtable.otherImgUrl1 = res.data.otherImgUrl1
this.Formtable.otherImgUrl2 = res.data.otherImgUrl2
this.Formtable.otherImgUrl3 = res.data.otherImgUrl3
this.Formtable.schoolCardUrl = res.data.schoolCardUrl
this.Formtable.noticeUrl = res.data.noticeUrl
this.Formtable.otherUrl = res.data.otherUrl
this.Formtable.auditState = '是'
if(res.data.auditState != 1){
Dialog.confirm({
title: '提示',
message: '已审核过,是否重新审核???',
}).then(() => {
this.modifyvisible = true;
}).catch(() => {
this.modifyvisible = false;
this.Formtable = [];
return;
});
}else{
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