6adf5470 by lxs

数据资产登记更新

1 parent 7f4e5cb2
...@@ -79,6 +79,7 @@ const changeTab = (pane: any, ev: any) => { ...@@ -79,6 +79,7 @@ const changeTab = (pane: any, ev: any) => {
79 }; 79 };
80 const removeTab = (targetName) => { 80 const removeTab = (targetName) => {
81 // const tabs = tabbarList.value.filter(item => item.visible ?? true); 81 // const tabs = tabbarList.value.filter(item => item.visible ?? true);
82 debugger
82 const tabs = tabbarList.value; 83 const tabs = tabbarList.value;
83 let activeName = tabbarActive.value, nextTab: any = {}; 84 let activeName = tabbarActive.value, nextTab: any = {};
84 const setTabs = (activeTab) => { 85 const setTabs = (activeTab) => {
......
...@@ -50,9 +50,6 @@ const routes: RouteRecordRaw[] = [ ...@@ -50,9 +50,6 @@ const routes: RouteRecordRaw[] = [
50 cache: true, 50 cache: true,
51 reuse: true 51 reuse: true
52 }, 52 },
53 beforeEnter: (to, from) => {
54 to.meta.title = `详情-${to.query.name}`;
55 }
56 } 53 }
57 ], 54 ],
58 }, 55 },
......
...@@ -295,6 +295,13 @@ const getDetailInfo = () => { ...@@ -295,6 +295,13 @@ const getDetailInfo = () => {
295 ps.push(getRegiaterDetail({ guid: assetGuid }).then((res: any) => { 295 ps.push(getRegiaterDetail({ guid: assetGuid }).then((res: any) => {
296 if (res.code == proxy.$passCode) { 296 if (res.code == proxy.$passCode) {
297 const data = res.data || {}; 297 const data = res.data || {};
298 if (fullPath === route.fullPath) {
299 document.title = `详情-${data.daName}`;
300 }
301 let tab: any = userStore.tabbar.find((tab: any) => tab.fullPath === fullPath);
302 if (tab) {
303 tab.meta.title = `详情-${data.daName}`;
304 }
298 let { approveVO } = data; 305 let { approveVO } = data;
299 detailInfo.value = data; 306 detailInfo.value = data;
300 assetDetailInfo.value = data; 307 assetDetailInfo.value = data;
......
...@@ -729,8 +729,9 @@ const rejectDialogBtnClick = (btn, info) => { ...@@ -729,8 +729,9 @@ const rejectDialogBtnClick = (btn, info) => {
729 position: relative; 729 position: relative;
730 } 730 }
731 731
732 :deep(.el-carousel__container) { 732 :deep(.el-carousel) {
733 margin-bottom: 16px; 733 margin: 0 -16px 16px;
734 padding: 0 16px;
734 735
735 .card-content { 736 .card-content {
736 width: calc(25% - 12px); 737 width: calc(25% - 12px);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!