| | |
| | | <div class="mange-table"> |
| | | <el-table border :data="tableList" class="ztzf-table-mange"> |
| | | <el-table-column label="序号" type="index" width="60"></el-table-column> |
| | | <el-table-column prop="model_name" label="算法名称" align="center" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="alg_name" label="算法名称" align="center" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="alg_type" label="算法类型" align="center"></el-table-column> |
| | | <el-table-column prop="qua_rate" label="最低准确率" align="center"> |
| | | <template #header> |
| | |
| | | {{ scope.row.event_type == 0 ? '常规类' : '紧急类' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="version" label="算法版本" align="center"/> |
| | | <el-table-column prop="remark" label="算法描述" show-overflow-tooltip /> |
| | | <el-table-column label="操作" width="180" align="center"> |
| | | <template #default="scope"> |
| | |
| | | <el-button icon="el-icon-edit" type="text" @click="handleEdit(scope.row)">编辑</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <template #empty> |
| | | <el-empty |
| | | class="custom-empty" |
| | | :image-size="100" |
| | | > |
| | | <template #description> |
| | | <span class="custom-text">暂无数据</span> |
| | | </template> |
| | | </el-empty> |
| | | </template> |
| | | </el-table> |
| | | </div> |
| | | <div class="pagination"> |
| | | <div class="pagination" v-if="tableList.length > 0"> |
| | | <el-pagination class="ztzf-pagination" popper-class="custom-pagination-dropdown" background |
| | | :page-sizes="[10, 20, 30, 40, 50, 100]" :size="params.size" v-model:current-page="params.current" |
| | | v-model:page-size="params.size" layout="total, sizes, prev, pager, next, jumper" :total="total" |
| | |
| | | flex: 1; |
| | | //margin-top: 18px; |
| | | overflow: auto; |
| | | :deep(.el-scrollbar__view) { |
| | | height: 100%; |
| | | } |
| | | :deep(.el-table--fit,.el-scrollbar__view) { |
| | | height: 100%; |
| | | } |
| | | } |
| | | :deep(.el-pagination) { |
| | | display: flex; |
| | | justify-content: right; |
| | | padding: 20px 0; |
| | | } |
| | | |
| | | :deep(.el-pagination button) { |