Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
marketing-web
marketing
Commits
d8b3e0cd
Commit
d8b3e0cd
authored
Apr 13, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
8a7d626e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
ruleFilter.vue
src/components/dm-new-rule/ruleFilter.vue
+10
-3
No files found.
src/components/dm-new-rule/ruleFilter.vue
View file @
d8b3e0cd
...
...
@@ -35,7 +35,7 @@
</div>
</div>
<div
v-if=
"item.templateCode == 'com020' && templateCode == 'com020'"
class=
"leftContent"
>
<dm-store-selector
@
saving=
"val => (saving = val)"
v-if=
"item.templateCode == 'com020' && storeSelectorKey"
ref=
"storeSelector"
scenes=
"edaixi"
scenesVal=
"marketing"
@
store-change=
"val => storeChange(val, item.esScreeningWidgetChainId)"
:uuid
.
sync=
"item.value"
></dm-store-selector>
<dm-store-selector
@
saving=
"val => (saving = val)"
v-if=
"item.templateCode == 'com020' && storeSelectorKey"
ref=
"storeSelector"
scenes=
"edaixi"
scenesVal=
"marketing"
:defaultAll=
"false"
@
store-change=
"val => storeChange(val, item.esScreeningWidgetChainId)"
:uuid
.
sync=
"item.value"
></dm-store-selector>
</div>
</div>
<div
v-else
>
...
...
@@ -203,6 +203,8 @@ export default {
this
.
echoFlag
=
false
;
},
edit
()
{
this
.
activeName
=
this
.
conditionTypeList
.
length
&&
this
.
conditionTypeList
[
0
].
esScreeningWidgetChainId
;
this
.
getNode
(
this
.
activeName
);
this
.
$emit
(
'update:visiable'
,
true
);
},
deleteRow
(
row
)
{
...
...
@@ -219,8 +221,13 @@ export default {
storeChange
(
uuid
,
esScreeningWidgetChainId
)
{
const
obj
=
this
.
conditionTypeList
.
find
(
item
=>
item
.
esScreeningWidgetChainId
==
esScreeningWidgetChainId
);
const
res
=
this
.
$refs
.
storeSelector
[
0
].
getList
();
if
(
res
&&
res
.
length
&&
res
[
0
]
==
1
)
return
;
const
str
=
res
.
map
(
item
=>
(
item
.
name
?
item
.
name
:
item
.
id
)).
join
(
','
);
if
(
res
&&
!
res
.
length
)
return
;
let
str
=
''
;
if
(
res
[
0
]
==
1
)
{
str
=
'所有门店'
;
}
else
{
str
=
res
.
map
(
item
=>
(
item
.
name
?
item
.
name
:
item
.
id
)).
join
(
','
);
}
obj
.
value
=
uuid
;
obj
.
selectValue
=
str
;
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment