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 32fa2cca
authored
May 30, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
sop-bug修复
1 parent
fc019436
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
6 deletions
src/components/selectTag/index.vue
src/views/sop/editSop/components/selectCrowd.vue
src/views/sop/editSop/editEvent.vue
src/components/selectTag/index.vue
View file @
32fa2cc
...
@@ -100,7 +100,7 @@ export default {
...
@@ -100,7 +100,7 @@ export default {
pageSize
:
1000
,
pageSize
:
1000
,
shopId
:
this
.
$globalState
.
session
.
merchantId
,
shopId
:
this
.
$globalState
.
session
.
merchantId
,
labelGroupName
:
this
.
labelGroupName
,
labelGroupName
:
this
.
labelGroupName
,
labelTypesStr
:
'自店标签,企业标签'
,
labelTypesStr
:
'自店标签,企业标签
,系统标签
'
,
edition
:
this
.
$globalState
.
session
.
merchantModel
edition
:
this
.
$globalState
.
session
.
merchantModel
}
}
})
})
...
...
src/views/sop/editSop/components/selectCrowd.vue
View file @
32fa2cc
...
@@ -27,9 +27,7 @@ export default {
...
@@ -27,9 +27,7 @@ export default {
return
{
return
{
url
:
url
,
url
:
url
,
searchForm
:
{
searchForm
:
{
req
:
{
keyword
:
''
crowdType
:
2
}
},
},
total
:
0
,
total
:
0
,
crowdList
:
[],
crowdList
:
[],
...
@@ -104,6 +102,7 @@ export default {
...
@@ -104,6 +102,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
userInfo
=
this
.
$globalState
.
session
let
clientHeight
=
document
.
documentElement
.
clientHeight
let
clientHeight
=
document
.
documentElement
.
clientHeight
this
.
heightBox
=
clientHeight
-
0.15
*
clientHeight
-
425
this
.
heightBox
=
clientHeight
-
0.15
*
clientHeight
-
425
this
.
getList
()
this
.
getList
()
...
@@ -114,6 +113,8 @@ export default {
...
@@ -114,6 +113,8 @@ export default {
var
params
=
{
var
params
=
{
req
:
{
req
:
{
...
this
.
searchForm
,
...
this
.
searchForm
,
crowdType
:
3
,
merchantId
:
this
.
userInfo
.
merchantId
,
pageNum
:
this
.
$refs
.
crowdRef
?
this
.
$refs
.
crowdRef
.
page
.
pageNum
:
1
,
pageNum
:
this
.
$refs
.
crowdRef
?
this
.
$refs
.
crowdRef
.
page
.
pageNum
:
1
,
pageSize
:
this
.
$refs
.
crowdRef
?
this
.
$refs
.
crowdRef
.
page
.
pageSize
:
10
pageSize
:
this
.
$refs
.
crowdRef
?
this
.
$refs
.
crowdRef
.
page
.
pageSize
:
10
}
}
...
...
src/views/sop/editSop/editEvent.vue
View file @
32fa2cc
...
@@ -434,6 +434,12 @@ export default {
...
@@ -434,6 +434,12 @@ export default {
},
},
'editForm.reachesTypeSet'
(
newValue
,
oldValue
)
{
'editForm.reachesTypeSet'
(
newValue
,
oldValue
)
{
this
.
editForm
.
reachesTypeSet
=
limitPrice
(
newValue
,
oldValue
,
5
,
0
,
1
,
9999
,
'zNumReg'
)
this
.
editForm
.
reachesTypeSet
=
limitPrice
(
newValue
,
oldValue
,
5
,
0
,
1
,
9999
,
'zNumReg'
)
},
'editForm.object.additionalType'
(
val
)
{
var
idx
=
this
.
editFormDataChannel
.
findIndex
(
item
=>
item
.
name
==
'pushChannelType'
)
this
.
editFormDataChannel
[
idx
].
optionList
[
0
].
isDisabled
=
val
==
'4'
this
.
editFormDataChannel
[
idx
].
optionList
[
1
].
isDisabled
=
val
==
'4'
this
.
editFormDataChannel
[
idx
].
optionList
[
2
].
isDisabled
=
[
1
,
2
,
3
].
includes
(
val
)
}
}
},
},
...
@@ -566,6 +572,7 @@ export default {
...
@@ -566,6 +572,7 @@ export default {
// additionalType 附加对象类型(1素材,2活动,3优惠券,4朋友券模板)
// additionalType 附加对象类型(1素材,2活动,3优惠券,4朋友券模板)
// objectType 对象类型(1朋友圈模板-单图文,2朋友圈模板-多图文,3朋友圈模板-文字+视频,4朋友圈模板-文字,5优惠券-商城券,6活动-权益卡使用,7活动-权益套餐,8活动-秒杀活动,10-素材)
// objectType 对象类型(1朋友圈模板-单图文,2朋友圈模板-多图文,3朋友圈模板-文字+视频,4朋友圈模板-文字,5优惠券-商城券,6活动-权益卡使用,7活动-权益套餐,8活动-秒杀活动,10-素材)
this
.
editForm
.
object
=
JSON
.
parse
(
JSON
.
stringify
(
val
))
this
.
editForm
.
object
=
JSON
.
parse
(
JSON
.
stringify
(
val
))
this
.
editForm
.
pushChannelType
=
''
if
(
val
.
showTxtContent
)
{
if
(
val
.
showTxtContent
)
{
this
.
editForm
.
eventContent
=
val
.
showTxtContent
this
.
editForm
.
eventContent
=
val
.
showTxtContent
}
}
...
@@ -651,8 +658,8 @@ export default {
...
@@ -651,8 +658,8 @@ export default {
pageNum
:
1
,
pageNum
:
1
,
tagLists
:
[]
tagLists
:
[]
}
}
this
.
parentCustomerObj
.
list
.
list
&&
this
.
parentCustomerObj
.
list
&&
this
.
parentCustomerObj
.
list
.
list
.
forEach
(
item
=>
{
this
.
parentCustomerObj
.
list
.
forEach
(
item
=>
{
item
.
labelList
.
length
&&
item
.
labelList
.
length
&&
item
.
labelList
.
forEach
(
subItem
=>
{
item
.
labelList
.
forEach
(
subItem
=>
{
params
.
tagLists
.
push
({
params
.
tagLists
.
push
({
...
...
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