思维导图

This commit is contained in:
李鹏宇
2026-07-16 13:37:10 +08:00
parent cd653ce24c
commit c7ad84f993
23 changed files with 497 additions and 5 deletions

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 962 B

After

Width:  |  Height:  |  Size: 962 B

@@ -18,11 +18,11 @@ export class KSDashboardNinjaOverview extends Component{
this.actionService = useService("action");
this.notification = useService("notification");
this.dialogService = useService("dialog");
this.overviewTilesNames = [['All Dashboards', 'one'], ['All Charts', 'two'], ['Total Maps', 'three'],
['Bookmarked Dashboards', 'four'], ['All Lists', 'five']]
this.overviewTilesNames = [['全部仪表盘', 'one'], ['全部图表', 'two'], ['总地图', 'three'],
['收藏的仪表盘', 'four'], ['全部列表', 'five']]
this.state = useState({
bookmarkedDashboards: false,
filter: localStorage.getItem('dashboardFilter') || "All Dashboards",
filter: localStorage.getItem('dashboardFilter') || "全部仪表盘",
})
onWillStart(async () => {
@@ -96,7 +96,7 @@ export class KSDashboardNinjaOverview extends Component{
let dashboardId = parseInt(ev.currentTarget.dataset.dashboardId);
let unBookmarkSvg = this.ks_overview.el.querySelector(`#unBookmark${dashboardId}`);
let bookmarkSvg = this.ks_overview.el.querySelector(`#bookmark${dashboardId}`);
let bookmarkCountTag = document.getElementById('Bookmarked Dashboards');
let bookmarkCountTag = document.getElementById('收藏的仪表盘');
if (unBookmarkSvg && bookmarkSvg){
unBookmarkSvg.classList.toggle('d-none');
bookmarkSvg.classList.toggle('d-none');
@@ -600,7 +600,7 @@
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#" t-on-click="onFilterChange">All Dashboards</a></li>
<li><a class="dropdown-item" href="#" t-on-click="onFilterChange">全部仪表盘</a></li>
<li><a class="dropdown-item" href="#" t-on-click="onFilterChange">Bookmarked</a></li>
</ul>
</div>