Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-authorize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7e81cda1
authored
Jul 22, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
注释删除
1 parent
1501eb1b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
41 deletions
src/views/accountInterface/index.vue
src/views/accountInterface/viewConfig.vue
src/views/accountInterface/index.vue
View file @
7e81cda
...
...
@@ -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:
32
px;"></i><p>已激活 '
+
`
${
res
.
data
?
res
.
data
:
0
}
`
+
' 个</p>'
var
txt
=
'<i class="el-icon-success" style="color:#2CCA74;font-size:
48
px;"></i><p>已激活 '
+
`
${
res
.
data
?
res
.
data
:
0
}
`
+
' 个</p>'
this
.
$confirm
(
txt
,
'提示'
,
{
confirmButtonText
:
'我知道了'
,
dangerouslyUseHTMLString
:
true
,
...
...
src/views/accountInterface/viewConfig.vue
View file @
7e81cda
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment