|
|
@@ -115,8 +115,13 @@
|
|
|
<template #default="scope">
|
|
|
<el-button link type="primary" @click="handleEdit(scope.row)"> 编辑 </el-button>
|
|
|
<el-button link type="danger" @click="handleDelete(scope.row.id)"> 删除 </el-button>
|
|
|
- <el-button link type="success" @click="handleViewImage(scope.row.certPic)">
|
|
|
- 查看
|
|
|
+ <el-button
|
|
|
+ link
|
|
|
+ type="success"
|
|
|
+ v-if="scope.row.certPic"
|
|
|
+ @click="handleViewImage(scope.row.certPic)"
|
|
|
+ >
|
|
|
+ 查看证书
|
|
|
</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|