Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
53b98034
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1433
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看板
提交
53b98034
编写于
11月 01, 2018
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
添加表备注
上级
30889047
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
154 addition
and
9 deletion
+154
-9
skyeye-dao/src/main/java/com/skyeye/codemodel/dao/CodeModelGroupDao.java
...main/java/com/skyeye/codemodel/dao/CodeModelGroupDao.java
+2
-0
skyeye-service/src/main/java/com/skyeye/codemodel/service/impl/CodeModelGroupServiceImpl.java
...eye/codemodel/service/impl/CodeModelGroupServiceImpl.java
+6
-0
skyeye-web/src/main/resources/dbmapper/CodeModelGroupMapper.xml
...-web/src/main/resources/dbmapper/CodeModelGroupMapper.xml
+22
-0
skyeye-web/src/main/webapp/assets/lib/layui/layui.js
skyeye-web/src/main/webapp/assets/lib/layui/layui.js
+16
-0
skyeye-web/src/main/webapp/js/codemodel/codemodellist.js
skyeye-web/src/main/webapp/js/codemodel/codemodellist.js
+1
-1
skyeye-web/src/main/webapp/js/codemodelgroup/usemodelgroup.js
...ye-web/src/main/webapp/js/codemodelgroup/usemodelgroup.js
+86
-4
skyeye-web/src/main/webapp/tpl/codemodel/codemodeladd.html
skyeye-web/src/main/webapp/tpl/codemodel/codemodeladd.html
+1
-0
skyeye-web/src/main/webapp/tpl/codemodel/codemodeledit.html
skyeye-web/src/main/webapp/tpl/codemodel/codemodeledit.html
+1
-0
skyeye-web/src/main/webapp/tpl/codemodelgroup/usemodelgroup.html
...web/src/main/webapp/tpl/codemodelgroup/usemodelgroup.html
+16
-2
skyeye-web/src/main/webapp/tpl/codemodelgroup/usemodelgroupmodel.tpl
...src/main/webapp/tpl/codemodelgroup/usemodelgroupmodel.tpl
+3
-2
未找到文件。
skyeye-dao/src/main/java/com/skyeye/codemodel/dao/CodeModelGroupDao.java
浏览文件 @
53b98034
...
@@ -27,4 +27,6 @@ public interface CodeModelGroupDao {
...
@@ -27,4 +27,6 @@ public interface CodeModelGroupDao {
public
List
<
Map
<
String
,
Object
>>
queryCodeModelListByGroupId
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
List
<
Map
<
String
,
Object
>>
queryCodeModelListByGroupId
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
Map
<
String
,
Object
>
queryTableBzByTableName
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
}
}
skyeye-service/src/main/java/com/skyeye/codemodel/service/impl/CodeModelGroupServiceImpl.java
浏览文件 @
53b98034
...
@@ -172,10 +172,16 @@ public class CodeModelGroupServiceImpl implements CodeModelGroupService{
...
@@ -172,10 +172,16 @@ public class CodeModelGroupServiceImpl implements CodeModelGroupService{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
Map
<
String
,
Object
>
bean
=
new
HashMap
<>();
Map
<
String
,
Object
>
bean
=
new
HashMap
<>();
String
tableName
=
ToolUtil
.
replaceUnderLineAndUpperCase
(
map
.
get
(
"tableName"
).
toString
());
String
tableName
=
ToolUtil
.
replaceUnderLineAndUpperCase
(
map
.
get
(
"tableName"
).
toString
());
map
.
put
(
"dbName"
,
dbName
);
Map
<
String
,
Object
>
tableBz
=
codeModelGroupDao
.
queryTableBzByTableName
(
map
);
//表备注
bean
.
put
(
"tableBzName"
,
tableBz
.
get
(
"tableComment"
));
//将表名转化为Controller名
//将表名转化为Controller名
bean
.
put
(
"tableName"
,
tableName
);
bean
.
put
(
"tableName"
,
tableName
);
//表名首字母小写
//表名首字母小写
bean
.
put
(
"tableFirstISlowerName"
,
ToolUtil
.
toLowerCaseFirstOne
(
tableName
));
bean
.
put
(
"tableFirstISlowerName"
,
ToolUtil
.
toLowerCaseFirstOne
(
tableName
));
//表名全部小写
bean
.
put
(
"tableISlowerName"
,
tableName
.
toLowerCase
());
//包名
//包名
bean
.
put
(
"ControllerPackageName"
,
"com.skyeye."
+
tableName
.
toLowerCase
()
+
".controller"
);
bean
.
put
(
"ControllerPackageName"
,
"com.skyeye."
+
tableName
.
toLowerCase
()
+
".controller"
);
bean
.
put
(
"ServicePackageName"
,
"com.skyeye."
+
tableName
.
toLowerCase
()
+
".service"
);
bean
.
put
(
"ServicePackageName"
,
"com.skyeye."
+
tableName
.
toLowerCase
()
+
".service"
);
...
...
skyeye-web/src/main/resources/dbmapper/CodeModelGroupMapper.xml
浏览文件 @
53b98034
...
@@ -121,4 +121,26 @@
...
@@ -121,4 +121,26 @@
ORDER BY a.create_time DESC
ORDER BY a.create_time DESC
</select>
</select>
<select
id=
"queryTableBzByTableName"
parameterType=
"java.util.Map"
resultType=
"java.util.Map"
>
SELECT
a.TABLE_SCHEMA AS tableSchema,
a.TABLE_NAME AS tableName,
a.COLUMN_NAME AS columnName,
a.ORDINAL_POSITION AS ordinalPosition,
a.COLUMN_DEFAULT AS columnDefault,
a.IS_NULLABLE AS isNullable,
a.COLUMN_TYPE AS columnType,
a.COLUMN_COMMENT AS columnComment,
a.COLUMN_KEY AS columnKey,
a.EXTRA AS extra,
b.TABLE_COMMENT AS tableComment
FROM
information_schema.COLUMNS a
LEFT JOIN information_schema.TABLES b ON a.TABLE_NAME = b.TABLE_NAME
WHERE
a.TABLE_SCHEMA = #{dbName}
AND a.TABLE_NAME = #{tableName}
GROUP BY a.TABLE_NAME
</select>
</mapper>
</mapper>
\ No newline at end of file
skyeye-web/src/main/webapp/assets/lib/layui/layui.js
浏览文件 @
53b98034
...
@@ -911,5 +911,21 @@ function returnModel(lang){
...
@@ -911,5 +911,21 @@ function returnModel(lang){
return
mode
;
return
mode
;
}
}
/**
* 替换代码生成器模板内容
* @param str
*/
function
replaceModelContent
(
str
,
ControllerPackageName
,
ServicePackageName
,
ServiceImplPackageName
,
DaoPackageName
,
tableZhName
,
tableFirstISlowerName
,
tableISlowerName
,
tableBzName
){
str
=
str
.
replace
(
/
[
$
]
{{controllerPackage}}/g
,
ControllerPackageName
);
str
=
str
.
replace
(
/
[
$
]
{{servicePackage}}/g
,
ServicePackageName
);
str
=
str
.
replace
(
/
[
$
]
{{serviceImplPackage}}/g
,
ServiceImplPackageName
);
str
=
str
.
replace
(
/
[
$
]
{{daoPackage}}/g
,
DaoPackageName
);
str
=
str
.
replace
(
/
[
$
]
{{tableName}}/g
,
tableZhName
);
str
=
str
.
replace
(
/
[
$
]
{{objectName}}/g
,
tableFirstISlowerName
);
str
=
str
.
replace
(
/
[
$
]
{{urlName}}/g
,
tableISlowerName
);
str
=
str
.
replace
(
/
[
$
]
{{notesName}}/g
,
tableBzName
);
return
str
;
}
skyeye-web/src/main/webapp/js/codemodel/codemodellist.js
浏览文件 @
53b98034
...
@@ -41,7 +41,7 @@ layui.config({
...
@@ -41,7 +41,7 @@ layui.config({
indentUnit
:
2
,
// 缩进单位,默认2
indentUnit
:
2
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
fals
e
,
// 是否只读,默认false
readOnly
:
tru
e
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
styleActiveLine
:
true
,
//line选择是是否加亮
...
...
skyeye-web/src/main/webapp/js/codemodelgroup/usemodelgroup.js
浏览文件 @
53b98034
...
@@ -12,6 +12,18 @@ layui.config({
...
@@ -12,6 +12,18 @@ layui.config({
form
=
layui
.
form
,
form
=
layui
.
form
,
table
=
layui
.
table
;
table
=
layui
.
table
;
var
jsCreateClick
=
false
;
//是否检索生成
var
list
=
[];
//存储模板生成集合
//集合内容
//var s = {
// modelId:模板id,
// content:当前内容,
// tableName:表名,
// groupId:模板所属分组id
// modelName:模板别名
//}
form
.
render
();
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
//表单验证
//表单验证
...
@@ -27,7 +39,20 @@ layui.config({
...
@@ -27,7 +39,20 @@ layui.config({
indentUnit
:
2
,
// 缩进单位,默认2
indentUnit
:
2
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
false
,
// 是否只读,默认false
readOnly
:
true
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
var
textEditor
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
textContent
"
),
{
mode
:
"
text/x-java
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
2
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
true
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
styleActiveLine
:
true
,
//line选择是是否加亮
...
@@ -47,7 +72,7 @@ layui.config({
...
@@ -47,7 +72,7 @@ layui.config({
'
click .selModel
'
:
function
(
index
,
row
){
//查看模板
'
click .selModel
'
:
function
(
index
,
row
){
//查看模板
var
mode
=
returnModel
(
row
.
modelType
);
var
mode
=
returnModel
(
row
.
modelType
);
if
(
!
isNull
(
mode
.
length
))
{
if
(
!
isNull
(
mode
.
length
))
{
editor
.
setOption
(
'
mode
'
,
mode
)
editor
.
setOption
(
'
mode
'
,
mode
)
;
}
}
editor
.
setValue
(
row
.
modelContent
);
editor
.
setValue
(
row
.
modelContent
);
layer
.
open
({
layer
.
open
({
...
@@ -60,8 +85,36 @@ layui.config({
...
@@ -60,8 +85,36 @@ layui.config({
});
});
},
},
'
click .selResult
'
:
function
(
index
,
row
){
//查看转换结果
'
click .selResult
'
:
function
(
index
,
row
){
//查看转换结果
if
(
jsCreateClick
){
var
mode
=
returnModel
(
row
.
modelType
);
if
(
!
isNull
(
mode
.
length
))
{
textEditor
.
setOption
(
'
mode
'
,
mode
);
}
textEditor
.
setOption
(
'
readOnly
'
,
false
);
textEditor
.
setValue
(
row
.
modelContent
);
}
else
{
top
.
winui
.
window
.
msg
(
'
请先选择数据库表名检索生成
'
,
{
icon
:
2
,
time
:
2000
});
}
},
},
'
click .createResult
'
:
function
(
index
,
row
){
//转换结果
if
(
jsCreateClick
){
var
content
=
replaceModelContent
(
row
.
modelContent
,
$
(
"
#ControllerPackageName
"
).
val
(),
$
(
"
#ServicePackageName
"
).
val
(),
$
(
"
#ServiceImplPackageName
"
).
val
(),
$
(
"
#DaoPackageName
"
).
val
(),
$
(
"
#tableZhName
"
).
val
(),
$
(
"
#tableFirstISlowerName
"
).
val
(),
$
(
"
#tableISlowerName
"
).
val
(),
$
(
"
#tableBzName
"
).
val
());
var
s
=
{
modelId
:
row
.
id
,
content
:
content
,
tableName
:
$
(
"
#tableName
"
).
val
(),
groupId
:
parent
.
rowId
,
modelName
:
row
.
modelName
};
insertListIn
(
list
,
s
);
top
.
winui
.
window
.
msg
(
'
转换成功
'
,
{
icon
:
1
,
time
:
2000
});
console
.
log
(
list
);
}
else
{
top
.
winui
.
window
.
msg
(
'
请先选择数据库表名检索生成
'
,
{
icon
:
2
,
time
:
2000
});
}
}
},
},
ajaxSendAfter
:
function
(
json
){
ajaxSendAfter
:
function
(
json
){
}
}
...
@@ -81,6 +134,13 @@ layui.config({
...
@@ -81,6 +134,13 @@ layui.config({
}
}
});
});
//转换结果效果切换
$
(
"
body
"
).
on
(
"
click
"
,
"
.createResult
"
,
function
(
e
){
if
(
jsCreateClick
){
$
(
this
).
addClass
(
"
layui-btn-normal
"
);
}
});
//检索生成
//检索生成
$
(
"
body
"
).
on
(
"
click
"
,
"
#jsCreate
"
,
function
(
e
){
$
(
"
body
"
).
on
(
"
click
"
,
"
#jsCreate
"
,
function
(
e
){
showGrid
({
showGrid
({
...
@@ -94,18 +154,23 @@ layui.config({
...
@@ -94,18 +154,23 @@ layui.config({
ajaxSendAfter
:
function
(
json
){
ajaxSendAfter
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
codemodel012
"
,
params
:{
tableName
:
$
(
"
#tableName
"
).
val
()},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
codemodel012
"
,
params
:{
tableName
:
$
(
"
#tableName
"
).
val
()},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
$
(
"
.createResult
"
).
removeClass
(
"
layui-btn-normal
"
);
jsCreateClick
=
true
;
list
=
[];
$
(
"
#tableZhName
"
).
val
(
json
.
bean
.
tableName
);
$
(
"
#tableZhName
"
).
val
(
json
.
bean
.
tableName
);
$
(
"
#tableFirstISlowerName
"
).
val
(
json
.
bean
.
tableFirstISlowerName
);
$
(
"
#tableFirstISlowerName
"
).
val
(
json
.
bean
.
tableFirstISlowerName
);
$
(
"
#ControllerPackageName
"
).
val
(
json
.
bean
.
ControllerPackageName
);
$
(
"
#ControllerPackageName
"
).
val
(
json
.
bean
.
ControllerPackageName
);
$
(
"
#ServicePackageName
"
).
val
(
json
.
bean
.
ServicePackageName
);
$
(
"
#ServicePackageName
"
).
val
(
json
.
bean
.
ServicePackageName
);
$
(
"
#ServiceImplPackageName
"
).
val
(
json
.
bean
.
ServiceImplPackageName
);
$
(
"
#ServiceImplPackageName
"
).
val
(
json
.
bean
.
ServiceImplPackageName
);
$
(
"
#DaoPackageName
"
).
val
(
json
.
bean
.
DaoPackageName
);
$
(
"
#DaoPackageName
"
).
val
(
json
.
bean
.
DaoPackageName
);
$
(
"
#tableISlowerName
"
).
val
(
json
.
bean
.
tableISlowerName
);
$
(
"
#tableBzName
"
).
val
(
json
.
bean
.
tableBzName
);
//遍历模板
//遍历模板
$
(
'
#modelList
'
).
find
(
'
li
'
).
each
(
function
()
{
$
(
'
#modelList
'
).
find
(
'
li
'
).
each
(
function
()
{
var
label
=
$
(
this
).
find
(
"
label
"
);
var
label
=
$
(
this
).
find
(
"
label
"
);
$
(
"
#
"
+
label
.
attr
(
"
relation
"
)).
val
(
json
.
bean
.
tableName
+
label
.
attr
(
"
thiscontent
"
));
$
(
"
#
"
+
label
.
attr
(
"
relation
"
)).
val
(
json
.
bean
.
tableName
+
label
.
attr
(
"
thiscontent
"
));
});
});
top
.
winui
.
window
.
msg
(
'
检索成功
'
,
{
icon
:
1
,
time
:
2000
});
}
else
{
}
else
{
top
.
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
top
.
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}
...
@@ -114,5 +179,22 @@ layui.config({
...
@@ -114,5 +179,22 @@ layui.config({
});
});
});
});
/**
* 向集合中添加新元素
*/
function
insertListIn
(
list
,
s
){
var
isIn
=
false
;
for
(
var
i
=
0
;
i
<
list
.
length
;
i
++
){
if
(
list
[
i
].
modelId
==
s
.
modelId
){
list
[
i
].
content
=
s
.
content
;
isIn
=
true
;
break
;
}
}
if
(
!
isIn
){
//不存在
list
.
push
(
s
);
}
}
exports
(
'
usemodelgroup
'
,
{});
exports
(
'
usemodelgroup
'
,
{});
});
});
skyeye-web/src/main/webapp/tpl/codemodel/codemodeladd.html
浏览文件 @
53b98034
...
@@ -85,6 +85,7 @@
...
@@ -85,6 +85,7 @@
5.${{tableName}}为Controller、Service等层的类名,类方法。
<br>
5.${{tableName}}为Controller、Service等层的类名,类方法。
<br>
6.${{objectName}}为对象名
<br>
6.${{objectName}}为对象名
<br>
7.${{notesName}}为注释对象名
<br>
7.${{notesName}}为注释对象名
<br>
8.${{urlName}}为请求链接对象名
<br>
</div>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
...
...
skyeye-web/src/main/webapp/tpl/codemodel/codemodeledit.html
浏览文件 @
53b98034
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
5.${{tableName}}为Controller、Service等层的类名,类方法。
<br>
5.${{tableName}}为Controller、Service等层的类名,类方法。
<br>
6.${{objectName}}为对象名
<br>
6.${{objectName}}为对象名
<br>
7.${{notesName}}为注释对象名
<br>
7.${{notesName}}为注释对象名
<br>
8.${{urlName}}为请求链接对象名
<br>
</div>
</div>
<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>
...
...
skyeye-web/src/main/webapp/tpl/codemodelgroup/usemodelgroup.html
浏览文件 @
53b98034
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"txtcenter"
style=
"width:1
2
00px;margin:0 auto;"
>
<div
class=
"txtcenter"
style=
"width:1
5
00px;margin:0 auto;"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-inline"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
类、方法名
</label>
<label
class=
"layui-form-label"
>
类、方法名
</label>
...
@@ -39,6 +39,18 @@
...
@@ -39,6 +39,18 @@
<input
type=
"text"
id=
"tableFirstISlowerName"
name=
"tableFirstISlowerName"
win-verify=
"required"
placeholder=
"请选择数据库表检所生成"
class=
"layui-input"
/>
<input
type=
"text"
id=
"tableFirstISlowerName"
name=
"tableFirstISlowerName"
win-verify=
"required"
placeholder=
"请选择数据库表检所生成"
class=
"layui-input"
/>
</div>
</div>
</div>
</div>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
URL请求对象名
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"tableISlowerName"
name=
"tableISlowerName"
win-verify=
"required"
placeholder=
"请选择数据库表检所生成"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
表备注
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"tableBzName"
name=
"tableBzName"
win-verify=
"required"
placeholder=
"请选择数据库表检所生成"
class=
"layui-input"
/>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"txtcenter"
style=
"width:1500px;margin:0 auto;"
>
<div
class=
"txtcenter"
style=
"width:1500px;margin:0 auto;"
>
...
@@ -84,7 +96,9 @@
...
@@ -84,7 +96,9 @@
<div
class=
"winui-toolbar"
>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
参数设置
</div>
<div
class=
"winui-tool"
>
参数设置
</div>
</div>
</div>
<div
class=
"layui-row"
style=
"height: 100%"
>
<textarea
id=
"textContent"
></textarea>
</div>
</div>
</div>
<div
class=
"layui-col-xs3 right-menu"
>
<div
class=
"layui-col-xs3 right-menu"
>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-toolbar"
>
...
...
skyeye-web/src/main/webapp/tpl/codemodelgroup/usemodelgroupmodel.tpl
浏览文件 @
53b98034
{{
#
each
rows
}}
{{
#
each
rows
}}
<li
class=
"page-li"
>
<li
class=
"page-li"
>
<div
class=
"weui-flex js_category layui-col-xs
8
padd-le-ri"
>
<div
class=
"weui-flex js_category layui-col-xs
7
padd-le-ri"
>
<div>
<div>
<label
class=
"layui-form-label"
relation=
"{
{
id
}
}"
thiscontent=
"{
{
modelName
}
}"
>
{
{
modelName
}
}
<i
class=
"red"
>
*
</i></label>
<label
class=
"layui-form-label"
relation=
"{
{
id
}
}"
thiscontent=
"{
{
modelName
}
}"
>
{
{
modelName
}
}
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-input-block"
>
...
@@ -8,9 +8,10 @@
...
@@ -8,9 +8,10 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"weui-flex js_category layui-col-xs
4
right"
>
<div
class=
"weui-flex js_category layui-col-xs
5
right"
>
<button
class=
"layui-btn layui-btn-sm tab-btn-mar-left-3 selModel"
title=
"查看模板"
type=
"button"
><i
class=
"fa fa-files-o"
></i></button>
<button
class=
"layui-btn layui-btn-sm tab-btn-mar-left-3 selModel"
title=
"查看模板"
type=
"button"
><i
class=
"fa fa-files-o"
></i></button>
<button
class=
"layui-btn layui-btn-sm tab-btn-mar-left-3 selResult"
title=
"查看转换结果"
type=
"button"
><i
class=
"fa fa-pencil-square-o"
></i></button>
<button
class=
"layui-btn layui-btn-sm tab-btn-mar-left-3 selResult"
title=
"查看转换结果"
type=
"button"
><i
class=
"fa fa-pencil-square-o"
></i></button>
<button
class=
"layui-btn layui-btn-sm tab-btn-mar-left-3 createResult"
title=
"转换结果"
type=
"button"
><i
class=
"fa fa-clipboard"
></i></button>
</div>
</div>
</li>
</li>
{
{/
each
}
}
{
{/
each
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录