| | |
| | | <template> |
| | | <div v-if="pdfUrl"> |
| | | <div> |
| | | <el-row class="p-3 m-0" justify="space-between" align="middle"> |
| | | <el-col :span="4"></el-col> |
| | | <el-col :span="16"> |
| | |
| | | <div v-if="pdfUrl" :style="{width: '100%', height: `${mainHeight - 100}px`}"> |
| | | <PdfPreview v-if="pdfUrl" :url="pdfUrl"></PdfPreview> |
| | | </div> |
| | | <el-text class="ml-2 text-info">考点申报文件加载失败...</el-text> |
| | | <div class="p-2 my-4"> |
| | | <el-form ref="verifyForm" :model="form"> |
| | | <el-form-item label="*以上申报内容是否属实" prop="isVerified"> |
| | |
| | | this.$axios.get('/exam/verify-record/get-by-application-id', { params }).then(res => { |
| | | if (res.data.code == 0) { |
| | | const resData = res.data.data || {} |
| | | this.pdfUrl = this.$qxueyou.qxyRes + resData.examSiteVerifyFile |
| | | this.pdfUrl = resData.examSiteVerifyFile ? this.$qxueyou.qxyRes + resData.examSiteVerifyFile : '' |
| | | this.title = resData.organizationName + '-' + resData.examSite.siteName + '考点核验' |
| | | if (resData.id) { |
| | | this.form.isContentTrue = resData.isContentTrue |