|
|
@ -107,14 +107,14 @@ |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<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="400" > |
|
|
|
<el-table-column width="300" > |
|
|
|
<template #header> |
|
|
|
<template #header> |
|
|
|
操作 |
|
|
|
操作 |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<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> |
|
|
|
<el-button size="default" type="warning" @click="editStatusHandle(row)">编辑</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
|