Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
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 16bf6948
authored
Jun 09, 2022
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
a10f8660
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
12 deletions
src/views/clientDataOverview/addOrEdit.vue
src/views/clientDataOverview/grouping.vue
src/views/clientDataOverview/addOrEdit.vue
View file @
16bf694
...
@@ -108,7 +108,7 @@ export default {
...
@@ -108,7 +108,7 @@ export default {
},
},
methods
:
{
methods
:
{
async
getCrowdList
()
{
async
getCrowdList
()
{
const
commonParam
=
{
pageSize
:
100
0
,
pageNum
:
1
,
merchantId
:
this
.
$globalState
.
session
.
merchantId
}
const
commonParam
=
{
pageSize
:
100
,
pageNum
:
1
,
merchantId
:
this
.
$globalState
.
session
.
merchantId
}
const
params1
=
{
const
params1
=
{
req
:
{
req
:
{
crowdType
:
1
,
crowdType
:
1
,
...
@@ -205,9 +205,13 @@ export default {
...
@@ -205,9 +205,13 @@ export default {
crowdGroup
=
'addCrowdGroup'
crowdGroup
=
'addCrowdGroup'
}
}
this
.
$apis
.
crowdManage
[
crowdGroup
](
params
).
then
(
res
=>
{
this
.
$apis
.
crowdManage
[
crowdGroup
](
params
).
then
(
res
=>
{
if
(
res
)
{
console
.
log
(
res
)
if
(
res
.
data
.
code
==
0
)
{
this
.
groupVisible
=
false
this
.
groupVisible
=
false
this
.
$message
.
success
(
'操作成功'
)
this
.
$parent
.
searchTable
()
this
.
$parent
.
searchTable
()
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
}
}
})
})
}
}
...
...
src/views/clientDataOverview/grouping.vue
View file @
16bf694
...
@@ -28,9 +28,9 @@
...
@@ -28,9 +28,9 @@
<el-button
type=
"text"
@
click=
"handleAdd(scope.scope)"
class=
"blue-text"
>
<el-button
type=
"text"
@
click=
"handleAdd(scope.scope)"
class=
"blue-text"
>
编辑
编辑
</el-button>
</el-button>
<
!--
<
el-button
type=
"text"
@
click=
"handleDelete(scope.scope)"
class=
"blue-text"
>
<el-button
type=
"text"
@
click=
"handleDelete(scope.scope)"
class=
"blue-text"
>
删除
删除
</el-button>
-->
</el-button>
<!--
<GLButton
@
click=
"goDetail(scope.scope.id, scope.scope.custGroupName)"
fn=
"客户群详情"
type=
"text"
>
详情
</GLButton>
-->
<!--
<GLButton
@
click=
"goDetail(scope.scope.id, scope.scope.custGroupName)"
fn=
"客户群详情"
type=
"text"
>
详情
</GLButton>
-->
</
template
>
</
template
>
</GLTable>
</GLTable>
...
@@ -119,14 +119,20 @@ export default {
...
@@ -119,14 +119,20 @@ export default {
label
:
'未加企微数'
,
label
:
'未加企微数'
,
prop
:
'notWechatTotal'
prop
:
'notWechatTotal'
},
},
// {
{
// label: '概览是否展示',
label
:
'概览是否展示'
,
// prop: 'delCustomerCount'
prop
:
'isDisplay'
,
// },
formatter
:
cellValue
=>
{
// {
return
cellValue
.
isDisplay
==
1
?
'展示'
:
'不展示'
// label: '展示位',
}
// prop: 'staffs'
},
// },
{
label
:
'展示位'
,
prop
:
'displayLoc'
,
formatter
:
cellValue
=>
{
return
cellValue
.
displayLoc
?
cellValue
.
displayLoc
+
'号展示位'
:
'--'
}
},
{
{
label
:
'操作'
,
label
:
'操作'
,
width
:
180
,
width
:
180
,
...
...
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