Commit da1f09ab by 匡雅琴

Merge branch 'v2.7.0' of http://192.168.3.233:8090/saas/scrm-micro-authorize into v2.7.0

2 parents 4967efc3 7db89816
...@@ -29,9 +29,9 @@ ...@@ -29,9 +29,9 @@
<span v-if="scope.scope.isBuyPermit == 0">否</span> <span v-if="scope.scope.isBuyPermit == 0">否</span>
</div> </div>
<template slot="auth-button" slot-scope="scope" :data="scope.scope" v-if="scope.scope.isBuyPermit"> <template slot="auth-button" slot-scope="scope" :data="scope.scope" v-if="scope.scope.isBuyPermit">
<!-- <GLTableButton :buttonList="buttonList" :buttonItem="scope.scope"></GLTableButton> --> <GLTableButton :buttonList="buttonList" :buttonItem="scope.scope"></GLTableButton>
<el-button type="text" @click="viewConfig(scope.scope)">查看</el-button> <!-- <el-button type="text" @click="viewConfig(scope.scope)">查看</el-button> -->
<el-button type="text" @click="handelActivate(scope.scope)">一键激活许可</el-button> <!-- <el-button type="text" @click="handelActivate(scope.scope)" :loading="loading">一键激活许可</el-button> -->
</template> </template>
</GLTable> </GLTable>
</div> </div>
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
{ {
label: '操作', label: '操作',
prop: 'auth-button', prop: 'auth-button',
// width: '220', width: '220',
addHtml: 'auth-button', addHtml: 'auth-button',
fixed: 'right' fixed: 'right'
} }
...@@ -151,13 +151,25 @@ export default { ...@@ -151,13 +151,25 @@ export default {
}, },
attrs: { attrs: {
type: 'text', type: 'text',
fn: '查看配置' fn: '查看激活列表'
}, },
condition: row => { condition: row => {
return true return true
}, },
listeners: { 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!