Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
42fae06d
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1173
Star
154
Fork
127
代码
文件
提交
分支
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看板
提交
42fae06d
编写于
11月 05, 2022
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
动态表单组件管理修改
上级
aecbbdc3
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
136 addition
and
133 deletion
+136
-133
dsform/src/main/resources/template/js/dsFormComponent/dsFormComponentAdd.js
...sources/template/js/dsFormComponent/dsFormComponentAdd.js
+1
-1
dsform/src/main/resources/template/js/dsFormComponent/dsFormComponentEdit.js
...ources/template/js/dsFormComponent/dsFormComponentEdit.js
+3
-3
dsform/src/main/resources/template/js/dsFormComponent/dsFormComponentList.js
...ources/template/js/dsFormComponent/dsFormComponentList.js
+7
-7
dsform/src/main/resources/template/js/dsFormPage/dsFormPageDesign.js
...main/resources/template/js/dsFormPage/dsFormPageDesign.js
+1
-1
dsform/src/main/resources/template/tpl/dsFormComponent/dsFormComponentAdd.html
...rces/template/tpl/dsFormComponent/dsFormComponentAdd.html
+1
-1
dsform/src/main/resources/template/tpl/dsFormComponent/dsFormComponentEdit.html
...ces/template/tpl/dsFormComponent/dsFormComponentEdit.html
+118
-0
dsform/src/main/resources/template/tpl/dsFormComponent/dsFormComponentList.html
...ces/template/tpl/dsFormComponent/dsFormComponentList.html
+1
-1
dsform/src/main/resources/template/tpl/dsFormPage/dsFormPageDesign.html
...n/resources/template/tpl/dsFormPage/dsFormPageDesign.html
+1
-1
dsform/src/main/resources/template/tpl/dsformcontent/dsformcontentedit.html
...sources/template/tpl/dsformcontent/dsformcontentedit.html
+0
-23
dsform/src/main/resources/template/tpl/dsformcontent/dsformcontenteditTemplate.tpl
.../template/tpl/dsformcontent/dsformcontenteditTemplate.tpl
+0
-92
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyadd.js
...rc/main/resources/template/js/rmproperty/rmpropertyadd.js
+1
-1
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyedit.js
...c/main/resources/template/js/rmproperty/rmpropertyedit.js
+1
-1
rmprogram/src/main/resources/template/js/rmproperty/rmpropertylist.js
...c/main/resources/template/js/rmproperty/rmpropertylist.js
+1
-1
未找到文件。
dsform/src/main/resources/template/js/ds
formcontent/dsformcontenta
dd.js
→
dsform/src/main/resources/template/js/ds
FormComponent/dsFormComponentA
dd.js
浏览文件 @
42fae06d
...
@@ -154,7 +154,7 @@ layui.config({
...
@@ -154,7 +154,7 @@ layui.config({
if
(
!
params
[
"
iconChooseResult
"
])
{
if
(
!
params
[
"
iconChooseResult
"
])
{
return
false
;
return
false
;
}
}
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
writeDsFormCo
nt
ent
"
,
params
:
params
,
type
:
'
json
'
,
method
:
'
POST
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
writeDsFormCo
mpon
ent
"
,
params
:
params
,
type
:
'
json
'
,
method
:
'
POST
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
}});
}});
...
...
dsform/src/main/resources/template/js/ds
formcontent/dsformcontente
dit.js
→
dsform/src/main/resources/template/js/ds
FormComponent/dsFormComponentE
dit.js
浏览文件 @
42fae06d
...
@@ -17,11 +17,11 @@ layui.config({
...
@@ -17,11 +17,11 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
queryDsFormCo
nt
entMationById
"
,
url
:
flowableBasePath
+
"
queryDsFormCo
mpon
entMationById
"
,
params
:
{
id
:
parent
.
rowId
},
params
:
{
id
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
method
:
'
GET
'
,
method
:
'
GET
'
,
template
:
getFileContent
(
'
tpl/dsformcontent/dsformcontenteditTemplate.tpl
'
),
template
:
$
(
"
#beanTemplate
"
).
html
(
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
ajaxSendLoadBefore
:
function
(
hdb
)
{
//是否为系统菜单
//是否为系统菜单
hdb
.
registerHelper
(
"
compare2
"
,
function
(
v1
,
options
){
hdb
.
registerHelper
(
"
compare2
"
,
function
(
v1
,
options
){
...
@@ -198,7 +198,7 @@ layui.config({
...
@@ -198,7 +198,7 @@ layui.config({
return
false
;
return
false
;
}
}
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
writeDsFormCo
nt
ent
"
,
params
:
params
,
type
:
'
json
'
,
method
:
'
POST
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
writeDsFormCo
mpon
ent
"
,
params
:
params
,
type
:
'
json
'
,
method
:
'
POST
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
}});
}});
...
...
dsform/src/main/resources/template/js/ds
formcontent/dsformcontentl
ist.js
→
dsform/src/main/resources/template/js/ds
FormComponent/dsFormComponentL
ist.js
浏览文件 @
42fae06d
...
@@ -19,7 +19,7 @@ layui.config({
...
@@ -19,7 +19,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
flowableBasePath
+
'
queryDsFormCo
nt
entList
'
,
url
:
flowableBasePath
+
'
queryDsFormCo
mpon
entList
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -113,7 +113,7 @@ layui.config({
...
@@ -113,7 +113,7 @@ layui.config({
function
del
(
data
,
obj
)
{
function
del
(
data
,
obj
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
deleteDsFormCo
nt
entMationById
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
'
DELETE
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
deleteDsFormCo
mpon
entMationById
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
'
DELETE
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
}});
}});
...
@@ -124,9 +124,9 @@ layui.config({
...
@@ -124,9 +124,9 @@ layui.config({
function
edit
(
data
)
{
function
edit
(
data
)
{
rowId
=
data
.
id
;
rowId
=
data
.
id
;
_openNewWindows
({
_openNewWindows
({
url
:
"
../../tpl/ds
formcontent/dsformcontentedit.html
"
,
url
:
"
../../tpl/ds
FormComponent/dsFormComponentEdit.html
"
,
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
pageId
:
"
ds
formcontente
dit
"
,
pageId
:
"
ds
FormComponentE
dit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
...
@@ -137,9 +137,9 @@ layui.config({
...
@@ -137,9 +137,9 @@ layui.config({
// 新增
// 新增
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
_openNewWindows
({
url
:
"
../../tpl/ds
formcontent/dsformcontentadd.html
"
,
url
:
"
../../tpl/ds
FormComponent/dsFormComponentAdd.html
"
,
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
],
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
],
pageId
:
"
ds
formcontenta
dd
"
,
pageId
:
"
ds
FormComponentA
dd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
...
@@ -160,5 +160,5 @@ layui.config({
...
@@ -160,5 +160,5 @@ layui.config({
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
}
exports
(
'
ds
formcontentl
ist
'
,
{});
exports
(
'
ds
FormComponentL
ist
'
,
{});
});
});
dsform/src/main/resources/template/js/dsFormPage/dsFormPageDesign.js
浏览文件 @
42fae06d
...
@@ -87,7 +87,7 @@ layui.config({
...
@@ -87,7 +87,7 @@ layui.config({
function
loadLeftBoxItem
(){
function
loadLeftBoxItem
(){
showGrid
({
showGrid
({
id
:
"
btnBox
"
,
id
:
"
btnBox
"
,
url
:
flowableBasePath
+
"
queryDsFormCo
nt
entMationToShow
"
,
url
:
flowableBasePath
+
"
queryDsFormCo
mpon
entMationToShow
"
,
params
:
{},
params
:
{},
pagination
:
false
,
pagination
:
false
,
method
:
'
GET
'
,
method
:
'
GET
'
,
...
...
dsform/src/main/resources/template/tpl/ds
formcontent/dsformcontenta
dd.html
→
dsform/src/main/resources/template/tpl/ds
FormComponent/dsFormComponentA
dd.html
浏览文件 @
42fae06d
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/ds
formcontent/
'
}).
use
(
'
dsformcontenta
dd
'
);
layui
.
config
({
base
:
'
../../js/ds
FormComponent/
'
}).
use
(
'
dsFormComponentA
dd
'
);
</script>
</script>
</body>
</body>
</html>
</html>
\ No newline at end of file
dsform/src/main/resources/template/tpl/dsFormComponent/dsFormComponentEdit.html
0 → 100644
浏览文件 @
42fae06d
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/layui/css/codemirror.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"margin:0 auto;padding:20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
</form>
</div>
<script
type=
"text/x-handlebars-template"
id=
"beanTemplate"
>
{{
#
bean
}}
<
div
class
=
"
layui-collapse
"
>
<
div
class
=
"
layui-colla-item
"
>
<
h2
class
=
"
layui-colla-title
"
><
/h2
>
<
div
class
=
"
layui-colla-content
"
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
span
class
=
"
hr-title
"
>
组件信息
<
/span><hr
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
组件标题
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
contentName
"
name
=
"
contentName
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入组件标题
"
class
=
"
layui-input
"
maxlength
=
"
20
"
value
=
"
{{contentName}}
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
分类
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
select
id
=
"
dsFormContentType
"
name
=
"
dsFormContentType
"
lay
-
filter
=
"
dsFormContentType
"
lay
-
search
=
""
win
-
verify
=
"
required
"
>
<
/select
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
HTML脚本类型
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
select
id
=
"
htmlType
"
name
=
"
htmlType
"
class
=
"
layui-input
"
win
-
verify
=
"
required
"
lay
-
filter
=
"
selectParent
"
>
<
option
value
=
"
html
"
>
html
<
/option
>
<
/select
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
HTML脚本
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
textarea
id
=
"
htmlContent
"
>
{{
htmlContent
}}
<
/textarea
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
JS脚本类型
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
select
id
=
"
jsType
"
name
=
"
jsType
"
class
=
"
layui-input
"
win
-
verify
=
"
required
"
lay
-
filter
=
"
selectParent
"
>
<
option
value
=
"
javascript
"
>
javascript
<
/option
>
<
/select
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
JS脚本
<
/label
>
<
div
class
=
"
layui-input-block
"
>
<
textarea
id
=
"
jsContent
"
>
{{
jsContent
}}
<
/textarea
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
关联数据
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block winui-switch
"
>
<
input
id
=
"
linkedData
"
name
=
"
linkedData
"
lay
-
filter
=
"
linkedData
"
type
=
"
checkbox
"
lay
-
skin
=
"
switch
"
lay
-
text
=
"
是|否
"
{{
#
compare2
linkedData
}}{{
/
compare2
}}
value
=
"
{{#compare3 linkedData}}{{/compare3}}
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12 layui-hide dataTpl
"
>
<
label
class
=
"
layui-form-label
"
>
数据展示模板
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
select
id
=
"
dataShowTpl
"
name
=
"
dataShowTpl
"
lay
-
filter
=
"
dataShowTpl
"
>
<
/select
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12 layui-hide dataTpl
"
>
<
div
class
=
"
layui-input-block
"
id
=
"
templateContent
"
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12 layui-hide dataTpl
"
>
<
label
class
=
"
layui-form-label
"
>
默认数据
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
textarea
id
=
"
defaultData
"
name
=
"
defaultData
"
class
=
"
layui-textarea
"
>
{{
defaultData
}}
<
/textarea
>
<
div
class
=
"
layui-form-mid layui-word-aux
"
>
数据样式为
:
[{
"
id
"
:
"
1
"
,
"
name
"
:
"
男
"
,...},{
"
id
"
:
"
2
"
,
"
name
"
:
"
女
"
,...}]
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
id
=
"
iconMation
"
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
div
class
=
"
layui-input-block
"
>
<
button
class
=
"
winui-btn
"
id
=
"
cancle
"
><
language
showName
=
"
com.skyeye.cancel
"
><
/language></
button
>
<
button
class
=
"
winui-btn
"
lay
-
submit
lay
-
filter
=
"
formEditBean
"
><
language
showName
=
"
com.skyeye.save
"
><
/language></
button
>
<
/div
>
<
/div
>
{{
/
bean
}}
</script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/dsFormComponent/
'
}).
use
(
'
dsFormComponentEdit
'
);
</script>
</body>
</html>
\ No newline at end of file
dsform/src/main/resources/template/tpl/ds
formcontent/dsformcontentl
ist.html
→
dsform/src/main/resources/template/tpl/ds
FormComponent/dsFormComponentL
ist.html
浏览文件 @
42fae06d
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/ds
formcontent/
'
}).
use
(
'
dsformcontentl
ist
'
);
layui
.
config
({
base
:
'
../../js/ds
FormComponent/
'
}).
use
(
'
dsFormComponentL
ist
'
);
</script>
</script>
</body>
</body>
</html>
</html>
\ No newline at end of file
dsform/src/main/resources/template/tpl/dsFormPage/dsFormPageDesign.html
浏览文件 @
42fae06d
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
<
div
class
=
"
layui-form-item layui-col-xs12 TypeIsTwo layui-hide
"
>
<
div
class
=
"
layui-form-item layui-col-xs12 TypeIsTwo layui-hide
"
>
<
label
class
=
"
layui-form-label
"
>
接口
<
i
class
=
"
red
"
>*<
/i></
label
>
<
label
class
=
"
layui-form-label
"
>
接口
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
nterfac
"
name
=
"
nterfac
"
class
=
"
layui-input
"
placeholder
=
"
例如:http://localhost:8081/queryDsFormCo
nt
entMationToShow
"
/>
<
input
type
=
"
text
"
id
=
"
nterfac
"
name
=
"
nterfac
"
class
=
"
layui-input
"
placeholder
=
"
例如:http://localhost:8081/queryDsFormCo
mpon
entMationToShow
"
/>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
dsform/src/main/resources/template/tpl/dsformcontent/dsformcontentedit.html
已删除
100644 → 0
浏览文件 @
aecbbdc3
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/layui/css/codemirror.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"margin:0 auto;padding:20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
</form>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/dsformcontent/
'
}).
use
(
'
dsformcontentedit
'
);
</script>
</body>
</html>
\ No newline at end of file
dsform/src/main/resources/template/tpl/dsformcontent/dsformcontenteditTemplate.tpl
已删除
100644 → 0
浏览文件 @
aecbbdc3
{{
#
bean
}}
<div
class=
"layui-collapse"
>
<div
class=
"layui-colla-item"
>
<h2
class=
"layui-colla-title"
></h2>
<div
class=
"layui-colla-content"
>
</div>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
组件信息
</span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
组件标题
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"contentName"
name=
"contentName"
win-verify=
"required"
placeholder=
"请输入组件标题"
class=
"layui-input"
maxlength=
"20"
value=
"{
{
contentName
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
分类
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
id=
"dsFormContentType"
name=
"dsFormContentType"
lay-filter=
"dsFormContentType"
lay-search=
""
win-verify=
"required"
>
</select>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
HTML脚本类型
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
id=
"htmlType"
name=
"htmlType"
class=
"layui-input"
win-verify=
"required"
lay-filter=
"selectParent"
>
<option
value=
"html"
>
html
</option>
</select>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
HTML脚本
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<textarea
id=
"htmlContent"
>
{
{
htmlContent
}
}
</textarea>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
JS脚本类型
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
id=
"jsType"
name=
"jsType"
class=
"layui-input"
win-verify=
"required"
lay-filter=
"selectParent"
>
<option
value=
"javascript"
>
javascript
</option>
</select>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
JS脚本
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"jsContent"
>
{
{
jsContent
}
}
</textarea>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
关联数据
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block winui-switch"
>
<input
id=
"linkedData"
name=
"linkedData"
lay-filter=
"linkedData"
type=
"checkbox"
lay-skin=
"switch"
lay-text=
"是|否"
{
{
#
compare2
linkedData
}
}{
{/
compare2
}
}
value=
"{
{
#
compare3
linkedData
}
}{
{/
compare3
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12 layui-hide dataTpl"
>
<label
class=
"layui-form-label"
>
数据展示模板
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
id=
"dataShowTpl"
name=
"dataShowTpl"
lay-filter=
"dataShowTpl"
>
</select>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12 layui-hide dataTpl"
>
<div
class=
"layui-input-block"
id=
"templateContent"
>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12 layui-hide dataTpl"
>
<label
class=
"layui-form-label"
>
默认数据
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<textarea
id=
"defaultData"
name=
"defaultData"
class=
"layui-textarea"
>
{
{
defaultData
}
}
</textarea>
<div
class=
"layui-form-mid layui-word-aux"
>
数据样式为:[
{
"id"
:
"1"
,
"name"
:
"男"
,...
}
,
{
"id"
:
"2"
,
"name"
:
"女"
,...
}
]
</div>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
id=
"iconMation"
>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-input-block"
>
<button
class=
"winui-btn"
id=
"cancle"
><language
showName=
"com.skyeye.cancel"
></language></button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formEditBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
{
{/
bean
}
}
\ No newline at end of file
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyadd.js
浏览文件 @
42fae06d
...
@@ -89,7 +89,7 @@ layui.config({
...
@@ -89,7 +89,7 @@ layui.config({
//展现形式
//展现形式
showGrid
({
showGrid
({
id
:
"
dsFormContentId
"
,
id
:
"
dsFormContentId
"
,
url
:
flowableBasePath
+
"
queryDsFormCo
nt
entMationToShow
"
,
url
:
flowableBasePath
+
"
queryDsFormCo
mpon
entMationToShow
"
,
params
:
{},
params
:
{},
pagination
:
false
,
pagination
:
false
,
method
:
'
GET
'
,
method
:
'
GET
'
,
...
...
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyedit.js
浏览文件 @
42fae06d
...
@@ -140,7 +140,7 @@ layui.config({
...
@@ -140,7 +140,7 @@ layui.config({
//展现形式
//展现形式
showGrid
({
showGrid
({
id
:
"
dsFormContentId
"
,
id
:
"
dsFormContentId
"
,
url
:
flowableBasePath
+
"
queryDsFormCo
nt
entMationToShow
"
,
url
:
flowableBasePath
+
"
queryDsFormCo
mpon
entMationToShow
"
,
params
:
{},
params
:
{},
pagination
:
false
,
pagination
:
false
,
method
:
'
GET
'
,
method
:
'
GET
'
,
...
...
rmprogram/src/main/resources/template/js/rmproperty/rmpropertylist.js
浏览文件 @
42fae06d
...
@@ -140,7 +140,7 @@ layui.config({
...
@@ -140,7 +140,7 @@ layui.config({
//展现形式
//展现形式
showGrid
({
showGrid
({
id
:
"
dsFormContentId
"
,
id
:
"
dsFormContentId
"
,
url
:
flowableBasePath
+
"
queryDsFormCo
nt
entMationToShow
"
,
url
:
flowableBasePath
+
"
queryDsFormCo
mpon
entMationToShow
"
,
params
:
{},
params
:
{},
pagination
:
false
,
pagination
:
false
,
method
:
'
GET
'
,
method
:
'
GET
'
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录