Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
9cacec3c
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1441
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看板
提交
9cacec3c
编写于
11月 06, 2018
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
区别文件
上级
d9ab7aa7
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
10 addition
and
4 deletion
+10
-4
skyeye-web/src/main/webapp/assets/lib/winui/css/winui.css
skyeye-web/src/main/webapp/assets/lib/winui/css/winui.css
+1
-1
skyeye-web/src/main/webapp/js/codemodelgroup/usemodelgroup.js
...ye-web/src/main/webapp/js/codemodelgroup/usemodelgroup.js
+8
-2
skyeye-web/src/main/webapp/tpl/codemodelgroup/usemodelgroupmodel.tpl
...src/main/webapp/tpl/codemodelgroup/usemodelgroupmodel.tpl
+1
-1
未找到文件。
skyeye-web/src/main/webapp/assets/lib/winui/css/winui.css
浏览文件 @
9cacec3c
...
...
@@ -2727,7 +2727,7 @@ body .layer-ext-winconfirm {
.code-model-li
{
width
:
100%
;
height
:
10
0
px
;
height
:
10
5
px
;
line-height
:
25px
;
background-color
:
ghostwhite
;
margin-top
:
10px
;
...
...
skyeye-web/src/main/webapp/js/codemodelgroup/usemodelgroup.js
浏览文件 @
9cacec3c
...
...
@@ -125,7 +125,7 @@ layui.config({
if
(
isNull
(
s
)){
top
.
winui
.
window
.
msg
(
'
请先转换模板
'
,
{
icon
:
2
,
time
:
2000
});
}
else
{
if
(
row
.
modelType
==
'
xml
'
||
row
.
modelType
==
'
javascript
'
||
row
.
modelType
==
'
html
mixed
'
||
row
.
modelType
==
'
htmlhh
'
){
if
(
row
.
modelType
==
'
xml
'
||
row
.
modelType
==
'
javascript
'
||
row
.
modelType
==
'
html
'
){
$
(
"
#addContentToHTMLorJS
"
).
show
();
}
else
{
$
(
"
#addContentToHTMLorJS
"
).
hide
();
...
...
@@ -249,7 +249,13 @@ layui.config({
//遍历模板
$
(
'
#modelList
'
).
find
(
'
li
'
).
each
(
function
()
{
var
label
=
$
(
this
).
find
(
"
label
"
);
$
(
"
#
"
+
label
.
attr
(
"
relation
"
)).
val
(
json
.
bean
.
tableName
+
label
.
attr
(
"
thiscontent
"
));
if
((
$
(
"
#
"
+
label
.
attr
(
"
relation
"
)).
attr
(
'
modeltype
'
)
==
'
javascript
'
||
$
(
"
#
"
+
label
.
attr
(
"
relation
"
)).
attr
(
'
modeltype
'
)
==
'
xml
'
||
$
(
"
#
"
+
label
.
attr
(
"
relation
"
)).
attr
(
'
modeltype
'
)
==
'
html
'
)
&&
$
(
"
#
"
+
label
.
attr
(
"
relation
"
)).
attr
(
'
modelname
'
)
!=
'
Mapper
'
){
$
(
"
#
"
+
label
.
attr
(
"
relation
"
)).
val
(
json
.
bean
.
tableISlowerName
+
label
.
attr
(
"
thiscontent
"
));
}
else
{
$
(
"
#
"
+
label
.
attr
(
"
relation
"
)).
val
(
json
.
bean
.
tableName
+
label
.
attr
(
"
thiscontent
"
));
}
});
top
.
winui
.
window
.
msg
(
'
检索成功
'
,
{
icon
:
1
,
time
:
2000
});
}
else
{
...
...
skyeye-web/src/main/webapp/tpl/codemodelgroup/usemodelgroupmodel.tpl
浏览文件 @
9cacec3c
...
...
@@ -4,7 +4,7 @@
<div>
<label
class=
"layui-form-label"
relation=
"{
{
id
}
}"
thiscontent=
"{
{
modelName
}
}"
>
{
{
modelName
}
}
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"{
{
id
}
}"
name=
"{
{
id
}
}"
win-verify=
"required"
placeholder=
"请选择数据库表检所生成"
class=
"layui-input"
maxlength=
"50"
/>
<input
type=
"text"
id=
"{
{
id
}
}"
name=
"{
{
id
}
}"
modeltype=
"{
{
modelType
}
}"
modelname=
"{
{
modelName
}
}"
win-verify=
"required"
placeholder=
"请选择数据库表检所生成"
class=
"layui-input"
maxlength=
"50"
/>
</div>
</div>
</div>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录