4e6df9aa by lihua

fix

1 parent 8943ba73
......@@ -8,7 +8,7 @@ const routes: RouteRecordRaw[] = [
path: '/trusted-space-index',
component: Layout,
meta: {
title: '可信空间',
title: '数据连接件',
icon: 'sidebar-videos',
},
children: [
......@@ -17,7 +17,7 @@ const routes: RouteRecordRaw[] = [
name: 'trustedSpaceIndex',
component: () => import('@/views/data_trusted/trustedSpaceIndex.vue'),
meta: {
title: '可信空间',
title: '数据连接件',
sidebar: false,
breadcrumb: false,
cache: true
......
......@@ -199,7 +199,7 @@ import { ref } from "vue";
import {
getParamsList,
getReleaseYears,
// getSubjectDomainDataTree,
// getSubjectDomainDataTree,
getReleaseListData,
getReleaseDataCertiDetail
} from '@/api/modules/dataTrustedSpace';
......@@ -215,6 +215,8 @@ import useUserStore from '@/store/modules/user';
import { onUploadFilePreview, onUploadFileDownload } from '@/api/modules/common';
import router from "@/router";
const route = useRoute();
const defaultItemLogo = getAssetsImages('dam-catalog-detail.png')
const userStore = useUserStore();
const { proxy } = getCurrentInstance() as any;
......@@ -416,6 +418,19 @@ watch(() => selectDataInfo.value.damGuid, (val) => {
deep: true
})
onActivated(() => {
let fullPath = route.fullPath;
let userInfoData = userStore.userInfoData || [];
let f = userInfoData.find(u => u.menuList?.some(m => m.path == "/trusted-space-index"));
if (f && fullPath === route.fullPath) {
document.title = f.productName || '数据连接件';
}
let tab: any = userStore.tabbar.find((tab: any) => tab.fullPath === fullPath);
if (f && tab) {
tab.meta.title = f.productName || '数据连接件';
}
})
onBeforeMount(() => {
fullscreenLoading.value = true;
let ps: any = [];
......@@ -480,7 +495,7 @@ const handleDownFile = () => {
.home-full-wrap {
height: 100%;
width: 100%;
// overflow-y: auto;
// overflow-y: auto;
overflow-x: hidden;
background-color: #f5f5f6;
}
......
......@@ -173,6 +173,7 @@ const formItems = ref([
block: true,
visible: true,
default: [],
col: 'mb4',
limit: 1,
},
{
......@@ -206,6 +207,7 @@ const formItems = ref([
block: true,
visible: true,
default: [],
col: 'mb4',
limit: 1,
},
{
......@@ -239,6 +241,7 @@ const formItems = ref([
block: true,
visible: true,
default: [],
col: 'mb4',
limit: 1,
},
{
......@@ -269,7 +272,7 @@ const formRules = ref({
const dialogInfo = ref({
visible: false,
size: 510,
size: 600,
direction: "column",
header: {
title: "合规信息",
......@@ -515,4 +518,11 @@ const getTableData = () => {
}
}
}
:deep(.el-form) {
.mb4 {
margin-bottom: 4px !important;
}
}
</style>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!