|
|
|
|
@ -16,7 +16,7 @@
|
|
|
|
|
<lx-header icon="" text="个人信息" style="margin-bottom: 10px; border: 0px; margin-top: 15px">
|
|
|
|
|
</lx-header>
|
|
|
|
|
<div>
|
|
|
|
|
<el-descriptions class="margin-top" :column="3" border>
|
|
|
|
|
<el-descriptions class="margin-top" :column="2" border>
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
<template slot="label">
|
|
|
|
|
姓名
|
|
|
|
|
@ -104,19 +104,32 @@
|
|
|
|
|
style="margin-bottom: 10px; border: 0px; margin-top: 15px">
|
|
|
|
|
</lx-header>
|
|
|
|
|
<div v-if="type==='check' || type==='checkshow'">
|
|
|
|
|
<el-descriptions class="margin-top" :column="3" border>
|
|
|
|
|
<el-descriptions-item v-for="item in sign_info">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
{{item.name}}
|
|
|
|
|
</template>
|
|
|
|
|
{{item.value}}
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions class="margin-top" :column="2" border>
|
|
|
|
|
<template v-for="item in sign_info">
|
|
|
|
|
<el-descriptions-item :span="2" v-if="item.submit_files && item.submit_files.length>0">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
{{item.name}}
|
|
|
|
|
</template>
|
|
|
|
|
<div>
|
|
|
|
|
<template v-for="file in item.submit_files">
|
|
|
|
|
<img style="width:100px;margin:10px" :src="host+file"></img>
|
|
|
|
|
</template>
|
|
|
|
|
</div>
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item v-else>
|
|
|
|
|
<template slot="label">
|
|
|
|
|
{{item.name}}
|
|
|
|
|
</template>
|
|
|
|
|
{{item.value}}
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</el-descriptions>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<lx-header icon="" text="审核结果" style="margin-bottom: 10px; border: 0px; margin-top: 15px">
|
|
|
|
|
<lx-header v-if="type=='checkshow' || type=='check'" icon="" text="审核结果" style="margin-bottom: 10px; border: 0px; margin-top: 15px">
|
|
|
|
|
</lx-header>
|
|
|
|
|
|
|
|
|
|
<div v-if="type=='checkshow'">
|
|
|
|
|
@ -131,8 +144,8 @@
|
|
|
|
|
<span>评分:</span>
|
|
|
|
|
<span>{{sign_result.score}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="display: flex;">
|
|
|
|
|
<span>附件:</span>
|
|
|
|
|
<div style="display: flex;" v-if="sign_result.status===1">
|
|
|
|
|
<span>录取通知书:</span>
|
|
|
|
|
<div>
|
|
|
|
|
<div v-for="item in sign_result.files">
|
|
|
|
|
<a :href="item.url" target="_blank" style="color:#0077CC">{{item.original_name}}</a>
|
|
|
|
|
@ -142,7 +155,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<span>备注:</span>
|
|
|
|
|
<span>{{sign_result.reason}}</span>
|
|
|
|
|
<span>{{sign_result.reason?sign_result.reason:''}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@ -176,15 +189,18 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:file_ids v-if="type=='check'">
|
|
|
|
|
<template v-slot:file_ids v-if="type=='check' && form.status===1">
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label" style="font-weight: bold">
|
|
|
|
|
<span style="color: red;font-weight: bold;padding-right: 4px;"></span>附件:
|
|
|
|
|
<span style="color: red;font-weight: bold;padding-right: 4px;"></span>录取通知书:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-upload :action="action" class='upload-demo' :file-list="fileList"
|
|
|
|
|
ref="pictureUpload" :auto-upload="true" :on-success="uploadSuccess" :on-remove="uploadRemove">
|
|
|
|
|
<el-button size="small" type="primary">点击上传</el-button>
|
|
|
|
|
ref="pictureUpload" :auto-upload="true"
|
|
|
|
|
accept=".xls, .ppt, .pdf, .docx, .xlsx, .pptx"
|
|
|
|
|
:limit="1" :on-success="uploadSuccess" :on-remove="uploadRemove">
|
|
|
|
|
<el-button size="small" type="primary">点击上传</el-button>
|
|
|
|
|
<div class="el-upload__tip" slot="tip">只能上传xls/ppt/pdf/docx/xlsx/pptx文件</div>
|
|
|
|
|
</el-upload>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@ -204,9 +220,9 @@
|
|
|
|
|
<template v-slot:footerContent>
|
|
|
|
|
<el-button type="primary" style='margin-left:5px;margin-bottom:5px;' v-if="type=='check'"
|
|
|
|
|
@click="submit">确认</el-button>
|
|
|
|
|
<el-button type="primary" plain style='margin-left:5px;margin-bottom:5px;' v-if="type=='check'"
|
|
|
|
|
<el-button type="primary" plain style='margin-left:5px;margin-bottom:5px;' v-else-if="type=='check'"
|
|
|
|
|
@click="isShow=false">取消</el-button>
|
|
|
|
|
<el-button type="primary" plain style='margin-left:5px;margin-bottom:5px;' v-if="type=='show'"
|
|
|
|
|
<el-button type="primary" plain style='margin-left:5px;margin-bottom:5px;' v-else-if="type=='show'||type=='checkshow'"
|
|
|
|
|
@click="isShow=false">关闭</el-button>
|
|
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
@ -237,7 +253,8 @@
|
|
|
|
|
type: 'show',
|
|
|
|
|
typeName: '查看个人明细',
|
|
|
|
|
id: '',
|
|
|
|
|
action: `${process.env.VUE_APP_UPLOAD_API}`,
|
|
|
|
|
action: `${process.env.VUE_APP_UPLOAD_API}`,
|
|
|
|
|
host:`${process.env.VUE_APP_BASE_API}`,
|
|
|
|
|
subjectObj: {},
|
|
|
|
|
student_info: {},
|
|
|
|
|
row: {},
|
|
|
|
|
@ -260,7 +277,14 @@
|
|
|
|
|
},
|
|
|
|
|
uploadRemove(file, fileList) {
|
|
|
|
|
this.fileList = fileList
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
// beforeUpload(file) {
|
|
|
|
|
// const isImage = file.type.includes('image');
|
|
|
|
|
// if (!isImage) {
|
|
|
|
|
// this.$message.error('请上传正确的图片格式文件');
|
|
|
|
|
// }
|
|
|
|
|
// return isImage && isLt2M;
|
|
|
|
|
// },
|
|
|
|
|
submit() {
|
|
|
|
|
if (this.id) {
|
|
|
|
|
this.form.id = this.id
|
|
|
|
|
@ -305,8 +329,16 @@
|
|
|
|
|
show_relation: ['user']
|
|
|
|
|
}).then(res => {
|
|
|
|
|
this.student_info = res.user
|
|
|
|
|
this.sign_result = res
|
|
|
|
|
this.sign_info = res.data
|
|
|
|
|
this.sign_result = res
|
|
|
|
|
if(res.data && Array.isArray(res.data)){
|
|
|
|
|
res.data.map(item=>{
|
|
|
|
|
if(!this.base.isNull(item.value) && item.value.indexOf("/storage/files/")!==-1){
|
|
|
|
|
item.submit_files = item.value.split(",")
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
this.sign_info = res.data
|
|
|
|
|
console.log("this.sign_info",this.sign_info)
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|