|
|
|
@ -48,7 +48,7 @@ |
|
|
|
|
></el-input> |
|
|
|
|
<span v-else>{{ scope.row.sequence }}</span> |
|
|
|
|
<i v-if="scope.row.editing" class="el-icon-check squ-icon" @click="submitSequence(scope.row)"></i> |
|
|
|
|
<i v-else class="el-icon-edit squ-icon" @click="editSequence(scope.row)"></i> |
|
|
|
|
<i v-auth="'/site/list:' + siteName + ':内容管理:文章管理:文章排序设置'" v-else class="el-icon-edit squ-icon" @click="editSequence(scope.row)"></i> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column v-if="settings[2].show" prop="columnName" label="栏目" align="center" min-width="120"></el-table-column> |
|
|
|
@ -70,11 +70,12 @@ |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column v-if="settings[10].show" label="操作" align="center" width="210"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-button v-auth="'/site/list:' + siteName + ':内容管理:文章管理:预览'" type="text" @click="sticky(scope.row)">置顶</el-button> |
|
|
|
|
<el-button v-auth="'/site/list:' + siteName + ':内容管理:文章管理:置顶'" type="text" @click="sticky(scope.row)">置顶</el-button> |
|
|
|
|
<el-button v-auth="'/site/list:' + siteName + ':内容管理:文章管理:预览'" type="text" @click="preview(scope.row)">预览</el-button> |
|
|
|
|
<el-button v-auth="'/site/list:' + siteName + ':内容管理:文章管理:编辑'" type="text" @click="edit(scope.row)">编辑</el-button> |
|
|
|
|
<el-button v-auth="'/site/list:' + siteName + ':内容管理:文章管理:删除'" type="text" @click="handleDelete(scope.row)">删除</el-button> |
|
|
|
|
<el-switch |
|
|
|
|
v-auth="'/site/list:' + siteName + ':内容管理:文章管理:禁用'" |
|
|
|
|
class="m-l-10" |
|
|
|
|
v-model="scope.row.isDisable" |
|
|
|
|
:active-value="0" |
|
|
|
|