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 ca54e1ff
authored
Jun 16, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复跳转问题
1 parent
6e454beb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
5 deletions
src/views/clientDataOverview/components/marketingPlan.vue
src/views/clientDataOverview/index.vue
src/views/clientDataOverview/marketingPeople.vue
src/views/clientDataOverview/components/marketingPlan.vue
View file @
ca54e1f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"scrm-sub-client-container"
>
<div
class=
"scrm-sub-client-container"
>
<div
class=
"pageContent"
>
<div
class=
"pageContent"
>
<GLCombiForm
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormList"
@
handleOk=
"searchTable"
@
handleRest=
"resetTable"
></GLCombiForm>
<GLCombiForm
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormList"
@
handleOk=
"searchTable"
@
handleRest=
"resetTable"
></GLCombiForm>
<GLTable
:hasNum=
"true"
@
setTableFinishFun=
"setTableFinishFun"
:beforeSearchFn=
"beforeSearchFn"
ref=
"marketingPlan"
:getListApi=
"getListApi"
:searchForm=
"searchForm"
:pageConf=
"pageConf"
:tableParams=
"tableParams"
>
<GLTable
:hasNum=
"true"
@
setTableFinishFun=
"setTableFinishFun"
:beforeSearchFn=
"beforeSearchFn"
ref=
"marketingPlan"
:getListApi=
"getListApi"
:searchForm=
"searchForm"
:pageConf=
"pageConf"
:tableParams=
"tableParams"
>
<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>
...
@@ -125,12 +125,16 @@ export default {
...
@@ -125,12 +125,16 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
//没数据的时候要算高度
//没数据的时候要算高度
},
},
methods
:
{
methods
:
{
// 返回
// 返回
goback
()
{
goback
()
{
this
.
$router
.
go
(
-
1
)
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
flag
)
{
this
.
$router
.
push
(
'/clientDataOverview/index'
)
}
else
{
this
.
$router
.
push
(
'/clientDataOverview/grouping'
)
}
},
},
// 结束
// 结束
handleEnd
(
row
)
{
handleEnd
(
row
)
{
...
@@ -167,6 +171,13 @@ export default {
...
@@ -167,6 +171,13 @@ export default {
crowdId
:
this
.
crowdGroupId
,
crowdId
:
this
.
crowdGroupId
,
selectTab
:
'second'
selectTab
:
'second'
})
})
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
flag
==
1
)
{
query
=
JSON
.
stringify
({
crowdId
:
this
.
crowdGroupId
,
selectTab
:
'second'
,
flag
:
1
})
}
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
...
...
src/views/clientDataOverview/index.vue
View file @
ca54e1f
...
@@ -567,7 +567,7 @@ export default {
...
@@ -567,7 +567,7 @@ export default {
})
})
},
},
goToGroupOperating
(
id
)
{
goToGroupOperating
(
id
)
{
this
.
$router
.
push
(
`/clientDataOverview/marketingPeople?crowdId=
${
id
}
`
)
this
.
$router
.
push
(
`/clientDataOverview/marketingPeople?crowdId=
${
id
}
&flag=1
`
)
},
},
goNextPage
()
{
goNextPage
()
{
this
.
$history
.
push
(
'/drainage/square/index'
)
this
.
$history
.
push
(
'/drainage/square/index'
)
...
...
src/views/clientDataOverview/marketingPeople.vue
View file @
ca54e1f
...
@@ -360,7 +360,11 @@ export default {
...
@@ -360,7 +360,11 @@ export default {
},
},
methods
:
{
methods
:
{
goback
()
{
goback
()
{
this
.
$router
.
go
(
-
1
)
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
flag
)
{
this
.
$router
.
push
(
'/clientDataOverview/index'
)
}
else
{
this
.
$router
.
push
(
'/clientDataOverview/grouping'
)
}
},
},
// 导出
// 导出
handleExport
()
{
handleExport
()
{
...
...
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