Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rbc-demo
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
王衍超
rbc-demo
Commits
44e89bd8
Commit
44e89bd8
authored
Apr 07, 2022
by
乔延琦
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop-zhouyi' into 'develop'
fix: 组件注销问题 See merge request GFP/RBC/rbc-frontend!144
parents
0b0ea426
9742d178
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
13 deletions
+14
-13
approval-user-control.vue
...c/control/approval-user-control/approval-user-control.vue
+3
-3
edit-modal.vue
...ugin-billexpand/src/control/baseDataSelect/edit-modal.vue
+1
-1
gms-app.vue
...ms/gms-plugin-mainpage-workflowcard/src/views/gms-app.vue
+8
-7
query-runner.vue
develop/@rbc/bill-runner-query/src/views/query-runner.vue
+1
-1
app.vue
develop/@rbc/workflow-job-view/src/app.vue
+1
-1
No files found.
develop/@gms/gms-plugin-billexpand/src/control/approval-user-control/approval-user-control.vue
View file @
44e89bd8
...
...
@@ -193,9 +193,9 @@ export default {
window
.
GMS
.
vbus
.
$on
(
'approval-user-control-add'
,
this
.
handleAdd
)
this
.
getSuggestionOptions
()
},
before
Unmount
()
{
window
.
GMS
.
vbus
.
$off
(
'approval-user-control-edit'
)
window
.
GMS
.
vbus
.
$off
(
'approval-user-control-add'
)
before
Destroy
()
{
window
.
GMS
.
vbus
.
$off
(
'approval-user-control-edit'
,
this
.
openEditModal
)
window
.
GMS
.
vbus
.
$off
(
'approval-user-control-add'
,
this
.
handleAdd
)
},
methods
:
{
showDeletePopover
(
suggestion
)
{
...
...
develop/@gms/gms-plugin-billexpand/src/control/baseDataSelect/edit-modal.vue
View file @
44e89bd8
...
...
@@ -138,7 +138,7 @@ export default {
}
this
.
$refs
.
modal
.
$el
.
addEventListener
(
'click'
,
this
.
stopPropagation
)
},
before
Unmount
()
{
before
Destroy
()
{
this
.
$refs
.
modal
.
$el
.
removeeventlistener
(
'click'
,
this
.
stopPropagation
)
},
methods
:
{
...
...
develop/@gms/gms-plugin-mainpage-workflowcard/src/views/gms-app.vue
View file @
44e89bd8
...
...
@@ -42,18 +42,19 @@ export default {
}
},
mounted
()
{
window
.
GMS
.
vbus
.
$on
(
'widgetPluginPropertiesChange'
,
(
val
)
=>
{
if
(
!
val
.
id
||
val
.
id
!=
this
.
itemSetting
.
type
+
this
.
itemSetting
.
id
)
return
val
=
val
.
properties
||
[]
this
.
reimburseList
=
this
.
mapProperties
(
val
)
})
window
.
GMS
.
vbus
.
$on
(
'widgetPluginPropertiesChange'
,
this
.
widgetPluginPropertiesChange
)
this
.
$root
.
$on
(
'updated'
,
this
.
refresh
)
},
before
Unmount
()
{
before
Destroy
()
{
this
.
$root
.
$off
(
'updated'
,
this
.
refresh
)
window
.
GMS
.
vbus
.
$off
(
'widgetPluginPropertiesChange'
)
window
.
GMS
.
vbus
.
$off
(
'widgetPluginPropertiesChange'
,
this
.
widgetPluginPropertiesChange
)
},
methods
:
{
widgetPluginPropertiesChange
(
val
)
{
if
(
!
val
.
id
||
val
.
id
!=
this
.
itemSetting
.
type
+
this
.
itemSetting
.
id
)
return
val
=
val
.
properties
||
[]
this
.
reimburseList
=
this
.
mapProperties
(
val
)
},
refresh
(
visible
)
{
if
(
visible
==
'show'
)
{
const
list
=
[...
this
.
reimburseList
]
...
...
develop/@rbc/bill-runner-query/src/views/query-runner.vue
View file @
44e89bd8
...
...
@@ -44,7 +44,7 @@ export default {
}
this
.
$root
.
$on
(
'updated'
,
this
.
refresh
)
},
before
Unmount
()
{
before
Destroy
()
{
this
.
$root
.
$off
(
'updated'
,
this
.
refresh
)
},
methods
:
{
...
...
develop/@rbc/workflow-job-view/src/app.vue
View file @
44e89bd8
...
...
@@ -110,7 +110,7 @@ export default {
window
.
GMS
.
vbus
.
$on
(
'refresh-workflow-job-view'
,
this
.
handleSearch
)
this
.
$root
.
$on
(
'updated'
,
this
.
handleSearch
)
},
before
Unmount
()
{
before
Destroy
()
{
window
.
GMS
.
vbus
.
$off
(
'refresh-workflow-job-view'
,
this
.
handleSearch
)
this
.
$root
.
$off
(
'updated'
,
this
.
handleSearch
)
},
...
...
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