| | |
| | | <template slot-scope="scope">{{scope.row.type? scope.row.type: '————'}}</template> |
| | | <!-- <template slot-scope="scope">{{ getSrc1(scope.row.type) }}</template>--> |
| | | </el-table-column> |
| | | <el-table-column label="名称" prop="name" sortable width="120" align="center" > |
| | | <el-table-column label="名称" prop="name" sortable :show-overflow-tooltip="true" width="120" align="center" > |
| | | <template slot-scope="scope">{{scope.row.name? scope.row.name: '————'}}</template> |
| | | </el-table-column> |
| | | <el-table-column label="证号/专业" prop="idNo" sortable width="170" align="center" > |
| | | <el-table-column label="证号/专业" prop="idNo" sortable :show-overflow-tooltip="true" width="170" align="center" > |
| | | <template slot-scope="scope">{{scope.row.idNo? scope.row.idNo: '————'}}</template> |
| | | </el-table-column> |
| | | <el-table-column label="级别" prop="grade" sortable width="120" align="center"> |
| | | <el-table-column label="级别" prop="grade" sortable :show-overflow-tooltip="true" width="120" align="center"> |
| | | <template slot-scope="scope">{{scope.row.grade? scope.row.grade: '————'}}</template> |
| | | </el-table-column> |
| | | <el-table-column label="有效时间" prop="validityDate" sortable width="170" align="center" > |
| | | <el-table-column label="有效时间" prop="validityDate" :show-overflow-tooltip="true" sortable width="170" align="center" > |
| | | <template slot-scope="scope">{{scope.row.validityDate? scope.row.validityDate: '————'}}</template> |
| | | </el-table-column> |
| | | <el-table-column label="获得时间" prop="getDate" sortable width="170" align="center" > |
| | | <el-table-column label="获得时间" prop="getDate" sortable :show-overflow-tooltip="true" width="170" align="center" > |
| | | <template slot-scope="scope">{{scope.row.getDate? scope.row.getDate: '————'}}</template> |
| | | </el-table-column> |
| | | <el-table-column label="存放位置" prop="location" sortable width="170" align="center" > |
| | | <el-table-column label="存放位置" prop="location" sortable :show-overflow-tooltip="true" width="170" align="center" > |
| | | <template slot-scope="scope">{{scope.row.location? scope.row.location: '————'}}</template> |
| | | </el-table-column> |
| | | <el-table-column label="电子文件" prop="url" width="160" align="center"> |
| | |
| | | <template slot-scope="scope">{{scope.row.remark? scope.row.remark: '————'}}</template> |
| | | </el-table-column> |
| | | <!-- </el-table-column>--> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| | | <el-table-column label="操作" align="center" width="250" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope" v-if="scope.row.roleId !== 1"> |
| | | <div class="button-container"> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-edit" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['system:role:edit']" |
| | | >修改</el-button> |
| | | > |
| | | <span style="font-size: 14px;">修改</span> |
| | | </el-button> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-delete" |
| | | @click="handleDelete(scope.row)" |
| | | v-hasPermi="['system:role:remove']" |
| | | >删除</el-button> |
| | | |
| | | ><span style="font-size: 14px;">删除</span></el-button> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-d-arrow-right" |
| | | @click="handleCheck(scope.row)"> |
| | | 查看详情</el-button> |
| | | <span style="font-size: 14px;">查看详情</span></el-button> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | background: #FFEFF2; |
| | | |
| | | } |
| | | |
| | | .el-table__cell { |
| | | font-size: 14px; /* 设置字体大小 */ |
| | | } |
| | | .button-container { |
| | | display: inline-flex; /* 设置按钮容器为行内元素 */ |
| | | } |
| | | |
| | | </style> |