Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
8f8e393b
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1194
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看板
提交
8f8e393b
编写于
4月 11, 2022
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
代码生成器新增属性
上级
63abe29f
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
25 addition
and
16 deletion
+25
-16
code-doc/src/main/resources/template/js/codemodel/codemodeladd.js
.../src/main/resources/template/js/codemodel/codemodeladd.js
+2
-2
code-doc/src/main/resources/template/js/codemodel/codemodeledit.js
...src/main/resources/template/js/codemodel/codemodeledit.js
+5
-3
code-doc/src/main/resources/template/js/codemodelgroup/codemodelgroupadd.js
...resources/template/js/codemodelgroup/codemodelgroupadd.js
+0
-1
code-doc/src/main/resources/template/js/codemodelgroup/codemodelgrouplist.js
...esources/template/js/codemodelgroup/codemodelgrouplist.js
+2
-2
code-doc/src/main/resources/template/tpl/codemodel/codemodeladd.html
...c/main/resources/template/tpl/codemodel/codemodeladd.html
+7
-4
code-doc/src/main/resources/template/tpl/codemodel/codemodeleditTemplate.tpl
...esources/template/tpl/codemodel/codemodeleditTemplate.tpl
+7
-4
web/src/main/resources/template/assets/lib/layui/customer/codeDocUtil.js
...sources/template/assets/lib/layui/customer/codeDocUtil.js
+2
-0
未找到文件。
code-doc/src/main/resources/template/js/codemodel/codemodeladd.js
浏览文件 @
8f8e393b
...
...
@@ -14,8 +14,8 @@ layui.config({
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain004
"
,
params
:
{
type
:
1
},
type
:
'
json
'
,
callback
:
function
(
j
){
if
(
j
.
returnCode
==
0
){
$
(
"
#exexplaintocodemodelT
itle
"
).
html
(
j
.
bean
.
title
);
$
(
"
#exexplaintocodemodelC
ontent
"
).
html
(
j
.
bean
.
content
);
$
(
"
.layui-colla-t
itle
"
).
html
(
j
.
bean
.
title
);
$
(
"
.layui-colla-c
ontent
"
).
html
(
j
.
bean
.
content
);
}
else
{
winui
.
window
.
msg
(
j
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
...
...
code-doc/src/main/resources/template/js/codemodel/codemodeledit.js
浏览文件 @
8f8e393b
...
...
@@ -4,12 +4,13 @@ layui.config({
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
,
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
}).
define
([
'
window
'
,
'
table
'
,
'
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
;
var
editor
;
...
...
@@ -24,12 +25,13 @@ layui.config({
ajaxSendAfter
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
exexplain004
"
,
params
:
{
type
:
1
},
type
:
'
json
'
,
callback
:
function
(
j
){
if
(
j
.
returnCode
==
0
){
$
(
"
#exexplaintocodemodelT
itle
"
).
html
(
j
.
bean
.
title
);
$
(
"
#exexplaintocodemodelC
ontent
"
).
html
(
j
.
bean
.
content
);
$
(
"
.layui-colla-t
itle
"
).
html
(
j
.
bean
.
title
);
$
(
"
.layui-colla-c
ontent
"
).
html
(
j
.
bean
.
content
);
}
else
{
winui
.
window
.
msg
(
j
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
element
.
init
();
editor
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
modelContent
"
),
{
mode
:
returnModel
(
json
.
bean
.
modelType
),
// 模式
...
...
code-doc/src/main/resources/template/js/codemodelgroup/codemodelgroupadd.js
浏览文件 @
8f8e393b
...
...
@@ -31,7 +31,6 @@ layui.config({
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
groupName
:
$
(
"
#groupName
"
).
val
(),
...
...
code-doc/src/main/resources/template/js/codemodelgroup/codemodelgrouplist.js
浏览文件 @
8f8e393b
...
...
@@ -95,7 +95,7 @@ layui.config({
url
:
"
../../tpl/codemodelgroup/codemodelgroupedit.html
"
,
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
pageId
:
"
codemodelgroupedit
"
,
area
:
[
'
700px
'
,
'
90vh
'
],
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
...
...
@@ -150,7 +150,7 @@ layui.config({
url
:
"
../../tpl/codemodelgroup/codemodelgroupadd.html
"
,
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
],
pageId
:
"
codemodelgroupadd
"
,
area
:
[
'
700px
'
,
'
90vh
'
],
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
...
...
code-doc/src/main/resources/template/tpl/codemodel/codemodeladd.html
浏览文件 @
8f8e393b
...
...
@@ -10,11 +10,14 @@
<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=
"exexplaintocodemodelTitle"
></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=
"exexplaintocodemodelContent"
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>
</div>
...
...
code-doc/src/main/resources/template/tpl/codemodel/codemodeleditTemplate.tpl
浏览文件 @
8f8e393b
{{
#
bean
}}
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
id=
"exexplaintocodemodelTitle"
></span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs12"
id=
"exexplaintocodemodelContent"
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>
...
...
web/src/main/resources/template/assets/lib/layui/customer/codeDocUtil.js
浏览文件 @
8f8e393b
...
...
@@ -12,6 +12,8 @@ var codeDocUtil = {
'
tableFirstISlowerName
'
:
/
[
$
]{{
objectName
}}
/g
,
'
tableISlowerName
'
:
/
[
$
]{{
urlName
}}
/g
,
'
tableBzName
'
:
/
[
$
]{{
notesName
}}
/g
,
'
currentTime
'
:
/
[
$
]{{
currentTime
}}
/g
,
'
table
'
:
/
[
$
]{{
table
}}
/g
,
},
/**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录