Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-activity-center
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 d7a19f60
authored
Oct 29, 2025
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.56.3-0918' into 'master'
上线合并 See merge request
!86
2 parents
f58ea694
2e2bc3d6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
117 additions
and
63 deletions
src/views/bulletin/addClewConfig.vue
src/views/bulletin/addConfig.vue
src/views/bulletin/addConfig_21.vue
src/views/bulletin/editStaffConfig.vue
src/views/bulletin/addClewConfig.vue
View file @
d7a19f6
...
...
@@ -34,7 +34,7 @@
</div>
</div>
<transition
name=
"el-zoom-in-top"
v-if=
"!isAutomatic"
>
<gl-select-menu
:domEl=
"automaticEl"
@
changeStatu=
"hideSelect"
style=
"width:432px"
>
<gl-select-menu
:domEl=
"automaticEl"
@
changeStatu=
"hideSelect"
style=
"width:
432px"
>
<el-form-item
class=
"search-groomname"
>
<el-input
placeholder=
"请输入搜索关键词"
v-model=
"filterText"
></el-input>
</el-form-item>
...
...
@@ -249,18 +249,31 @@ export default {
let
groupHideAttr
=
'clewWordReport'
if
(
!
groupHideAttr
)
return
if
(
item
.
groupId
)
{
if
(
item
.
groupId
.
split
(
'_R:'
)[
1
]
&&
item
.
groupId
.
split
(
'_R:'
)[
1
]
==
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
item
.
groupName
})
this
.
idBefEncryption
=
item
.
groupId
.
split
(
'_R:'
)[
0
]
}
else
if
(
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofList
[
groupHideAttr
].
push
({
groupId
:
item
.
groupId
,
roomName
:
item
.
groupName
})
const
separatorIndex
=
item
.
groupId
.
indexOf
(
'_R:'
)
if
(
separatorIndex
!==
-
1
)
{
const
cloudId
=
item
.
groupId
.
substring
(
0
,
separatorIndex
)
const
groupNameFromId
=
item
.
groupId
.
substring
(
separatorIndex
+
3
)
// 3 是 "_R:" 的长度
if
(
groupNameFromId
&&
groupNameFromId
==
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
item
.
groupName
})
this
.
idBefEncryption
=
cloudId
}
else
if
(
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofList
[
groupHideAttr
].
push
({
groupId
:
item
.
groupId
,
roomName
:
item
.
groupName
})
}
else
{
this
.
idBefEncryption
=
cloudId
groupHideAttr
&&
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
''
})
}
}
else
{
this
.
idBefEncryption
=
item
.
groupId
.
split
(
'_R:'
)[
0
]
groupHideAttr
&&
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
''
})
if
(
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofList
[
groupHideAttr
].
push
({
groupId
:
item
.
groupId
,
roomName
:
item
.
groupName
})
}
}
}
})
...
...
src/views/bulletin/addConfig.vue
View file @
d7a19f6
...
...
@@ -403,18 +403,31 @@ export default {
let
groupHideAttr
=
this
.
groupToType
.
find
(
k
=>
k
.
type
==
item
.
actionReportType
)?.
attr
if
(
!
groupHideAttr
)
return
if
(
item
.
groupId
)
{
if
(
item
.
groupId
.
split
(
'_R:'
)[
1
]
&&
item
.
groupId
.
split
(
'_R:'
)[
1
]
==
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
item
.
groupName
})
this
.
idBefEncryption
=
item
.
groupId
.
split
(
'_R:'
)[
0
]
}
else
if
(
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofList
[
groupHideAttr
].
push
({
groupId
:
item
.
groupId
,
roomName
:
item
.
groupName
})
const
separatorIndex
=
item
.
groupId
.
indexOf
(
'_R:'
)
if
(
separatorIndex
!==
-
1
)
{
const
cloudId
=
item
.
groupId
.
substring
(
0
,
separatorIndex
)
const
groupNameFromId
=
item
.
groupId
.
substring
(
separatorIndex
+
3
)
// 3 是 "_R:" 的长度
if
(
groupNameFromId
&&
groupNameFromId
===
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
item
.
groupName
})
this
.
idBefEncryption
=
cloudId
}
else
if
(
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofList
[
groupHideAttr
].
push
({
groupId
:
item
.
groupId
,
roomName
:
item
.
groupName
})
}
else
{
this
.
idBefEncryption
=
cloudId
groupHideAttr
&&
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
''
})
}
}
else
{
this
.
idBefEncryption
=
item
.
groupId
.
split
(
'_R:'
)[
0
]
groupHideAttr
&&
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
''
})
if
(
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofList
[
groupHideAttr
].
push
({
groupId
:
item
.
groupId
,
roomName
:
item
.
groupName
})
}
}
}
})
...
...
@@ -426,6 +439,7 @@ export default {
this
.
$apis
.
battle
.
activityreportWorktool
({
cloudId
:
this
.
idBefEncryption
}).
then
(
res
=>
{
this
.
selectGroupName
=
res
.
data
.
result
||
[]
})
console
.
log
(
this
.
groupCofListInput
,
this
.
selectGroupName
)
this
.
getGroupList
(
this
.
wechat
.
staffId
)
this
.
getDepartmentTree
()
}
else
{
...
...
src/views/bulletin/addConfig_21.vue
View file @
d7a19f6
...
...
@@ -151,7 +151,7 @@ export default {
wordReport
:
[],
regionalOperationsReport
:
[],
extendedRevenueReport
:
[],
sceneReport
:[]
sceneReport
:
[]
},
switchList
:
{
xiReport
:
[],
...
...
@@ -425,7 +425,7 @@ export default {
InvoicingReport
:
[],
regionalOperationsReport
:
[],
extendedRevenueReport
:
[],
sceneReport
:[]
sceneReport
:
[]
}
this
.
groupCofListInput
=
{
xiReportValue
:
[],
...
...
@@ -437,7 +437,7 @@ export default {
wordReportValue
:
[],
regionalOperationsReportValue
:
[],
extendedRevenueReportValue
:
[],
sceneReportValue
:[]
sceneReportValue
:
[]
}
// 编辑
if
(
sign
)
{
...
...
@@ -451,22 +451,36 @@ export default {
let
groupHideAttr
=
this
.
groupToType
.
find
(
k
=>
k
.
type
==
item
.
actionReportType
)?.
attr
if
(
!
groupHideAttr
)
return
if
(
item
.
groupId
)
{
if
(
item
.
groupId
.
split
(
'_R:'
)[
1
]
&&
item
.
groupId
.
split
(
'_R:'
)[
1
]
==
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
item
.
groupName
})
this
.
idBefEncryption
=
item
.
groupId
.
split
(
'_R:'
)[
0
]
}
else
if
(
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofList
[
groupHideAttr
].
push
({
groupId
:
item
.
groupId
,
roomName
:
item
.
groupName
})
const
separatorIndex
=
item
.
groupId
.
indexOf
(
'_R:'
)
if
(
separatorIndex
!==
-
1
)
{
const
cloudId
=
item
.
groupId
.
substring
(
0
,
separatorIndex
)
const
groupNameFromId
=
item
.
groupId
.
substring
(
separatorIndex
+
3
)
// 3 是 "_R:" 的长度
if
(
groupNameFromId
&&
groupNameFromId
==
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
item
.
groupName
})
this
.
idBefEncryption
=
cloudId
}
else
if
(
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofList
[
groupHideAttr
].
push
({
groupId
:
item
.
groupId
,
roomName
:
item
.
groupName
})
}
else
{
this
.
idBefEncryption
=
cloudId
groupHideAttr
&&
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
''
})
}
}
else
{
this
.
idBefEncryption
=
item
.
groupId
.
split
(
'_R:'
)[
0
]
groupHideAttr
&&
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
''
})
if
(
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofList
[
groupHideAttr
].
push
({
groupId
:
item
.
groupId
,
roomName
:
item
.
groupName
})
}
}
if
(
item
.
sendTime
)
{
this
.
pushRadio
=
2
this
.
pushTimeValue
=
item
.
sendTime
this
.
pushTimeValue
=
item
.
sendTime
}
}
})
...
...
@@ -510,7 +524,7 @@ export default {
wordReport
:
[],
regionalOperationsReport
:
[],
extendedRevenueReport
:
[],
sceneReport
:[]
sceneReport
:
[]
}
}
}
...
...
@@ -536,7 +550,7 @@ export default {
wordReport
:
[],
regionalOperationsReport
:
[],
extendedRevenueReport
:
[],
sceneReport
:[]
sceneReport
:
[]
}
},
async
getDepartmentTree
()
{
...
...
src/views/bulletin/editStaffConfig.vue
View file @
d7a19f6
...
...
@@ -97,7 +97,7 @@ export default {
isDialogVisible
:
false
,
merchantName
:
''
,
paramsData
:
this
.
$route
.
query
,
routeParams
:
{},
routeParams
:
{},
dialogComponent
:
''
,
merchantList
:
[],
automaticData
:
[],
...
...
@@ -118,11 +118,11 @@ export default {
},
groupCofList
:
{
trainingReport
:
[],
sceneClue
:
[]
sceneClue
:
[]
},
groupCofListInput
:
{
trainingReportValue
:
[],
sceneClueValue
:
[],
sceneClueValue
:
[]
},
groupToType
:
[
{
...
...
@@ -132,7 +132,7 @@ export default {
{
attr
:
'sceneClue'
,
type
:
27
}
,
}
],
buttetinList
:
[
{
...
...
@@ -140,7 +140,7 @@ export default {
storageList
:
'trainingReportValue'
,
componentName
:
''
},
{
label
:
'.场景线索'
,
storageList
:
'sceneClueValue'
,
...
...
@@ -165,7 +165,7 @@ export default {
mounted
()
{
let
{
data
,
sign
}
=
this
.
paramsData
data
=
JSON
.
parse
(
data
)
this
.
routeParams
=
data
this
.
routeParams
=
data
this
.
merchantName
=
data
.
merchantName
+
data
.
merchantId
this
.
getMerchantList
(
sign
)
this
.
handleStaffOn
(
data
,
sign
)
...
...
@@ -246,7 +246,7 @@ export default {
}
this
.
groupCofListInput
=
{
trainingReportValue
:
[],
sceneClueValue
:
[],
sceneClueValue
:
[]
}
this
.
battleVisible
=
true
// 编辑
...
...
@@ -260,18 +260,31 @@ export default {
let
groupHideAttr
=
this
.
groupToType
.
find
(
k
=>
k
.
type
==
item
.
actionReportType
)?.
attr
if
(
!
groupHideAttr
)
return
if
(
item
.
groupId
)
{
if
(
item
.
groupId
.
split
(
'_R:'
)[
1
]
&&
item
.
groupId
.
split
(
'_R:'
)[
1
]
==
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
item
.
groupName
})
this
.
idBefEncryption
=
item
.
groupId
.
split
(
'_R:'
)[
0
]
}
else
if
(
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofList
[
groupHideAttr
].
push
({
groupId
:
item
.
groupId
,
roomName
:
item
.
groupName
})
const
separatorIndex
=
item
.
groupId
.
indexOf
(
'_R:'
)
if
(
separatorIndex
!==
-
1
)
{
const
cloudId
=
item
.
groupId
.
substring
(
0
,
separatorIndex
)
const
groupNameFromId
=
item
.
groupId
.
substring
(
separatorIndex
+
3
)
// 3 是 "_R:" 的长度
if
(
groupNameFromId
&&
groupNameFromId
==
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
item
.
groupName
})
this
.
idBefEncryption
=
cloudId
}
else
if
(
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofList
[
groupHideAttr
].
push
({
groupId
:
item
.
groupId
,
roomName
:
item
.
groupName
})
}
else
{
this
.
idBefEncryption
=
cloudId
groupHideAttr
&&
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
''
})
}
}
else
{
this
.
idBefEncryption
=
item
.
groupId
.
split
(
'_R:'
)[
0
]
groupHideAttr
&&
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
''
})
if
(
item
.
groupName
)
{
groupHideAttr
&&
this
.
groupCofList
[
groupHideAttr
].
push
({
groupId
:
item
.
groupId
,
roomName
:
item
.
groupName
})
}
}
}
})
...
...
@@ -294,7 +307,7 @@ export default {
// InvoicingReportValue: [{ name: '' }],
// saReportValue: [{ name: '' }],
trainingReportValue
:
[{
name
:
''
}],
sceneClueValue
:
[{
name
:
''
}],
sceneClueValue
:
[{
name
:
''
}]
// scheduleReportValue: [{ name: '' }],
// zhanReportValue: [{ name: '' }],
// saasReportValue: [{ name: '' }]
...
...
@@ -308,7 +321,7 @@ export default {
if
(
isReset
)
{
this
.
groupCofList
=
{
trainingReport
:
[],
sceneClue
:
[]
sceneClue
:
[]
}
}
}
...
...
@@ -326,7 +339,7 @@ export default {
}
this
.
groupCofList
=
{
trainingReport
:
[],
sceneClue
:
[]
sceneClue
:
[]
}
},
async
getDepartmentTree
()
{
...
...
@@ -414,14 +427,14 @@ export default {
return
true
}
var
params
=
{
residentStaffPhone
:
this
.
routeParams
.
residentStaffPhone
,
residentStaffPhone
:
this
.
routeParams
.
residentStaffPhone
,
enterpriseMerchantId
:
this
.
config
.
merchantId
,
enterpriseMerchantName
:
this
.
config
.
merchantName
,
staffId
:
this
.
wechat
.
staffId
,
staffName
:
this
.
wechat
.
automaticName
,
groupMerchantId
:
this
.
config
.
merchantId
,
updatedBy
:
this
.
$globalState
.
session
.
accountName
,
groupConfigList
:
[]
,
groupConfigList
:
[]
}
Object
.
keys
(
this
.
groupCofList
).
map
(
item
=>
{
let
type
=
this
.
groupToType
.
find
(
k
=>
k
.
attr
==
item
).
type
...
...
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