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 b2504f61
authored
Jun 08, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复传参bug
1 parent
55cb95a2
Hide 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 @
b2504f6
...
...
@@ -6,7 +6,7 @@
<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 == 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>
</
template
>
</GLTable>
...
...
@@ -28,7 +28,7 @@ export default {
{
type
:
'input'
,
inputType
:
'text'
,
name
:
'
sop
Name'
,
name
:
'
crowd
Name'
,
label
:
'人群名称'
},
{
...
...
@@ -160,33 +160,21 @@ export default {
})
this
.
$history
.
push
(
`/marketing/sop/sopAnalysisList?fromPage=
${
encodeURI
(
`/custom/clientDataOverview/marketingPeople?crowQuery=
${
query
}
`
)}
&id=
${
id
}
`
)
},
// 跳转到营销SOP
handleEdit
(
info
)
{
console
.
log
(
info
)
let
marketQuery
=
{
crowdDesc
:
info
.
crowdDesc
,
crowdId
:
info
.
crowdId
,
crowdName
:
info
.
crowdName
,
total
:
info
.
customerCount
}
var
params
=
{
addOrEdit
:
'edit'
,
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'
// 跳转到编辑营销SOP
handleEdit
(
row
)
{
// var params = {
// addOrEdit: 'edit',
// fromPage: `/custom/clientDataOverview/marketingPeople?crowdId=${this.crowdGroupId}&selectTab=second`,
// $title: encodeURI('编辑SOP'),
// id: row.id
// }
let
query
=
JSON
.
stringify
({
crowdId
:
this
.
crowdGroupId
,
selectTab
:
'second'
})
this
.
$history
.
push
(
`/marketing/sop/editSop?fromPage=
${
encodeURI
(
`/custom/clientDataOverview/marketingPeople?crowQuery=
${
query
}
`
)}
&addOrEdit=edit&id=
${
row
.
id
}
&$title: encodeURI('编辑SOP')`
)
},
setTableFinishFun
()
{
this
.
$refs
.
marketingPlan
.
data
.
length
?
(
this
.
$refs
.
marketingPlan
.
tableHeightValues
=
''
)
:
this
.
$refs
.
marketingPlan
.
setTableHeightFun
()
},
...
...
src/views/clientDataOverview/index.vue
View file @
b2504f6
...
...
@@ -558,7 +558,7 @@ export default {
let
param
=
{
// this.merchantId
'req.merchantId'
:
this
.
merchantId
,
isDisplay
:
1
'req.isDisplay'
:
1
}
customerClusterListShow
(
param
).
then
(
res
=>
{
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