Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bill-manager-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
bill-manager-ui
Commits
95f8c972
Commit
95f8c972
authored
Jul 19, 2024
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复数据集市列表数据在切换tab的时候站点id获取不正确的问题
parent
041b055f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
10 deletions
+51
-10
admin_2/src/pages/market/EvaluateReport.vue
admin_2/src/pages/market/EvaluateReport.vue
+23
-4
admin_2/src/pages/market/Market.vue
admin_2/src/pages/market/Market.vue
+4
-2
admin_2/src/pages/market/QueueUpReport.vue
admin_2/src/pages/market/QueueUpReport.vue
+24
-4
No files found.
admin_2/src/pages/market/EvaluateReport.vue
View file @
95f8c972
...
...
@@ -186,6 +186,12 @@ export default {
components
:
{
EvaluateDetails
,
},
props
:
{
curTreeData
:
{
required
:
true
,
default
:
()
=>
{},
},
},
data
()
{
return
{
show
:
false
,
...
...
@@ -377,10 +383,21 @@ export default {
],
};
},
created
()
{
this
.
getEvaluateList
();
this
.
getDepartment
();
this
.
getHall
();
created
()
{},
watch
:
{
curTreeData
:
{
handler
(
newVal
)
{
if
(
JSON
.
stringify
(
newVal
)
!==
"
{}
"
)
{
this
.
getSite
(
newVal
);
}
else
{
this
.
getEvaluateList
();
this
.
getDepartment
();
this
.
getHall
();
}
},
deep
:
true
,
immediate
:
true
,
},
},
methods
:
{
// 获取站点
...
...
@@ -394,6 +411,8 @@ export default {
this
.
getHall
();
}
else
{
this
.
tableData
=
[];
this
.
deptList
=
[];
this
.
hallList
=
[];
this
.
total
=
0
;
}
},
...
...
admin_2/src/pages/market/Market.vue
View file @
95f8c972
...
...
@@ -21,7 +21,7 @@
</el-tab-pane>
</el-tabs>
<div
class=
"out-box flex-1 p-[20px]"
>
<router-view
ref=
"Page"
></router-view>
<router-view
ref=
"Page"
:curTreeData=
"curTreeData"
></router-view>
</div>
</div>
</div>
...
...
@@ -33,6 +33,7 @@ export default {
data
()
{
return
{
subMenus
:
[],
curTreeData
:
{},
// 当前选择的站点
};
},
computed
:
{
...
...
@@ -60,7 +61,8 @@ export default {
},
// 改变站点选择
changeSite
(
data
)
{
this
.
$refs
.
Page
.
getSite
(
data
);
this
.
curTreeData
=
data
;
// this.$refs.Page.getSite(data);
},
},
};
...
...
admin_2/src/pages/market/QueueUpReport.vue
View file @
95f8c972
...
...
@@ -158,6 +158,12 @@ export default {
components
:
{
QueueUpDetails
,
},
props
:
{
curTreeData
:
{
required
:
true
,
default
:
()
=>
{},
},
},
data
()
{
return
{
searchType
,
...
...
@@ -360,11 +366,23 @@ export default {
hallList
:
[],
// 大厅列表
};
},
created
()
{
this
.
getQueueList
();
this
.
getDepartment
();
this
.
getHall
();
watch
:
{
curTreeData
:
{
handler
(
newVal
)
{
if
(
JSON
.
stringify
(
newVal
)
!==
"
{}
"
)
{
this
.
getSite
(
newVal
);
}
else
{
this
.
getQueueList
();
this
.
getDepartment
();
this
.
getHall
();
}
},
deep
:
true
,
immediate
:
true
,
},
},
created
()
{},
methods
:
{
// 获取站点
getSite
(
data
)
{
...
...
@@ -377,6 +395,8 @@ export default {
this
.
getHall
();
}
else
{
this
.
tableData
=
[];
this
.
deptList
=
[];
this
.
hallList
=
[];
this
.
total
=
0
;
}
},
...
...
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