|
@@ -19,18 +19,21 @@
|
|
|
@refresh-change="refreshChange"
|
|
|
@on-load="onLoad">
|
|
|
<template slot="menuLeft">
|
|
|
- <el-button type="danger"
|
|
|
- size="small"
|
|
|
- icon="el-icon-delete"
|
|
|
- plain
|
|
|
- v-if="permission.notice_delete"
|
|
|
- @click="handleDelete">删 除
|
|
|
- </el-button>
|
|
|
+
|
|
|
</template>
|
|
|
<template slot-scope="{row}"
|
|
|
slot="category">
|
|
|
<el-tag>{{row.categoryName}}</el-tag>
|
|
|
</template>
|
|
|
+
|
|
|
+ <template #menu="{size,row,index}">
|
|
|
+ <el-button @click="tip(row,index)"
|
|
|
+ icon="el-icon-delete"
|
|
|
+ v-if="row.categoryName != '隐私协议' && row.categoryName != '用户协议'"
|
|
|
+ type="text"
|
|
|
+ :size="size">删除</el-button>
|
|
|
+ </template>
|
|
|
+
|
|
|
</avue-crud>
|
|
|
</basic-container>
|
|
|
</template>
|
|
@@ -62,7 +65,7 @@
|
|
|
index: true,
|
|
|
viewBtn: true,
|
|
|
selection: true,
|
|
|
- excelBtn: true,
|
|
|
+ delBtn: false,
|
|
|
dialogClickModal: false,
|
|
|
column: [
|
|
|
{
|