Commit 664b8584 by 匡雅琴

功能配置

1 parent 7e81cda1
......@@ -29,9 +29,9 @@
<span v-if="scope.scope.isBuyPermit == 0">否</span>
</div>
<template slot="auth-button" slot-scope="scope" :data="scope.scope" v-if="scope.scope.isBuyPermit">
<!-- <GLTableButton :buttonList="buttonList" :buttonItem="scope.scope"></GLTableButton> -->
<el-button type="text" @click="viewConfig(scope.scope)">查看</el-button>
<el-button type="text" @click="handelActivate(scope.scope)" :loading="loading">一键激活许可</el-button>
<GLTableButton :buttonList="buttonList" :buttonItem="scope.scope"></GLTableButton>
<!-- <el-button type="text" @click="viewConfig(scope.scope)">查看</el-button> -->
<!-- <el-button type="text" @click="handelActivate(scope.scope)" :loading="loading">一键激活许可</el-button> -->
</template>
</GLTable>
</div>
......@@ -135,7 +135,7 @@ export default {
{
label: '操作',
prop: 'auth-button',
// width: '220',
width: '220',
addHtml: 'auth-button',
fixed: 'right'
}
......@@ -151,13 +151,25 @@ export default {
},
attrs: {
type: 'text',
fn: '查看配置'
fn: '查看激活列表'
},
condition: row => {
return true
},
listeners: {
click: this.handleLook
click: row => this.viewConfig(row)
}
},
{
type: 'el-button',
name: row => {
return '一键激活许可'
},
attrs: {
type: 'text'
},
listeners: {
click: row => this.handelActivate(row)
}
}
]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!