|
|
@ -5,7 +5,6 @@ |
|
|
|
<div class="common-layout"> |
|
|
|
<div class="common-layout"> |
|
|
|
<el-container> |
|
|
|
<el-container> |
|
|
|
<el-aside> |
|
|
|
<el-aside> |
|
|
|
|
|
|
|
|
|
|
|
<div class="header-flex-container"> |
|
|
|
<div class="header-flex-container"> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-button class="button-container_column" @click="editHandle" type="primary" plain round>栏目管理</el-button> |
|
|
|
<el-button class="button-container_column" @click="editHandle" type="primary" plain round>栏目管理</el-button> |
|
|
@ -104,6 +103,9 @@ |
|
|
|
<span>栏目编辑</span><br/> |
|
|
|
<span>栏目编辑</span><br/> |
|
|
|
<el-button type="success" round style="margin: 30px" @click="addFormVisible = true">添加新闻栏目</el-button> |
|
|
|
<el-button type="success" round style="margin: 30px" @click="addFormVisible = true">添加新闻栏目</el-button> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
|
|
|
|
<el-table :data="column" style="width: 100%;"> |
|
|
|
|
|
|
|
<el-table-column prop="categoryName" label="名称" width="200"/> |
|
|
|
|
|
|
|
<el-table-column width="300" > |
|
|
|
<el-table :data="column" style="width: 100%"> |
|
|
|
<el-table :data="column" style="width: 100%"> |
|
|
|
<el-table-column prop="categoryName" label="名称" width="200" /> |
|
|
|
<el-table-column prop="categoryName" label="名称" width="200" /> |
|
|
|
<el-table-column width="200" > |
|
|
|
<el-table-column width="200" > |
|
|
@ -113,6 +115,7 @@ |
|
|
|
<template #default="{row}"> |
|
|
|
<template #default="{row}"> |
|
|
|
<!-- 删除按钮 --> |
|
|
|
<!-- 删除按钮 --> |
|
|
|
<el-button size="default" type="danger" @click="deleteHandle(row.id)">删除</el-button> |
|
|
|
<el-button size="default" type="danger" @click="deleteHandle(row.id)">删除</el-button> |
|
|
|
|
|
|
|
<el-button size="default" type="warning" @click="editStatusHandle(row)">编辑</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
|