From 8f38a93c9c9ddaf547200a542aecced93f8857a3 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期一, 11 十一月 2024 15:11:50 +0800 Subject: [PATCH] 报警分析页面子表格持续时间增加默认升序排序功能 --- src/components/layouts/TabLayout.vue | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/components/layouts/TabLayout.vue b/src/components/layouts/TabLayout.vue index 4249c19..97c75fd 100644 --- a/src/components/layouts/TabLayout.vue +++ b/src/components/layouts/TabLayout.vue @@ -14,11 +14,11 @@ @change="changePage" @tabClick="tabCallBack" @edit="editPage"> - <a-tab-pane :id="page.fullPath" :key="page.fullPath" v-for="page in pageList" :closable="!(page.meta.title=='棣栭〉')"> + <a-tab-pane :id="page.fullPath" :key="page.fullPath" v-for="page in pageList" :closable="!(page.meta.title=='璁惧鐩戞帶')"> <span slot="tab" :pagekey="page.fullPath">{{ page.meta.title }}</span> </a-tab-pane> </a-tabs> - <div style="margin: 12px 12px 0;"> + <div :style="{margin:$route.meta.title!=='棣栭〉'? '12px 12px 0':0,flex:1,display: 'flex',flexDirection: 'column'}"> <!-- update-begin-author:taoyan date:20201221 for:姝ゅ鍒犳帀transition鏍囩 涓嶇煡閬撲负浠�涔堝姞涓婂悗 椤甸潰璺敱鍒囨崲鐨勬椂鍊欏嵆1鍙婅彍鍗曞垏鍒�2鍙婅彍鍗曠殑鏃跺�� 涓や釜鑿滃崟椤甸潰浼氬悓鏃跺嚭鐜�300-500绉掑乏鍙� --> <keep-alive v-if="multipage"> <router-view v-if="reloadFlag"/> @@ -43,7 +43,7 @@ import { CACHE_INCLUDED_ROUTES } from '@/store/mutation-types' import registerApps from "@/qiankun"; - const indexKey = '/dashboard/analysis' + const indexKey = '/mdc/base/DeviceBaseInfo' export default { name: 'TabLayout', @@ -165,12 +165,12 @@ // 灏嗛椤垫坊鍔犲埌绗竴浣� addIndexToFirst() { this.pageList.splice(0, 0, { - name: 'dashboard-analysis', + name: 'mdc-base-DeviceBaseInfo', path: indexKey, fullPath: indexKey, meta: { - icon: 'dashboard', - title: '棣栭〉' + icon: '', + title: '璁惧鐩戞帶' } }) this.linkList.splice(0, 0, indexKey) @@ -183,7 +183,7 @@ * @param title 瑕佷慨鏀圭殑鏂版爣棰� */ changeTitle(title) { - let projectTitle = "Jeecg-Boot 浼佷笟绾т綆浠g爜骞冲彴" + let projectTitle = "涓浗涓�鎷栫鐞嗙郴缁�" // 棣栭〉鐗规畩澶勭悊 if (this.$route.path === indexKey) { document.title = projectTitle @@ -385,7 +385,6 @@ * You can easily play with the page transition by editing * these styles. */ - .page-transition-enter { opacity: 0; } -- Gitblit v1.9.3