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 2e9d616b
authored
May 24, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增/编辑sop
1 parent
10a12ccd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
4 deletions
src/views/sop/editSop/baseInfo.vue
src/views/sop/editSop/editEvent.vue
src/views/sop/sopAnalysis/completeList.vue
src/views/sop/editSop/baseInfo.vue
View file @
2e9d616
...
@@ -393,7 +393,8 @@ export default {
...
@@ -393,7 +393,8 @@ export default {
// 营销对象类型
// 营销对象类型
handleCustTypeChange
(
val
)
{
handleCustTypeChange
(
val
)
{
this
.
currentCustomerIdx
=
val
let
idx
=
this
.
customerDataList
.
findIndex
(
item
=>
item
.
confId
==
val
)
this
.
currentCustomerIdx
=
idx
this
.
changeCustomer
()
this
.
changeCustomer
()
},
},
...
...
src/views/sop/editSop/editEvent.vue
View file @
2e9d616
...
@@ -341,7 +341,7 @@ export default {
...
@@ -341,7 +341,7 @@ export default {
tips
:
'系统优先按照跟进员工类型匹配营销对象的跟进员工'
,
tips
:
'系统优先按照跟进员工类型匹配营销对象的跟进员工'
,
type
:
'select'
,
type
:
'select'
,
optionList
:
[],
optionList
:
[],
optionId
:
'id'
,
optionId
:
'
userOne
id'
,
optionLabel
:
'staffName'
,
optionLabel
:
'staffName'
,
optionsName
:
'staffTypeList'
optionsName
:
'staffTypeList'
},
},
...
@@ -453,11 +453,36 @@ export default {
...
@@ -453,11 +453,36 @@ export default {
// // 微信朋友圈
// // 微信朋友圈
// this.editFormDataChannel[channelIdx].optionList[2].isDisabled = !this.condLimitObj.hasQw
// this.editFormDataChannel[channelIdx].optionList[2].isDisabled = !this.condLimitObj.hasQw
// },
// },
getOptionsList
(
formName
,
hasAll
=
true
,
refreshSigle
)
{
if
(
refreshSigle
)
{
var
item
=
this
[
formName
].
find
(
k
=>
k
.
name
==
refreshSigle
)
var
index
=
this
[
formName
].
findIndex
(
k
=>
k
.
name
==
refreshSigle
)
this
.
$set
(
this
[
formName
][
index
],
'optionList'
,
this
.
$common
.
utils
.
deepClone
(
this
.
baseData
[
item
.
optionsName
]))
if
(
hasAll
&&
this
.
baseData
[
item
.
optionsName
].
length
&&
this
.
baseData
[
item
.
optionsName
][
0
][
this
[
formName
][
index
].
optionLabel
]
!==
'全部'
)
{
const
temp
=
{}
temp
[
this
[
formName
][
index
].
optionId
]
=
''
temp
[
this
[
formName
][
index
].
optionLabel
]
=
'全部'
this
[
formName
][
index
].
optionList
.
unshift
(
temp
)
}
}
else
{
this
[
formName
].
forEach
((
item
,
index
)
=>
{
if
(
item
.
type
===
'select'
&&
this
.
baseData
[
item
.
optionsName
].
length
)
{
this
.
$set
(
this
[
formName
][
index
],
'optionList'
,
this
.
$common
.
utils
.
deepClone
(
this
.
baseData
[
item
.
optionsName
]))
if
(
hasAll
&&
this
.
baseData
[
item
.
optionsName
].
length
&&
this
.
baseData
[
item
.
optionsName
][
0
][
this
[
formName
][
index
].
optionLabel
]
!==
'全部'
)
{
const
temp
=
{}
temp
[
this
[
formName
][
index
].
optionId
]
=
''
temp
[
this
[
formName
][
index
].
optionLabel
]
=
'全部'
this
[
formName
][
index
].
optionList
.
unshift
(
temp
)
}
}
})
}
},
getStaffTypeList
()
{
getStaffTypeList
()
{
this
.
$apis
.
common
.
getStaffTypeListApi
({}).
then
(
res
=>
{
this
.
$apis
.
common
.
getStaffTypeListApi
({}).
then
(
res
=>
{
console
.
log
(
res
)
this
.
baseData
.
staffTypeList
=
res
this
.
baseData
.
staffTypeList
=
res
this
.
getOptionsList
(
'editFormDataChannel'
,
false
,
'followerTypeId'
)
})
})
},
},
...
...
src/views/sop/sopAnalysis/completeList.vue
View file @
2e9d616
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
<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=
"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=
"hover"
content=
"因企微、短信等限制无法正常执行的事件"
>
<span
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
>
</GLTable>
</GLTable>
...
...
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