Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
9a065cee
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1195
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看板
提交
9a065cee
编写于
9月 10, 2022
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
动态表单数据展示模板功能整改完成
上级
d94b21bd
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
81 addition
and
61 deletion
+81
-61
dsform/src/main/resources/template/js/dsFormDisplayTemplate/dsFormDisplayTemplateAdd.js
...late/js/dsFormDisplayTemplate/dsFormDisplayTemplateAdd.js
+7
-5
dsform/src/main/resources/template/js/dsFormDisplayTemplate/dsFormDisplayTemplateEdit.js
...ate/js/dsFormDisplayTemplate/dsFormDisplayTemplateEdit.js
+12
-8
dsform/src/main/resources/template/js/dsFormDisplayTemplate/dsFormDisplayTemplateList.js
...ate/js/dsFormDisplayTemplate/dsFormDisplayTemplateList.js
+18
-15
dsform/src/main/resources/template/js/dsformcontent/dsformcontentadd.js
...n/resources/template/js/dsformcontent/dsformcontentadd.js
+1
-0
dsform/src/main/resources/template/js/dsformcontent/dsformcontentedit.js
.../resources/template/js/dsformcontent/dsformcontentedit.js
+13
-12
dsform/src/main/resources/template/tpl/dsFormDisplayTemplate/dsFormDisplayTemplateAdd.html
...e/tpl/dsFormDisplayTemplate/dsFormDisplayTemplateAdd.html
+12
-9
dsform/src/main/resources/template/tpl/dsFormDisplayTemplate/dsFormDisplayTemplateEdit.html
.../tpl/dsFormDisplayTemplate/dsFormDisplayTemplateEdit.html
+1
-1
dsform/src/main/resources/template/tpl/dsFormDisplayTemplate/dsFormDisplayTemplateEditTemplate.tpl
...FormDisplayTemplate/dsFormDisplayTemplateEditTemplate.tpl
+11
-8
dsform/src/main/resources/template/tpl/dsFormDisplayTemplate/dsFormDisplayTemplateList.html
.../tpl/dsFormDisplayTemplate/dsFormDisplayTemplateList.html
+3
-3
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyadd.js
...rc/main/resources/template/js/rmproperty/rmpropertyadd.js
+1
-0
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyedit.js
...c/main/resources/template/js/rmproperty/rmpropertyedit.js
+2
-0
未找到文件。
dsform/src/main/resources/template/js/ds
formdisplaytemplate/dsformdisplaytemplatea
dd.js
→
dsform/src/main/resources/template/js/ds
FormDisplayTemplate/dsFormDisplayTemplateA
dd.js
浏览文件 @
9a065cee
...
...
@@ -3,18 +3,20 @@ layui.config({
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
element
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
,
'
codemirror
'
,
'
xml
'
,
'
clike
'
,
'
css
'
,
'
htmlmixed
'
,
'
javascript
'
,
'
nginx
'
,
'
solr
'
,
'
sql
'
,
'
vue
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
element
=
layui
.
element
,
form
=
layui
.
form
;
// 根据类型获取部分功能的使用说明
systemCommonUtil
.
queryExplainMationByType
(
3
,
function
(
json
)
{
$
(
"
#exexplaintodsformdisplaytemplateT
itle
"
).
html
(
json
.
bean
.
title
);
$
(
"
#exexplaintodsformdisplaytemplateC
ontent
"
).
html
(
json
.
bean
.
content
);
$
(
"
.layui-colla-t
itle
"
).
html
(
json
.
bean
.
title
);
$
(
"
.layui-colla-c
ontent
"
).
html
(
json
.
bean
.
content
);
});
element
.
init
();
var
templateContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
templateContent
"
),
{
mode
:
"
xml
"
,
// 模式
...
...
@@ -35,9 +37,9 @@ layui.config({
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
templateName
:
$
(
"
#templateName
"
).
val
(),
templateContent
:
encodeURI
(
templateContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
))
templateContent
:
encodeURI
Component
(
templateContent
.
getValue
(
))
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
dsformdisplaytemplate002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
writeDsFormDisplayTemplate
"
,
params
:
params
,
type
:
'
json
'
,
method
:
'
POST
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
...
...
dsform/src/main/resources/template/js/ds
formdisplaytemplate/dsformdisplaytemplatee
dit.js
→
dsform/src/main/resources/template/js/ds
FormDisplayTemplate/dsFormDisplayTemplateE
dit.js
浏览文件 @
9a065cee
...
...
@@ -3,19 +3,21 @@ layui.config({
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
element
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
,
'
codemirror
'
,
'
xml
'
,
'
clike
'
,
'
css
'
,
'
htmlmixed
'
,
'
javascript
'
,
'
nginx
'
,
'
solr
'
,
'
sql
'
,
'
vue
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
element
=
layui
.
element
,
form
=
layui
.
form
;
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
dsformdisplaytemplate004
"
,
params
:
{
rowI
d
:
parent
.
rowId
},
params
:
{
i
d
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/dsformdisplaytemplate/dsformdisplaytemplateeditTemplate.tpl
'
),
method
:
'
GET
'
,
template
:
getFileContent
(
'
tpl/dsFormDisplayTemplate/dsFormDisplayTemplateEditTemplate.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
...
...
@@ -35,20 +37,22 @@ layui.config({
matchingLanguage
();
form
.
render
();
// 根据类型获取部分功能的使用说明
systemCommonUtil
.
queryExplainMationByType
(
3
,
function
(
json
)
{
$
(
"
#exexplaintodsformdisplaytemplateT
itle
"
).
html
(
json
.
bean
.
title
);
$
(
"
#exexplaintodsformdisplaytemplateC
ontent
"
).
html
(
json
.
bean
.
content
);
$
(
"
.layui-colla-t
itle
"
).
html
(
json
.
bean
.
title
);
$
(
"
.layui-colla-c
ontent
"
).
html
(
json
.
bean
.
content
);
});
element
.
init
();
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
templateName
:
$
(
"
#templateName
"
).
val
(),
templateContent
:
encodeURI
(
templateContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
rowId
:
parent
.
rowId
templateContent
:
encodeURI
Component
(
templateContent
.
getValue
(
)),
id
:
parent
.
rowId
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
dsformdisplaytemplate005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
writeDsFormDisplayTemplate
"
,
params
:
params
,
type
:
'
json
'
,
method
:
'
POST
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
...
...
dsform/src/main/resources/template/js/ds
formdisplaytemplate/dsformdisplaytemplatel
ist.js
→
dsform/src/main/resources/template/js/ds
FormDisplayTemplate/dsFormDisplayTemplateL
ist.js
浏览文件 @
9a065cee
...
...
@@ -39,20 +39,23 @@ layui.config({
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
templateName
'
,
title
:
'
模板
标题
'
,
width
:
180
},
{
field
:
'
id
'
,
title
:
'
模板内容
'
,
align
:
'
center
'
,
width
:
80
,
templet
:
function
(
d
)
{
{
field
:
'
templateName
'
,
title
:
'
标题
'
,
width
:
180
},
{
field
:
'
id
'
,
title
:
'
脚本
'
,
align
:
'
center
'
,
width
:
80
,
templet
:
function
(
d
)
{
if
(
!
isNull
(
d
.
templateContent
))
{
return
'
<i class="fa fa-fw fa-html5 cursor" lay-event="templateContent"></i>
'
;
}
else
{
return
'
无
'
;
}
}},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
240
,
toolbar
:
'
#tableBar
'
}
{
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
},
{
field
:
'
lastUpdateTime
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
120
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入
模板
标题
"
,
function
()
{
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入标题
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
}
...
...
@@ -65,12 +68,12 @@ layui.config({
del
(
data
,
obj
);
}
else
if
(
layEvent
===
'
edit
'
)
{
//编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
templateContent
'
)
{
//模板内容
}
else
if
(
layEvent
===
'
templateContent
'
)
{
//
模板内容
editor
.
setValue
(
data
.
templateContent
);
layer
.
open
({
id
:
'
模板内容
'
,
type
:
1
,
title
:
'
模板
内容
'
,
title
:
'
脚本
内容
'
,
shade
:
0.3
,
area
:
[
'
90vw
'
,
'
90vh
'
],
content
:
$
(
"
#modelContentDiv
"
).
html
(),
...
...
@@ -82,7 +85,7 @@ layui.config({
function
del
(
data
,
obj
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
dsformdisplaytemplate003
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
dsformdisplaytemplate003
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
'
DELETE
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
...
...
@@ -93,9 +96,9 @@ layui.config({
function
edit
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/ds
formdisplaytemplate/dsformdisplaytemplateedit.html
"
,
title
:
"
编辑
"
,
pageId
:
"
ds
formdisplaytemplatee
dit
"
,
url
:
"
../../tpl/ds
FormDisplayTemplate/dsFormDisplayTemplateEdit.html
"
,
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
]
,
pageId
:
"
ds
FormDisplayTemplateE
dit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
...
...
@@ -106,9 +109,9 @@ layui.config({
// 新增
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/ds
formdisplaytemplate/dsformdisplaytemplatea
dd.html
"
,
title
:
"
新增
"
,
pageId
:
"
ds
formdisplaytemplatea
dd
"
,
url
:
"
../../tpl/ds
FormDisplayTemplate/dsFormDisplayTemplateA
dd.html
"
,
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
]
,
pageId
:
"
ds
FormDisplayTemplateA
dd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
...
...
@@ -129,5 +132,5 @@ layui.config({
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
ds
formdisplaytemplatel
ist
'
,
{});
exports
(
'
ds
FormDisplayTemplateL
ist
'
,
{});
});
dsform/src/main/resources/template/js/dsformcontent/dsformcontentadd.js
浏览文件 @
9a065cee
...
...
@@ -50,6 +50,7 @@ layui.config({
url
:
flowableBasePath
+
"
dsformdisplaytemplate006
"
,
params
:
{},
pagination
:
false
,
method
:
'
GET
'
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{},
ajaxSendAfter
:
function
(
json
)
{
...
...
dsform/src/main/resources/template/js/dsformcontent/dsformcontentedit.js
浏览文件 @
9a065cee
...
...
@@ -112,18 +112,19 @@ layui.config({
function
initDataShowTpl
(
id
){
initDatatpl
=
true
;
showGrid
({
id
:
"
dataShowTpl
"
,
url
:
flowableBasePath
+
"
dsformdisplaytemplate006
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{},
ajaxSendAfter
:
function
(
json
)
{
$
(
"
#dataShowTpl
"
).
val
(
id
);
form
.
render
(
'
select
'
);
jsonStr
=
json
.
rows
;
}
});
id
:
"
dataShowTpl
"
,
url
:
flowableBasePath
+
"
dsformdisplaytemplate006
"
,
params
:
{},
pagination
:
false
,
method
:
'
GET
'
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{},
ajaxSendAfter
:
function
(
json
)
{
$
(
"
#dataShowTpl
"
).
val
(
id
);
form
.
render
(
'
select
'
);
jsonStr
=
json
.
rows
;
}
});
}
//数据展示模板监听事件
form
.
on
(
'
select(dataShowTpl)
'
,
function
(
data
)
{
...
...
dsform/src/main/resources/template/tpl/ds
formdisplaytemplate/dsformdisplaytemplatea
dd.html
→
dsform/src/main/resources/template/tpl/ds
FormDisplayTemplate/dsFormDisplayTemplateA
dd.html
浏览文件 @
9a065cee
...
...
@@ -10,22 +10,25 @@
<body>
<div
style=
"margin:0 auto;padding:20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
id=
"exexplaintodsformdisplaytemplateTitle"
></span><hr>
<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"
id=
"exexplaintodsformdisplaytemplateContent"
style=
"padding: 0px 15px; font-size: 12px; color: grey; display: contents;"
>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
模板内容
</span><hr>
<span
class=
"hr-title"
>
数据模板
</span><hr>
</div>
<div
class=
"layui-form-item"
>
<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"
>
<input
type=
"text"
id=
"templateName"
name=
"templateName"
win-verify=
"required"
placeholder=
"请输入
模板
标题"
class=
"layui-input"
maxlength=
"20"
/>
<input
type=
"text"
id=
"templateName"
name=
"templateName"
win-verify=
"required"
placeholder=
"请输入标题"
class=
"layui-input"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<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"
>
<textarea
id=
"templateContent"
name=
"templateContent"
></textarea>
</div>
...
...
@@ -41,7 +44,7 @@
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/ds
formdisplaytemplate/
'
}).
use
(
'
dsformdisplaytemplatea
dd
'
);
layui
.
config
({
base
:
'
../../js/ds
FormDisplayTemplate/
'
}).
use
(
'
dsFormDisplayTemplateA
dd
'
);
</script>
</body>
</html>
\ No newline at end of file
dsform/src/main/resources/template/tpl/ds
formdisplaytemplate/dsformdisplaytemplatee
dit.html
→
dsform/src/main/resources/template/tpl/ds
FormDisplayTemplate/dsFormDisplayTemplateE
dit.html
浏览文件 @
9a065cee
...
...
@@ -16,7 +16,7 @@
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/ds
formdisplaytemplate/
'
}).
use
(
'
dsformdisplaytemplatee
dit
'
);
layui
.
config
({
base
:
'
../../js/ds
FormDisplayTemplate/
'
}).
use
(
'
dsFormDisplayTemplateE
dit
'
);
</script>
</body>
</html>
\ No newline at end of file
dsform/src/main/resources/template/tpl/ds
formdisplaytemplate/dsformdisplaytemplatee
ditTemplate.tpl
→
dsform/src/main/resources/template/tpl/ds
FormDisplayTemplate/dsFormDisplayTemplateE
ditTemplate.tpl
浏览文件 @
9a065cee
{{
#
bean
}}
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
id=
"exexplaintodsformdisplaytemplateTitle"
></span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs12"
id=
"exexplaintodsformdisplaytemplateContent"
style=
"padding: 0px 15px; font-size: 12px; color: grey; display: contents;"
>
<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>
<span
class=
"hr-title"
>
数据模板
</span><hr>
</div>
<div
class=
"layui-form-item"
>
<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"
>
<input
type=
"text"
id=
"templateName"
name=
"templateName"
win-verify=
"required"
placeholder=
"请输入
模板
标题"
class=
"layui-input"
maxlength=
"20"
value=
"{
{
templateName
}
}"
/>
<input
type=
"text"
id=
"templateName"
name=
"templateName"
win-verify=
"required"
placeholder=
"请输入标题"
class=
"layui-input"
maxlength=
"20"
value=
"{
{
templateName
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<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"
>
<textarea
id=
"templateContent"
name=
"templateContent"
>
{
{
templateContent
}
}
</textarea>
</div>
...
...
dsform/src/main/resources/template/tpl/ds
formdisplaytemplate/dsformdisplaytemplatel
ist.html
→
dsform/src/main/resources/template/tpl/ds
FormDisplayTemplate/dsFormDisplayTemplateL
ist.html
浏览文件 @
9a065cee
...
...
@@ -11,13 +11,13 @@
<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>
<button
id=
"addBean"
class=
"winui-toolbtn search-table-btn-right"
auth=
"1560822829559"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i>
新增模板
</button>
<button
id=
"addBean"
class=
"winui-toolbtn search-table-btn-right"
auth=
"1560822829559"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i>
<language
showName=
"com.skyeye.addBtn"
></language>
</button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
auth
(
'
15608228
83717
'
)){
}}
{{
#
if
(
auth
(
'
15608228
29559
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1560822861808
'
)){
}}
...
...
@@ -33,7 +33,7 @@
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/ds
formdisplaytemplate/
'
}).
use
(
'
dsformdisplaytemplatel
ist
'
);
layui
.
config
({
base
:
'
../../js/ds
FormDisplayTemplate/
'
}).
use
(
'
dsFormDisplayTemplateL
ist
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyadd.js
浏览文件 @
9a065cee
...
...
@@ -112,6 +112,7 @@ layui.config({
url
:
flowableBasePath
+
"
dsformdisplaytemplate006
"
,
params
:
{},
pagination
:
false
,
method
:
'
GET
'
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
...
...
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyedit.js
浏览文件 @
9a065cee
...
...
@@ -96,6 +96,7 @@ layui.config({
url
:
flowableBasePath
+
"
dsformdisplaytemplate006
"
,
params
:
{},
pagination
:
false
,
method
:
'
GET
'
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
...
...
@@ -118,6 +119,7 @@ layui.config({
url
:
flowableBasePath
+
"
dsformdisplaytemplate006
"
,
params
:
{},
pagination
:
false
,
method
:
'
GET
'
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录