Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
6308d8e3
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1172
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看板
提交
6308d8e3
编写于
5月 15, 2022
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
系统部分功能的说明规范设置修改,解决版本号加载两次的问题
上级
c1320870
变更
20
隐藏空白更改
内联
并排
Showing
20 changed file
with
115 addition
and
484 deletion
+115
-484
code-doc/src/main/resources/template/js/codemodel/codemodeladd.js
.../src/main/resources/template/js/codemodel/codemodeladd.js
+9
-10
code-doc/src/main/resources/template/js/codemodel/codemodeledit.js
...src/main/resources/template/js/codemodel/codemodeledit.js
+5
-8
dsform/src/main/resources/template/js/dsformcontent/dsformcontentadd.js
...n/resources/template/js/dsformcontent/dsformcontentadd.js
+11
-14
dsform/src/main/resources/template/js/dsformcontent/dsformcontentedit.js
.../resources/template/js/dsformcontent/dsformcontentedit.js
+10
-11
dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplateadd.js
...late/js/dsformdisplaytemplate/dsformdisplaytemplateadd.js
+7
-10
dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplateedit.js
...ate/js/dsformdisplaytemplate/dsformdisplaytemplateedit.js
+6
-10
dsform/src/main/resources/template/tpl/dsFormPage/dsFormPageDesign.html
...n/resources/template/tpl/dsFormPage/dsFormPageDesign.html
+2
-0
dsform/src/main/resources/template/tpl/dsformcontent/dsformcontentadd.html
...esources/template/tpl/dsformcontent/dsformcontentadd.html
+7
-4
dsform/src/main/resources/template/tpl/dsformcontent/dsformcontenteditTemplate.tpl
.../template/tpl/dsformcontent/dsformcontenteditTemplate.tpl
+7
-4
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyadd.js
...rc/main/resources/template/js/rmproperty/rmpropertyadd.js
+7
-10
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyedit.js
...c/main/resources/template/js/rmproperty/rmpropertyedit.js
+7
-11
userauth/src/main/resources/template/js/exExplain/exExplainDesign.js
...c/main/resources/template/js/exExplain/exExplainDesign.js
+11
-11
userauth/src/main/resources/template/js/exexplain/exexplaintodsformcontent.js
...sources/template/js/exexplain/exexplaintodsformcontent.js
+0
-88
userauth/src/main/resources/template/js/exexplain/exexplaintodsformdisplaytemplate.js
...template/js/exexplain/exexplaintodsformdisplaytemplate.js
+0
-88
userauth/src/main/resources/template/js/exexplain/exexplaintormproperty.js
.../resources/template/js/exexplain/exexplaintormproperty.js
+0
-88
userauth/src/main/resources/template/tpl/exExplain/exExplainDesign.html
...ain/resources/template/tpl/exExplain/exExplainDesign.html
+1
-1
userauth/src/main/resources/template/tpl/exexplain/exexplaintodsformcontent.html
...rces/template/tpl/exexplain/exexplaintodsformcontent.html
+0
-37
userauth/src/main/resources/template/tpl/exexplain/exexplaintodsformdisplaytemplate.html
...plate/tpl/exexplain/exexplaintodsformdisplaytemplate.html
+0
-37
userauth/src/main/resources/template/tpl/exexplain/exexplaintormproperty.html
...sources/template/tpl/exexplain/exexplaintormproperty.html
+0
-37
web/src/main/resources/template/assets/lib/layui/customer/systemCommonUtil.js
...es/template/assets/lib/layui/customer/systemCommonUtil.js
+25
-5
未找到文件。
code-doc/src/main/resources/template/js/codemodel/codemodeladd.js
浏览文件 @
6308d8e3
...
@@ -4,22 +4,21 @@ layui.config({
...
@@ -4,22 +4,21 @@ layui.config({
version
:
skyeyeVersion
version
:
skyeyeVersion
}).
extend
({
}).
extend
({
window
:
'
js/winui.window
'
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
element
'
],
function
(
exports
)
{
winui
.
renderColor
();
winui
.
renderColor
();
layui
.
use
([
'
form
'
,
'
codemirror
'
,
'
xml
'
,
'
clike
'
,
'
css
'
,
'
htmlmixed
'
,
'
javascript
'
,
'
nginx
'
,
layui
.
use
([
'
form
'
,
'
codemirror
'
,
'
xml
'
,
'
clike
'
,
'
css
'
,
'
htmlmixed
'
,
'
javascript
'
,
'
nginx
'
,
'
solr
'
,
'
sql
'
,
'
vue
'
],
function
(
form
)
{
'
solr
'
,
'
sql
'
,
'
vue
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
var
$
=
layui
.
$
,
element
=
layui
.
element
,
form
=
layui
.
form
;
form
=
layui
.
form
;
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain004
"
,
params
:
{
type
:
1
},
type
:
'
json
'
,
callback
:
function
(
j
){
// 根据类型获取部分功能的使用说明
if
(
j
.
returnCode
==
0
){
systemCommonUtil
.
queryExplainMationByType
(
1
,
function
(
json
){
$
(
"
.layui-colla-title
"
).
html
(
j
.
bean
.
title
);
$
(
"
.layui-colla-title
"
).
html
(
json
.
bean
.
title
);
$
(
"
.layui-colla-content
"
).
html
(
j
.
bean
.
content
);
$
(
"
.layui-colla-content
"
).
html
(
json
.
bean
.
content
);
}
else
{
});
winui
.
window
.
msg
(
j
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
element
.
init
();
}
}});
var
editor
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
modelContent
"
),
{
var
editor
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
modelContent
"
),
{
mode
:
"
text/x-java
"
,
// 模式
mode
:
"
text/x-java
"
,
// 模式
...
...
code-doc/src/main/resources/template/js/codemodel/codemodeledit.js
浏览文件 @
6308d8e3
...
@@ -23,14 +23,11 @@ layui.config({
...
@@ -23,14 +23,11 @@ layui.config({
ajaxSendLoadBefore
:
function
(
hdb
){
ajaxSendLoadBefore
:
function
(
hdb
){
},
},
ajaxSendAfter
:
function
(
json
){
ajaxSendAfter
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain004
"
,
params
:
{
type
:
1
},
type
:
'
json
'
,
callback
:
function
(
j
){
// 根据类型获取部分功能的使用说明
if
(
j
.
returnCode
==
0
){
systemCommonUtil
.
queryExplainMationByType
(
1
,
function
(
json
){
$
(
"
.layui-colla-title
"
).
html
(
j
.
bean
.
title
);
$
(
"
.layui-colla-title
"
).
html
(
json
.
bean
.
title
);
$
(
"
.layui-colla-content
"
).
html
(
j
.
bean
.
content
);
$
(
"
.layui-colla-content
"
).
html
(
json
.
bean
.
content
);
}
else
{
});
winui
.
window
.
msg
(
j
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
element
.
init
();
element
.
init
();
editor
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
modelContent
"
),
{
editor
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
modelContent
"
),
{
...
...
dsform/src/main/resources/template/js/dsformcontent/dsformcontentadd.js
浏览文件 @
6308d8e3
...
@@ -6,24 +6,22 @@ layui.config({
...
@@ -6,24 +6,22 @@ layui.config({
version
:
skyeyeVersion
version
:
skyeyeVersion
}).
extend
({
}).
extend
({
window
:
'
js/winui.window
'
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
element
'
],
function
(
exports
)
{
winui
.
renderColor
();
winui
.
renderColor
();
layui
.
use
([
'
form
'
,
'
codemirror
'
,
'
xml
'
,
'
clike
'
,
'
css
'
,
'
htmlmixed
'
,
'
javascript
'
,
'
nginx
'
,
layui
.
use
([
'
form
'
,
'
codemirror
'
,
'
xml
'
,
'
clike
'
,
'
css
'
,
'
htmlmixed
'
,
'
javascript
'
,
'
nginx
'
,
'
solr
'
,
'
sql
'
,
'
vue
'
],
function
(
form
)
{
'
solr
'
,
'
sql
'
,
'
vue
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
var
$
=
layui
.
$
,
element
=
layui
.
element
,
form
=
layui
.
form
;
form
=
layui
.
form
;
//表单内容列表
// 根据类型获取部分功能的使用说明
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain004
"
,
params
:{
type
:
2
},
type
:
'
json
'
,
callback
:
function
(
j
){
systemCommonUtil
.
queryExplainMationByType
(
2
,
function
(
json
)
{
if
(
j
.
returnCode
==
0
){
$
(
"
.layui-colla-title
"
).
html
(
json
.
bean
.
title
);
$
(
"
#exexplaintodsformcontentTitle
"
).
html
(
j
.
bean
.
title
);
$
(
"
.layui-colla-content
"
).
html
(
json
.
bean
.
content
);
$
(
"
#exexplaintodsformcontentContent
"
).
html
(
j
.
bean
.
content
);
});
}
else
{
element
.
init
();
winui
.
window
.
msg
(
j
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
//是否关联数据
//是否关联数据
form
.
on
(
'
switch(linkedData)
'
,
function
(
data
)
{
form
.
on
(
'
switch(linkedData)
'
,
function
(
data
)
{
//关联数据值
//关联数据值
...
@@ -203,11 +201,10 @@ layui.config({
...
@@ -203,11 +201,10 @@ layui.config({
return
false
;
return
false
;
});
});
//取消
//
取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
});
});
});
});
});
});
\ No newline at end of file
dsform/src/main/resources/template/js/dsformcontent/dsformcontentedit.js
浏览文件 @
6308d8e3
...
@@ -6,12 +6,13 @@ layui.config({
...
@@ -6,12 +6,13 @@ layui.config({
version
:
skyeyeVersion
version
:
skyeyeVersion
}).
extend
({
}).
extend
({
window
:
'
js/winui.window
'
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
element
'
],
function
(
exports
)
{
winui
.
renderColor
();
winui
.
renderColor
();
layui
.
use
([
'
form
'
,
'
codemirror
'
,
'
xml
'
,
'
clike
'
,
'
css
'
,
'
htmlmixed
'
,
'
javascript
'
,
'
nginx
'
,
layui
.
use
([
'
form
'
,
'
codemirror
'
,
'
xml
'
,
'
clike
'
,
'
css
'
,
'
htmlmixed
'
,
'
javascript
'
,
'
nginx
'
,
'
solr
'
,
'
sql
'
,
'
vue
'
],
function
(
form
)
{
'
solr
'
,
'
sql
'
,
'
vue
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
var
$
=
layui
.
$
,
element
=
layui
.
element
,
form
=
layui
.
form
;
form
=
layui
.
form
;
var
htmlEditor
,
jsEditor
;
var
htmlEditor
,
jsEditor
;
...
@@ -42,16 +43,14 @@ layui.config({
...
@@ -42,16 +43,14 @@ layui.config({
}
}
});
});
},
},
ajaxSendAfter
:
function
(
json
){
ajaxSendAfter
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain004
"
,
params
:{
type
:
2
},
type
:
'
json
'
,
callback
:
function
(
j
){
// 根据类型获取部分功能的使用说明
if
(
j
.
returnCode
==
0
){
systemCommonUtil
.
queryExplainMationByType
(
2
,
function
(
json
){
$
(
"
#exexplaintodsformcontentTitle
"
).
html
(
j
.
bean
.
title
);
$
(
"
.layui-colla-title
"
).
html
(
json
.
bean
.
title
);
$
(
"
#exexplaintodsformcontentContent
"
).
html
(
j
.
bean
.
content
);
$
(
"
.layui-colla-content
"
).
html
(
json
.
bean
.
content
);
}
else
{
});
winui
.
window
.
msg
(
j
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
element
.
init
();
}
}});
htmlEditor
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
htmlContent
"
),
{
htmlEditor
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
htmlContent
"
),
{
mode
:
"
xml
"
,
// 模式
mode
:
"
xml
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
theme
:
"
eclipse
"
,
// CSS样式选择
...
...
dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplateadd.js
浏览文件 @
6308d8e3
...
@@ -9,16 +9,13 @@ layui.config({
...
@@ -9,16 +9,13 @@ layui.config({
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
var
$
=
layui
.
$
,
form
=
layui
.
form
;
form
=
layui
.
form
;
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain004
"
,
params
:{
type
:
3
},
type
:
'
json
'
,
callback
:
function
(
j
){
// 根据类型获取部分功能的使用说明
if
(
j
.
returnCode
==
0
){
systemCommonUtil
.
queryExplainMationByType
(
3
,
function
(
json
){
$
(
"
#exexplaintodsformdisplaytemplateTitle
"
).
html
(
j
.
bean
.
title
);
$
(
"
#exexplaintodsformdisplaytemplateTitle
"
).
html
(
json
.
bean
.
title
);
$
(
"
#exexplaintodsformdisplaytemplateContent
"
).
html
(
j
.
bean
.
content
);
$
(
"
#exexplaintodsformdisplaytemplateContent
"
).
html
(
json
.
bean
.
content
);
}
else
{
});
winui
.
window
.
msg
(
j
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
var
templateContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
templateContent
"
),
{
var
templateContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
templateContent
"
),
{
mode
:
"
xml
"
,
// 模式
mode
:
"
xml
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
theme
:
"
eclipse
"
,
// CSS样式选择
...
...
dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplateedit.js
浏览文件 @
6308d8e3
...
@@ -35,16 +35,12 @@ layui.config({
...
@@ -35,16 +35,12 @@ layui.config({
matchingLanguage
();
matchingLanguage
();
form
.
render
();
form
.
render
();
//模板规范说明
// 根据类型获取部分功能的使用说明
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain004
"
,
params
:{
type
:
3
},
type
:
'
json
'
,
callback
:
function
(
j
){
systemCommonUtil
.
queryExplainMationByType
(
3
,
function
(
json
){
if
(
j
.
returnCode
==
0
){
$
(
"
#exexplaintodsformdisplaytemplateTitle
"
).
html
(
json
.
bean
.
title
);
$
(
"
#exexplaintodsformdisplaytemplateTitle
"
).
html
(
j
.
bean
.
title
);
$
(
"
#exexplaintodsformdisplaytemplateContent
"
).
html
(
json
.
bean
.
content
);
$
(
"
#exexplaintodsformdisplaytemplateContent
"
).
html
(
j
.
bean
.
content
);
});
}
else
{
winui
.
window
.
msg
(
j
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
var
params
=
{
...
...
dsform/src/main/resources/template/tpl/dsFormPage/dsFormPageDesign.html
浏览文件 @
6308d8e3
...
@@ -69,6 +69,8 @@
...
@@ -69,6 +69,8 @@
position
:
fixed
;
position
:
fixed
;
width
:
320px
;
width
:
320px
;
right
:
0px
;
right
:
0px
;
padding-right
:
5px
;
padding-top
:
5px
;
}
}
.droppable-active
{
.droppable-active
{
background-color
:
#eaeaf6
!important
;
background-color
:
#eaeaf6
!important
;
...
...
dsform/src/main/resources/template/tpl/dsformcontent/dsformcontentadd.html
浏览文件 @
6308d8e3
...
@@ -10,11 +10,14 @@
...
@@ -10,11 +10,14 @@
<body>
<body>
<div
style=
"margin:0 auto;padding:20px;"
>
<div
style=
"margin:0 auto;padding:20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-collapse"
>
<span
class=
"hr-title"
id=
"exexplaintodsformcontentTitle"
></span><hr>
<div
class=
"layui-colla-item"
>
<h2
class=
"layui-colla-title"
></h2>
<div
class=
"layui-colla-content"
>
</div>
</div>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
id=
"exexplaintodsformcontentContent"
style=
"padding: 0px 15px; font-size: 12px; color: grey; display: contents;"
>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
模板内容
</span><hr>
<span
class=
"hr-title"
>
模板内容
</span><hr>
</div>
</div>
...
...
dsform/src/main/resources/template/tpl/dsformcontent/dsformcontenteditTemplate.tpl
浏览文件 @
6308d8e3
{{
#
bean
}}
{{
#
bean
}}
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-collapse"
>
<span
class=
"hr-title"
id=
"exexplaintodsformcontentTitle"
></span><hr>
<div
class=
"layui-colla-item"
>
</div>
<h2
class=
"layui-colla-title"
></h2>
<div
class=
"layui-form-item layui-col-xs12"
id=
"exexplaintodsformcontentContent"
style=
"padding: 0px 15px; font-size: 12px; color: grey; display: contents;"
>
<div
class=
"layui-colla-content"
>
</div>
</div>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
模板内容
</span><hr>
<span
class=
"hr-title"
>
模板内容
</span><hr>
...
...
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyadd.js
浏览文件 @
6308d8e3
...
@@ -14,16 +14,13 @@ layui.config({
...
@@ -14,16 +14,13 @@ layui.config({
form
.
render
();
form
.
render
();
$
(
"
#dataShowModel
"
).
hide
();
$
(
"
#dataShowModel
"
).
hide
();
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain004
"
,
params
:{
type
:
4
},
type
:
'
json
'
,
callback
:
function
(
j
){
// 根据类型获取部分功能的使用说明
if
(
j
.
returnCode
==
0
){
systemCommonUtil
.
queryExplainMationByType
(
4
,
function
(
json
){
$
(
"
#exexplaintormpropertyTitle
"
).
html
(
j
.
bean
.
title
);
$
(
"
#exexplaintormpropertyTitle
"
).
html
(
json
.
bean
.
title
);
$
(
"
#exexplaintormpropertyContent
"
).
html
(
j
.
bean
.
content
);
$
(
"
#exexplaintormpropertyContent
"
).
html
(
json
.
bean
.
content
);
}
else
{
});
winui
.
window
.
msg
(
j
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
var
htmlModelContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
htmlModelContent
"
),
{
var
htmlModelContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
htmlModelContent
"
),
{
mode
:
"
xml
"
,
// 模式
mode
:
"
xml
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
theme
:
"
eclipse
"
,
// CSS样式选择
...
...
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyedit.js
浏览文件 @
6308d8e3
...
@@ -149,17 +149,13 @@ layui.config({
...
@@ -149,17 +149,13 @@ layui.config({
form
.
render
(
'
select
'
);
form
.
render
(
'
select
'
);
}
}
});
});
//展示规范说明
// 根据类型获取部分功能的使用说明
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain004
"
,
params
:{
type
:
4
},
type
:
'
json
'
,
callback
:
function
(
j
){
systemCommonUtil
.
queryExplainMationByType
(
4
,
function
(
json
){
if
(
j
.
returnCode
==
0
){
$
(
"
#exexplaintormpropertyTitle
"
).
html
(
json
.
bean
.
title
);
$
(
"
#exexplaintormpropertyTitle
"
).
html
(
j
.
bean
.
title
);
$
(
"
#exexplaintormpropertyContent
"
).
html
(
json
.
bean
.
content
);
$
(
"
#exexplaintormpropertyContent
"
).
html
(
j
.
bean
.
content
);
});
}
else
{
winui
.
window
.
msg
(
j
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
form
.
on
(
'
select(selectParent)
'
,
function
(
data
){
form
.
on
(
'
select(selectParent)
'
,
function
(
data
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
dsform007
"
,
params
:{
rowId
:
data
.
value
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
dsform007
"
,
params
:{
rowId
:
data
.
value
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
...
...
userauth/src/main/resources/template/js/ex
explain/exexplaintocodemodel
.js
→
userauth/src/main/resources/template/js/ex
Explain/exExplainDesign
.js
浏览文件 @
6308d8e3
var
rowId
=
""
;
var
rowId
=
""
;
var
type
=
1
;
layui
.
config
({
layui
.
config
({
base
:
basePath
,
base
:
basePath
,
version
:
skyeyeVersion
version
:
skyeyeVersion
...
@@ -15,8 +13,10 @@ layui.config({
...
@@ -15,8 +13,10 @@ layui.config({
var
$
=
layui
.
$
,
var
$
=
layui
.
$
,
form
=
layui
.
form
;
form
=
layui
.
form
;
var
type
=
GetUrlParam
(
"
type
"
);
var
ue
var
ue
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain002
"
,
params
:
{
type
:
type
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain002
"
,
params
:
{
type
:
type
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
if
(
!
isNull
(
json
.
bean
)){
if
(
!
isNull
(
json
.
bean
)){
rowId
=
json
.
bean
.
id
;
rowId
=
json
.
bean
.
id
;
...
@@ -29,7 +29,7 @@ layui.config({
...
@@ -29,7 +29,7 @@ layui.config({
});
});
matchingLanguage
();
matchingLanguage
();
}
else
{
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}
}});
}});
...
@@ -37,7 +37,7 @@ layui.config({
...
@@ -37,7 +37,7 @@ layui.config({
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
if
(
isNull
(
ue
.
getContent
())){
if
(
isNull
(
ue
.
getContent
())){
winui
.
window
.
msg
(
'
请输入内容。
'
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
'
请输入内容。
'
,
{
icon
:
2
,
time
:
2000
});
}
else
{
}
else
{
var
params
=
{
var
params
=
{
title
:
$
(
"
#title
"
).
val
(),
title
:
$
(
"
#title
"
).
val
(),
...
@@ -45,21 +45,21 @@ layui.config({
...
@@ -45,21 +45,21 @@ layui.config({
type
:
type
type
:
type
};
};
if
(
isNull
(
rowId
)){
if
(
isNull
(
rowId
)){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain001
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain001
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
rowId
=
json
.
bean
.
id
;
rowId
=
json
.
bean
.
id
;
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.addOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.addOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
}
else
{
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}
}});
}});
}
else
{
}
else
{
params
.
rowId
=
rowId
;
params
.
rowId
=
rowId
;
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain003
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain003
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.addOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.addOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
}
else
{
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}
}});
}});
}
}
...
...
userauth/src/main/resources/template/js/exexplain/exexplaintodsformcontent.js
已删除
100644 → 0
浏览文件 @
c1320870
var
rowId
=
""
;
var
type
=
2
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
,
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
,
'
layedit
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
,
layedit
=
layui
.
layedit
;
var
layContent
;
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain002
"
,
params
:
{
type
:
type
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
!
isNull
(
json
.
bean
)){
rowId
=
json
.
bean
.
id
;
$
(
"
#title
"
).
val
(
json
.
bean
.
title
);
$
(
"
#content
"
).
val
(
json
.
bean
.
content
);
}
layContent
=
layedit
.
build
(
'
content
'
,
{
tool
:
[
'
strong
'
//加粗
,
'
italic
'
//斜体
,
'
underline
'
//下划线
,
'
del
'
//删除线
,
'
|
'
//分割线
,
'
left
'
//左对齐
,
'
center
'
//居中对齐
,
'
right
'
//右对齐
,
'
link
'
//超链接
,
'
unlink
'
//清除链接
,
'
face
'
//表情
]
});
matchingLanguage
();
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
if
(
isNull
(
layedit
.
getContent
(
layContent
))){
winui
.
window
.
msg
(
'
请输入内容。
'
,
{
icon
:
2
,
time
:
2000
});
}
else
{
var
params
=
{
title
:
$
(
"
#title
"
).
val
(),
content
:
encodeURI
(
layedit
.
getContent
(
layContent
)),
type
:
type
};
if
(
isNull
(
rowId
)){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain001
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
rowId
=
json
.
bean
.
id
;
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.addOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
else
{
params
.
rowId
=
rowId
;
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain003
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.addOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
}
}
return
false
;
});
});
});
\ No newline at end of file
userauth/src/main/resources/template/js/exexplain/exexplaintodsformdisplaytemplate.js
已删除
100644 → 0
浏览文件 @
c1320870
var
rowId
=
""
;
var
type
=
3
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
,
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
,
'
layedit
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
,
layedit
=
layui
.
layedit
;
var
layContent
;
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain002
"
,
params
:{
type
:
type
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
!
isNull
(
json
.
bean
)){
rowId
=
json
.
bean
.
id
;
$
(
"
#title
"
).
val
(
json
.
bean
.
title
);
$
(
"
#content
"
).
val
(
json
.
bean
.
content
);
}
layContent
=
layedit
.
build
(
'
content
'
,
{
tool
:
[
'
strong
'
//加粗
,
'
italic
'
//斜体
,
'
underline
'
//下划线
,
'
del
'
//删除线
,
'
|
'
//分割线
,
'
left
'
//左对齐
,
'
center
'
//居中对齐
,
'
right
'
//右对齐
,
'
link
'
//超链接
,
'
unlink
'
//清除链接
,
'
face
'
//表情
]
});
matchingLanguage
();
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
if
(
isNull
(
layedit
.
getContent
(
layContent
))){
winui
.
window
.
msg
(
'
请输入内容。
'
,
{
icon
:
2
,
time
:
2000
});
}
else
{
var
params
=
{
title
:
$
(
"
#title
"
).
val
(),
content
:
encodeURI
(
layedit
.
getContent
(
layContent
)),
type
:
type
};
if
(
isNull
(
rowId
)){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain001
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
rowId
=
json
.
bean
.
id
;
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.addOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
else
{
params
.
rowId
=
rowId
;
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain003
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.addOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
}
}
return
false
;
});
});
});
\ No newline at end of file
userauth/src/main/resources/template/js/exexplain/exexplaintormproperty.js
已删除
100644 → 0
浏览文件 @
c1320870
var
rowId
=
""
;
var
type
=
4
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
,
'
layedit
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
,
layedit
=
layui
.
layedit
;
var
layContent
;
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain002
"
,
params
:{
type
:
type
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
!
isNull
(
json
.
bean
)){
rowId
=
json
.
bean
.
id
;
$
(
"
#title
"
).
val
(
json
.
bean
.
title
);
$
(
"
#content
"
).
val
(
json
.
bean
.
content
);
}
layContent
=
layedit
.
build
(
'
content
'
,
{
tool
:
[
'
strong
'
//加粗
,
'
italic
'
//斜体
,
'
underline
'
//下划线
,
'
del
'
//删除线
,
'
|
'
//分割线
,
'
left
'
//左对齐
,
'
center
'
//居中对齐
,
'
right
'
//右对齐
,
'
link
'
//超链接
,
'
unlink
'
//清除链接
,
'
face
'
//表情
,
'
code
'
]
});
matchingLanguage
();
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
if
(
isNull
(
layedit
.
getContent
(
layContent
))){
winui
.
window
.
msg
(
'
请输入内容。
'
,
{
icon
:
2
,
time
:
2000
});
}
else
{
var
params
=
{
title
:
$
(
"
#title
"
).
val
(),
content
:
encodeURI
(
layedit
.
getContent
(
layContent
)),
type
:
type
};
if
(
isNull
(
rowId
)){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain001
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
rowId
=
json
.
bean
.
id
;
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.addOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
else
{
params
.
rowId
=
rowId
;
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain003
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.addOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
}
}
return
false
;
});
});
});
\ No newline at end of file
userauth/src/main/resources/template/tpl/ex
explain/exexplaintocodemodel
.html
→
userauth/src/main/resources/template/tpl/ex
Explain/exExplainDesign
.html
浏览文件 @
6308d8e3
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/ueditor/ueditor.all.js"
></script>
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/ueditor/ueditor.all.js"
></script>
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/ueditor/lang/zh-cn/zh-cn.js"
></script>
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/ueditor/lang/zh-cn/zh-cn.js"
></script>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/ex
explain/
'
}).
use
(
'
exexplaintocodemodel
'
);
layui
.
config
({
base
:
'
../../js/ex
Explain/
'
}).
use
(
'
exExplainDesign
'
);
</script>
</script>
</body>
</body>
</html>
</html>
\ No newline at end of file
userauth/src/main/resources/template/tpl/exexplain/exexplaintodsformcontent.html
已删除
100644 → 0
浏览文件 @
c1320870
<!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"
/>
</head>
<body>
<div
style=
"width:600px;margin:0 auto;padding-top:20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
标题
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"title"
name=
"title"
win-verify=
"required"
placeholder=
"请输入标题"
class=
"layui-input"
maxlength=
"50"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
内容
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"content"
name=
"content"
style=
"display: none;"
></textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<div
class=
"layui-input-block"
>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formAddBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
</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/exexplain/
'
}).
use
(
'
exexplaintodsformcontent
'
);
</script>
</body>
</html>
\ No newline at end of file
userauth/src/main/resources/template/tpl/exexplain/exexplaintodsformdisplaytemplate.html
已删除
100644 → 0
浏览文件 @
c1320870
<!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"
/>
</head>
<body>
<div
style=
"width:600px;margin:0 auto;padding-top:20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
标题
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"title"
name=
"title"
win-verify=
"required"
placeholder=
"请输入标题"
class=
"layui-input"
maxlength=
"50"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
内容
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"content"
name=
"content"
style=
"display: none;"
></textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<div
class=
"layui-input-block"
>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formAddBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
</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/exexplain/
'
}).
use
(
'
exexplaintodsformdisplaytemplate
'
);
</script>
</body>
</html>
\ No newline at end of file
userauth/src/main/resources/template/tpl/exexplain/exexplaintormproperty.html
已删除
100644 → 0
浏览文件 @
c1320870
<!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"
/>
</head>
<body>
<div
style=
"width:600px;margin:0 auto;padding-top:20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
标题
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"title"
name=
"title"
win-verify=
"required"
placeholder=
"请输入标题"
class=
"layui-input"
maxlength=
"50"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
内容
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"content"
name=
"content"
style=
"display: none;"
></textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<div
class=
"layui-input-block"
>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formAddBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
</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/exexplain/
'
}).
use
(
'
exexplaintormproperty
'
);
</script>
</body>
</html>
\ No newline at end of file
web/src/main/resources/template/assets/lib/layui/customer/systemCommonUtil.js
浏览文件 @
6308d8e3
...
@@ -310,9 +310,12 @@ var systemCommonUtil = {
...
@@ -310,9 +310,12 @@ var systemCommonUtil = {
* @param url
* @param url
*/
*/
getHasVersionUrl
:
function
(
url
)
{
getHasVersionUrl
:
function
(
url
)
{
// 判断是否有问号
var
versionStr
=
'
v=
'
+
skyeyeVersion
;
url
+=
(
url
.
indexOf
(
"
?
"
)
==
-
1
?
"
?
"
:
"
&
"
);
if
(
url
.
indexOf
(
versionStr
)
==
-
1
)
{
url
=
url
+
'
v=
'
+
skyeyeVersion
;
// 判断是否有问号
url
+=
(
url
.
indexOf
(
"
?
"
)
==
-
1
?
"
?
"
:
"
&
"
);
url
=
url
+
versionStr
;
}
return
url
;
return
url
;
},
},
...
@@ -337,13 +340,30 @@ var systemCommonUtil = {
...
@@ -337,13 +340,30 @@ var systemCommonUtil = {
"
probationPeriod
"
:
{
"
id
"
:
4
,
"
name
"
:
"
试用期(用于未转正的员工)
"
},
"
probationPeriod
"
:
{
"
id
"
:
4
,
"
name
"
:
"
试用期(用于未转正的员工)
"
},
"
retire
"
:
{
"
id
"
:
5
,
"
name
"
:
"
退休
"
}
"
retire
"
:
{
"
id
"
:
5
,
"
name
"
:
"
退休
"
}
},
},
getSysUserStaffStateList
:
function
(){
getSysUserStaffStateList
:
function
(){
var
list
=
[];
var
list
=
[];
$
.
each
(
systemCommonUtil
.
sysUserStaffState
,
function
(
key
,
value
){
$
.
each
(
systemCommonUtil
.
sysUserStaffState
,
function
(
key
,
value
){
list
.
push
(
value
);
list
.
push
(
value
);
});
});
return
list
;
return
list
;
}
},
/**
* 根据类型获取部分功能的使用说明
*
* @param type 类型 1.代码生成器模板介绍 2.动态表单内容项说明介绍 3.动态表单数据展示模板说明介绍 4.小程序标签属性说明介绍
* @param callback 回调函数
*/
queryExplainMationByType
:
function
(
type
,
callback
)
{
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
queryExExplainMationToShow
"
,
params
:
{
type
:
type
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
typeof
(
callback
)
==
"
function
"
)
{
callback
(
json
);
}
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
},
async
:
false
});
},
};
};
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录