Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
njgzx
dataease
Commits
8c6b60ff
提交
8c6b60ff
authored
5月 24, 2021
作者:
taojinlong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 字段处默认给出提示信息“请将左侧字段拖至此处”
上级
054cf389
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
22 行增加
和
13 行删除
+22
-13
PreviewEject.vue
.../src/components/canvas/components/Editor/PreviewEject.vue
+0
-2
index.js
frontend/src/directive/DataPermission/index.js
+0
-2
en.js
frontend/src/lang/en.js
+1
-0
tw.js
frontend/src/lang/tw.js
+1
-0
zh.js
frontend/src/lang/zh.js
+1
-0
index.vue
frontend/src/views/panel/edit/index.vue
+1
-3
filterDialog.vue
frontend/src/views/panel/filter/filterDialog.vue
+18
-5
LazyTree.vue
frontend/src/views/system/authority/components/LazyTree.vue
+0
-1
没有找到文件。
frontend/src/components/canvas/components/Editor/PreviewEject.vue
浏览文件 @
8c6b60ff
...
@@ -79,8 +79,6 @@ export default {
...
@@ -79,8 +79,6 @@ export default {
},
},
mounted
()
{
mounted
()
{
const
_this
=
this
const
_this
=
this
debugger
// 加载数据
// 加载数据
_this
.
restore
()
_this
.
restore
()
const
erd
=
elementResizeDetectorMaker
()
const
erd
=
elementResizeDetectorMaker
()
...
...
frontend/src/directive/DataPermission/index.js
浏览文件 @
8c6b60ff
function
checkDataPermission
(
el
,
binding
,
vnode
)
{
function
checkDataPermission
(
el
,
binding
,
vnode
)
{
const
dataPermission
=
vnode
.
privileges
const
dataPermission
=
vnode
.
privileges
debugger
const
{
value
}
=
binding
const
{
value
}
=
binding
console
.
log
(
'permission:'
+
value
)
// // 数据授权采用并集的方式 部门 角色 用户 有一个有权限即可
// // 数据授权采用并集的方式 部门 角色 用户 有一个有权限即可
// if (value && value instanceof Array) {
// if (value && value instanceof Array) {
// const needPermissions = value
// const needPermissions = value
...
...
frontend/src/lang/en.js
浏览文件 @
8c6b60ff
...
@@ -815,6 +815,7 @@ export default {
...
@@ -815,6 +815,7 @@ export default {
input_limit_0_50
:
'0-50 chars'
input_limit_0_50
:
'0-50 chars'
},
},
panel
:
{
panel
:
{
drag_here
:
'Please drag the left field here'
,
copy_link_passwd
:
'Copy link and password'
,
copy_link_passwd
:
'Copy link and password'
,
copy_link
:
'Copy link'
,
copy_link
:
'Copy link'
,
passwd_protect
:
'Password Protect'
,
passwd_protect
:
'Password Protect'
,
...
...
frontend/src/lang/tw.js
浏览文件 @
8c6b60ff
...
@@ -814,6 +814,7 @@ export default {
...
@@ -814,6 +814,7 @@ export default {
input_limit_0_50
:
'0-50字符'
input_limit_0_50
:
'0-50字符'
},
},
panel
:
{
panel
:
{
drag_here
:
'請將左側字段拖至此處'
,
copy_link_passwd
:
'複製鏈接及密碼'
,
copy_link_passwd
:
'複製鏈接及密碼'
,
copy_link
:
'複製鏈接'
,
copy_link
:
'複製鏈接'
,
passwd_protect
:
'密碼保護'
,
passwd_protect
:
'密碼保護'
,
...
...
frontend/src/lang/zh.js
浏览文件 @
8c6b60ff
...
@@ -816,6 +816,7 @@ export default {
...
@@ -816,6 +816,7 @@ export default {
input_limit_0_50
:
'0-50字符'
input_limit_0_50
:
'0-50字符'
},
},
panel
:
{
panel
:
{
drag_here
:
'请将左侧字段拖至此处'
,
copy_link_passwd
:
'复制链接及密码'
,
copy_link_passwd
:
'复制链接及密码'
,
copy_link
:
'复制链接'
,
copy_link
:
'复制链接'
,
passwd_protect
:
'密码保护'
,
passwd_protect
:
'密码保护'
,
...
...
frontend/src/views/panel/edit/index.vue
浏览文件 @
8c6b60ff
...
@@ -255,7 +255,7 @@ export default {
...
@@ -255,7 +255,7 @@ export default {
this
.
$router
.
replace
(
'/panel/index'
)
this
.
$router
.
replace
(
'/panel/index'
)
},
},
showPanel
(
type
)
{
showPanel
(
type
)
{
debugger
if
(
this
.
showIndex
===
-
1
||
this
.
showIndex
===
type
)
{
if
(
this
.
showIndex
===
-
1
||
this
.
showIndex
===
type
)
{
this
.
$nextTick
(()
=>
(
this
.
show
=
!
this
.
show
))
this
.
$nextTick
(()
=>
(
this
.
show
=
!
this
.
show
))
}
}
...
@@ -270,7 +270,6 @@ export default {
...
@@ -270,7 +270,6 @@ export default {
// 点击样式按钮 排除
// 点击样式按钮 排除
const
stick
=
evt
.
target
.
closest
(
'.el-icon-magic-stick'
)
const
stick
=
evt
.
target
.
closest
(
'.el-icon-magic-stick'
)
if
(
!
parent
&&
!
self
&&
!
stick
)
{
if
(
!
parent
&&
!
self
&&
!
stick
)
{
debugger
this
.
show
=
false
this
.
show
=
false
window
.
removeEventListener
(
'click'
,
this
.
closeSidebar
)
window
.
removeEventListener
(
'click'
,
this
.
closeSidebar
)
this
.
showIndex
=
-
1
this
.
showIndex
=
-
1
...
@@ -388,7 +387,6 @@ export default {
...
@@ -388,7 +387,6 @@ export default {
this
.
openFilterDiolog
()
this
.
openFilterDiolog
()
},
},
closeLeftPanel
()
{
closeLeftPanel
()
{
debugger
this
.
show
=
false
this
.
show
=
false
// this.beforeDestroy()
// this.beforeDestroy()
},
},
...
...
frontend/src/views/panel/filter/filterDialog.vue
浏览文件 @
8c6b60ff
...
@@ -120,8 +120,7 @@
...
@@ -120,8 +120,7 @@
<div
class=
"filter-field"
>
<div
class=
"filter-field"
>
<div
class=
"field-content"
>
<div
class=
"field-content"
>
<div
class=
"field-content-left"
>
<div
class=
"field-content-left"
>
<!-- <div class="field-content-text">{{ $t('panel.field') }} </div> -->
<div
class=
"field-content-text"
>
{{ $t('panel.field') }}
</div>
<div
class=
"field-content-text"
>
字段
</div>
</div>
</div>
<div
class=
"field-content-right"
>
<div
class=
"field-content-right"
>
...
@@ -133,8 +132,8 @@
...
@@ -133,8 +132,8 @@
:move=
"onMove"
:move=
"onMove"
style=
"width:100%;height: 100%;margin:0 10px;border-radius: 4px;overflow-x: auto;display: flex;align-items: center;background-color: white;"
style=
"width:100%;height: 100%;margin:0 10px;border-radius: 4px;overflow-x: auto;display: flex;align-items: center;background-color: white;"
@
end=
"end2"
@
end=
"end2"
>
>
<transition-group
class=
"
draggable-group
"
>
<transition-group
class=
"
list-group"
:data-value=
"$t('panel.field')
"
>
<drag-item
v-for=
"(item,index) in selectField"
:key=
"item.id"
:item=
"item"
:index=
"index"
@
closeItem=
"closeItem"
/>
<drag-item
v-for=
"(item,index) in selectField"
:key=
"item.id"
:item=
"item"
:index=
"index"
@
closeItem=
"closeItem"
/>
</transition-group>
</transition-group>
</draggable>
</draggable>
...
@@ -309,7 +308,9 @@ export default {
...
@@ -309,7 +308,9 @@ export default {
},
},
methods
:
{
methods
:
{
attr
(){
return
'aaa'
},
loadViews
()
{
loadViews
()
{
const
viewIds
=
this
.
componentData
const
viewIds
=
this
.
componentData
.
filter
(
item
=>
item
.
type
===
'view'
&&
item
.
propValue
&&
item
.
propValue
.
viewId
)
.
filter
(
item
=>
item
.
type
===
'view'
&&
item
.
propValue
&&
item
.
propValue
.
viewId
)
...
@@ -646,4 +647,16 @@ export default {
...
@@ -646,4 +647,16 @@ export default {
}
}
}
}
.list-group
:empty
,
.list-group
>
div
:empty
{
display
:
inline-block
;
width
:
100%
;
height
:
calc
(
100%
-
13px
);
}
.list-group
:empty:before
,
.list-group
>
div
:empty:before
{
content
:
attr
(
data-value
);
}
</
style
>
</
style
>
frontend/src/views/system/authority/components/LazyTree.vue
浏览文件 @
8c6b60ff
...
@@ -127,7 +127,6 @@ export default {
...
@@ -127,7 +127,6 @@ export default {
// 初始化授权模板
// 初始化授权模板
if
(
this
.
showExtent
)
{
if
(
this
.
showExtent
)
{
authDetailsModel
(
this
.
dataInfo
.
authType
).
then
(
res
=>
{
authDetailsModel
(
this
.
dataInfo
.
authType
).
then
(
res
=>
{
debugger
this
.
defaultAuthDetails
=
res
.
data
this
.
defaultAuthDetails
=
res
.
data
})
})
this
.
loadAuth
()
this
.
loadAuth
()
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论