Commit f4bafb6e authored by 李苏's avatar 李苏 💬

存储功能位置

parent 66887a72
......@@ -732,6 +732,8 @@
this.showLeft = false
},
toFullPage(hash) {
//存储当前功能位置参数
localStorage.setItem('gnwz',this.sypcQueryParams.gnwz)
const url = `${location.origin}/#/${hash}`
window.open(url, '_blank'); // 第二个参数 '_blank' 表示在新窗口或标签页中打开
},
......
<!--
* @Description: 生成基础basePage组件,屏蔽不必要细节
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:55:27
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2025-08-25 11:42:24
* @FilePath: /zghywpc-vue/src/views/ywxxgl/glqgjwp/index.vue
-->
<template>
<BasePage class="min_full" :config="config">
<template #dialog="ctx">
......@@ -164,6 +157,11 @@
startValue: new Date().getTime() - 1000 * 60 * 60 * 24 * 30,
endValue: new Date().getTime(),
},
{
prop:'gnwz',
type:'hide',
value:localStorage.getItem('gnwz')
}
]
],
......
<!--
* @Description: 生成基础basePage组件,屏蔽不必要细节
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:55:27
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2025-08-25 11:42:24
* @FilePath: /zghywpc-vue/src/views/ywxxgl/rx20/index.vue
-->
<template>
<BasePage class="min_full" :config="config">
<template #dialog="ctx">
......@@ -153,6 +146,11 @@
}
}
},
{
prop:'gnwz',
type:'hide',
value:localStorage.getItem('gnwz')
}
]
],
......
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