|
|
@ -6,7 +6,7 @@ |
|
|
|
<div class="btn-wrap"> |
|
|
|
<div class="btn-wrap"> |
|
|
|
<el-button v-if="auth('内容管理-保存排序')" class="action-btn" type="primary" @click="sortSubmit">保存排序</el-button> |
|
|
|
<el-button v-if="auth('内容管理-保存排序')" class="action-btn" type="primary" @click="sortSubmit">保存排序</el-button> |
|
|
|
<el-button v-if="auth('内容管理-批量删除')" class="action-btn" type="primary" @click="delAllData">批量删除</el-button> |
|
|
|
<el-button v-if="auth('内容管理-批量删除')" class="action-btn" type="primary" @click="delAllData">批量删除</el-button> |
|
|
|
<el-button v-if="auth('内容管理-新增文章')" class="action-btn" type="primary" @click="addArticle">新增文章</el-button> |
|
|
|
<el-button v-if="auth('内容管理-新增文章')" class="action-btn" type="info" @click="addArticle">新增文章</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="page-content" style="padding-top: 24px"> |
|
|
|
<div class="page-content" style="padding-top: 24px"> |
|
|
|
<el-table ref="table" :data="listData" class="table" stripe header-align="center" @selection-change="handleSelectionChange" row-key="id"> |
|
|
|
<el-table ref="table" :data="listData" class="table" stripe header-align="center" @selection-change="handleSelectionChange" row-key="id"> |
|
|
|