fix:exam/examRecord userExam

This commit is contained in:
zty 2024-06-13 17:10:39 +08:00
parent 73f4d2508d
commit 2f067ff199
2 changed files with 6 additions and 2 deletions

View File

@ -90,6 +90,9 @@
<img v-if="scope.row.cert_path" :src="scope.row.cert_path" @click="handlePictureCardPreview(scope.row.cert_path)" alt="图片" height="30" width="50"/> <img v-if="scope.row.cert_path" :src="scope.row.cert_path" @click="handlePictureCardPreview(scope.row.cert_path)" alt="图片" height="30" width="50"/>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="left" label="单位名称">
<template slot-scope="scope">{{ scope.row.blong_dept_name }}</template>
</el-table-column>
<el-table-column align="left" label="考试时间"> <el-table-column align="left" label="考试时间">
<template slot-scope="scope">{{ scope.row.create_time }}</template> <template slot-scope="scope">{{ scope.row.create_time }}</template>
</el-table-column> </el-table-column>

View File

@ -330,6 +330,9 @@ export default {
// roles: [], // roles: [],
saveLoading:false, saveLoading:false,
fileList: [], fileList: [],
impForm:{
file:''
},
impDialogVisible: false, impDialogVisible: false,
listLoading: true, listLoading: true,
downloadUrl: process.env.VUE_APP_BASE_API, downloadUrl: process.env.VUE_APP_BASE_API,
@ -414,11 +417,9 @@ export default {
this.impForm.file = ''; this.impForm.file = '';
}, },
handleUpSuccess(res, file, filelist) { handleUpSuccess(res, file, filelist) {
this.Content.file = res.data.id;
this.impForm.file = res.data.path; this.impForm.file = res.data.path;
}, },
handleRemove(file, filelist) { handleRemove(file, filelist) {
this.Content.file = null;
this.impForm.file = ''; this.impForm.file = '';
}, },
handlePreview(file) { handlePreview(file) {