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 97912c95
authored
Jun 08, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'xuyl_dev_v2.4.0' into 'v2.4.0'
修复传参bug See merge request
!106
2 parents
f53796d6
b2504f61
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
28 deletions
src/views/clientDataOverview/components/marketingPlan.vue
src/views/clientDataOverview/index.vue
src/views/clientDataOverview/components/marketingPlan.vue
View file @
97912c9
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<template
slot=
"options"
slot-scope=
"scope"
>
<template
slot=
"options"
slot-scope=
"scope"
>
<el-button
v-if=
"scope.scope.sopStatus != 1"
type=
"text"
@
click=
"handleJump(scope.scope.id)"
>
SOP分析
</el-button>
<el-button
v-if=
"scope.scope.sopStatus != 1"
type=
"text"
@
click=
"handleJump(scope.scope.id)"
>
SOP分析
</el-button>
<el-button
v-if=
"scope.scope.sopStatus == 2"
type=
"text"
@
click=
"handleEnd(scope.scope)"
>
结束
</el-button>
<el-button
v-if=
"scope.scope.sopStatus == 2"
type=
"text"
@
click=
"handleEnd(scope.scope)"
>
结束
</el-button>
<el-button
v-if=
"scope.scope.sopStatus != 3"
type=
"text"
@
click=
"handleEdit(scope.scope
.id
)"
>
编辑
</el-button>
<el-button
v-if=
"scope.scope.sopStatus != 3"
type=
"text"
@
click=
"handleEdit(scope.scope)"
>
编辑
</el-button>
<el-button
v-if=
"scope.scope.sopStatus == 1"
type=
"text"
@
click=
"handleDelete(scope.scope)"
>
删除
</el-button>
<el-button
v-if=
"scope.scope.sopStatus == 1"
type=
"text"
@
click=
"handleDelete(scope.scope)"
>
删除
</el-button>
</
template
>
</
template
>
</GLTable>
</GLTable>
...
@@ -28,7 +28,7 @@ export default {
...
@@ -28,7 +28,7 @@ export default {
{
{
type
:
'input'
,
type
:
'input'
,
inputType
:
'text'
,
inputType
:
'text'
,
name
:
'
sop
Name'
,
name
:
'
crowd
Name'
,
label
:
'人群名称'
label
:
'人群名称'
},
},
{
{
...
@@ -160,33 +160,21 @@ export default {
...
@@ -160,33 +160,21 @@ export default {
})
})
this
.
$history
.
push
(
`/marketing/sop/sopAnalysisList?fromPage=
${
encodeURI
(
`/custom/clientDataOverview/marketingPeople?crowQuery=
${
query
}
`
)}
&id=
${
id
}
`
)
this
.
$history
.
push
(
`/marketing/sop/sopAnalysisList?fromPage=
${
encodeURI
(
`/custom/clientDataOverview/marketingPeople?crowQuery=
${
query
}
`
)}
&id=
${
id
}
`
)
},
},
// 跳转到营销SOP
// 跳转到编辑营销SOP
handleEdit
(
info
)
{
handleEdit
(
row
)
{
console
.
log
(
info
)
// var params = {
let
marketQuery
=
{
// addOrEdit: 'edit',
crowdDesc
:
info
.
crowdDesc
,
// fromPage: `/custom/clientDataOverview/marketingPeople?crowdId=${this.crowdGroupId}&selectTab=second`,
crowdId
:
info
.
crowdId
,
// $title: encodeURI('编辑SOP'),
crowdName
:
info
.
crowdName
,
// id: row.id
total
:
info
.
customerCount
// }
}
let
query
=
JSON
.
stringify
({
var
params
=
{
crowdId
:
this
.
crowdGroupId
,
addOrEdit
:
'edit'
,
selectTab
:
'second'
fromPage
:
`/custom/clientDataOverview/marketingPeople?crowdId=
${
this
.
crowdGroupId
}
&selectTab=second`
,
$title
:
encodeURI
(
'编辑SOP'
),
info
:
{
// 人群
customerOptType
:
2
,
crowdList
:
[]
}
}
params
.
info
.
crowdList
.
push
(
marketQuery
)
this
.
$common
.
utils
.
storage
.
set
(
'sopInfo'
,
params
)
console
.
log
(
params
)
this
.
$history
.
push
({
path
:
'marketing/sop/editSop'
})
})
},
this
.
$history
.
push
(
`/marketing/sop/editSop?fromPage=
${
encodeURI
(
`/custom/clientDataOverview/marketingPeople?crowQuery=
${
query
}
`
)}
&addOrEdit=edit&id=
${
row
.
id
}
&$title: encodeURI('编辑SOP')`
)
},
setTableFinishFun
()
{
setTableFinishFun
()
{
this
.
$refs
.
marketingPlan
.
data
.
length
?
(
this
.
$refs
.
marketingPlan
.
tableHeightValues
=
''
)
:
this
.
$refs
.
marketingPlan
.
setTableHeightFun
()
this
.
$refs
.
marketingPlan
.
data
.
length
?
(
this
.
$refs
.
marketingPlan
.
tableHeightValues
=
''
)
:
this
.
$refs
.
marketingPlan
.
setTableHeightFun
()
},
},
...
...
src/views/clientDataOverview/index.vue
View file @
97912c9
...
@@ -558,7 +558,7 @@ export default {
...
@@ -558,7 +558,7 @@ export default {
let
param
=
{
let
param
=
{
// this.merchantId
// this.merchantId
'req.merchantId'
:
this
.
merchantId
,
'req.merchantId'
:
this
.
merchantId
,
isDisplay
:
1
'req.isDisplay'
:
1
}
}
customerClusterListShow
(
param
).
then
(
res
=>
{
customerClusterListShow
(
param
).
then
(
res
=>
{
this
.
customerSegmentation
=
res
.
crowdGroupUnitList
this
.
customerSegmentation
=
res
.
crowdGroupUnitList
...
...
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