| | |
| | | icon="el-icon-edit" |
| | | @click="openCert(scope.row,'view')" |
| | | >查看</el-button> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-edit" |
| | | @click="openSupplementary(scope.row,'view')" |
| | | >证书补档</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | @pagination="getPage" |
| | | /> |
| | | <certificate-dialog ref="certificate" @getList="getPage"></certificate-dialog> |
| | | <el-dialog title="证书补档" :visible.sync="supplementaryVisible" width="50%" append-to-body> |
| | | <div style="display: flex;flex-direction: column;align-items: center"> |
| | | <el-image |
| | | style="width: 100px; height: 100px" |
| | | :src="print" |
| | | fit="contain"></el-image> |
| | | <p style="font-size: 16px">请使用专业打印机连接</p> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import {getCertificatePage, getCertificateSync} from "@/api/notCoalMine/certifiate"; |
| | | import printImg from '@/assets/images/print.png' |
| | | import certificateDialog from "@/views/notCoalMine/nCertificateList/components/certificateDialog"; |
| | | export default { |
| | | name: "nCertificateManage", |
| | |
| | | return { |
| | | loading: false, |
| | | showSearch: true, |
| | | supplementaryVisible: false, |
| | | total: 0, |
| | | dataList: [], |
| | | queryParams: { |
| | |
| | | idcardTypeCode: '', |
| | | pageNum: 1, |
| | | pageSize: 10 |
| | | } |
| | | }, |
| | | print: printImg |
| | | }; |
| | | }, |
| | | created() { |
| | |
| | | }, |
| | | openCert(data,type){ |
| | | this.$refs.certificate.openDialog(data,type) |
| | | }, |
| | | openSupplementary(data,type){ |
| | | this.supplementaryVisible = true |
| | | } |
| | | } |
| | | }; |