| | |
| | | </el-table-column> |
| | | <el-table-column label="聘书有效时间" align="center" prop=""> |
| | | <template #default="scope"> |
| | | {{scope.row.employmentDateStart}}/{{scope.row.employmentDateEnd}} |
| | | <span v-if="scope.row.state == 2">{{scope.row.employmentDateStart}}/{{scope.row.employmentDateEnd}}</span> |
| | | <span v-else>--</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="专家聘书" align="center" prop="expertCertificate"> |
| | | <template #default="scope"> |
| | | <el-button type="primary" link @click="viewCert(scope.row)">查看</el-button> |
| | | <span v-if="scope.row.state == 2"><el-button type="primary" link @click="viewCert(scope.row)">查看</el-button></span> |
| | | <span v-else>--</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" align="center" fixed="right" class-name="small-padding fixed-width"> |
| | |
| | | } |
| | | |
| | | 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'); |
| | | console.log(info,'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)=>{ |