fix(admin): 统一人才政策分页样式 (bug #24046)
| | |
| | | <el-table-column label="状态" width="100" align="center"><template #default="{ row }">{{ statusText(row.status) }}</template></el-table-column> |
| | | <el-table-column label="操作" width="180" align="center"><template #default="{ row }"><el-button link type="primary" @click="toggleStatus(row)">{{ isPolicy ? (Number(row.status) === 1 ? '禁用' : '启用') : (Number(row.status) === 1 ? '下架' : '发布') }}</el-button><el-button link type="primary" @click="editArticle(row)">编辑</el-button></template></el-table-column> |
| | | </el-table> |
| | | <div class="article-management-pagination"><el-pagination v-model:current-page="pagination.page" v-model:page-size="pagination.size" layout="total, prev, pager, next" :total="pagination.total" @current-change="load" /></div> |
| | | <div class="article-management-pagination"><el-pagination v-model:current-page="pagination.page" v-model:page-size="pagination.size" background layout="total, sizes, prev, pager, next" :page-sizes="[10, 20, 50]" :total="pagination.total" @change="load" /></div> |
| | | </section> |
| | | </div> |
| | | </template> |