Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Wecube Platform
Commits
faf88598
Commit
faf88598
authored
4 years ago
by
pobu168
Browse files
Options
Download
Email Patches
Plain Diff
#1699 Clear entity filters
parent
a705e8c8
dev3_platform_refactor
2046_batch_execution_update
2048_enhance_for_workflow_excution
2109_itsm_support
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
wecube-portal/src/pages/collaboration/components/plugin-register.vue
+5
-2
...al/src/pages/collaboration/components/plugin-register.vue
wecube-portal/src/pages/components/filter-rules.vue
+1
-0
wecube-portal/src/pages/components/filter-rules.vue
with
6 additions
and
2 deletions
+6
-2
wecube-portal/src/pages/collaboration/components/plugin-register.vue
+
5
-
2
View file @
faf88598
...
...
@@ -188,7 +188,7 @@
v-model=
"param.mappingEntityExpression"
:disabled=
"currentPluginObj.status === 'ENABLED'"
:allDataModelsWithAttrs=
"allEntityType"
:rootEntity=
"
select
edEntityType"
:rootEntity=
"
clear
edEntityType"
:needNativeAttr=
"true"
:needAttr=
"true"
></FilterRules>
...
...
@@ -277,7 +277,7 @@
v-model=
"outPut.mappingEntityExpression"
:disabled=
"currentPluginObj.status === 'ENABLED'"
:allDataModelsWithAttrs=
"allEntityType"
:rootEntity=
"
select
edEntityType"
:rootEntity=
"
clear
edEntityType"
:needNativeAttr=
"true"
:needAttr=
"true"
></FilterRules>
...
...
@@ -457,6 +457,9 @@ export default {
},
allPluginConfigs
()
{
return
[].
concat
(...
this
.
plugins
.
map
(
p
=>
p
.
pluginConfigDtoList
))
},
clearedEntityType
()
{
return
this
.
selectedEntityType
.
split
(
'
{
'
)[
0
]
}
},
props
:
{
...
...
This diff is collapsed.
Click to expand it.
wecube-portal/src/pages/components/filter-rules.vue
+
1
-
0
View file @
faf88598
...
...
@@ -354,6 +354,7 @@ export default {
this
.
formatNextCurrentOptions
(
this
.
currentNode
)
},
addFilterRuleForCurrentNode
()
{
if
(
!
this
.
currentNode
)
return
this
.
currentNodeEntityAttrs
=
this
.
allEntity
.
find
(
_
=>
_
.
name
===
this
.
currentNode
.
entity
).
attributes
const
rules
=
this
.
currentNode
.
pathExp
.
match
(
/
[^
{
]
+
(?=
}
)
/g
)
if
(
rules
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help