Commit 7e81cda1 by 匡雅琴

注释删除

1 parent 1501eb1b
......@@ -20,7 +20,6 @@
<div class="header-text">帐号接口许可列表</div>
<div>
<el-button class="table-btn" @click="handleSync" :loading="syncLoad" :size="size" type="primary" plain mode="el-button">同步购买订单</el-button>
<!-- <GLButton @click="handleExport" fn="导出" :size="size" type="primary" plain mode="el-button">导出</GLButton> -->
</div>
</div>
<GLTable ref="accountTable" :noDataImg="url" :getListApi="getListApi" :searchForm="searchForm" :tableParams="tableParams" :pageConf="pageConf" @setTableFinishFun="setTableFinishFun">
......@@ -160,23 +159,6 @@ export default {
listeners: {
click: this.handleLook
}
},
{
type: 'GLButton',
name: row => {
return '一键激活许可'
},
attrs: {
type: 'text',
fn: '一键激活许可',
loading: this.loading
},
condition: row => {
return true
},
listeners: {
click: this.handleLook
}
}
]
}
......@@ -223,7 +205,7 @@ export default {
this.$apis.accountConfig.activeAccount(params).then(res => {
this.loading = false
if (res.code == -1) {
var txt = '<i class="el-icon-success" style="color:#2CCA74;font-size:32px;"></i><p>已激活&nbsp;' + `${res.data ? res.data : 0}` + '&nbsp;个</p>'
var txt = '<i class="el-icon-success" style="color:#2CCA74;font-size:48px;"></i><p>已激活&nbsp;' + `${res.data ? res.data : 0}` + '&nbsp;个</p>'
this.$confirm(txt, '提示', {
confirmButtonText: '我知道了',
dangerouslyUseHTMLString: true,
......
......@@ -20,7 +20,6 @@
<span v-if="scope.scope.status == 5">已合并</span>
</div>
<template slot="auth-button" slot-scope="scope" :data="scope.scope" v-if="scope.scope.staffName">
<!-- <GLTableButton :buttonList="buttonList" :buttonItem="scope.scope"></GLTableButton> -->
<el-button type="text" @click="handelTransfer(scope.scope)">转移</el-button>
</template>
</GLTable>
......@@ -149,26 +148,7 @@ export default {
]
},
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
layout: 'sizes, prev, pager, next, jumper, ->, total',
// getListApi: this.$apis.accountConfig.listAccountCodeWithPage,
buttonList: [
{
type: 'GLButton',
name: row => {
return '转移'
},
attrs: {
type: 'text',
fn: '许可转移'
},
condition: row => {
return true
},
listeners: {
click: this.handelTransfer
}
}
]
layout: 'sizes, prev, pager, next, jumper, ->, total'
}
},
mounted() {
......@@ -206,7 +186,8 @@ export default {
this.dialogTransferVisible = true
this.notActiveStaffList = res
} else {
this.$confirm('无可用的用户转移', '提示', {
var txt = '<i class="el-icon-warning" style="color:#e6a23c;font-size:48px;"></i><p>无可用的用户转移</p>'
this.$confirm(txt, '提示', {
confirmButtonText: '我知道了',
dangerouslyUseHTMLString: true,
showClose: true,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!