Commit 7db89816 by 匡雅琴

Merge branch 'huy_dev_v2.7.0' into 'v2.7.0'

功能配置

See merge request !4
2 parents fdc96823 664b8584
......@@ -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!