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 9be0ee1e
authored
Jun 10, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
5cda1645
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
79 additions
and
76 deletions
src/views/bulletin/components/saasOrder/addConfig.vue
src/views/bulletin/components/saasOrder/index.vue
src/views/bulletin/index.vue
src/views/bulletin/components/saasOrder/addConfig.vue
0 → 100644
View file @
9be0ee1
<
template
>
<div>
222222
</div>
</
template
>
<
script
>
export
default
{
}
</
script
>
<
style
lang=
"scss"
scoped
>
</
style
>
\ No newline at end of file
src/views/bulletin/components/saasOrder/index.vue
View file @
9be0ee1
...
...
@@ -731,17 +731,6 @@ export default {
}
},
{
label
:
'企微'
,
prop
:
'enterpriseMerchantName'
,
width
:
200
},
{
label
:
'推送人'
,
prop
:
'staffName'
,
line
:
1
,
width
:
200
},
{
label
:
'内容'
,
prop
:
''
,
formatter
:
cellValue
=>
{
...
...
@@ -1108,71 +1097,74 @@ export default {
group
.
splice
(
i
,
1
)
},
handlebattleOn
(
data
,
sign
)
{
this
.
setectList
=
[]
this
.
setectList
.
push
(
data
)
this
.
wechat
=
{
staffId
:
''
,
automaticName
:
''
}
this
.
groupCofList
=
{
xiReport
:
[],
zhanReport
:
[],
orderReport
:
[],
saReport
:
[],
saPerReport
:
[],
scheduleReport
:
[]
}
this
.
groupCofListInput
=
{
xiReportValue
:
[],
zhanReportValue
:
[],
orderReportValue
:
[],
saReportValue
:
[],
saPerReportValue
:
[],
scheduleReportValue
:
[]
}
this
.
battleVisible
=
true
// 编辑
if
(
sign
)
{
this
.
wechat
.
staffId
=
data
.
staffId
this
.
wechat
.
automaticName
=
data
.
staffName
// this.wechat.groupId = data.groupId
// this.wechat.roomName = data.groupName
this
.
config
.
merchantId
=
data
.
enterpriseMerchantId
this
.
config
.
merchantName
=
data
.
enterpriseMerchantName
data
.
groupConfigList
.
forEach
(
item
=>
{
let
groupHideAttr
=
this
.
groupToType
.
find
(
k
=>
k
.
type
==
item
.
actionReportType
).
attr
if
(
item
.
groupId
)
{
if
(
item
.
groupId
.
split
(
'_R:'
)[
1
]
&&
item
.
groupId
.
split
(
'_R:'
)[
1
]
==
item
.
groupName
)
{
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
item
.
groupName
})
this
.
idBefEncryption
=
item
.
groupId
.
split
(
'_R:'
)[
0
]
}
else
if
(
item
.
groupName
)
{
this
.
groupCofList
[
groupHideAttr
].
push
({
groupId
:
item
.
groupId
,
roomName
:
item
.
groupName
this
.
$router
.
push
({
path
:
'/balletin/addConfig'
})
}
else
{
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
''
})
}
}
})
for
(
let
k
in
this
.
groupCofListInput
)
{
if
(
this
.
groupCofListInput
.
hasOwnProperty
(
k
)
&&
!
this
.
groupCofListInput
[
k
][
0
])
{
this
.
groupCofListInput
[
k
]
=
[{
name
:
''
}]
}
}
console
.
log
(
this
.
groupCofListInput
)
this
.
getGroupList
(
this
.
wechat
.
staffId
)
}
else
{
this
.
groupCofListInput
=
{
xiReportValue
:
[{
name
:
''
}],
zhanReportValue
:
[{
name
:
''
}],
orderReportValue
:
[{
name
:
''
}],
saReportValue
:
[{
name
:
''
}],
saPerReportValue
:
[{
name
:
''
}],
scheduleReportValue
:
[{
name
:
''
}]
}
}
this
.
getDepartmentTree
()
// this.setectList = []
// this.setectList.push(data)
// this.wechat = {
// staffId: '',
// automaticName: ''
// }
// this.groupCofList = {
// xiReport: [],
// zhanReport: [],
// orderReport: [],
// saReport: [],
// saPerReport: [],
// scheduleReport: []
// }
// this.groupCofListInput = {
// xiReportValue: [],
// zhanReportValue: [],
// orderReportValue: [],
// saReportValue: [],
// saPerReportValue: [],
// scheduleReportValue: []
// }
// this.battleVisible = true
// // 编辑
// if (sign) {
// this.wechat.staffId = data.staffId
// this.wechat.automaticName = data.staffName
// // this.wechat.groupId = data.groupId
// // this.wechat.roomName = data.groupName
// this.config.merchantId = data.enterpriseMerchantId
// this.config.merchantName = data.enterpriseMerchantName
// data.groupConfigList.forEach(item => {
// let groupHideAttr = this.groupToType.find(k => k.type == item.actionReportType).attr
// if (item.groupId) {
// if (item.groupId.split('_R:')[1] && item.groupId.split('_R:')[1] == item.groupName) {
// this.groupCofListInput[groupHideAttr + 'Value'].push({ name: item.groupName })
// this.idBefEncryption = item.groupId.split('_R:')[0]
// } else if (item.groupName) {
// this.groupCofList[groupHideAttr].push({
// groupId: item.groupId,
// roomName: item.groupName
// })
// } else {
// this.groupCofListInput[groupHideAttr + 'Value'].push({ name: '' })
// }
// }
// })
// for (let k in this.groupCofListInput) {
// if (this.groupCofListInput.hasOwnProperty(k) && !this.groupCofListInput[k][0]) {
// this.groupCofListInput[k] = [{ name: '' }]
// }
// }
// console.log(this.groupCofListInput)
// this.getGroupList(this.wechat.staffId)
// } else {
// this.groupCofListInput = {
// xiReportValue: [{ name: '' }],
// zhanReportValue: [{ name: '' }],
// orderReportValue: [{ name: '' }],
// saReportValue: [{ name: '' }],
// saPerReportValue: [{ name: '' }],
// scheduleReportValue: [{ name: '' }]
// }
// }
// this.getDepartmentTree()
},
getGroupList
(
id
,
isReset
=
false
)
{
this
.
$apis
.
saasOrder
.
getGroupList
({
msgStaffIdList
:
id
}).
then
(
res
=>
{
...
...
src/views/bulletin/index.vue
View file @
9be0ee1
...
...
@@ -17,7 +17,7 @@ export default {
data
()
{
return
{
activeName
:
1
,
currentComponent
:
'
vehicleDamage
Order'
,
currentComponent
:
'
saas
Order'
,
tabPaneList
:
[
{
label
:
'1.1'
,
...
...
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