Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
njgzx
dataease
Commits
ef1affe9
提交
ef1affe9
authored
3月 29, 2022
作者:
wangjiahao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refactor: 优化公共链接第三方参数
上级
33487423
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
12 行增加
和
6 行删除
+12
-6
ShiroServiceImpl.java
.../java/io/dataease/auth/service/impl/ShiroServiceImpl.java
+4
-0
ExtPanelOuterParamsMapper.xml
...io/dataease/base/mapper/ext/ExtPanelOuterParamsMapper.xml
+1
-1
link.html
frontend/public/link.html
+3
-1
index.vue
frontend/src/views/link/view/index.vue
+1
-1
index.vue
frontend/src/views/panel/OuterParamsSet/index.vue
+3
-3
没有找到文件。
backend/src/main/java/io/dataease/auth/service/impl/ShiroServiceImpl.java
浏览文件 @
ef1affe9
...
...
@@ -55,6 +55,10 @@ public class ShiroServiceImpl implements ShiroService {
filterChainDefinitionMap
.
put
(
"/linkJump/queryPanelJumpInfo/**"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/linkJump/queryTargetPanelJumpInfo"
,
ANON
);
//外部跳转参数
filterChainDefinitionMap
.
put
(
"/outerParams/**"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/tempMobileLink/**"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/de-app/**"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/app.html"
,
ANON
);
...
...
backend/src/main/java/io/dataease/base/mapper/ext/ExtPanelOuterParamsMapper.xml
浏览文件 @
ef1affe9
...
...
@@ -92,7 +92,7 @@
LEFT JOIN panel_outer_params_info popi ON pop.params_id = popi.params_id
LEFT JOIN panel_outer_params_target_view_info poptvi ON popi.params_info_id = poptvi.params_info_id
WHERE
pop.panel_id = #{panelId}
pop.panel_id = #{panelId}
and pop.checked=1
</select>
...
...
frontend/public/link.html
浏览文件 @
ef1affe9
...
...
@@ -41,7 +41,9 @@
url
+=
'&user='
+
encodeURIComponent
(
user
)
}
if
(
attachParams
)
{
url
+=
'&attachParams='
+
attachParams
console
.
log
(
'attachParams-bf:'
+
attachParams
+
';-af:'
+
encodeURIComponent
(
attachParams
))
url
+=
'&attachParams='
+
encodeURIComponent
(
attachParams
)
}
window
.
location
.
href
=
url
</script>
...
...
frontend/src/views/link/view/index.vue
浏览文件 @
ef1affe9
...
...
@@ -69,7 +69,7 @@ export default {
if
(
attachParamsEncode
)
{
try
{
const
Base64
=
require
(
'js-base64'
).
Base64
const
attachParam
=
JSON
.
parse
(
Base64
.
decode
(
attachParamsEncode
))
const
attachParam
=
JSON
.
parse
(
decodeURIComponent
(
Base64
.
decode
(
attachParamsEncode
)
))
getOuterParamsInfo
(
this
.
resourceId
).
then
(
rsp
=>
{
if
(
--
loadingCount
===
0
)
{
this
.
show
=
true
...
...
frontend/src/views/panel/OuterParamsSet/index.vue
浏览文件 @
ef1affe9
...
...
@@ -259,7 +259,7 @@ export default {
this
.
$emit
(
'outerParamsSetVisibleChange'
,
false
)
},
save
()
{
if
(
checkRepeat
(
this
.
outerParams
.
outerParamsInfoArray
,
'
n
ame'
))
{
if
(
checkRepeat
(
this
.
outerParams
.
outerParamsInfoArray
,
'
paramN
ame'
))
{
this
.
$message
({
message
:
this
.
$t
(
'panel.repeat_params'
),
type
:
'warn'
,
...
...
@@ -389,7 +389,7 @@ export default {
}
.bottom
{
margin-top
:
20
px
;
margin-top
:
15
px
;
text-align
:
center
;
}
...
...
@@ -482,7 +482,7 @@ export default {
}
.tree-bottom
{
margin-top
:
12
px
;
margin-top
:
7
px
;
text-align
:
center
;
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论