Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
njgzx
dataease
Commits
4535dd2a
提交
4535dd2a
authored
5月 18, 2021
作者:
junjie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(dashboard):ui fix;创建一级目录
上级
8893d06d
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
35 行增加
和
15 行删除
+35
-15
index.vue
frontend/src/views/panel/enshrine/index.vue
+1
-2
index.vue
frontend/src/views/panel/list/EditPanel/index.vue
+8
-8
PanelList.vue
frontend/src/views/panel/list/PanelList.vue
+25
-4
PanelViewShow.vue
frontend/src/views/panel/list/PanelViewShow.vue
+1
-1
没有找到文件。
frontend/src/views/panel/enshrine/index.vue
浏览文件 @
4535dd2a
<
template
>
<
template
>
<div>
<div>
<el-table
<el-table
class=
"de-filter-data-table"
class=
"de-filter-data-table"
:data=
"starDatas"
:data=
"starDatas"
:show-header=
"false"
:show-header=
"false"
...
@@ -52,7 +51,7 @@ export default {
...
@@ -52,7 +51,7 @@ export default {
})
})
},
},
resetID
(
data
)
{
resetID
(
data
)
{
if
(
data
)
{
if
(
data
)
{
data
.
forEach
(
item
=>
{
data
.
forEach
(
item
=>
{
item
.
id
=
uuid
.
v1
()
item
.
id
=
uuid
.
v1
()
})
})
...
...
frontend/src/views/panel/list/EditPanel/index.vue
浏览文件 @
4535dd2a
...
@@ -2,17 +2,17 @@
...
@@ -2,17 +2,17 @@
<el-row>
<el-row>
<el-row
v-if=
"editPanel.optType==='new' && editPanel.panelInfo.nodeType==='panel'"
>
<el-row
v-if=
"editPanel.optType==='new' && editPanel.panelInfo.nodeType==='panel'"
>
<el-col
:span=
"18"
style=
"height: 40px"
>
<el-col
:span=
"18"
style=
"height: 40px"
>
<el-radio
v-model=
"inputType"
label=
"self"
>
{{
$t
(
panel
.
custom
)
}}
</el-radio>
<el-radio
v-model=
"inputType"
label=
"self"
>
{{
$t
(
'panel.custom'
)
}}
</el-radio>
<el-radio
v-model=
"inputType"
label=
"import"
>
{{
$t
(
panel
.
import_template
)
}}
</el-radio>
<el-radio
v-model=
"inputType"
label=
"import"
>
{{
$t
(
'panel.import_template'
)
}}
</el-radio>
<el-radio
v-model=
"inputType"
label=
"copy"
>
{{
$t
(
panel
.
copy_template
)
}}
</el-radio>
<el-radio
v-model=
"inputType"
label=
"copy"
>
{{
$t
(
'panel.copy_template'
)
}}
</el-radio>
</el-col>
</el-col>
<el-col
v-if=
"inputType==='import'"
:span=
"6"
>
<el-col
v-if=
"inputType==='import'"
:span=
"6"
>
<el-button
class=
"el-icon-upload"
size=
"small"
type=
"primary"
@
click=
"goFile"
>
{{
$t
(
panel
.
upload_template
)
}}
</el-button>
<el-button
class=
"el-icon-upload"
size=
"small"
type=
"primary"
@
click=
"goFile"
>
{{
$t
(
'panel.upload_template'
)
}}
</el-button>
<input
id=
"input"
ref=
"files"
type=
"file"
accept=
".DE"
hidden
@
change=
"handleFileChange"
>
<input
id=
"input"
ref=
"files"
type=
"file"
accept=
".DE"
hidden
@
change=
"handleFileChange"
>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
style=
"margin-top: 5px"
>
<el-row
style=
"margin-top: 5px"
>
<el-col
:span=
"4"
>
{{
editPanel
.
titleSuf
}}
{{
$t
(
commons
.
name
)
}}
</el-col>
<el-col
:span=
"4"
>
{{
editPanel
.
titleSuf
}}
{{
$t
(
'commons.name'
)
}}
</el-col>
<el-col
:span=
"20"
>
<el-col
:span=
"20"
>
<el-input
v-model=
"editPanel.panelInfo.name"
clearable
size=
"mini"
/>
<el-input
v-model=
"editPanel.panelInfo.name"
clearable
size=
"mini"
/>
</el-col>
</el-col>
...
@@ -25,8 +25,8 @@
...
@@ -25,8 +25,8 @@
</el-row>
</el-row>
<el-row
v-if=
"inputType==='import'"
class=
"preview"
:style=
"classBackground"
/>
<el-row
v-if=
"inputType==='import'"
class=
"preview"
:style=
"classBackground"
/>
<el-row
class=
"root-class"
>
<el-row
class=
"root-class"
>
<el-button
@
click=
"cancel()"
>
{{
$t
(
commons
.
cancel
)
}}
</el-button>
<el-button
@
click=
"cancel()"
>
{{
$t
(
'commons.cancel'
)
}}
</el-button>
<el-button
type=
"primary"
@
click=
"save()"
>
{{
$t
(
commons
.
confirm
)
}}
</el-button>
<el-button
type=
"primary"
@
click=
"save()"
>
{{
$t
(
'commons.confirm'
)
}}
</el-button>
</el-row>
</el-row>
</el-row>
</el-row>
</
template
>
</
template
>
...
@@ -101,7 +101,7 @@ export default {
...
@@ -101,7 +101,7 @@ export default {
},
},
save
()
{
save
()
{
if
(
!
this
.
editPanel
.
panelInfo
.
name
)
{
if
(
!
this
.
editPanel
.
panelInfo
.
name
)
{
this
.
$warning
(
this
.
$t
(
'commons
.name_can_not_empty'
))
this
.
$warning
(
this
.
$t
(
'chart
.name_can_not_empty'
))
return
false
return
false
}
}
panelSave
(
this
.
editPanel
.
panelInfo
).
then
(
response
=>
{
panelSave
(
this
.
editPanel
.
panelInfo
).
then
(
response
=>
{
...
...
frontend/src/views/panel/list/PanelList.vue
浏览文件 @
4535dd2a
<
template
xmlns:el-col=
"http://www.w3.org/1999/html"
>
<
template
xmlns:el-col=
"http://www.w3.org/1999/html"
>
<el-col>
<el-col
style=
"padding: 0 10px 0 10px;"
>
<!-- panel list -->
<!-- panel list -->
<el-col>
<el-col>
<el-row>
<el-row>
...
@@ -28,7 +28,10 @@
...
@@ -28,7 +28,10 @@
</el-row>
</el-row>
<el-row>
<el-row>
<span
class=
"header-title"
>
{{
$t
(
'panel.panel'
)
}}
</span>
<span
class=
"header-title"
>
{{
$t
(
'panel.panel'
)
}}
<el-button
style=
"float: right;padding-right: 7px;"
type=
"text"
icon=
"el-icon-circle-plus"
@
click=
"showEditPanel(newFolder)"
/>
</span>
</el-row>
</el-row>
<el-col
class=
"custom-tree-container"
>
<el-col
class=
"custom-tree-container"
>
<div
class=
"block"
>
<div
class=
"block"
>
...
@@ -92,7 +95,7 @@
...
@@ -92,7 +95,7 @@
{{
$t
(
'panel.edit'
)
}}
{{
$t
(
'panel.edit'
)
}}
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
v-if=
"data.nodeType==='panel'"
icon=
"el-icon-paperclip"
:command=
"beforeClickMore('link',data,node)"
>
<el-dropdown-item
v-if=
"data.nodeType==='panel'"
icon=
"el-icon-paperclip"
:command=
"beforeClickMore('link',data,node)"
>
{{
$t
(
'panel.create_public_links'
)
}}
{{
$t
(
'panel.create_public_links'
)
}}
</el-dropdown-item>
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown-menu>
</el-dropdown>
</el-dropdown>
...
@@ -248,6 +251,16 @@ export default {
...
@@ -248,6 +251,16 @@ export default {
panelData
:
'[]'
panelData
:
'[]'
}
}
},
},
newFolder
:
{
type
:
'folder'
,
data
:
{
id
:
null
,
pid
:
null
,
level
:
0
},
node
:
{},
optType
:
'newFirstFolder'
},
linkTitle
:
'链接分享'
,
linkTitle
:
'链接分享'
,
linkVisible
:
false
,
linkVisible
:
false
,
linkResourceId
:
null
,
linkResourceId
:
null
,
...
@@ -319,6 +332,12 @@ export default {
...
@@ -319,6 +332,12 @@ export default {
this
.
editPanel
.
panelInfo
.
pid
=
param
.
data
.
id
this
.
editPanel
.
panelInfo
.
pid
=
param
.
data
.
id
this
.
editPanel
.
panelInfo
.
level
=
param
.
data
.
level
+
1
this
.
editPanel
.
panelInfo
.
level
=
param
.
data
.
level
+
1
break
break
case
'newFirstFolder'
:
this
.
editPanel
.
titlePre
=
this
.
$t
(
'commons.create'
)
this
.
editPanel
.
panelInfo
.
name
=
''
this
.
editPanel
.
panelInfo
.
pid
=
null
this
.
editPanel
.
panelInfo
.
level
=
0
break
case
'edit'
:
case
'edit'
:
case
'rename'
:
case
'rename'
:
this
.
editPanel
.
titlePre
=
this
.
$t
(
'commons.edit'
)
this
.
editPanel
.
titlePre
=
this
.
$t
(
'commons.edit'
)
...
@@ -525,7 +544,9 @@ export default {
...
@@ -525,7 +544,9 @@ export default {
flex
:
1
;
flex
:
1
;
color
:
#606266
;
color
:
#606266
;
font-weight
:
bold
;
font-weight
:
bold
;
display
:
block
;
height
:
100%
;
line-height
:
36px
;
}
}
.el-divider--horizontal
{
.el-divider--horizontal
{
...
...
frontend/src/views/panel/list/PanelViewShow.vue
浏览文件 @
4535dd2a
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
</span>
</span>
<span
v-if=
"hasStar && panelInfo"
style=
"float: right;margin-right: 10px"
>
<span
v-if=
"hasStar && panelInfo"
style=
"float: right;margin-right: 10px"
>
<el-tooltip
:content=
"$t('commons.canc
le
')"
>
<el-tooltip
:content=
"$t('commons.canc
el
')"
>
<el-button
class=
"el-icon-star-on"
size=
"mini"
circle
@
click=
"unstar"
/>
<el-button
class=
"el-icon-star-on"
size=
"mini"
circle
@
click=
"unstar"
/>
</el-tooltip>
</el-tooltip>
</span>
</span>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论