Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
539c282c
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1431
Star
162
Fork
130
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
539c282c
编写于
10月 22, 2023
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新增组件使用情况信息
上级
e8d90f1c
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
12 addition
and
5 deletion
+12
-5
common/src/main/resources/template/js/dsFormComponent/dsFormComponentList.js
...ources/template/js/dsFormComponent/dsFormComponentList.js
+4
-1
common/src/main/resources/template/tpl/dsFormComponent/dsFormComponentList.html
...ces/template/tpl/dsFormComponent/dsFormComponentList.html
+6
-2
web/src/main/resources/template/assets/lib/winui/css/winui.css
...rc/main/resources/template/assets/lib/winui/css/winui.css
+2
-2
未找到文件。
common/src/main/resources/template/js/dsFormComponent/dsFormComponentList.js
浏览文件 @
539c282c
...
...
@@ -27,7 +27,7 @@ layui.config({
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
numCode
'
,
title
:
'
编码
'
,
width
:
250
},
{
field
:
'
name
'
,
title
:
'
名称
'
,
width
:
1
2
0
},
{
field
:
'
name
'
,
title
:
'
名称
'
,
width
:
1
6
0
},
{
field
:
'
typeName
'
,
title
:
'
分类
'
,
width
:
100
},
{
field
:
'
valueMergType
'
,
title
:
'
值合入方式
'
,
width
:
120
,
templet
:
function
(
d
)
{
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
componentValueMergType
"
,
'
id
'
,
d
.
valueMergType
,
'
name
'
);
...
...
@@ -41,6 +41,9 @@ layui.config({
{
field
:
'
id
'
,
title
:
'
图标
'
,
align
:
'
center
'
,
width
:
60
,
templet
:
function
(
d
)
{
return
systemCommonUtil
.
initIconShow
(
d
);
}},
{
field
:
'
attrUseNum
'
,
title
:
'
组件使用数量
'
,
width
:
120
,
templet
:
function
(
d
)
{
return
isNull
(
d
.
attrUseNum
)
?
''
:
d
.
attrUseNum
+
'
<img src="
'
+
systemCommonUtil
.
getFilePath
(
'
images/util/assest/common/img/analysis.png
'
)
+
'
" class="photo-img" lay-event="attrUseNum">
'
;
}},
{
field
:
'
createName
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
field
:
'
lastUpdateName
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
...
...
common/src/main/resources/template/tpl/dsFormComponent/dsFormComponentList.html
浏览文件 @
539c282c
...
...
@@ -8,6 +8,10 @@
<link
href=
"../../assets/lib/layui/css/codemirror.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
class=
"winui-tip alert-info"
id=
"showInfo"
>
注意事项:
<br/>
1. 已被使用的组件无法被删除
<br/>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn search-table-btn-right"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
...
...
@@ -18,10 +22,10 @@
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
auth
(
'
1555857604181
'
))
{
}}
{{
#
if
(
auth
(
'
1555857604181
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1555857618854
'
))
{
}}
{{
#
if
(
auth
(
'
1555857618854
'
)
&&
(
d
.
attrUseNum
==
0
||
isNull
(
d
.
attrUseNum
)))
{
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
del
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
</script>
...
...
web/src/main/resources/template/assets/lib/winui/css/winui.css
浏览文件 @
539c282c
...
...
@@ -200,8 +200,8 @@ body .layer-ext-winconfirm .layui-layer-content {
/*******************************************自定义样式start********************************************/
.photo-img
{
width
:
30
px
;
height
:
30
px
;
width
:
21
px
;
height
:
21
px
;
cursor
:
pointer
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录