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 15ac9be6
authored
Jun 14, 2023
by
徐忆琳
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'xuyl_dev_v3.12.0' into 'v3.12.0'
更新代码 See merge request
!488
2 parents
bd4d2b3e
5e33dfd9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
src/views/sop/editSop/baseInfo.vue
src/views/sop/editSop/baseInfo.vue
View file @
15ac9be
...
...
@@ -1231,7 +1231,8 @@ export default {
const
activityType
=
val
.
some
(
item
=>
item
.
attType
==
7
||
item
.
attType
==
4
)
const
mixedType
=
materialType
&&
activityType
const
obj
=
{
videoImageStorage
:
[]
// videoImageStorage: [],
resourceList
:[]
}
val
.
forEach
(
event
=>
{
...
...
@@ -1242,12 +1243,14 @@ export default {
if
(
event
&&
event
.
attType
==
2
)
{
obj
.
additionalType
=
5
obj
.
objectType
=
11
obj
.
videoImageStorage
.
push
(
event
.
attContent
)
// obj.videoImageStorage.push(event.attContent)
obj
.
resourceList
.
push
(
event
.
attContent
)
}
if
(
event
&&
event
.
attType
==
3
)
{
obj
.
additionalType
=
5
obj
.
objectType
=
12
obj
.
videoImageStorage
.
push
(
event
.
attContent
)
// obj.videoImageStorage.push(event.attContent)
obj
.
resourceList
.
push
(
event
.
attContent
)
}
// 活动
if
(
event
&&
(
event
.
attType
==
7
||
event
.
attType
==
4
))
{
...
...
@@ -1281,11 +1284,6 @@ export default {
obj
.
objectId
=
backupattContent
.
objectId
}
}
else
{
if
(
event
&&
event
.
attType
==
2
)
{
obj
.
additionalType
=
5
obj
.
objectType
=
11
obj
.
resourceList
.
push
(
event
.
attContent
)
}
if
(
event
&&
event
.
attType
==
6
)
{
obj
.
additionalType
=
6
let
backupattContent
=
typeof
event
.
attContent
==
'string'
?
JSON
.
parse
(
event
.
attContent
)
:
event
.
attContent
...
...
@@ -1323,7 +1321,6 @@ export default {
return
true
}
var
params
=
this
.
$common
.
utils
.
deepClone
(
this
.
editForm
)
let
videoImageStorage
=
[]
// params.customerIds = this.editForm.customerInfoList.map(item => item.id).join(',')
params
[
this
.
customerDataList
[
this
.
currentCustomerIdx
].
reqListName
]
=
JSON
.
stringify
(
this
.
reqCustAttrs
())
params
.
customerCount
=
this
.
customerDataList
[
this
.
currentCustomerIdx
].
customerCount
...
...
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