Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
aecbbdc3
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看板
提交
aecbbdc3
编写于
11月 04, 2022
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
轻应用页面地址调整
上级
872db64e
变更
20
隐藏空白更改
内联
并排
Showing
20 changed file
with
323 addition
and
220 deletion
+323
-220
light-app/src/main/resources/template/js/lightApp/lightAppAdd.js
...pp/src/main/resources/template/js/lightApp/lightAppAdd.js
+0
-0
light-app/src/main/resources/template/js/lightApp/lightAppEdit.js
...p/src/main/resources/template/js/lightApp/lightAppEdit.js
+1
-4
light-app/src/main/resources/template/js/lightApp/lightAppList.js
...p/src/main/resources/template/js/lightApp/lightAppList.js
+40
-41
light-app/src/main/resources/template/js/lightAppShow/lightAppShow.js
...c/main/resources/template/js/lightAppShow/lightAppShow.js
+3
-3
light-app/src/main/resources/template/js/lightAppType/lightAppTypeAdd.js
...ain/resources/template/js/lightAppType/lightAppTypeAdd.js
+0
-0
light-app/src/main/resources/template/js/lightAppType/lightAppTypeEdit.js
...in/resources/template/js/lightAppType/lightAppTypeEdit.js
+1
-1
light-app/src/main/resources/template/js/lightAppType/lightAppTypeList.js
...in/resources/template/js/lightAppType/lightAppTypeList.js
+41
-42
light-app/src/main/resources/template/tpl/lightApp/lightAppAdd.html
...src/main/resources/template/tpl/lightApp/lightAppAdd.html
+1
-1
light-app/src/main/resources/template/tpl/lightApp/lightAppEdit.html
...rc/main/resources/template/tpl/lightApp/lightAppEdit.html
+66
-0
light-app/src/main/resources/template/tpl/lightApp/lightAppList.html
...rc/main/resources/template/tpl/lightApp/lightAppList.html
+47
-0
light-app/src/main/resources/template/tpl/lightAppShow/lightAppShow.html
...ain/resources/template/tpl/lightAppShow/lightAppShow.html
+1
-1
light-app/src/main/resources/template/tpl/lightAppShow/lightAppShowItemTemplate.tpl
...es/template/tpl/lightAppShow/lightAppShowItemTemplate.tpl
+0
-0
light-app/src/main/resources/template/tpl/lightAppShow/lightAppShowListTemplate.tpl
...es/template/tpl/lightAppShow/lightAppShowListTemplate.tpl
+0
-0
light-app/src/main/resources/template/tpl/lightAppType/lightAppTypeAdd.html
.../resources/template/tpl/lightAppType/lightAppTypeAdd.html
+1
-1
light-app/src/main/resources/template/tpl/lightAppType/lightAppTypeEdit.html
...resources/template/tpl/lightAppType/lightAppTypeEdit.html
+68
-0
light-app/src/main/resources/template/tpl/lightAppType/lightAppTypeList.html
...resources/template/tpl/lightAppType/lightAppTypeList.html
+53
-0
light-app/src/main/resources/template/tpl/lightapp/lightappedit.html
...rc/main/resources/template/tpl/lightapp/lightappedit.html
+0
-21
light-app/src/main/resources/template/tpl/lightapp/lightappeditTemplate.tpl
.../resources/template/tpl/lightapp/lightappeditTemplate.tpl
+0
-41
light-app/src/main/resources/template/tpl/lightapptype/lightapptypeedit.html
...resources/template/tpl/lightapptype/lightapptypeedit.html
+0
-21
light-app/src/main/resources/template/tpl/lightapptype/lightapptypeeditTemplate.tpl
...es/template/tpl/lightapptype/lightapptypeeditTemplate.tpl
+0
-43
未找到文件。
light-app/src/main/resources/template/js/light
app/lightappa
dd.js
→
light-app/src/main/resources/template/js/light
App/lightAppA
dd.js
浏览文件 @
aecbbdc3
文件已移动
light-app/src/main/resources/template/js/light
app/lightappe
dit.js
→
light-app/src/main/resources/template/js/light
App/lightAppE
dit.js
浏览文件 @
aecbbdc3
...
...
@@ -10,7 +10,6 @@ layui.config({
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
// 初始化应用类型
function
initAppType
(
id
){
showGrid
({
id
:
"
typeId
"
,
...
...
@@ -40,9 +39,8 @@ layui.config({
url
:
sysMainMation
.
lightAppBasePath
+
"
lightapp003
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/lightapp/lightappeditTemplate.tpl
'
),
template
:
$
(
"
#beanTemplate
"
).
html
(
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
$
(
"
#iconShow
"
).
attr
(
"
class
"
,
"
fa fa-fw
"
+
$
(
"
#appLogo
"
).
val
());
...
...
@@ -52,7 +50,6 @@ layui.config({
form
.
render
();
initAppType
(
json
.
bean
.
typeId
);
// 初始化上传
$
(
"
#appLogo
"
).
upload
(
systemCommonUtil
.
uploadCommon003Config
(
'
appLogo
'
,
12
,
json
.
bean
.
appLogo
,
1
));
form
.
on
(
'
submit(formEditMenu)
'
,
function
(
data
)
{
...
...
light-app/src/main/resources/template/js/light
app/lightappl
ist.js
→
light-app/src/main/resources/template/js/light
App/lightAppL
ist.js
浏览文件 @
aecbbdc3
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
...
...
@@ -16,14 +18,14 @@ layui.config({
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
sysMainMation
.
lightAppBasePath
+
'
lightapp001
'
,
where
:
{
appName
:
$
(
"
#appName
"
).
val
(),
state
:
$
(
"
#state
"
).
val
()}
,
where
:
getTableParams
()
,
even
:
true
,
page
:
true
,
limits
:
[
8
,
16
,
24
,
32
,
40
,
48
,
56
]
,
limit
:
8
,
limits
:
getLimits
()
,
limit
:
getLimit
()
,
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
appName
'
,
title
:
'
应用名称
'
,
align
:
'
center
'
,
width
:
120
},
{
field
:
'
appName
'
,
title
:
'
应用名称
'
,
width
:
120
},
{
field
:
'
appLogo
'
,
title
:
'
logo
'
,
width
:
60
,
templet
:
function
(
d
)
{
if
(
isNull
(
d
.
appLogo
)){
return
''
;
...
...
@@ -32,8 +34,8 @@ layui.config({
return
str
;
}
}},
{
field
:
'
appUrl
'
,
title
:
'
应用链接
'
,
align
:
'
center
'
,
width
:
220
},
{
field
:
'
typeName
'
,
title
:
'
所属类型
'
,
align
:
'
center
'
,
width
:
120
},
{
field
:
'
appUrl
'
,
title
:
'
应用链接
'
,
align
:
'
center
'
,
width
:
220
},
{
field
:
'
typeName
'
,
title
:
'
所属类型
'
,
align
:
'
center
'
,
width
:
120
},
{
field
:
'
state
'
,
title
:
'
状态
'
,
width
:
100
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
if
(
d
.
state
==
'
1
'
){
return
"
<span class='state-new'>新建</span>
"
;
...
...
@@ -45,12 +47,15 @@ layui.config({
return
"
参数错误
"
;
}
}},
{
field
:
'
create
Id
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
200
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
250
,
toolbar
:
'
#tableBar
'
}
{
field
:
'
create
Name
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
150
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入名称
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
}
});
...
...
@@ -69,53 +74,35 @@ layui.config({
systemCommonUtil
.
showPicImg
(
fileBasePath
+
data
.
appLogo
);
}
});
form
.
render
();
$
(
"
body
"
).
on
(
"
click
"
,
"
#formSearchLightApp
"
,
function
()
{
refreshTable
();
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:{
appName
:
$
(
"
#appName
"
).
val
(),
state
:
$
(
"
#state
"
).
val
()}});
}
function
refreshTable
(){
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:{
appName
:
$
(
"
#appName
"
).
val
(),
state
:
$
(
"
#state
"
).
val
()}});
}
//新增
//
新增
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/light
app/lightappadd.html
"
,
title
:
"
新增轻应用
"
,
pageId
:
"
light
appa
dd
"
,
area
:
[
'
800px
'
,
'
6
0vh
'
],
url
:
"
../../tpl/light
App/lightAppAdd.html
"
,
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
]
,
pageId
:
"
light
AppA
dd
"
,
area
:
[
'
90vw
'
,
'
9
0vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
//编辑
//
编辑
function
edit
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/light
app/lightappedit.html
"
,
title
:
"
编辑轻应用
"
,
pageId
:
"
light
appe
dit
"
,
area
:
[
'
800px
'
,
'
6
0vh
'
],
url
:
"
../../tpl/light
App/lightAppEdit.html
"
,
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
]
,
pageId
:
"
light
AppE
dit
"
,
area
:
[
'
90vw
'
,
'
9
0vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
//删除
//
删除
function
del
(
data
,
obj
)
{
var
msg
=
obj
?
'
确认删除【
'
+
obj
.
data
.
appName
+
'
】吗?
'
:
'
确认删除选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
删除轻应用
'
},
function
(
index
)
{
...
...
@@ -127,7 +114,7 @@ layui.config({
});
}
//上线
//
上线
function
up
(
data
,
obj
){
var
msg
=
obj
?
'
确认将【
'
+
obj
.
data
.
appName
+
'
】上线吗?
'
:
'
确认将选中数据上线吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
轻应用上线
'
},
function
(
index
)
{
...
...
@@ -139,7 +126,7 @@ layui.config({
});
}
//下线
//
下线
function
down
(
data
,
obj
){
var
msg
=
obj
?
'
确认将【
'
+
obj
.
data
.
appName
+
'
】下线吗?
'
:
'
确认将选中数据下线吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
轻应用下线
'
},
function
(
index
)
{
...
...
@@ -150,6 +137,18 @@ layui.config({
}});
});
}
form
.
render
();
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
()
{
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
light
appl
ist
'
,
{});
exports
(
'
light
AppL
ist
'
,
{});
});
light-app/src/main/resources/template/js/light
appshow/lightapps
how.js
→
light-app/src/main/resources/template/js/light
AppShow/lightAppS
how.js
浏览文件 @
aecbbdc3
...
...
@@ -15,7 +15,7 @@ layui.config({
url
:
sysMainMation
.
lightAppBasePath
+
"
lightapp008
"
,
params
:
{
typeId
:
typeId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/light
appshow/lightappshowl
istTemplate.tpl
'
),
template
:
getFileContent
(
'
tpl/light
AppShow/lightAppShowL
istTemplate.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
...
...
@@ -29,7 +29,7 @@ layui.config({
url
:
sysMainMation
.
lightAppBasePath
+
"
lightapptype010
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/light
appshow/lightappshowa
Template.tpl
'
),
template
:
getFileContent
(
'
tpl/light
AppShow/lightAppShowItem
Template.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
...
...
@@ -75,5 +75,5 @@ layui.config({
form
.
render
();
exports
(
'
light
apps
how
'
,
{});
exports
(
'
light
AppS
how
'
,
{});
});
light-app/src/main/resources/template/js/light
apptype/lightapptypea
dd.js
→
light-app/src/main/resources/template/js/light
AppType/lightAppTypeA
dd.js
浏览文件 @
aecbbdc3
文件已移动
light-app/src/main/resources/template/js/light
apptype/lightapptypee
dit.js
→
light-app/src/main/resources/template/js/light
AppType/lightAppTypeE
dit.js
浏览文件 @
aecbbdc3
...
...
@@ -15,7 +15,7 @@ layui.config({
url
:
sysMainMation
.
lightAppBasePath
+
"
lightapptype003
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/lightapptype/lightapptypeeditTemplate.tpl
'
),
template
:
$
(
"
#beanTemplate
"
).
html
(
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
...
...
light-app/src/main/resources/template/js/light
apptype/lightapptypel
ist.js
→
light-app/src/main/resources/template/js/light
AppType/lightAppTypeL
ist.js
浏览文件 @
aecbbdc3
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
...
...
@@ -16,14 +18,14 @@ layui.config({
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
sysMainMation
.
lightAppBasePath
+
'
lightapptype001
'
,
where
:
{
typeName
:
$
(
"
#typeName
"
).
val
(),
state
:
$
(
"
#state
"
).
val
()}
,
where
:
getTableParams
()
,
even
:
true
,
page
:
true
,
limits
:
[
8
,
16
,
24
,
32
,
40
,
48
,
56
]
,
limit
:
8
,
limits
:
getLimits
()
,
limit
:
getLimit
()
,
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
typeName
'
,
title
:
'
类型名称
'
,
align
:
'
center
'
,
width
:
120
},
{
field
:
'
typeName
'
,
title
:
'
名称
'
,
width
:
120
},
{
field
:
'
iconPath
'
,
title
:
'
logo
'
,
width
:
60
,
templet
:
function
(
d
)
{
if
(
isNull
(
d
.
iconPath
)){
return
''
;
...
...
@@ -39,7 +41,7 @@ layui.config({
return
str
;
}
}},
{
field
:
'
useNum
'
,
title
:
'
轻应用数量
'
,
align
:
'
center
'
,
width
:
120
},
{
field
:
'
useNum
'
,
title
:
'
轻应用数量
'
,
align
:
'
center
'
,
width
:
120
},
{
field
:
'
state
'
,
title
:
'
状态
'
,
width
:
100
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
if
(
d
.
state
==
'
1
'
){
return
"
<span class='state-new'>新建</span>
"
;
...
...
@@ -51,12 +53,15 @@ layui.config({
return
"
参数错误
"
;
}
}},
{
field
:
'
create
Id
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
200
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
250
,
toolbar
:
'
#tableBar
'
}
{
field
:
'
create
Name
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
250
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入名称
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
}
});
...
...
@@ -80,52 +85,34 @@ layui.config({
}
});
form
.
render
();
$
(
"
body
"
).
on
(
"
click
"
,
"
#formSearchLightApp
"
,
function
()
{
refreshTable
();
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:{
typeName
:
$
(
"
#typeName
"
).
val
(),
state
:
$
(
"
#state
"
).
val
()}});
}
function
refreshTable
(){
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:{
typeName
:
$
(
"
#typeName
"
).
val
(),
state
:
$
(
"
#state
"
).
val
()}});
}
//新增
// 新增
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/light
apptype/lightapptypeadd.html
"
,
title
:
"
新增轻应用类型
"
,
pageId
:
"
light
apptypea
dd
"
,
area
:
[
'
800px
'
,
'
6
0vh
'
],
url
:
"
../../tpl/light
AppType/lightAppTypeAdd.html
"
,
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
]
,
pageId
:
"
light
AppTypeA
dd
"
,
area
:
[
'
90vw
'
,
'
9
0vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
//编辑
//
编辑
function
edit
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/light
apptype/lightapptypeedit.html
"
,
title
:
"
编辑轻应用类型
"
,
pageId
:
"
light
apptypee
dit
"
,
area
:
[
'
800px
'
,
'
6
0vh
'
],
url
:
"
../../tpl/light
AppType/lightAppTypeEdit.html
"
,
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
]
,
pageId
:
"
light
AppTypeE
dit
"
,
area
:
[
'
90vw
'
,
'
9
0vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
//删除
//
删除
function
del
(
data
,
obj
)
{
var
msg
=
obj
?
'
确认删除【
'
+
obj
.
data
.
typeName
+
'
】吗?
'
:
'
确认删除选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
删除轻应用类型
'
},
function
(
index
)
{
...
...
@@ -137,7 +124,7 @@ layui.config({
});
}
//上线
//
上线
function
up
(
data
,
obj
){
var
msg
=
obj
?
'
确认将【
'
+
obj
.
data
.
typeName
+
'
】上线吗?
'
:
'
确认将选中数据上线吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
轻应用类型上线
'
},
function
(
index
)
{
...
...
@@ -149,7 +136,7 @@ layui.config({
});
}
//下线
//
下线
function
down
(
data
,
obj
){
var
msg
=
obj
?
'
确认将【
'
+
obj
.
data
.
typeName
+
'
】下线吗?
'
:
'
确认将选中数据下线吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
轻应用类型下线
'
},
function
(
index
)
{
...
...
@@ -161,7 +148,7 @@ layui.config({
});
}
//上移
//
上移
function
topOne
(
data
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
lightAppBasePath
+
"
lightapptype005
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.moveUpOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
...
...
@@ -169,13 +156,25 @@ layui.config({
}});
}
//下移
//
下移
function
lowerOne
(
data
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
lightAppBasePath
+
"
lightapptype006
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.moveDownOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
form
.
render
();
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
()
{
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
light
apptypel
ist
'
,
{});
exports
(
'
light
AppTypeL
ist
'
,
{});
});
light-app/src/main/resources/template/tpl/light
app/lightappa
dd.html
→
light-app/src/main/resources/template/tpl/light
App/lightAppA
dd.html
浏览文件 @
aecbbdc3
...
...
@@ -53,7 +53,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/light
app/
'
}).
use
(
'
lightappa
dd
'
);
layui
.
config
({
base
:
'
../../js/light
App/
'
}).
use
(
'
lightAppA
dd
'
);
</script>
</body>
</html>
\ No newline at end of file
light-app/src/main/resources/template/tpl/lightApp/lightAppEdit.html
0 → 100644
浏览文件 @
aecbbdc3
<!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=
"margin:0 auto;padding:20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
</form>
</div>
<script
type=
"text/x-handlebars-template"
id=
"beanTemplate"
>
{{
#
bean
}}
<
div
class
=
"
layui-form-item
"
>
<
label
class
=
"
layui-form-label
"
>
应用名称
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
appName
"
name
=
"
appName
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入应用名称
"
class
=
"
layui-input
"
maxlength
=
"
10
"
value
=
"
{{appName}}
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item menuIcon
"
>
<
label
class
=
"
layui-form-label
"
>
logo
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
div
class
=
"
upload
"
id
=
"
appLogo
"
><
/div
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item
"
>
<
label
class
=
"
layui-form-label
"
>
应用类型
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
select
lay
-
filter
=
"
typeId
"
lay
-
search
=
""
id
=
"
typeId
"
win
-
verify
=
"
required
"
>
<
/select
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item
"
>
<
label
class
=
"
layui-form-label
"
>
应用地址
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
appUrl
"
name
=
"
appUrl
"
win
-
verify
=
"
required|url
"
placeholder
=
"
请输入应用地址
"
class
=
"
layui-input
"
value
=
"
{{appUrl}}
"
/>
<
div
class
=
"
layui-form-mid layui-word-aux
"
>
地址格式为
:
http
:
//xxxxxxxxxx
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item
"
>
<
label
class
=
"
layui-form-label
"
>
应用描述
<
/label
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
desc
"
name
=
"
desc
"
placeholder
=
""
class
=
"
layui-input
"
value
=
"
{{appdesc}}
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
div
class
=
"
layui-input-block
"
>
<
button
class
=
"
winui-btn
"
id
=
"
cancle
"
><
language
showName
=
"
com.skyeye.cancel
"
><
/language></
button
>
<
button
class
=
"
winui-btn
"
lay
-
submit
lay
-
filter
=
"
formEditMenu
"
><
language
showName
=
"
com.skyeye.save
"
><
/language></
button
>
<
/div
>
<
/div
>
{{
/
bean
}}
</script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/lightApp/
'
}).
use
(
'
lightAppEdit
'
);
</script>
</body>
</html>
\ No newline at end of file
light-app/src/main/resources/template/tpl/light
app/lightappl
ist.html
→
light-app/src/main/resources/template/tpl/light
App/lightAppL
ist.html
浏览文件 @
aecbbdc3
...
...
@@ -7,33 +7,10 @@
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
class=
"txtcenter"
style=
"margin:0 auto;padding:10px;"
>
<form
class=
"layui-form layui-form-pane"
action=
""
autocomplete=
"off"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
应用名称
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"appName"
name=
"appName"
placeholder=
"请输入应用名称"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
状态
</label>
<div
class=
"layui-input-inline"
>
<select
id=
"state"
name=
"state"
>
<option
value=
""
>
全部
</option>
<option
value=
"1"
>
新建
</option>
<option
value=
"2"
>
上线
</option>
<option
value=
"3"
>
下线
</option>
</select>
</div>
<button
type=
"reset"
class=
"layui-btn layui-btn-primary list-form-search"
><language
showName=
"com.skyeye.reset"
></language></button>
<button
class=
"layui-btn list-form-search"
type=
"button"
id=
"formSearchLightApp"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"addBean"
class=
"winui-toolbtn"
auth=
"1560418136905"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></language></button>
<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=
"1560418136905"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
...
...
@@ -41,7 +18,7 @@
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
d
.
state
==
1
||
d
.
state
==
3
){
}}
{{
#
if
(
auth
(
'
1560418152289
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
<
a
class
=
"
layui-btn layui-btn-xs
layui-btn-normal
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
((
d
.
state
==
1
||
d
.
state
==
3
)){
}}
...
...
@@ -64,7 +41,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/light
app/
'
}).
use
(
'
lightappl
ist
'
);
layui
.
config
({
base
:
'
../../js/light
App/
'
}).
use
(
'
lightAppL
ist
'
);
</script>
</body>
</html>
\ No newline at end of file
light-app/src/main/resources/template/tpl/light
appshow/lightapps
how.html
→
light-app/src/main/resources/template/tpl/light
AppShow/lightAppS
how.html
浏览文件 @
aecbbdc3
...
...
@@ -24,7 +24,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/light
appshow/
'
}).
use
(
'
lightapps
how
'
);
layui
.
config
({
base
:
'
../../js/light
AppShow/
'
}).
use
(
'
lightAppS
how
'
);
</script>
</body>
</html>
\ No newline at end of file
light-app/src/main/resources/template/tpl/light
appshow/lightappshowa
Template.tpl
→
light-app/src/main/resources/template/tpl/light
AppShow/lightAppShowItem
Template.tpl
浏览文件 @
aecbbdc3
文件已移动
light-app/src/main/resources/template/tpl/light
appshow/lightappshowl
istTemplate.tpl
→
light-app/src/main/resources/template/tpl/light
AppShow/lightAppShowL
istTemplate.tpl
浏览文件 @
aecbbdc3
文件已移动
light-app/src/main/resources/template/tpl/light
apptype/lightapptypea
dd.html
→
light-app/src/main/resources/template/tpl/light
AppType/lightAppTypeA
dd.html
浏览文件 @
aecbbdc3
...
...
@@ -55,7 +55,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/light
apptype/
'
}).
use
(
'
lightapptypea
dd
'
);
layui
.
config
({
base
:
'
../../js/light
AppType/
'
}).
use
(
'
lightAppTypeA
dd
'
);
</script>
</body>
</html>
\ No newline at end of file
light-app/src/main/resources/template/tpl/lightAppType/lightAppTypeEdit.html
0 → 100644
浏览文件 @
aecbbdc3
<!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=
"margin:0 auto;padding:20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
</form>
</div>
<script
type=
"text/x-handlebars-template"
id=
"beanTemplate"
>
{{
#
bean
}}
<
div
class
=
"
layui-form-item
"
>
<
label
class
=
"
layui-form-label
"
>
类型名称
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
typeName
"
name
=
"
typeName
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入类型名称
"
class
=
"
layui-input
"
maxlength
=
"
10
"
value
=
"
{{typeName}}
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item
"
>
<
label
class
=
"
layui-form-label
"
>
logo类型
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block winui-radio
"
>
<
input
type
=
"
radio
"
name
=
"
iconType
"
value
=
"
1
"
title
=
"
Icon
"
lay
-
filter
=
"
iconType
"
checked
/>
<
input
type
=
"
radio
"
name
=
"
iconType
"
value
=
"
2
"
title
=
"
图片
"
lay
-
filter
=
"
iconType
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item menuIconTypeIsOne
"
>
<
label
class
=
"
layui-form-label
"
>
logo
<
/label
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
iconPath
"
name
=
"
iconPath
"
placeholder
=
"
请输入图标src或者class
"
class
=
"
layui-input
"
value
=
"
{{iconPath}}
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item menuIconTypeIsOne
"
>
<
label
class
=
"
layui-form-label
"
>
logo预览
<
/label
>
<
div
class
=
"
layui-input-block
"
>
<
div
class
=
"
layui-col-xs12
"
>
<
div
class
=
"
layui-col-xs2
"
>
<
div
class
=
"
winui-icon winui-icon-font
"
style
=
"
width: 60px; height: 60px;
"
><
i
id
=
"
iconShow
"
class
=
""
style
=
"
font-size: 48px; line-height: 65px;
"
><
/i></
div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item menuIconTypeIsTwo layui-hide
"
>
<
label
class
=
"
layui-form-label
"
>
logo图片
<
/label
>
<
div
class
=
"
layui-input-block
"
>
<
div
class
=
"
upload
"
id
=
"
iconpicPath
"
><
/div
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
div
class
=
"
layui-input-block
"
>
<
button
class
=
"
winui-btn
"
id
=
"
cancle
"
><
language
showName
=
"
com.skyeye.cancel
"
><
/language></
button
>
<
button
class
=
"
winui-btn
"
lay
-
submit
lay
-
filter
=
"
formEditMenu
"
><
language
showName
=
"
com.skyeye.save
"
><
/language></
button
>
<
/div
>
<
/div
>
{{
/
bean
}}
</script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/lightAppType/
'
}).
use
(
'
lightAppTypeEdit
'
);
</script>
</body>
</html>
\ No newline at end of file
light-app/src/main/resources/template/tpl/light
apptype/lightapptypel
ist.html
→
light-app/src/main/resources/template/tpl/light
AppType/lightAppTypeL
ist.html
浏览文件 @
aecbbdc3
...
...
@@ -7,33 +7,10 @@
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
class=
"txtcenter"
style=
"margin:0 auto;padding:10px;"
>
<form
class=
"layui-form layui-form-pane"
action=
""
autocomplete=
"off"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
类型名称
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"typeName"
name=
"typeName"
placeholder=
"请输入类型名称"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
状态
</label>
<div
class=
"layui-input-inline"
>
<select
id=
"state"
name=
"state"
>
<option
value=
""
>
全部
</option>
<option
value=
"1"
>
新建
</option>
<option
value=
"2"
>
上线
</option>
<option
value=
"3"
>
下线
</option>
</select>
</div>
<button
type=
"reset"
class=
"layui-btn layui-btn-primary list-form-search"
><language
showName=
"com.skyeye.reset"
></language></button>
<button
class=
"layui-btn list-form-search"
type=
"button"
id=
"formSearchLightApp"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"addBean"
class=
"winui-toolbtn"
auth=
"1559201340836"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></language></button>
<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=
"1559201340836"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
...
...
@@ -41,7 +18,7 @@
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
d
.
state
==
1
||
d
.
state
==
3
){
}}
{{
#
if
(
auth
(
'
1559267011961
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
<
a
class
=
"
layui-btn layui-btn-xs
layui-btn-normal
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
((
d
.
state
==
1
||
d
.
state
==
3
)
&&
(
d
.
useNum
==
0
)){
}}
...
...
@@ -70,7 +47,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/light
apptype/
'
}).
use
(
'
lightapptypel
ist
'
);
layui
.
config
({
base
:
'
../../js/light
AppType/
'
}).
use
(
'
lightAppTypeL
ist
'
);
</script>
</body>
</html>
\ No newline at end of file
light-app/src/main/resources/template/tpl/lightapp/lightappedit.html
已删除
100644 → 0
浏览文件 @
872db64e
<!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=
"margin:0 auto;padding:20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
</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/lightapp/
'
}).
use
(
'
lightappedit
'
);
</script>
</body>
</html>
\ No newline at end of file
light-app/src/main/resources/template/tpl/lightapp/lightappeditTemplate.tpl
已删除
100644 → 0
浏览文件 @
872db64e
{{
#
bean
}}
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
应用名称
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"appName"
name=
"appName"
win-verify=
"required"
placeholder=
"请输入应用名称"
class=
"layui-input"
maxlength=
"10"
value=
"{
{
appName
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item menuIcon"
>
<label
class=
"layui-form-label"
>
logo
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<div
class=
"upload"
id=
"appLogo"
></div>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
应用类型
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
lay-filter=
"typeId"
lay-search=
""
id=
"typeId"
win-verify=
"required"
>
</select>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
应用地址
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"appUrl"
name=
"appUrl"
win-verify=
"required|url"
placeholder=
"请输入应用地址"
class=
"layui-input"
value=
"{
{
appUrl
}
}"
/>
<div
class=
"layui-form-mid layui-word-aux"
>
地址格式为:http://xxxxxxxxxx
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
应用描述
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"desc"
name=
"desc"
placeholder=
""
class=
"layui-input"
value=
"{
{
appdesc
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-input-block"
>
<button
class=
"winui-btn"
id=
"cancle"
><language
showName=
"com.skyeye.cancel"
></language></button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formEditMenu"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
{
{/
bean
}
}
\ No newline at end of file
light-app/src/main/resources/template/tpl/lightapptype/lightapptypeedit.html
已删除
100644 → 0
浏览文件 @
872db64e
<!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=
"margin:0 auto;padding:20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
</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/lightapptype/
'
}).
use
(
'
lightapptypeedit
'
);
</script>
</body>
</html>
\ No newline at end of file
light-app/src/main/resources/template/tpl/lightapptype/lightapptypeeditTemplate.tpl
已删除
100644 → 0
浏览文件 @
872db64e
{{
#
bean
}}
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
类型名称
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"typeName"
name=
"typeName"
win-verify=
"required"
placeholder=
"请输入类型名称"
class=
"layui-input"
maxlength=
"10"
value=
"{
{
typeName
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
logo类型
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block winui-radio"
>
<input
type=
"radio"
name=
"iconType"
value=
"1"
title=
"Icon"
lay-filter=
"iconType"
checked
/>
<input
type=
"radio"
name=
"iconType"
value=
"2"
title=
"图片"
lay-filter=
"iconType"
/>
</div>
</div>
<div
class=
"layui-form-item menuIconTypeIsOne"
>
<label
class=
"layui-form-label"
>
logo
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"iconPath"
name=
"iconPath"
placeholder=
"请输入图标src或者class"
class=
"layui-input"
value=
"{
{
iconPath
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item menuIconTypeIsOne"
>
<label
class=
"layui-form-label"
>
logo预览
</label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-col-xs12"
>
<div
class=
"layui-col-xs2"
>
<div
class=
"winui-icon winui-icon-font"
style=
"width: 60px; height: 60px;"
><i
id=
"iconShow"
class=
""
style=
"font-size: 48px; line-height: 65px;"
></i></div>
</div>
</div>
</div>
</div>
<div
class=
"layui-form-item menuIconTypeIsTwo layui-hide"
>
<label
class=
"layui-form-label"
>
logo图片
</label>
<div
class=
"layui-input-block"
>
<div
class=
"upload"
id=
"iconpicPath"
></div>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-input-block"
>
<button
class=
"winui-btn"
id=
"cancle"
><language
showName=
"com.skyeye.cancel"
></language></button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formEditMenu"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
{
{/
bean
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录