Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
njgzx
dataease
Commits
6b8dbf50
提交
6b8dbf50
authored
5月 23, 2022
作者:
wangjiahao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refactor: 下架显示优化
上级
8fe5d4e3
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
143 行增加
和
53 行删除
+143
-53
Preview.vue
frontend/src/components/canvas/components/Editor/Preview.vue
+11
-6
panel-mobile-unpublished-back.svg
frontend/src/icons/svg/panel-mobile-unpublished-back.svg
+20
-0
panel-mobile-unpublished.svg
frontend/src/icons/svg/panel-mobile-unpublished.svg
+11
-13
panel-unpublished-back.svg
frontend/src/icons/svg/panel-unpublished-back.svg
+11
-0
panel-unpublished.svg
frontend/src/icons/svg/panel-unpublished.svg
+6
-8
shareTree.vue
frontend/src/views/panel/GrantAuth/shareTree.vue
+47
-12
index.vue
frontend/src/views/panel/enshrine/index.vue
+27
-11
PanelList.vue
frontend/src/views/panel/list/PanelList.vue
+8
-1
PanelViewShow.vue
frontend/src/views/panel/list/PanelViewShow.vue
+2
-2
没有找到文件。
frontend/src/components/canvas/components/Editor/Preview.vue
浏览文件 @
6b8dbf50
...
@@ -109,6 +109,11 @@ export default {
...
@@ -109,6 +109,11 @@ export default {
type
:
Boolean
,
type
:
Boolean
,
required
:
false
,
required
:
false
,
default
:
true
default
:
true
},
activeTab
:
{
type
:
String
,
required
:
false
,
default
:
'none'
}
}
},
},
data
()
{
data
()
{
...
@@ -148,12 +153,12 @@ export default {
...
@@ -148,12 +153,12 @@ export default {
return
this
.
$store
.
state
.
panel
.
mainActiveName
return
this
.
$store
.
state
.
panel
.
mainActiveName
},
},
showUnpublishedArea
()
{
showUnpublishedArea
()
{
return
this
.
panelInfo
.
status
===
'unpublished'
//
return this.panelInfo.status === 'unpublished'
// if (this.mainActiveName === 'PanelMain
') {
if
(
this
.
mainActiveName
===
'PanelMain'
&&
this
.
activeTab
===
'
'
)
{
//
return this.panelInfo.status === 'unpublished' && this.panelInfo.privileges.indexOf('manage') === -1
return
this
.
panelInfo
.
status
===
'unpublished'
&&
this
.
panelInfo
.
privileges
.
indexOf
(
'manage'
)
===
-
1
//
} else {
}
else
{
//
return this.panelInfo.status === 'unpublished'
return
this
.
panelInfo
.
status
===
'unpublished'
//
}
}
},
},
panelInfo
()
{
panelInfo
()
{
return
this
.
$store
.
state
.
panel
.
panelInfo
return
this
.
$store
.
state
.
panel
.
panelInfo
...
...
frontend/src/icons/svg/panel-mobile-unpublished-back.svg
0 → 100644
浏览文件 @
6b8dbf50
<svg
width=
"1285"
height=
"1024"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"2359"
version=
"1.1"
class=
"icon"
t=
"1621433305409"
>
<defs>
<filter
id=
"svg_4_blur"
>
<feGaussianBlur
stdDeviation=
"0"
in=
"SourceGraphic"
/>
</filter>
</defs>
<g>
<title>
Layer 1
</title>
<path
id=
"svg_1"
p-id=
"2360"
fill=
"#0069F6"
d=
"m100.39216,70.27451a30.11765,30.11765 0 0 0 -30.11765,30.11765l0,823.21568a30.11765,30.11765 0 0 0 30.11765,30.11765l1084.23529,0a30.11765,30.11765 0 0 0 30.11765,-30.11765l0,-823.21568a30.11765,30.11765 0 0 0 -30.11765,-30.11765l-1084.23529,0zm0,-60.23529l1084.23529,0a90.35294,90.35294 0 0 1 90.35294,90.35294l0,823.21568a90.35294,90.35294 0 0 1 -90.35294,90.35294l-1084.23529,0a90.35294,90.35294 0 0 1 -90.35294,-90.35294l0,-823.21568a90.35294,90.35294 0 0 1 90.35294,-90.35294z"
/>
<path
id=
"svg_2"
p-id=
"2361"
fill=
"#5ED7BC"
d=
"m261.01961,261.01961m-60.2353,0a60.23529,60.23529 0 1 0 120.47059,0a60.23529,60.23529 0 1 0 -120.47059,0z"
/>
<path
id=
"svg_3"
p-id=
"2362"
fill=
"#5ED7BC"
d=
"m331.29412,839.47922a30.11765,30.11765 0 0 1 -60.2353,0a189.94196,189.94196 0 0 1 189.94196,-189.94197l186.58887,0a102.46023,102.46023 0 0 0 98.4847,-130.71058a162.69553,162.69553 0 0 1 156.37083,-207.61098l241.14196,0a30.11765,30.11765 0 0 1 0,60.23529l-241.14196,0a102.46023,102.46023 0 0 0 -98.46463,130.73067a162.69553,162.69553 0 0 1 -156.3909,207.61098l-186.58887,0a129.70667,129.70667 0 0 0 -129.70666,129.70666l0,-0.02007z"
/>
<rect
stroke=
"null"
id=
"svg_8"
height=
"760.00015"
width=
"508.00008"
y=
"187.00002"
x=
"689.50014"
fill=
"#000000"
/>
<rect
stroke=
"null"
rx=
"5"
filter=
"url(#svg_4_blur)"
id=
"svg_4"
height=
"669.66668"
width=
"430.00003"
y=
"231.99995"
x=
"728.16665"
fill=
"#56ffff"
/>
<line
stroke=
"null"
id=
"svg_5"
y2=
"392.99996"
x2=
"754.16667"
y1=
"392.99996"
x1=
"559.16667"
fill=
"none"
/>
<ellipse
stroke=
"null"
ry=
"65.5"
rx=
"66.33335"
id=
"svg_6"
cy=
"823.83325"
cx=
"952.16662"
fill=
"#000000"
/>
<rect
stroke=
"null"
id=
"svg_7"
height=
"47.66669"
width=
"187.33336"
y=
"242.6666"
x=
"863.49997"
fill=
"#000000"
/>
<path
fill=
"#f90c0c"
d=
"m484.77374,100.01227c-214.68812,0.09178 -388.6733,173.5038 -388.76538,387.51529c0,214.01148 174.04656,387.4235 388.76538,387.48469c214.68812,-0.06119 388.6733,-173.47321 388.73469,-387.4541c-0.0307,-214.04208 -174.01587,-387.54588 -388.73469,-387.54588zm296.61586,387.51529c-0.09209,59.44593 -17.89579,114.66977 -48.16209,161.05167l-410.03774,-408.62578c46.50451,-30.22778 101.91086,-48.00343 161.61467,-48.12581c163.79409,0.33654 296.3089,132.44542 296.58517,295.69992l-0.00001,0zm-593.29312,0c0.12278,-59.44593 17.92649,-114.73096 48.28488,-161.11286l409.94565,408.65638c-46.5352,30.16659 -101.91086,47.91165 -161.58397,48.00343c-163.76339,-0.15297 -296.3089,-132.29244 -296.64656,-295.54695z"
id=
"svg_9"
stroke=
"#000"
/>
</g>
</svg>
\ No newline at end of file
frontend/src/icons/svg/panel-mobile-unpublished.svg
浏览文件 @
6b8dbf50
<svg
width=
"1285"
height=
"1024"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"2359"
version=
"1.1"
class=
"icon"
t=
"162143330540
9"
>
<svg
width=
"1285"
height=
"1024"
xmlns=
"http://www.w3.org/2000/svg"
t=
"1621433305409"
class=
"icon"
version=
"1.1"
p-id=
"235
9"
>
<defs>
<defs>
<filter
id=
"svg_4_blur"
>
<filter
id=
"svg_4_blur"
>
<feGaussianBlur
stdDeviation=
"0"
in=
"SourceGraphic
"
/>
<feGaussianBlur
in=
"SourceGraphic"
stdDeviation=
"0
"
/>
</filter>
</filter>
</defs>
</defs>
<g>
<g>
<title>
Layer 1
</title>
<title>
Layer 1
</title>
<path
id=
"svg_1"
p-id=
"2360"
fill=
"#0069F6"
d=
"m100.39216,70.27451a30.11765,30.11765 0 0 0 -30.11765,30.11765l0,823.21568a30.11765,30.11765 0 0 0 30.11765,30.11765l1084.23529,0a30.11765,30.11765 0 0 0 30.11765,-30.11765l0,-823.21568a30.11765,30.11765 0 0 0 -30.11765,-30.11765l-1084.23529,0zm0,-60.23529l1084.23529,0a90.35294,90.35294 0 0 1 90.35294,90.35294l0,823.21568a90.35294,90.35294 0 0 1 -90.35294,90.35294l-1084.23529,0a90.35294,90.35294 0 0 1 -90.35294,-90.35294l0,-823.21568a90.35294,90.35294 0 0 1 90.35294,-90.35294z"
/>
<path
d=
"m100.39216,70.27451a30.11765,30.11765 0 0 0 -30.11765,30.11765l0,823.21568a30.11765,30.11765 0 0 0 30.11765,30.11765l1084.23529,0a30.11765,30.11765 0 0 0 30.11765,-30.11765l0,-823.21568a30.11765,30.11765 0 0 0 -30.11765,-30.11765l-1084.23529,0zm0,-60.23529l1084.23529,0a90.35294,90.35294 0 0 1 90.35294,90.35294l0,823.21568a90.35294,90.35294 0 0 1 -90.35294,90.35294l-1084.23529,0a90.35294,90.35294 0 0 1 -90.35294,-90.35294l0,-823.21568a90.35294,90.35294 0 0 1 90.35294,-90.35294z"
fill=
"#b2b2b2"
p-id=
"2360"
id=
"svg_1"
/>
<path
id=
"svg_2"
p-id=
"2361"
fill=
"#5ED7BC"
d=
"m261.01961,261.01961m-60.2353,0a60.23529,60.23529 0 1 0 120.47059,0a60.23529,60.23529 0 1 0 -120.47059,0z"
/>
<path
d=
"m261.01961,261.01961m-60.2353,0a60.23529,60.23529 0 1 0 120.47059,0a60.23529,60.23529 0 1 0 -120.47059,0z"
fill=
"#b2b2b2"
p-id=
"2361"
id=
"svg_2"
/>
<path
id=
"svg_3"
p-id=
"2362"
fill=
"#5ED7BC"
d=
"m331.29412,839.47922a30.11765,30.11765 0 0 1 -60.2353,0a189.94196,189.94196 0 0 1 189.94196,-189.94197l186.58887,0a102.46023,102.46023 0 0 0 98.4847,-130.71058a162.69553,162.69553 0 0 1 156.37083,-207.61098l241.14196,0a30.11765,30.11765 0 0 1 0,60.23529l-241.14196,0a102.46023,102.46023 0 0 0 -98.46463,130.73067a162.69553,162.69553 0 0 1 -156.3909,207.61098l-186.58887,0a129.70667,129.70667 0 0 0 -129.70666,129.70666l0,-0.02007z"
/>
<path
d=
"m331.29412,839.47922a30.11765,30.11765 0 0 1 -60.2353,0a189.94196,189.94196 0 0 1 189.94196,-189.94197l186.58887,0a102.46023,102.46023 0 0 0 98.4847,-130.71058a162.69553,162.69553 0 0 1 156.37083,-207.61098l241.14196,0a30.11765,30.11765 0 0 1 0,60.23529l-241.14196,0a102.46023,102.46023 0 0 0 -98.46463,130.73067a162.69553,162.69553 0 0 1 -156.3909,207.61098l-186.58887,0a129.70667,129.70667 0 0 0 -129.70666,129.70666l0,-0.02007z"
fill=
"#b2b2b2"
p-id=
"2362"
id=
"svg_3"
/>
<rect
stroke=
"null"
id=
"svg_8"
height=
"760.00015"
width=
"508.00008"
y=
"187.00002"
x=
"689.50014"
fill=
"#000000"
/>
<rect
fill=
"#b2b2b2"
x=
"689.50014"
y=
"187.00002"
width=
"508.00008"
height=
"760.00015"
id=
"svg_8"
stroke=
"null"
/>
<rect
stroke=
"null"
rx=
"5"
filter=
"url(#svg_4_blur)"
id=
"svg_4"
height=
"669.66668"
width=
"430.00003"
y=
"231.99995"
x=
"728.16665"
fill=
"#56ffff"
/>
<rect
fill=
"#56ffff"
x=
"728.16665"
y=
"231.99995"
width=
"430.00003"
height=
"669.66668"
id=
"svg_4"
filter=
"url(#svg_4_blur)"
rx=
"5"
stroke=
"null"
/>
<line
stroke=
"null"
id=
"svg_5"
y2=
"392.99996"
x2=
"754.16667"
y1=
"392.99996"
x1=
"559.16667"
fill=
"none"
/>
<line
fill=
"none"
x1=
"559.16667"
y1=
"392.99996"
x2=
"754.16667"
y2=
"392.99996"
id=
"svg_5"
stroke=
"null"
/>
<ellipse
stroke=
"null"
ry=
"65.5"
rx=
"66.33335"
id=
"svg_6"
cy=
"823.83325"
cx=
"952.16662"
fill=
"#000000"
/>
<ellipse
fill=
"#b2b2b2"
cx=
"952.16662"
cy=
"823.83325"
id=
"svg_6"
rx=
"66.33335"
ry=
"65.5"
stroke=
"null"
/>
<rect
stroke=
"null"
id=
"svg_7"
height=
"47.66669"
width=
"187.33336"
y=
"242.6666"
x=
"863.49997"
fill=
"#000000"
/>
<rect
fill=
"#b2b2b2"
x=
"863.49997"
y=
"242.6666"
width=
"187.33336"
height=
"47.66669"
id=
"svg_7"
stroke=
"null"
/>
<path
fill=
"#f90c0c"
d=
"m484.77374,100.01227c-214.68812,0.09178 -388.6733,173.5038 -388.76538,387.51529c0,214.01148 174.04656,387.4235 388.76538,387.48469c214.68812,-0.06119 388.6733,-173.47321 388.73469,-387.4541c-0.0307,-214.04208 -174.01587,-387.54588 -388.73469,-387.54588zm296.61586,387.51529c-0.09209,59.44593 -17.89579,114.66977 -48.16209,161.05167l-410.03774,-408.62578c46.50451,-30.22778 101.91086,-48.00343 161.61467,-48.12581c163.79409,0.33654 296.3089,132.44542 296.58517,295.69992l-0.00001,0zm-593.29312,0c0.12278,-59.44593 17.92649,-114.73096 48.28488,-161.11286l409.94565,408.65638c-46.5352,30.16659 -101.91086,47.91165 -161.58397,48.00343c-163.76339,-0.15297 -296.3089,-132.29244 -296.64656,-295.54695z"
id=
"svg_9"
stroke=
"#000"
/>
</g>
</g>
</svg>
</svg>
\ No newline at end of file
frontend/src/icons/svg/panel-unpublished-back.svg
0 → 100644
浏览文件 @
6b8dbf50
<svg
width=
"1285"
height=
"1024"
xmlns=
"http://www.w3.org/2000/svg"
t=
"1621433305409"
class=
"icon"
version=
"1.1"
p-id=
"2359"
>
<g>
<title>
Layer 1
</title>
<path
d=
"m100.39216,67.77451a30.11765,30.11765 0 0 0 -30.11765,30.11765l0,823.21568a30.11765,30.11765 0 0 0 30.11765,30.11765l1084.23529,0a30.11765,30.11765 0 0 0 30.11765,-30.11765l0,-823.21568a30.11765,30.11765 0 0 0 -30.11765,-30.11765l-1084.23529,0zm0,-60.23529l1084.23529,0a90.35294,90.35294 0 0 1 90.35294,90.35294l0,823.21568a90.35294,90.35294 0 0 1 -90.35294,90.35294l-1084.23529,0a90.35294,90.35294 0 0 1 -90.35294,-90.35294l0,-823.21568a90.35294,90.35294 0 0 1 90.35294,-90.35294z"
fill=
"#0069F6"
p-id=
"2360"
id=
"svg_1"
/>
<path
d=
"m261.01961,261.01961m-60.2353,0a60.23529,60.23529 0 1 0 120.47059,0a60.23529,60.23529 0 1 0 -120.47059,0z"
fill=
"#5ED7BC"
p-id=
"2361"
id=
"svg_2"
/>
<path
d=
"m331.29412,839.47922a30.11765,30.11765 0 0 1 -60.2353,0a189.94196,189.94196 0 0 1 189.94196,-189.94197l186.58887,0a102.46023,102.46023 0 0 0 98.4847,-130.71058a162.69553,162.69553 0 0 1 156.37083,-207.61098l241.14196,0a30.11765,30.11765 0 0 1 0,60.23529l-241.14196,0a102.46023,102.46023 0 0 0 -98.46463,130.73067a162.69553,162.69553 0 0 1 -156.3909,207.61098l-186.58887,0a129.70667,129.70667 0 0 0 -129.70666,129.70666l0,-0.02007z"
fill=
"#5ED7BC"
p-id=
"2362"
id=
"svg_3"
/>
<path
stroke=
"#000"
fill=
"#f90c0c"
d=
"m498.85771,115.35598c-213.99809,0.08971 -387.42406,169.58622 -387.51584,378.76548c0,209.17926 173.48715,378.67577 387.51584,378.73557c213.99809,-0.05981 387.42406,-169.55631 387.48525,-378.70566c-0.0306,-209.20916 -173.45656,-378.79539 -387.48525,-378.79539zm295.6625,378.76548c-0.0918,58.10369 -17.83827,112.08061 -48.0073,157.41524l-408.71983,-399.39931c46.35503,-29.54527 101.5833,-46.91955 161.09522,-47.03916c163.26763,0.32894 295.35653,129.45489 295.6319,289.02324l0.00001,0zm-591.3862,0c0.12239,-58.10369 17.86887,-112.14042 48.12968,-157.47505l408.62804,399.42922c-46.38564,29.48545 -101.5833,46.82984 -161.06461,46.91955c-163.23704,-0.14952 -295.35653,-129.30538 -295.69311,-288.87371z"
id=
"svg_4"
/>
</g>
</svg>
\ No newline at end of file
frontend/src/icons/svg/panel-unpublished.svg
浏览文件 @
6b8dbf50
<svg
width=
"1285"
height=
"1024"
xmlns=
"http://www.w3.org/2000/svg"
t=
"1621433305409"
class=
"icon"
version=
"1.1"
p-id=
"2359"
>
<svg
width=
"1285.0000000000002"
height=
"1024"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"2359"
version=
"1.1"
class=
"icon"
t=
"1621433305409"
>
<g>
<g>
<title>
Layer 1
</title>
<title>
Layer 1
</title>
<path
d=
"m100.39216,67.77451a30.11765,30.11765 0 0 0 -30.11765,30.11765l0,823.21568a30.11765,30.11765 0 0 0 30.11765,30.11765l1084.23529,0a30.11765,30.11765 0 0 0 30.11765,-30.11765l0,-823.21568a30.11765,30.11765 0 0 0 -30.11765,-30.11765l-1084.23529,0zm0,-60.23529l1084.23529,0a90.35294,90.35294 0 0 1 90.35294,90.35294l0,823.21568a90.35294,90.35294 0 0 1 -90.35294,90.35294l-1084.23529,0a90.35294,90.35294 0 0 1 -90.35294,-90.35294l0,-823.21568a90.35294,90.35294 0 0 1 90.35294,-90.35294z"
fill=
"#0069F6"
p-id=
"2360"
id=
"svg_1"
/>
<path
id=
"svg_1"
p-id=
"2360"
fill=
"#b2b2b2"
d=
"m100.39216,70.27451a30.11765,30.11765 0 0 0 -30.11765,30.11765l0,823.21568a30.11765,30.11765 0 0 0 30.11765,30.11765l1084.23529,0a30.11765,30.11765 0 0 0 30.11765,-30.11765l0,-823.21568a30.11765,30.11765 0 0 0 -30.11765,-30.11765l-1084.23529,0zm0,-60.23529l1084.23529,0a90.35294,90.35294 0 0 1 90.35294,90.35294l0,823.21568a90.35294,90.35294 0 0 1 -90.35294,90.35294l-1084.23529,0a90.35294,90.35294 0 0 1 -90.35294,-90.35294l0,-823.21568a90.35294,90.35294 0 0 1 90.35294,-90.35294z"
/>
<path
d=
"m261.01961,261.01961m-60.2353,0a60.23529,60.23529 0 1 0 120.47059,0a60.23529,60.23529 0 1 0 -120.47059,0z"
fill=
"#5ED7BC"
p-id=
"2361"
id=
"svg_2"
/>
<path
id=
"svg_2"
p-id=
"2361"
fill=
"#b2b2b2"
d=
"m261.01961,261.01961m-60.2353,0a60.23529,60.23529 0 1 0 120.47059,0a60.23529,60.23529 0 1 0 -120.47059,0z"
/>
<path
d=
"m331.29412,839.47922a30.11765,30.11765 0 0 1 -60.2353,0a189.94196,189.94196 0 0 1 189.94196,-189.94197l186.58887,0a102.46023,102.46023 0 0 0 98.4847,-130.71058a162.69553,162.69553 0 0 1 156.37083,-207.61098l241.14196,0a30.11765,30.11765 0 0 1 0,60.23529l-241.14196,0a102.46023,102.46023 0 0 0 -98.46463,130.73067a162.69553,162.69553 0 0 1 -156.3909,207.61098l-186.58887,0a129.70667,129.70667 0 0 0 -129.70666,129.70666l0,-0.02007z"
fill=
"#5ED7BC"
p-id=
"2362"
id=
"svg_3"
/>
<path
id=
"svg_3"
p-id=
"2362"
fill=
"#b2b2b2"
d=
"m331.29412,839.47922a30.11765,30.11765 0 0 1 -60.2353,0a189.94196,189.94196 0 0 1 189.94196,-189.94197l186.58887,0a102.46023,102.46023 0 0 0 98.4847,-130.71058a162.69553,162.69553 0 0 1 156.37083,-207.61098l241.14196,0a30.11765,30.11765 0 0 1 0,60.23529l-241.14196,0a102.46023,102.46023 0 0 0 -98.46463,130.73067a162.69553,162.69553 0 0 1 -156.3909,207.61098l-186.58887,0a129.70667,129.70667 0 0 0 -129.70666,129.70666l0,-0.02007z"
/>
<path
stroke=
"#000"
fill=
"#f90c0c"
d=
"m498.85771,115.35598c-213.99809,0.08971 -387.42406,169.58622 -387.51584,378.76548c0,209.17926 173.48715,378.67577 387.51584,378.73557c213.99809,-0.05981 387.42406,-169.55631 387.48525,-378.70566c-0.0306,-209.20916 -173.45656,-378.79539 -387.48525,-378.79539zm295.6625,378.76548c-0.0918,58.10369 -17.83827,112.08061 -48.0073,157.41524l-408.71983,-399.39931c46.35503,-29.54527 101.5833,-46.91955 161.09522,-47.03916c163.26763,0.32894 295.35653,129.45489 295.6319,289.02324l0.00001,0zm-591.3862,0c0.12239,-58.10369 17.86887,-112.14042 48.12968,-157.47505l408.62804,399.42922c-46.38564,29.48545 -101.5833,46.82984 -161.06461,46.91955c-163.23704,-0.14952 -295.35653,-129.30538 -295.69311,-288.87371z"
id=
"svg_4"
/>
</g>
</g>
</svg>
</svg>
\ No newline at end of file
frontend/src/views/panel/GrantAuth/shareTree.vue
浏览文件 @
6b8dbf50
...
@@ -3,13 +3,24 @@
...
@@ -3,13 +3,24 @@
<el-row>
<el-row>
<span
class=
"header-title"
>
{{
$t
(
'panel.share_in'
)
}}
</span>
<span
class=
"header-title"
>
{{
$t
(
'panel.share_in'
)
}}
</span>
<div
class=
"block"
style=
"margin-top:8px;"
>
<div
class=
"block"
style=
"margin-top:8px;"
>
<el-tree
ref=
"topTree"
:data=
"datas"
:props=
"defaultProps"
:highlight-current=
"true"
node-key=
"name"
:default-expanded-keys=
"expandNodes"
@
node-click=
"handleNodeClick"
>
<el-tree
ref=
"topTree"
:data=
"datas"
:props=
"defaultProps"
:highlight-current=
"true"
node-key=
"name"
:default-expanded-keys=
"expandNodes"
@
node-click=
"handleNodeClick"
>
<span
slot-scope=
"
{ data }" class="custom-tree-node father">
<span
slot-scope=
"
{ data }" class="custom-tree-node father">
<span
style=
"display: flex; flex: 1 1 0%; width: 0px;"
:class=
"!!data.msgNode ? 'msg-node-class': ''"
>
<span
style=
"display: flex; flex: 1 1 0%; width: 0px;"
:class=
"!!data.msgNode ? 'msg-node-class': ''"
>
<span
v-if=
"!!data.id"
>
<span
v-if=
"!!data.id"
>
<svg-icon
:icon-class=
"'panel-'+data.status"
class=
"ds-icon-scene"
/>
<svg-icon
:icon-class=
"'panel-'+data.status"
class=
"ds-icon-scene"
/>
</span>
</span>
<span
style=
"margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"
>
{{
data
.
name
}}
</span>
<span
:class=
"data.status"
style=
"margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"
>
{{
data
.
name
}}
</span>
</span>
</span>
</span>
</span>
...
@@ -20,13 +31,23 @@
...
@@ -20,13 +31,23 @@
<el-row>
<el-row>
<span
class=
"header-title"
>
{{
$t
(
'panel.share_out'
)
}}
</span>
<span
class=
"header-title"
>
{{
$t
(
'panel.share_out'
)
}}
</span>
<div
class=
"block"
style=
"margin-top:8px;"
>
<div
class=
"block"
style=
"margin-top:8px;"
>
<el-tree
ref=
"botTree"
:data=
"outDatas"
:props=
"defaultProps"
:highlight-current=
"true"
node-key=
"name"
:default-expand-all=
"true"
>
<el-tree
ref=
"botTree"
:data=
"outDatas"
:props=
"defaultProps"
:highlight-current=
"true"
node-key=
"name"
:default-expand-all=
"true"
>
<span
slot-scope=
"
{ data }" class="custom-tree-node father">
<span
slot-scope=
"
{ data }" class="custom-tree-node father">
<span
style=
"display: flex; flex: 1 1 0%; width: 0px;"
@
click=
"viewMyShare(data)"
>
<span
style=
"display: flex; flex: 1 1 0%; width: 0px;"
@
click=
"viewMyShare(data)"
>
<span
v-if=
"!!data.id"
>
<span
v-if=
"!!data.id"
>
<svg-icon
:icon-class=
"'panel-'+data.status"
class=
"ds-icon-scene"
/>
<svg-icon
:icon-class=
"'panel-'+data.status"
class=
"ds-icon-scene"
/>
</span>
</span>
<span
style=
"margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"
>
{{
data
.
name
}}
</span>
<span
:class=
"data.status"
style=
"margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"
>
{{
data
.
name
}}
</span>
</span>
</span>
<span
class=
"child"
>
<span
class=
"child"
>
...
@@ -53,6 +74,7 @@ import { uuid } from 'vue-uuid'
...
@@ -53,6 +74,7 @@ import { uuid } from 'vue-uuid'
import
{
initPanelData
}
from
'@/api/panel/panel'
import
{
initPanelData
}
from
'@/api/panel/panel'
import
{
proxyInitPanelData
}
from
'@/api/panel/shareProxy'
import
{
proxyInitPanelData
}
from
'@/api/panel/shareProxy'
import
bus
from
'@/utils/bus'
import
bus
from
'@/utils/bus'
export
default
{
export
default
{
name
:
'ShareTree'
,
name
:
'ShareTree'
,
props
:
{
props
:
{
...
@@ -179,7 +201,7 @@ export default {
...
@@ -179,7 +201,7 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.header-title
{
.header-title
{
font-size
:
14px
;
font-size
:
14px
;
flex
:
1
;
flex
:
1
;
color
:
var
(
--
TextPrimary
,
#606266
);
color
:
var
(
--
TextPrimary
,
#606266
);
...
@@ -188,19 +210,22 @@ export default {
...
@@ -188,19 +210,22 @@ export default {
height
:
100%
;
height
:
100%
;
/*line-height: 36px;*/
/*line-height: 36px;*/
}
}
.msg-node-class
{
color
:
red
;
.msg-node-class
{
>>>
i
{
color
:
red
;
color
:
red
;
>
>
>
i
{
color
:
red
;
}
}
}
}
.custom-tree-node
{
.custom-tree-node
{
flex
:
1
;
flex
:
1
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
justify-content
:
space-between
;
font-size
:
14px
;
font-size
:
14px
;
padding-right
:
8px
;
padding-right
:
8px
;
}
}
.custom-tree-node-list
{
.custom-tree-node-list
{
...
@@ -209,14 +234,24 @@ export default {
...
@@ -209,14 +234,24 @@ export default {
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
justify-content
:
space-between
;
font-size
:
14px
;
font-size
:
14px
;
padding
:
0
8px
;
padding
:
0
8px
;
}
}
.father
.child
{
.father
.child
{
/*display: none;*/
/*display: none;*/
visibility
:
hidden
;
visibility
:
hidden
;
}
}
.father
:hover
.child
{
.father
:hover
.child
{
/*display: inline;*/
/*display: inline;*/
visibility
:
visible
;
visibility
:
visible
;
}
}
.unpublished
{
color
:
#b2b2b2
}
.publish
{
}
</
style
>
</
style
>
frontend/src/views/panel/enshrine/index.vue
浏览文件 @
6b8dbf50
...
@@ -10,9 +10,13 @@
...
@@ -10,9 +10,13 @@
<el-table-column
prop=
"name"
:label=
"$t('commons.name')"
>
<el-table-column
prop=
"name"
:label=
"$t('commons.name')"
>
<template
:id=
"scope.row.storeId"
slot-scope=
"scope"
>
<template
:id=
"scope.row.storeId"
slot-scope=
"scope"
>
<div
class=
"start-item"
>
<div
class=
"start-item"
>
<div
class=
"filter-db-row star-item-content"
style=
"white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"
@
click=
"showPanel(scope.row)"
>
<div
class=
"filter-db-row star-item-content"
style=
"white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"
@
click=
"showPanel(scope.row)"
>
<svg-icon
:icon-class=
"'panel-'+scope.row.status"
class=
"ds-icon-scene"
/>
<svg-icon
:icon-class=
"'panel-'+scope.row.status"
class=
"ds-icon-scene"
/>
<span>
{{
scope
.
row
.
name
}}
</span>
<span
:class=
"scope.row.status"
>
{{
scope
.
row
.
name
}}
</span>
</div>
</div>
<div
class=
"star-item-close"
>
<div
class=
"star-item-close"
>
<i
class=
"el-icon-delete "
@
click=
"remove(scope.row)"
/>
<i
class=
"el-icon-delete "
@
click=
"remove(scope.row)"
/>
...
@@ -29,6 +33,7 @@ import { deleteEnshrine, enshrineList } from '@/api/panel/enshrine'
...
@@ -29,6 +33,7 @@ import { deleteEnshrine, enshrineList } from '@/api/panel/enshrine'
import
{
uuid
}
from
'vue-uuid'
import
{
uuid
}
from
'vue-uuid'
import
{
initPanelData
}
from
'@/api/panel/panel'
import
{
initPanelData
}
from
'@/api/panel/panel'
import
bus
from
'@/utils/bus'
import
bus
from
'@/utils/bus'
export
default
{
export
default
{
name
:
'Enshrine'
,
name
:
'Enshrine'
,
data
()
{
data
()
{
...
@@ -83,24 +88,35 @@ export default {
...
@@ -83,24 +88,35 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.start-item
{
.start-item
{
width
:
100%
;
width
:
100%
;
height
:
25px
;
height
:
25px
;
margin
:
0
0
0
10px
;
margin
:
0
0
0
10px
;
}
}
.star-item-content
{
.star-item-content
{
width
:
calc
(
100%
-
60px
);
width
:
calc
(
100%
-
60px
);
position
:
absolute
;
position
:
absolute
;
}
}
.star-item-close
{
.star-item-close
{
width
:
25px
;
width
:
25px
;
right
:
5px
;
right
:
5px
;
position
:
absolute
;
position
:
absolute
;
display
:
none
;
display
:
none
;
}
}
.start-item
:hover
{
.start-item
:hover
{
.star-item-close
{
.star-item-close
{
display
:
block
;
display
:
block
;
}
}
}
}
.unpublished
{
color
:
#b2b2b2
}
.publish
{
}
</
style
>
</
style
>
frontend/src/views/panel/list/PanelList.vue
浏览文件 @
6b8dbf50
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
<span
v-if=
"data.nodeType === 'folder'"
>
<span
v-if=
"data.nodeType === 'folder'"
>
<i
class=
"el-icon-folder"
/>
<i
class=
"el-icon-folder"
/>
</span>
</span>
<span
style=
"margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"
:title=
"data.name"
>
{{
data
.
name
}}
</span>
<span
:class=
"data.status"
style=
"margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"
:title=
"data.name"
>
{{
data
.
name
}}
</span>
</span>
</span>
<span
v-if=
"hasDataPermission('manage',data.privileges)"
class=
"child"
>
<span
v-if=
"hasDataPermission('manage',data.privileges)"
class=
"child"
>
<span
v-if=
"data.nodeType ==='folder'"
@
click
.
stop
>
<span
v-if=
"data.nodeType ==='folder'"
@
click
.
stop
>
...
@@ -866,4 +866,11 @@ export default {
...
@@ -866,4 +866,11 @@ export default {
visibility
:
visible
;
visibility
:
visible
;
}
}
.unpublished
{
color
:
#b2b2b2
}
.publish
{
}
</
style
>
</
style
>
frontend/src/views/panel/list/PanelViewShow.vue
浏览文件 @
6b8dbf50
...
@@ -90,7 +90,7 @@
...
@@ -90,7 +90,7 @@
<!--
<div
id=
"imageWrapper"
ref=
"imageWrapper"
style=
"width: 4096px;height: 2160px"
>
-->
<!--
<div
id=
"imageWrapper"
ref=
"imageWrapper"
style=
"width: 4096px;height: 2160px"
>
-->
<div
id=
"imageWrapper"
ref=
"imageWrapper"
:style=
"imageWrapperStyle"
>
<div
id=
"imageWrapper"
ref=
"imageWrapper"
:style=
"imageWrapperStyle"
>
<fullscreen
style=
"height: 100%;background: #f7f8fa;overflow-y: auto"
:fullscreen
.
sync=
"fullscreen"
>
<fullscreen
style=
"height: 100%;background: #f7f8fa;overflow-y: auto"
:fullscreen
.
sync=
"fullscreen"
>
<Preview
v-if=
"showMainFlag"
:in-screen=
"!fullscreen"
:show-type=
"'width'"
:screen-shot=
"dataLoading"
/>
<Preview
v-if=
"showMainFlag"
:
active-tab=
"activeTab"
:
in-screen=
"!fullscreen"
:show-type=
"'width'"
:screen-shot=
"dataLoading"
/>
</fullscreen>
</fullscreen>
</div>
</div>
</el-row>
</el-row>
...
@@ -147,7 +147,7 @@ import ShareHead from '@/views/panel/GrantAuth/ShareHead'
...
@@ -147,7 +147,7 @@ import ShareHead from '@/views/panel/GrantAuth/ShareHead'
import
{
initPanelData
,
updatePanelStatus
}
from
'@/api/panel/panel'
import
{
initPanelData
,
updatePanelStatus
}
from
'@/api/panel/panel'
import
{
proxyInitPanelData
}
from
'@/api/panel/shareProxy'
import
{
proxyInitPanelData
}
from
'@/api/panel/shareProxy'
import
{
dataURLToBlob
}
from
'@/components/canvas/utils/utils'
import
{
dataURLToBlob
}
from
'@/components/canvas/utils/utils'
import
{
findResourceAsBase64
,
readFile
}
from
'@/api/staticResource/staticResource'
import
{
findResourceAsBase64
}
from
'@/api/staticResource/staticResource'
export
default
{
export
default
{
name
:
'PanelViewShow'
,
name
:
'PanelViewShow'
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论