Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 a3b2702e
authored
May 24, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
sop,跟进员工
1 parent
2e9d616b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
14 deletions
src/api/modules/common.js
src/api/modules/couponManage.js
src/views/sop/editSop/editEvent.vue
src/views/sop/sopAnalysis/completeList.vue
src/api/modules/common.js
View file @
a3b2702
...
@@ -119,7 +119,7 @@ const getCrowdTreeListApi = params => {
...
@@ -119,7 +119,7 @@ const getCrowdTreeListApi = params => {
// 跟进员工类型
// 跟进员工类型
const
getStaffTypeListApi
=
params
=>
{
const
getStaffTypeListApi
=
params
=>
{
params
.
method
=
'entmicro.api.staff.
findStaffByMerchantId
'
params
.
method
=
'entmicro.api.staff.
listEntBusinessType
'
return
http
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
...
src/api/modules/couponManage.js
View file @
a3b2702
...
@@ -4,7 +4,6 @@ const defaultPath = 'scrm.api.coupon.'
...
@@ -4,7 +4,6 @@ const defaultPath = 'scrm.api.coupon.'
//优惠券列表
//优惠券列表
const
getCouponListApi
=
params
=>
{
const
getCouponListApi
=
params
=>
{
// params.method = `${defaultPath}list.merchant`
params
.
method
=
'scrm.backstage.coupon.list.merchant'
params
.
method
=
'scrm.backstage.coupon.list.merchant'
return
http
({
return
http
({
url
:
'rop-scrm-coupon/router'
,
url
:
'rop-scrm-coupon/router'
,
...
...
src/views/sop/editSop/editEvent.vue
View file @
a3b2702
...
@@ -173,7 +173,7 @@ export default {
...
@@ -173,7 +173,7 @@ export default {
eventContent
:
[{
required
:
true
,
message
:
'请输入营销内容'
,
trigger
:
'change'
}],
eventContent
:
[{
required
:
true
,
message
:
'请输入营销内容'
,
trigger
:
'change'
}],
repeatFlag
:
[{
required
:
true
,
message
:
'请选择是否重复'
,
trigger
:
'change'
}],
repeatFlag
:
[{
required
:
true
,
message
:
'请选择是否重复'
,
trigger
:
'change'
}],
pushChannelType
:
[{
required
:
true
,
message
:
'请选择营销渠道'
,
trigger
:
'change'
}],
pushChannelType
:
[{
required
:
true
,
message
:
'请选择营销渠道'
,
trigger
:
'change'
}],
//
followerTypeId: [{ required: true, message: '请选择跟进员工类型', trigger: 'change' }],
followerTypeId
:
[{
required
:
true
,
message
:
'请选择跟进员工类型'
,
trigger
:
'change'
}],
reachesType
:
[{
required
:
true
,
message
:
'请选择参与次数'
,
trigger
:
'change'
}],
reachesType
:
[{
required
:
true
,
message
:
'请选择参与次数'
,
trigger
:
'change'
}],
reachesTypeSet
:
[{
required
:
true
,
message
:
'请输入参与次数'
,
trigger
:
'change'
}]
reachesTypeSet
:
[{
required
:
true
,
message
:
'请输入参与次数'
,
trigger
:
'change'
}]
},
},
...
@@ -341,8 +341,8 @@ export default {
...
@@ -341,8 +341,8 @@ export default {
tips
:
'系统优先按照跟进员工类型匹配营销对象的跟进员工'
,
tips
:
'系统优先按照跟进员工类型匹配营销对象的跟进员工'
,
type
:
'select'
,
type
:
'select'
,
optionList
:
[],
optionList
:
[],
optionId
:
'
userOne
id'
,
optionId
:
'id'
,
optionLabel
:
'
staff
Name'
,
optionLabel
:
'
business
Name'
,
optionsName
:
'staffTypeList'
optionsName
:
'staffTypeList'
},
},
{
{
...
@@ -480,7 +480,7 @@ export default {
...
@@ -480,7 +480,7 @@ export default {
},
},
getStaffTypeList
()
{
getStaffTypeList
()
{
this
.
$apis
.
common
.
getStaffTypeListApi
({}).
then
(
res
=>
{
this
.
$apis
.
common
.
getStaffTypeListApi
({
flag
:
0
}).
then
(
res
=>
{
this
.
baseData
.
staffTypeList
=
res
this
.
baseData
.
staffTypeList
=
res
this
.
getOptionsList
(
'editFormDataChannel'
,
false
,
'followerTypeId'
)
this
.
getOptionsList
(
'editFormDataChannel'
,
false
,
'followerTypeId'
)
})
})
...
...
src/views/sop/sopAnalysis/completeList.vue
View file @
a3b2702
...
@@ -47,8 +47,13 @@
...
@@ -47,8 +47,13 @@
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<GLTable
ref=
"completeListRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<GLTable
ref=
"completeListRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<template
slot=
"finishEventCount"
slot-scope=
"scope"
>
<el-popover
placement=
"bottom-end"
width=
"200"
trigger=
"click"
content=
"因企微、短信等限制无法正常执行的事件"
>
<span
class=
"cursor-pointer"
slot=
"reference"
>
{{
scope
.
scope
.
eventStatistics
?
scope
.
scope
.
eventStatistics
.
finishEventCount
:
'-'
}}
</span>
</el-popover>
</
template
>
<
template
slot=
"failEventCount"
slot-scope=
"scope"
>
<
template
slot=
"failEventCount"
slot-scope=
"scope"
>
<el-popover
placement=
"bottom-end"
width=
"200"
trigger=
"
hover
"
content=
"因企微、短信等限制无法正常执行的事件"
>
<el-popover
placement=
"bottom-end"
width=
"200"
trigger=
"
click
"
content=
"因企微、短信等限制无法正常执行的事件"
>
<span
class=
"cursor-pointer"
slot=
"reference"
>
{{
scope
.
scope
.
eventStatistics
?
scope
.
scope
.
eventStatistics
.
failEventCount
:
'-'
}}
</span>
<span
class=
"cursor-pointer"
slot=
"reference"
>
{{
scope
.
scope
.
eventStatistics
?
scope
.
scope
.
eventStatistics
.
failEventCount
:
'-'
}}
</span>
</el-popover>
</el-popover>
</
template
>
</
template
>
...
@@ -129,20 +134,18 @@ export default {
...
@@ -129,20 +134,18 @@ export default {
},
},
{
{
label
:
'已完成事件数'
,
label
:
'已完成事件数'
,
prop
:
'
eventStatistics
'
,
prop
:
'
finishEventCount
'
,
width
:
'140'
,
width
:
'140'
,
formatter
:
cellValue
=>
{
addHtml
:
'finishEventCount'
return
cellValue
.
eventStatistics
?
cellValue
.
eventStatistics
.
finishEventCount
:
'-'
// formatter: cellValue => {
}
// return cellValue.eventStatistics ? cellValue.eventStatistics.finishEventCount : '-'
// }
},
},
{
{
label
:
'失败事件数'
,
label
:
'失败事件数'
,
prop
:
'failEventCount'
,
prop
:
'failEventCount'
,
width
:
'140'
,
width
:
'140'
,
addHtml
:
'failEventCount'
addHtml
:
'failEventCount'
// formatter: cellValue => {
// return cellValue.eventStatistics ? cellValue.eventStatistics.finishEventCount : '-'
// }
}
}
]
]
},
},
...
...
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