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 c694769a
authored
Jul 19, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改转移提示
1 parent
a75b5f50
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
src/views/accountInterface/index.vue
src/views/accountInterface/viewConfig.vue
src/views/accountInterface/index.vue
View file @
c694769
...
@@ -185,7 +185,6 @@ export default {
...
@@ -185,7 +185,6 @@ export default {
methods
:
{
methods
:
{
// 查看配置
// 查看配置
viewConfig
(
row
)
{
viewConfig
(
row
)
{
console
.
log
(
row
)
const
{
merchantId
,
corpId
,
merchantName
}
=
row
const
{
merchantId
,
corpId
,
merchantName
}
=
row
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/accountInterface/viewConfig'
,
path
:
'/accountInterface/viewConfig'
,
...
@@ -215,14 +214,12 @@ export default {
...
@@ -215,14 +214,12 @@ export default {
},
},
// 一键激活许可
// 一键激活许可
handelActivate
(
scope
)
{
handelActivate
(
scope
)
{
console
.
log
(
scope
)
this
.
loading
=
true
this
.
loading
=
true
const
{
corpId
,
merchantId
}
=
scope
const
{
corpId
,
merchantId
}
=
scope
var
params
=
{
var
params
=
{
corpId
,
corpId
,
merchantId
merchantId
}
}
console
.
log
(
params
)
this
.
$apis
.
accountConfig
.
activeAccount
(
params
).
then
(
res
=>
{
this
.
$apis
.
accountConfig
.
activeAccount
(
params
).
then
(
res
=>
{
this
.
loading
=
false
this
.
loading
=
false
if
(
res
.
code
==
-
1
)
{
if
(
res
.
code
==
-
1
)
{
...
...
src/views/accountInterface/viewConfig.vue
View file @
c694769
...
@@ -19,7 +19,8 @@
...
@@ -19,7 +19,8 @@
<span
v-if=
"scope.scope.status == 4"
>
待转移
</span>
<span
v-if=
"scope.scope.status == 4"
>
待转移
</span>
<span
v-if=
"scope.scope.status == 5"
>
已合并
</span>
<span
v-if=
"scope.scope.status == 5"
>
已合并
</span>
</div>
</div>
<template
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
v-if=
"scope.scope.staffName"
>
<!-- v-if="scope.scope.staffName" -->
<template
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<!--
<GLTableButton
:buttonList=
"buttonList"
:buttonItem=
"scope.scope"
></GLTableButton>
-->
<!--
<GLTableButton
:buttonList=
"buttonList"
:buttonItem=
"scope.scope"
></GLTableButton>
-->
<el-button
type=
"text"
@
click=
"handelTransfer(scope.scope)"
>
转移
</el-button>
<el-button
type=
"text"
@
click=
"handelTransfer(scope.scope)"
>
转移
</el-button>
</
template
>
</
template
>
...
@@ -177,7 +178,6 @@ export default {
...
@@ -177,7 +178,6 @@ export default {
},
},
methods
:
{
methods
:
{
getListApi
()
{
getListApi
()
{
console
.
log
(
this
.
searchForm
)
const
{
status
,
staffName
}
=
this
.
searchForm
const
{
status
,
staffName
}
=
this
.
searchForm
const
{
merchantId
,
corpId
}
=
this
.
routerInfo
const
{
merchantId
,
corpId
}
=
this
.
routerInfo
let
params
=
{
let
params
=
{
...
@@ -189,25 +189,31 @@ export default {
...
@@ -189,25 +189,31 @@ export default {
params
.
pageSize
=
this
.
$refs
.
accountCodeTable
.
page
.
pageSize
params
.
pageSize
=
this
.
$refs
.
accountCodeTable
.
page
.
pageSize
params
.
pageNum
=
this
.
$refs
.
accountCodeTable
.
page
.
pageNum
params
.
pageNum
=
this
.
$refs
.
accountCodeTable
.
page
.
pageNum
this
.
$apis
.
accountConfig
.
listAccountCodeWithPage
(
params
).
then
(
res
=>
{
this
.
$apis
.
accountConfig
.
listAccountCodeWithPage
(
params
).
then
(
res
=>
{
console
.
log
(
res
)
this
.
accountTableData
=
res
.
list
this
.
accountTableData
=
res
.
list
this
.
tableTotal
=
res
.
total
this
.
tableTotal
=
res
.
total
})
})
},
},
// 账号许可转移弹窗
// 账号许可转移弹窗
handelTransfer
(
scope
)
{
handelTransfer
(
scope
)
{
console
.
log
(
scope
)
const
{
merchantId
,
corpId
}
=
this
.
routerInfo
const
{
merchantId
,
corpId
}
=
this
.
routerInfo
let
params
=
{
let
params
=
{
merchantId
,
merchantId
,
corpId
corpId
}
}
this
.
handoverUserid
=
scope
.
userid
this
.
handoverUserid
=
scope
.
userid
this
.
dialogTransferVisible
=
true
this
.
expireTime
=
scope
.
expireTime
this
.
expireTime
=
scope
.
expireTime
this
.
$apis
.
accountConfig
.
findNotActiveStaff
(
params
).
then
(
res
=>
{
this
.
$apis
.
accountConfig
.
findNotActiveStaff
(
params
).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
.
data
)
{
this
.
dialogTransferVisible
=
true
this
.
notActiveStaffList
=
res
this
.
notActiveStaffList
=
res
}
else
{
this
.
$confirm
(
'无可用的用户转移'
,
'提示'
,
{
confirmButtonText
:
'我知道了'
,
dangerouslyUseHTMLString
:
true
,
showClose
:
true
,
showCancelButton
:
false
})
}
})
})
},
},
// 选择转移员工
// 选择转移员工
...
@@ -223,7 +229,6 @@ export default {
...
@@ -223,7 +229,6 @@ export default {
}
}
params
.
handoverUserid
=
this
.
handoverUserid
params
.
handoverUserid
=
this
.
handoverUserid
params
.
takeoverUserid
=
this
.
takeoverUserid
params
.
takeoverUserid
=
this
.
takeoverUserid
console
.
log
(
params
)
this
.
$apis
.
accountConfig
.
transferLicenseAccount
(
params
).
then
(
res
=>
{
this
.
$apis
.
accountConfig
.
transferLicenseAccount
(
params
).
then
(
res
=>
{
if
(
res
)
{
if
(
res
)
{
this
.
$message
({
this
.
$message
({
...
...
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