Commit 0e6ff6fd by 姜雷

修改校区名称更新

parent 6b668c7f
...@@ -54,9 +54,7 @@ export default { ...@@ -54,9 +54,7 @@ export default {
]), ]),
changeFilterHandle(data) { changeFilterHandle(data) {
this.updateFilters(data); this.updateFilters(data);
this.fetchConsumeList().then(() => { this.fetchConsumeList();
this.updateCampusName(data.areaName);
});
}, },
changeCampusHandle(data) { changeCampusHandle(data) {
this.fetchConsumeList({ this.fetchConsumeList({
......
...@@ -103,6 +103,9 @@ export default { ...@@ -103,6 +103,9 @@ export default {
this.changeSelected(this.data[0]); this.changeSelected(this.data[0]);
this.updateCampusName(this.data[0].areaName); this.updateCampusName(this.data[0].areaName);
this.SelectedDataIndex = this.data[0]; this.SelectedDataIndex = this.data[0];
} else {
this.updateCampusName();
this.SelectedDataIndex = null;
} }
}, },
clickHandle(ev) { clickHandle(ev) {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<img src="@/assets/images/dashboard/icon_zhanbi@2x.png" /> <img src="@/assets/images/dashboard/icon_zhanbi@2x.png" />
</div> </div>
<div class="Dashboard-title-text">各服务消费占比</div> <div class="Dashboard-title-text">各服务消费占比</div>
<div class="Dashboard-title-top">TOP1</div> <!-- <div class="Dashboard-title-top">TOP1</div> -->
</div> </div>
<SeviceRatioChart <SeviceRatioChart
:data="seviceRatioList" :data="seviceRatioList"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment