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
1e07d73a
Commit
1e07d73a
authored
Mar 11, 2022
by
Joey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(@rbc/bill-runner-query): 记录当前tab,刷新数据时保留tab
parent
b2ad6a51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
query-runner.vue
develop/@rbc/bill-runner-query/src/views/query-runner.vue
+6
-0
No files found.
develop/@rbc/bill-runner-query/src/views/query-runner.vue
View file @
1e07d73a
...
@@ -4,6 +4,8 @@
...
@@ -4,6 +4,8 @@
v-if=
"config.name && visible"
v-if=
"config.name && visible"
:extrCondition=
"extrCondition"
:extrCondition=
"extrCondition"
:tableHeight=
"tableHeight"
:tableHeight=
"tableHeight"
@
tabChange=
"tabChange"
:defaultGroup=
"currentTabTitle"
></gms-query>
></gms-query>
<p
v-else
>
没有查询模板定义!
</p>
<p
v-else
>
没有查询模板定义!
</p>
</
template
>
</
template
>
...
@@ -30,6 +32,7 @@ export default {
...
@@ -30,6 +32,7 @@ export default {
extrCondition
:
[],
extrCondition
:
[],
tableHeight
:
height
,
tableHeight
:
height
,
visible
:
true
,
visible
:
true
,
currentTabTitle
:
null
,
};
};
},
},
mounted
()
{
mounted
()
{
...
@@ -45,6 +48,9 @@ export default {
...
@@ -45,6 +48,9 @@ export default {
this
.
$root
.
$off
(
'updated'
,
this
.
refresh
)
this
.
$root
.
$off
(
'updated'
,
this
.
refresh
)
},
},
methods
:
{
methods
:
{
tabChange
(
o
)
{
this
.
currentTabTitle
=
o
.
title
},
refresh
(
visible
)
{
refresh
(
visible
)
{
if
(
visible
==
'show'
)
{
if
(
visible
==
'show'
)
{
this
.
visible
=
false
this
.
visible
=
false
...
...
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