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
3e05f0ec
Commit
3e05f0ec
authored
Mar 24, 2022
by
Joey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 组件注销
parent
89f2b293
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
3 deletions
+13
-3
imageView.js
develop/@gms/gms-plugin-billexpand/src/actions/imageView.js
+3
-1
relateInvoiceAction.js
.../gms-plugin-billexpand/src/actions/relateInvoiceAction.js
+3
-1
invoice-modal.vue
...lugin-billexpand/src/components-control/invoice-modal.vue
+2
-0
viewImage.js
...gin-billexpand/src/query-actions/imagemanage/viewImage.js
+3
-1
image-view-modal.vue
...oice/src/components/image-view-modal/image-view-modal.vue
+2
-0
No files found.
develop/@gms/gms-plugin-billexpand/src/actions/imageView.js
View file @
3e05f0ec
...
...
@@ -2,9 +2,10 @@ import ImageViewModal from '../../../../@rbc/invoice/src/components/image-view-m
export
default
{
execute
:
function
(
bill
,
param
)
{
const
curbill
=
bill
.
dom
||
bill
GMS
.
$hideContainer
.
addComponent
(
ImageViewModal
,
{},
function
(
c
)
{
const
name
=
GMS
.
$hideContainer
.
addComponent
(
ImageViewModal
,
{},
function
(
c
)
{
c
.
imageTableName
=
param
.
param
.
tableName
c
.
bill
=
curbill
c
.
componentName
=
name
})
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/actions/relateInvoiceAction.js
View file @
3e05f0ec
...
...
@@ -2,9 +2,10 @@
import
InvoiceModal
from
'../components-control/invoice-modal.vue'
export
default
{
execute
:
function
(
bill
,
param
)
{
GMS
.
$hideContainer
.
addComponent
(
InvoiceModal
,
{},
function
(
c
)
{
const
name
=
GMS
.
$hideContainer
.
addComponent
(
InvoiceModal
,
{},
function
(
c
)
{
c
.
bill
=
bill
.
dom
c
.
invoiceName
=
param
.
param
.
invoiceName
c
.
componentName
=
name
})
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/components-control/invoice-modal.vue
View file @
3e05f0ec
...
...
@@ -16,6 +16,7 @@ export default {
modalVisible
:
true
,
bill
:
null
,
invoiceName
:
''
,
componentName
:
null
,
}
},
methods
:
{
...
...
@@ -54,6 +55,7 @@ export default {
}
this
.
bill
.
refreshSubDataRow
(
subBillName
)
})
this
.
componentName
&&
GMS
.
$hideContainer
.
remove
(
this
.
componentName
)
})
}
...
...
develop/@gms/gms-plugin-billexpand/src/query-actions/imagemanage/viewImage.js
View file @
3e05f0ec
...
...
@@ -8,9 +8,10 @@ export default {
const
imageId
=
context
.
selects
[
0
][
param
.
imageId
]
const
yearFlag
=
context
.
selects
[
0
][
param
.
yearFlag
]
GMS
.
$hideContainer
.
addComponent
(
ImageViewModal
,
{},
function
(
c
)
{
const
name
=
GMS
.
$hideContainer
.
addComponent
(
ImageViewModal
,
{},
function
(
c
)
{
c
.
yearFlag
=
yearFlag
c
.
imageId
=
imageId
c
.
componentName
=
name
})
}
}
\ No newline at end of file
develop/@rbc/invoice/src/components/image-view-modal/image-view-modal.vue
View file @
3e05f0ec
...
...
@@ -52,6 +52,7 @@ export default {
currentImgIndex
:
0
,
imgUrlSet
:
new
Set
(),
imageTableName
:
null
,
componentName
:
null
,
};
},
watch
:
{
...
...
@@ -64,6 +65,7 @@ export default {
this
.
bill
=
null
this
.
imageId
=
null
this
.
yearFlags
=
[]
this
.
componentName
&&
GMS
.
$hideContainer
.
remove
(
this
.
componentName
)
}
},
imageId
(
id
)
{
...
...
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