|
@@ -1,6 +1,7 @@
|
|
|
<template>
|
|
|
<div class='app-container'>
|
|
|
- <el-button type="primary" icon="el-icon-plus" size="mini" @click="getDetail()" v-hasPermi="['operation:agreement:add']">新增</el-button>
|
|
|
+ <el-button type="primary" icon="el-icon-plus" size="mini" @click="getDetail()"
|
|
|
+ v-hasPermi="['operation:agreement:add']">新增</el-button>
|
|
|
<!-- 列表 -->
|
|
|
<el-table :data="tableData" v-loading="loading">
|
|
|
<el-table-column label="序号" align="center" type="index" />
|
|
@@ -12,7 +13,8 @@
|
|
|
<template slot-scope="scope">
|
|
|
<el-button type="text" @click="getDetail(scope.row.id, true)">查看</el-button>
|
|
|
<el-button type="text" @click="getDetail(scope.row.id)" v-hasPermi="['operation:agreement:edit']">编辑</el-button>
|
|
|
- <el-button type="delete" @click="getDelete(scope.row)" v-hasPermi="['operation:agreement:delete']">删除</el-button>
|
|
|
+ <el-button type="delete" @click="getDelete(scope.row)"
|
|
|
+ v-hasPermi="['operation:agreement:delete']">删除</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -56,6 +58,9 @@ export default {
|
|
|
}, {
|
|
|
value: 5,
|
|
|
label: '爱听付费协议'
|
|
|
+ }, {
|
|
|
+ value: 6,
|
|
|
+ label: '关于我们'
|
|
|
}]
|
|
|
}
|
|
|
},
|