| | |
| | | </el-table-column> |
| | | <el-table-column label="专家聘书" align="center" prop="expertCertificate"> |
| | | <template #default="scope"> |
| | | <div class="demo-image__preview" v-if="scope.row.expertCertificate && scope.row.expertCertificate!==''"> |
| | | <el-image |
| | | style="width: 100px; height: 100px" |
| | | :src= "scope.row.expertCertificate" |
| | | :zoom-rate="1.2" |
| | | :max-scale="7" |
| | | :min-scale="0.2" |
| | | :preview-src-list="[scope.row.expertCertificate]" |
| | | :initial-index="0" |
| | | fit="cover" |
| | | :preview-teleported=true |
| | | /> |
| | | </div> |
| | | <el-button type="primary" link @click="viewCert(scope.row)">查看</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" align="center" fixed="right" class-name="small-padding fixed-width"> |
| | |
| | | import {ElMessage, ElMessageBox} from "element-plus"; |
| | | import ExpertForm from "../applyRecords/components/expertForm"; |
| | | import {delExpert, getExpertsList, getExpertTypes} from "../../../../api/form"; |
| | | import { Plus } from '@element-plus/icons-vue' |
| | | |
| | | import {useRouter} from "vue-router"; |
| | | const router = useRouter(); |
| | | const loading = ref(false); |
| | | const data = reactive({ |
| | | showSearch: true, |
| | |
| | | return null; |
| | | } |
| | | |
| | | const viewCert=(info)=>{ |
| | | const routePath = '/certPdf'; |
| | | const resolvedRoute = router.resolve(routePath); |
| | | const queryString = new URLSearchParams(info).toString(); |
| | | const fullPath = `${resolvedRoute.href}?${queryString}`; |
| | | window.open(fullPath, '_blank'); |
| | | } |
| | | |
| | | const getSupport =(safety,prevention,emergency)=>{ |
| | | let str = [] |
| | | let safeArr = safety?.split(',') |