Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
9d548d4e
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1435
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看板
提交
9d548d4e
编写于
5月 01, 2024
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 删除小程序模块
上级
3c6207d8
变更
58
隐藏空白更改
内联
并排
Showing
58 changed file
with
0 addition
and
4653 deletion
+0
-4653
rmprogram/.gitignore
rmprogram/.gitignore
+0
-16
rmprogram/pom.xml
rmprogram/pom.xml
+0
-19
rmprogram/src/main/resources/template/js/rmgroup/rmgroupadd.js
...gram/src/main/resources/template/js/rmgroup/rmgroupadd.js
+0
-60
rmprogram/src/main/resources/template/js/rmgroup/rmgroupedit.js
...ram/src/main/resources/template/js/rmgroup/rmgroupedit.js
+0
-74
rmprogram/src/main/resources/template/js/rmgroup/rmgrouplist.js
...ram/src/main/resources/template/js/rmgroup/rmgrouplist.js
+0
-148
rmprogram/src/main/resources/template/js/rmgroupmember/bindproperty.js
.../main/resources/template/js/rmgroupmember/bindproperty.js
+0
-69
rmprogram/src/main/resources/template/js/rmgroupmember/rmgroupmemberadd.js
...n/resources/template/js/rmgroupmember/rmgroupmemberadd.js
+0
-214
rmprogram/src/main/resources/template/js/rmgroupmember/rmgroupmemberedit.js
.../resources/template/js/rmgroupmember/rmgroupmemberedit.js
+0
-156
rmprogram/src/main/resources/template/js/rmgroupmember/rmgroupmemberlist.js
.../resources/template/js/rmgroupmember/rmgroupmemberlist.js
+0
-316
rmprogram/src/main/resources/template/js/rmmysmpro/mysmproadd.js
...am/src/main/resources/template/js/rmmysmpro/mysmproadd.js
+0
-37
rmprogram/src/main/resources/template/js/rmmysmpro/mysmproedit.js
...m/src/main/resources/template/js/rmmysmpro/mysmproedit.js
+0
-50
rmprogram/src/main/resources/template/js/rmmysmpro/mysmprolist.js
...m/src/main/resources/template/js/rmmysmpro/mysmprolist.js
+0
-128
rmprogram/src/main/resources/template/js/rmmysmpropage/addpagebeanitem.js
...in/resources/template/js/rmmysmpropage/addpagebeanitem.js
+0
-36
rmprogram/src/main/resources/template/js/rmmysmpropage/editpagebeanitem.js
...n/resources/template/js/rmmysmpropage/editpagebeanitem.js
+0
-47
rmprogram/src/main/resources/template/js/rmmysmpropage/mysmpropagelist.js
...in/resources/template/js/rmmysmpropage/mysmpropagelist.js
+0
-395
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyadd.js
...rc/main/resources/template/js/rmproperty/rmpropertyadd.js
+0
-178
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyedit.js
...c/main/resources/template/js/rmproperty/rmpropertyedit.js
+0
-214
rmprogram/src/main/resources/template/js/rmproperty/rmpropertylist.js
...c/main/resources/template/js/rmproperty/rmpropertylist.js
+0
-208
rmprogram/src/main/resources/template/js/rmpropertyvalue/rmpropertyvalueadd.js
...sources/template/js/rmpropertyvalue/rmpropertyvalueadd.js
+0
-51
rmprogram/src/main/resources/template/js/rmpropertyvalue/rmpropertyvalueedit.js
...ources/template/js/rmpropertyvalue/rmpropertyvalueedit.js
+0
-68
rmprogram/src/main/resources/template/js/rmpropertyvalue/rmpropertyvaluelist.js
...ources/template/js/rmpropertyvalue/rmpropertyvaluelist.js
+0
-126
rmprogram/src/main/resources/template/js/rmtype/rmtypeadd.js
rmprogram/src/main/resources/template/js/rmtype/rmtypeadd.js
+0
-33
rmprogram/src/main/resources/template/js/rmtype/rmtypeedit.js
...ogram/src/main/resources/template/js/rmtype/rmtypeedit.js
+0
-49
rmprogram/src/main/resources/template/js/rmtype/rmtypelist.js
...ogram/src/main/resources/template/js/rmtype/rmtypelist.js
+0
-129
rmprogram/src/main/resources/template/tpl/rmgroup/rmgroupadd.html
...m/src/main/resources/template/tpl/rmgroup/rmgroupadd.html
+0
-46
rmprogram/src/main/resources/template/tpl/rmgroup/rmgroupedit.html
.../src/main/resources/template/tpl/rmgroup/rmgroupedit.html
+0
-21
rmprogram/src/main/resources/template/tpl/rmgroup/rmgroupeditTemplate.tpl
...in/resources/template/tpl/rmgroup/rmgroupeditTemplate.tpl
+0
-28
rmprogram/src/main/resources/template/tpl/rmgroup/rmgrouplist.html
.../src/main/resources/template/tpl/rmgroup/rmgrouplist.html
+0
-57
rmprogram/src/main/resources/template/tpl/rmgroupmember/bindproperty.html
...in/resources/template/tpl/rmgroupmember/bindproperty.html
+0
-34
rmprogram/src/main/resources/template/tpl/rmgroupmember/rmgroupmemberadd.html
...esources/template/tpl/rmgroupmember/rmgroupmemberadd.html
+0
-110
rmprogram/src/main/resources/template/tpl/rmgroupmember/rmgroupmemberedit.html
...sources/template/tpl/rmgroupmember/rmgroupmemberedit.html
+0
-30
rmprogram/src/main/resources/template/tpl/rmgroupmember/rmgroupmembereditTemplate.tpl
.../template/tpl/rmgroupmember/rmgroupmembereditTemplate.tpl
+0
-72
rmprogram/src/main/resources/template/tpl/rmgroupmember/rmgroupmemberlist.html
...sources/template/tpl/rmgroupmember/rmgroupmemberlist.html
+0
-68
rmprogram/src/main/resources/template/tpl/rmmysmpro/mysmproadd.html
...src/main/resources/template/tpl/rmmysmpro/mysmproadd.html
+0
-38
rmprogram/src/main/resources/template/tpl/rmmysmpro/mysmproedit.html
...rc/main/resources/template/tpl/rmmysmpro/mysmproedit.html
+0
-21
rmprogram/src/main/resources/template/tpl/rmmysmpro/mysmproeditTemplate.tpl
.../resources/template/tpl/rmmysmpro/mysmproeditTemplate.tpl
+0
-20
rmprogram/src/main/resources/template/tpl/rmmysmpro/mysmprolist.html
...rc/main/resources/template/tpl/rmmysmpro/mysmprolist.html
+0
-52
rmprogram/src/main/resources/template/tpl/rmmysmpropage/addpagebeanitem.html
...resources/template/tpl/rmmysmpropage/addpagebeanitem.html
+0
-48
rmprogram/src/main/resources/template/tpl/rmmysmpropage/editpagebeanitem.html
...esources/template/tpl/rmmysmpropage/editpagebeanitem.html
+0
-21
rmprogram/src/main/resources/template/tpl/rmmysmpropage/groupMemberTemplate.tpl
...ources/template/tpl/rmmysmpropage/groupMemberTemplate.tpl
+0
-7
rmprogram/src/main/resources/template/tpl/rmmysmpropage/groupTemplate.tpl
...in/resources/template/tpl/rmmysmpropage/groupTemplate.tpl
+0
-18
rmprogram/src/main/resources/template/tpl/rmmysmpropage/mysmpropagelist.html
...resources/template/tpl/rmmysmpropage/mysmpropagelist.html
+0
-91
rmprogram/src/main/resources/template/tpl/rmmysmpropage/pageTemplate.tpl
...ain/resources/template/tpl/rmmysmpropage/pageTemplate.tpl
+0
-22
rmprogram/src/main/resources/template/tpl/rmmysmpropage/pagemodelTemplate.tpl
...esources/template/tpl/rmmysmpropage/pagemodelTemplate.tpl
+0
-19
rmprogram/src/main/resources/template/tpl/rmmysmpropage/projectpageeditTemplate.tpl
...es/template/tpl/rmmysmpropage/projectpageeditTemplate.tpl
+0
-30
rmprogram/src/main/resources/template/tpl/rmproperty/rmpropertyadd.html
...main/resources/template/tpl/rmproperty/rmpropertyadd.html
+0
-117
rmprogram/src/main/resources/template/tpl/rmproperty/rmpropertyedit.html
...ain/resources/template/tpl/rmproperty/rmpropertyedit.html
+0
-22
rmprogram/src/main/resources/template/tpl/rmproperty/rmpropertyeditTemplate.tpl
...ources/template/tpl/rmproperty/rmpropertyeditTemplate.tpl
+0
-98
rmprogram/src/main/resources/template/tpl/rmproperty/rmpropertylist.html
...ain/resources/template/tpl/rmproperty/rmpropertylist.html
+0
-66
rmprogram/src/main/resources/template/tpl/rmpropertyvalue/rmpropertyvalueadd.html
...rces/template/tpl/rmpropertyvalue/rmpropertyvalueadd.html
+0
-46
rmprogram/src/main/resources/template/tpl/rmpropertyvalue/rmpropertyvalueedit.html
...ces/template/tpl/rmpropertyvalue/rmpropertyvalueedit.html
+0
-21
rmprogram/src/main/resources/template/tpl/rmpropertyvalue/rmpropertyvalueeditTemplate.tpl
...plate/tpl/rmpropertyvalue/rmpropertyvalueeditTemplate.tpl
+0
-28
rmprogram/src/main/resources/template/tpl/rmpropertyvalue/rmpropertyvaluelist.html
...ces/template/tpl/rmpropertyvalue/rmpropertyvaluelist.html
+0
-57
rmprogram/src/main/resources/template/tpl/rmtype/rmtypeadd.html
...ram/src/main/resources/template/tpl/rmtype/rmtypeadd.html
+0
-32
rmprogram/src/main/resources/template/tpl/rmtype/rmtypeedit.html
...am/src/main/resources/template/tpl/rmtype/rmtypeedit.html
+0
-21
rmprogram/src/main/resources/template/tpl/rmtype/rmtypeeditTemplate.tpl
...main/resources/template/tpl/rmtype/rmtypeeditTemplate.tpl
+0
-14
rmprogram/src/main/resources/template/tpl/rmtype/rmtypelist.html
...am/src/main/resources/template/tpl/rmtype/rmtypelist.html
+0
-53
web/src/main/resources/template/assets/lib/winui/css/winui.css
...rc/main/resources/template/assets/lib/winui/css/winui.css
+0
-404
未找到文件。
rmprogram/.gitignore
已删除
100644 → 0
浏览文件 @
3c6207d8
*.class
# Package Files #
*.war
*.ear
class
.settings
*.classpath
/bin
classes
/target/
/.project/
/logs/
/.idea/
*.iml
\ No newline at end of file
rmprogram/pom.xml
已删除
100644 → 0
浏览文件 @
3c6207d8
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<artifactId>
skyeye-web
</artifactId>
<groupId>
com.skyeye.web
</groupId>
<version>
1-SNAPSHOT
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
rmprogram
</artifactId>
<properties>
<maven.compiler.source>
8
</maven.compiler.source>
<maven.compiler.target>
8
</maven.compiler.target>
</properties>
</project>
\ No newline at end of file
rmprogram/src/main/resources/template/js/rmgroup/rmgroupadd.js
已删除
100644 → 0
浏览文件 @
3c6207d8
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
showGrid
({
id
:
"
rmTypeId
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
common001
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
matchingLanguage
();
form
.
render
();
form
.
on
(
'
select(selectParent)
'
,
function
(
data
)
{
});
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
rmTypeId
:
$
(
"
#rmTypeId
"
).
val
(),
rmGroupName
:
$
(
"
#rmGroupName
"
).
val
(),
icon
:
$
(
"
#rmGroupIcon
"
).
val
(),
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx009
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
}
});
// 菜单图标选中事件
$
(
"
body
"
).
on
(
"
focus
"
,
"
#rmGroupIcon
"
,
function
(
e
)
{
systemCommonUtil
.
openSysEveIconChoosePage
(
function
(
sysIconChooseClass
){
$
(
"
#rmGroupIcon
"
).
val
(
sysIconChooseClass
);
});
});
// 取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
rmprogram/src/main/resources/template/js/rmgroup/rmgroupedit.js
已删除
100644 → 0
浏览文件 @
3c6207d8
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
showGrid
({
id
:
"
showForm
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx011
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/rmgroup/rmgroupeditTemplate.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
showGrid
({
id
:
"
rmTypeId
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
common001
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json1
){
$
(
"
#rmTypeId
"
).
val
(
json
.
bean
.
rmTypeId
);
matchingLanguage
();
form
.
render
();
form
.
on
(
'
select(selectParent)
'
,
function
(
data
)
{
});
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
rmTypeId
:
$
(
"
#rmTypeId
"
).
val
(),
rmGroupName
:
$
(
"
#rmGroupName
"
).
val
(),
icon
:
$
(
"
#rmGroupIcon
"
).
val
(),
rowId
:
parent
.
rowId
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx012
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
}
});
}
});
// 菜单图标选中事件
$
(
"
body
"
).
on
(
"
focus
"
,
"
#rmGroupIcon
"
,
function
(
e
)
{
systemCommonUtil
.
openSysEveIconChoosePage
(
function
(
sysIconChooseClass
){
$
(
"
#rmGroupIcon
"
).
val
(
sysIconChooseClass
);
});
});
// 取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
rmprogram/src/main/resources/template/js/rmgroup/rmgrouplist.js
已删除
100644 → 0
浏览文件 @
3c6207d8
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
authBtn
(
'
1554952601470
'
);
showGrid
({
id
:
"
rmTypeId
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
common001
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
form
.
render
();
form
.
on
(
'
select(selectParent)
'
,
function
(
data
)
{
});
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
refreshTable
();
}
return
false
;
});
}
});
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
sysMainMation
.
rmprogramBasePath
+
'
rmxcx008
'
,
where
:
{
rmGroupName
:
$
(
"
#rmGroupName
"
).
val
(),
rmTypeId
:
$
(
"
#rmTypeId
"
).
val
()},
even
:
true
,
page
:
true
,
limits
:
[
8
,
16
,
24
,
32
,
40
,
48
,
56
],
limit
:
8
,
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
rmGroupName
'
,
title
:
'
分组名称
'
,
width
:
120
},
{
field
:
'
icon
'
,
title
:
'
图标码
'
,
width
:
520
},
{
field
:
'
icon
'
,
title
:
'
图标
'
,
width
:
120
,
templet
:
function
(
d
)
{
return
'
<i class="fa fa-fw
'
+
d
.
icon
+
'
"></i>
'
;
}},
{
field
:
'
typeName
'
,
title
:
'
所属分类
'
,
width
:
120
},
{
field
:
'
groupMemberNum
'
,
title
:
'
组件数量
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
240
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
del
'
)
{
//删除
del
(
data
,
obj
);
}
else
if
(
layEvent
===
'
edit
'
)
{
//编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
top
'
)
{
//上移
topOne
(
data
);
}
else
if
(
layEvent
===
'
lower
'
)
{
//下移
lowerOne
(
data
);
}
});
//删除
function
del
(
data
,
obj
)
{
var
msg
=
obj
?
'
确认删除分组【
'
+
obj
.
data
.
rmGroupName
+
'
】吗?
'
:
'
确认删除选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
删除分组
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx010
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
//上移
function
topOne
(
data
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx013
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.moveUpOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
//下移
function
lowerOne
(
data
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx014
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.moveDownOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
//编辑
function
edit
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/rmgroup/rmgroupedit.html
"
,
title
:
"
编辑分组
"
,
pageId
:
"
rmgroupedit
"
,
area
:
[
'
600px
'
,
'
50vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
//刷新数据
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
//新增
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/rmgroup/rmgroupadd.html
"
,
title
:
"
新增分组
"
,
pageId
:
"
rmgroupadd
"
,
area
:
[
'
600px
'
,
'
50vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:{
rmGroupName
:
$
(
"
#rmGroupName
"
).
val
(),
rmTypeId
:
$
(
"
#rmTypeId
"
).
val
()}});
}
function
refreshTable
(){
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:{
rmGroupName
:
$
(
"
#rmGroupName
"
).
val
(),
rmTypeId
:
$
(
"
#rmTypeId
"
).
val
()}});
}
exports
(
'
rmgrouplist
'
,
{});
});
rmprogram/src/main/resources/template/js/rmgroupmember/bindproperty.js
已删除
100644 → 0
浏览文件 @
3c6207d8
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
// 加载标签属性
showGrid
({
id
:
"
propertyList
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmproperty006
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/checkbox-property.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
form
.
render
(
'
checkbox
'
);
var
params
=
{
rowId
:
parent
.
rowId
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx039
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
total
!=
0
){
for
(
var
i
in
json
.
rows
){
$
(
'
input:checkbox[rowId="
'
+
json
.
rows
[
i
].
propertyId
+
'
"]
'
).
attr
(
"
checked
"
,
true
);
}
}
form
.
render
(
'
checkbox
'
);
}});
}
});
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
propertyIds
=
""
;
$
.
each
(
$
(
'
input:checkbox:checked
'
),
function
(){
propertyIds
=
propertyIds
+
$
(
this
).
attr
(
"
rowId
"
)
+
"
,
"
;
});
if
(
isNull
(
propertyIds
)){
winui
.
window
.
msg
(
'
请先选择标签属性。
'
,
{
icon
:
2
,
time
:
2000
});
}
else
{
var
params
=
{
rowId
:
parent
.
rowId
,
propertyIds
:
propertyIds
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx038
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
}
return
false
;
});
// 取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
rmprogram/src/main/resources/template/js/rmgroupmember/rmgroupmemberadd.js
已删除
100644 → 0
浏览文件 @
3c6207d8
var
isPic
=
false
;
//是否执行生成图片
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
swiper
'
],
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
.
$
,
form
=
layui
.
form
;
$
(
"
#download
"
).
hide
();
var
htmlContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
htmlContent
"
),
{
mode
:
"
xml
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
false
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
var
htmlJsContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
htmlJsContent
"
),
{
mode
:
"
text/javascript
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
false
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
var
wxmlContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
wxmlContent
"
),
{
mode
:
"
xml
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
false
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
var
wxmlJsDataContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
wxmlJsDataContent
"
),
{
mode
:
"
text/javascript
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
false
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
var
wxmlJsMethodContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
wxmlJsMethodContent
"
),
{
mode
:
"
text/javascript
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
false
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
var
wxmlJsMethodCreateContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
wxmlJsMethodCreateContent
"
),
{
mode
:
"
text/javascript
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
false
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
showGrid
({
id
:
"
rmTypeId
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
common001
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
matchingLanguage
();
form
.
render
();
//小程序分类变化事件
form
.
on
(
'
select(selectParent)
'
,
function
(
data
)
{
showGrid
({
id
:
"
rmGroupId
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
common002
"
,
params
:
{
parentId
:
data
.
value
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
form
.
render
(
'
select
'
);
}
});
});
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
if
(
!
isPic
){
winui
.
window
.
msg
(
"
请先生成预览图
"
,
{
icon
:
2
,
time
:
2000
});
}
else
if
(
isNull
(
htmlContent
.
getValue
())){
winui
.
window
.
msg
(
"
请填写HTML内容
"
,
{
icon
:
2
,
time
:
2000
});
}
else
if
(
isNull
(
wxmlContent
.
getValue
())){
winui
.
window
.
msg
(
"
请填写WXML内容
"
,
{
icon
:
2
,
time
:
2000
});
}
else
{
var
oCanvas
=
document
.
getElementById
(
"
thecanvas
"
);
var
imgData
=
oCanvas
.
toDataURL
();
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
common004
"
,
params
:
{
images
:
imgData
,
type
:
1
},
type
:
'
json
'
,
callback
:
function
(
json1
){
var
params
=
{
rmTypeId
:
$
(
"
#rmTypeId
"
).
val
(),
rmGroupId
:
$
(
"
#rmGroupId
"
).
val
(),
htmlContent
:
encodeURI
(
htmlContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
htmlJsContent
:
encodeURI
(
htmlJsContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
wxmlContent
:
encodeURI
(
wxmlContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
wxmlJsDataContent
:
encodeURI
(
wxmlJsDataContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
wxmlJsMethodContent
:
encodeURI
(
wxmlJsMethodContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
wxmlJsMethodCreateContent
:
encodeURI
(
wxmlJsMethodCreateContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
img
:
json1
.
bean
.
picUrl
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx016
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}});
}
}
return
false
;
});
}
});
//HTML内容变化事件
htmlContent
.
on
(
"
change
"
,
function
(){
$
(
"
#printPic
"
).
html
(
htmlContent
.
getValue
());
$
(
"
#htmlJsContentScript
"
).
html
(
'
<script>layui.define(["jquery"], function(exports) {var jQuery = layui.jquery;(function($) {
'
+
htmlJsContent
.
getValue
()
+
'
})(jQuery);});</script>
'
);
});
//HTML-JS内容变化事件
htmlJsContent
.
on
(
"
change
"
,
function
(){
$
(
"
#printPic
"
).
html
(
htmlContent
.
getValue
());
$
(
"
#htmlJsContentScript
"
).
html
(
'
<script>layui.define(["jquery"], function(exports) {var jQuery = layui.jquery;(function($) {
'
+
htmlJsContent
.
getValue
()
+
'
})(jQuery);});</script>
'
);
});
// 下载canvas图片
$
(
"
body
"
).
on
(
"
click
"
,
"
#download
"
,
function
()
{
var
oCanvas
=
document
.
getElementById
(
"
thecanvas
"
);
var
img_data1
=
Canvas2Image
.
saveAsPNG
(
oCanvas
,
true
).
getAttribute
(
'
src
'
);
saveFile
(
img_data1
,
'
richer.png
'
);
});
// 生成图片
$
(
"
body
"
).
on
(
"
click
"
,
"
#createPic
"
,
function
()
{
if
(
isNull
(
$
(
"
#printPic
"
).
html
().
trim
())){
winui
.
window
.
msg
(
'
请填写HTML内容
'
,
{
icon
:
2
,
time
:
2000
});
}
else
{
html2canvas
(
$
(
"
#printPic
"
),
{
onrendered
:
function
(
canvas
)
{
// 添加属性
canvas
.
setAttribute
(
'
id
'
,
'
thecanvas
'
);
// 读取属性值
document
.
getElementById
(
'
images
'
).
innerHTML
=
''
;
document
.
getElementById
(
'
images
'
).
appendChild
(
canvas
);
$
(
"
#download
"
).
show
();
}
});
isPic
=
true
;
}
});
// 保存文件函数
var
saveFile
=
function
(
data
,
filename
){
var
save_link
=
document
.
createElementNS
(
'
http://www.w3.org/1999/xhtml
'
,
'
a
'
);
save_link
.
href
=
data
;
save_link
.
download
=
filename
;
var
event
=
document
.
createEvent
(
'
MouseEvents
'
);
event
.
initMouseEvent
(
'
click
'
,
true
,
false
,
window
,
0
,
0
,
0
,
0
,
0
,
false
,
false
,
false
,
false
,
0
,
null
);
save_link
.
dispatchEvent
(
event
);
};
// 取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
rmprogram/src/main/resources/template/js/rmgroupmember/rmgroupmemberedit.js
已删除
100644 → 0
浏览文件 @
3c6207d8
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
fileUpload
'
,
'
swiper
'
],
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
.
$
,
form
=
layui
.
form
;
var
htmlContent
,
htmlJsContent
,
wxmlContent
,
wxmlJsDataContent
,
wxmlJsMethodContent
,
wxmlJsMethodCreateContent
;
showGrid
({
id
:
"
showForm
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx020
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/rmgroupmember/rmgroupmembereditTemplate.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
// 初始化上传
$
(
"
#printsPicUrl
"
).
upload
(
systemCommonUtil
.
uploadCommon003Config
(
'
printsPicUrl
'
,
1
,
json
.
bean
.
printsPicUrl
,
1
));
htmlContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
htmlContent
"
),
{
mode
:
"
xml
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
false
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
htmlJsContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
htmlJsContent
"
),
{
mode
:
"
text/javascript
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
false
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
wxmlContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
wxmlContent
"
),
{
mode
:
"
xml
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
false
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
wxmlJsDataContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
wxmlJsDataContent
"
),
{
mode
:
"
text/javascript
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
false
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
wxmlJsMethodContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
wxmlJsMethodContent
"
),
{
mode
:
"
text/javascript
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
false
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
wxmlJsMethodCreateContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
wxmlJsMethodCreateContent
"
),
{
mode
:
"
text/javascript
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
false
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
if
(
isNull
(
htmlContent
.
getValue
())){
winui
.
window
.
msg
(
"
请填写HTML内容
"
,
{
icon
:
2
,
time
:
2000
});
}
else
if
(
isNull
(
wxmlContent
.
getValue
())){
winui
.
window
.
msg
(
"
请填写WXML内容
"
,
{
icon
:
2
,
time
:
2000
});
}
else
{
var
params
=
{
htmlContent
:
encodeURI
(
htmlContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
htmlJsContent
:
encodeURI
(
htmlJsContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
wxmlContent
:
encodeURI
(
wxmlContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
wxmlJsDataContent
:
encodeURI
(
wxmlJsDataContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
wxmlJsMethodContent
:
encodeURI
(
wxmlJsMethodContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
wxmlJsMethodCreateContent
:
encodeURI
(
wxmlJsMethodCreateContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
rowId
:
parent
.
rowId
,
};
params
.
img
=
$
(
"
#printsPicUrl
"
).
find
(
"
input[type='hidden'][name='upload']
"
).
attr
(
"
oldurl
"
);
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx021
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
}
return
false
;
});
}
});
//HTML内容变化事件
htmlContent
.
on
(
"
change
"
,
function
(){
$
(
"
#printPic
"
).
html
(
htmlContent
.
getValue
());
$
(
"
#htmlJsContentScript
"
).
html
(
'
<script>layui.define(["jquery"], function(exports) {var jQuery = layui.jquery;(function($) {
'
+
htmlJsContent
.
getValue
()
+
'
})(jQuery);});</script>
'
);
});
//HTML-JS内容变化事件
htmlJsContent
.
on
(
"
change
"
,
function
(){
$
(
"
#printPic
"
).
html
(
htmlContent
.
getValue
());
$
(
"
#htmlJsContentScript
"
).
html
(
'
<script>layui.define(["jquery"], function(exports) {var jQuery = layui.jquery;(function($) {
'
+
htmlJsContent
.
getValue
()
+
'
})(jQuery);});</script>
'
);
});
// 取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
rmprogram/src/main/resources/template/js/rmgroupmember/rmgroupmemberlist.js
已删除
100644 → 0
浏览文件 @
3c6207d8
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
codemirror
'
,
'
xml
'
,
'
clike
'
,
'
css
'
,
'
htmlmixed
'
,
'
javascript
'
,
'
nginx
'
,
'
solr
'
,
'
sql
'
,
'
vue
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
authBtn
(
'
1560833378100
'
);
var
editor
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
modelContent
"
),
{
mode
:
"
text/x-java
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
true
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
});
showGrid
({
id
:
"
rmTypeId
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
common001
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
form
.
render
();
form
.
on
(
'
select(selectParent)
'
,
function
(
data
)
{
showGrid
({
id
:
"
rmGroupId
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
common002
"
,
params
:
{
parentId
:
data
.
value
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
form
.
render
(
'
select
'
);
}
});
});
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
refreshTable
();
}
return
false
;
});
}
});
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
sysMainMation
.
rmprogramBasePath
+
'
rmxcx015
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
printsPicUrl
'
,
title
:
'
效果图
'
,
width
:
200
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
return
'
<img src="
'
+
fileBasePath
+
d
.
printsPicUrl
+
'
" style="width:100%;height:auto" class="cursor" lay-event="printsPicUrl">
'
;
}},
{
field
:
'
id
'
,
title
:
'
HTML内容
'
,
width
:
150
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
return
'
<i class="fa fa-fw fa-html5 cursor" lay-event="htmlContent"></i>
'
;
}},
{
field
:
'
id
'
,
title
:
'
HTML-JS内容
'
,
width
:
150
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
if
(
!
isNull
(
d
.
htmlJsContent
)){
return
'
<i class="fa fa-fw fa-html5 cursor" lay-event="htmlJsContent"></i>
'
;
}
else
{
return
'
无
'
;
}
}},
{
field
:
'
id
'
,
title
:
'
WXML内容
'
,
width
:
150
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
return
'
<i class="fa fa-fw fa-html5 cursor" lay-event="wxmlContent"></i>
'
;
}},
{
field
:
'
id
'
,
title
:
'
WXML-JS数据内容
'
,
width
:
150
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
if
(
!
isNull
(
d
.
wxmlJsDataContent
)){
return
'
<i class="fa fa-fw fa-html5 cursor" lay-event="wxmlJsDataContent"></i>
'
;
}
else
{
return
'
无
'
;
}
}},
{
field
:
'
id
'
,
title
:
'
WXML-JS方法内容
'
,
width
:
150
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
if
(
!
isNull
(
d
.
wxmlJsMethodContent
)){
return
'
<i class="fa fa-fw fa-html5 cursor" lay-event="wxmlJsMethodContent"></i>
'
;
}
else
{
return
'
无
'
;
}
}},
{
field
:
'
id
'
,
title
:
'
WXML-JS初始化方法内容
'
,
width
:
150
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
if
(
!
isNull
(
d
.
wxmlJsMethodCreateContent
)){
return
'
<i class="fa fa-fw fa-html5 cursor" lay-event="wxmlJsMethodCreateContent"></i>
'
;
}
else
{
return
'
无
'
;
}
}},
{
field
:
'
typeName
'
,
title
:
'
所属分类
'
,
width
:
120
},
{
field
:
'
groupName
'
,
title
:
'
所属分组
'
,
width
:
120
},
{
field
:
'
memberUseNum
'
,
title
:
'
使用次数
'
,
width
:
120
},
{
field
:
'
propertyNum
'
,
title
:
'
标签属性数量
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
width
:
180
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
300
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
del
'
)
{
//删除
del
(
data
,
obj
);
}
else
if
(
layEvent
===
'
edit
'
)
{
//编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
bindProperty
'
)
{
//绑定属性
bindProperty
(
data
);
}
else
if
(
layEvent
===
'
top
'
)
{
//上移
topOne
(
data
);
}
else
if
(
layEvent
===
'
lower
'
)
{
//下移
lowerOne
(
data
);
}
else
if
(
layEvent
===
'
htmlContent
'
)
{
//HTML内容
var
mode
=
returnModel
(
'
html
'
);
if
(
!
isNull
(
mode
.
length
))
{
editor
.
setOption
(
'
mode
'
,
mode
)
}
editor
.
setValue
(
data
.
htmlContent
);
layer
.
open
({
id
:
'
HTML内容
'
,
type
:
1
,
title
:
'
HTML内容
'
,
shade
:
0.3
,
area
:
[
'
90vw
'
,
'
90vh
'
],
content
:
$
(
"
#modelContentDiv
"
).
html
()
});
}
else
if
(
layEvent
===
'
htmlJsContent
'
)
{
//HTML-JS内容
var
mode
=
returnModel
(
'
javascript
'
);
if
(
!
isNull
(
mode
.
length
))
{
editor
.
setOption
(
'
mode
'
,
mode
)
}
editor
.
setValue
(
data
.
htmlJsContent
);
layer
.
open
({
id
:
'
HTML-JS内容
'
,
type
:
1
,
title
:
'
HTML-JS内容
'
,
shade
:
0.3
,
area
:
[
'
90vw
'
,
'
90vh
'
],
content
:
$
(
"
#modelContentDiv
"
).
html
()
});
}
else
if
(
layEvent
===
'
wxmlContent
'
)
{
//WXML内容
var
mode
=
returnModel
(
'
html
'
);
if
(
!
isNull
(
mode
.
length
))
{
editor
.
setOption
(
'
mode
'
,
mode
)
}
editor
.
setValue
(
data
.
wxmlContent
);
layer
.
open
({
id
:
'
WXML内容
'
,
type
:
1
,
title
:
'
WXML内容
'
,
shade
:
0.3
,
area
:
[
'
90vw
'
,
'
90vh
'
],
content
:
$
(
"
#modelContentDiv
"
).
html
()
});
}
else
if
(
layEvent
===
'
wxmlJsDataContent
'
)
{
//WXML-JS数据内容
var
mode
=
returnModel
(
'
javascript
'
);
if
(
!
isNull
(
mode
.
length
))
{
editor
.
setOption
(
'
mode
'
,
mode
)
}
editor
.
setValue
(
data
.
wxmlJsDataContent
);
layer
.
open
({
id
:
'
WXML-JS数据内容
'
,
type
:
1
,
title
:
'
WXML-JS数据内容
'
,
shade
:
0.3
,
area
:
[
'
90vw
'
,
'
90vh
'
],
content
:
$
(
"
#modelContentDiv
"
).
html
()
});
}
else
if
(
layEvent
===
'
wxmlJsMethodContent
'
)
{
//WXML-JS方法内容
var
mode
=
returnModel
(
'
javascript
'
);
if
(
!
isNull
(
mode
.
length
))
{
editor
.
setOption
(
'
mode
'
,
mode
)
}
editor
.
setValue
(
data
.
wxmlJsMethodContent
);
layer
.
open
({
id
:
'
WXML-JS方法内容
'
,
type
:
1
,
title
:
'
WXML-JS方法内容
'
,
shade
:
0.3
,
area
:
[
'
90vw
'
,
'
90vh
'
],
content
:
$
(
"
#modelContentDiv
"
).
html
()
});
}
else
if
(
layEvent
===
'
wxmlJsMethodCreateContent
'
)
{
//WXML-JS初始化方法内容
var
mode
=
returnModel
(
'
javascript
'
);
if
(
!
isNull
(
mode
.
length
))
{
editor
.
setOption
(
'
mode
'
,
mode
)
}
editor
.
setValue
(
data
.
wxmlJsMethodCreateContent
);
layer
.
open
({
id
:
'
WXML-JS初始化方法内容
'
,
type
:
1
,
title
:
'
WXML-JS初始化方法内容
'
,
shade
:
0.3
,
area
:
[
'
90vw
'
,
'
90vh
'
],
content
:
$
(
"
#modelContentDiv
"
).
html
()
});
}
else
if
(
layEvent
===
'
printsPicUrl
'
)
{
//图片预览
systemCommonUtil
.
showPicImg
(
fileBasePath
+
data
.
printsPicUrl
);
}
});
// 删除
function
del
(
data
,
obj
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx019
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 上移
function
topOne
(
data
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx017
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.moveUpOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
// 下移
function
lowerOne
(
data
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx018
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.moveDownOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
// 编辑
function
edit
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/rmgroupmember/rmgroupmemberedit.html
"
,
title
:
"
编辑组件
"
,
pageId
:
"
rmgroupmemberedit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
// 绑定属性
function
bindProperty
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/rmgroupmember/bindproperty.html
"
,
title
:
"
绑定属性
"
,
pageId
:
"
bindproperty
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
// 刷新数据
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
// 新增
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/rmgroupmember/rmgroupmemberadd.html
"
,
title
:
"
新增组件
"
,
pageId
:
"
rmgroupmemberadd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
refreshTable
(){
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
}
function
getTableParams
()
{
return
{
rmGroupId
:
$
(
"
#rmGroupId
"
).
val
(),
rmTypeId
:
$
(
"
#rmTypeId
"
).
val
()
};
}
exports
(
'
rmgroupmemberlist
'
,
{});
});
rmprogram/src/main/resources/template/js/rmmysmpro/mysmproadd.js
已删除
100644 → 0
浏览文件 @
3c6207d8
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
proName
:
$
(
"
#proName
"
).
val
(),
proDesc
:
$
(
"
#proDesc
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx023
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
// 取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
rmprogram/src/main/resources/template/js/rmmysmpro/mysmproedit.js
已删除
100644 → 0
浏览文件 @
3c6207d8
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
showGrid
({
id
:
"
showForm
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx025
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/rmmysmpro/mysmproeditTemplate.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
proName
:
$
(
"
#proName
"
).
val
(),
proDesc
:
$
(
"
#proDesc
"
).
val
(),
rowId
:
parent
.
rowId
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx026
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
}
});
// 取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
rmprogram/src/main/resources/template/js/rmmysmpro/mysmprolist.js
已删除
100644 → 0
浏览文件 @
3c6207d8
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
authBtn
(
'
1560823576324
'
);
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
sysMainMation
.
rmprogramBasePath
+
'
rmxcx022
'
,
where
:
{
proName
:
$
(
"
#proName
"
).
val
()},
even
:
true
,
page
:
true
,
limits
:
[
8
,
16
,
24
,
32
,
40
,
48
,
56
],
limit
:
8
,
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
proName
'
,
title
:
'
项目名称
'
,
width
:
120
},
{
field
:
'
proDesc
'
,
title
:
'
项目描述
'
,
width
:
520
},
{
field
:
'
pageNum
'
,
title
:
'
页面数量
'
,
width
:
120
},
{
field
:
'
modelNum
'
,
title
:
'
组件数量
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
width
:
180
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
240
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
del
'
)
{
//删除
del
(
data
,
obj
);
}
else
if
(
layEvent
===
'
edit
'
)
{
//编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
consolePro
'
)
{
//管理项目
consolePro
(
data
);
}
});
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
refreshTable
();
}
return
false
;
});
//删除
function
del
(
data
,
obj
)
{
var
msg
=
obj
?
'
确认删除项目【
'
+
obj
.
data
.
proName
+
'
】吗?
'
:
'
确认删除选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
删除项目
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx024
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
//管理项目
function
consolePro
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/rmmysmpropage/mysmpropagelist.html
"
,
title
:
"
管理项目
"
,
pageId
:
"
rmmysmproconsolePro
"
,
area
:
[
'
100vw
'
,
'
100vh
'
],
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/rmmysmpro/mysmproedit.html
"
,
title
:
"
编辑项目
"
,
pageId
:
"
rmmysmproedit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
//刷新数据
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
//新增
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/rmmysmpro/mysmproadd.html
"
,
title
:
"
新增项目
"
,
pageId
:
"
rmmysmproadd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:{
proName
:
$
(
"
#proName
"
).
val
()}});
}
function
refreshTable
(){
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:{
proName
:
$
(
"
#proName
"
).
val
()}});
}
exports
(
'
mysmprolist
'
,
{});
});
rmprogram/src/main/resources/template/js/rmmysmpropage/addpagebeanitem.js
已删除
100644 → 0
浏览文件 @
3c6207d8
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
name
:
$
(
"
#pageName
"
).
val
(),
filePath
:
$
(
"
#filePath
"
).
val
(),
fileName
:
$
(
"
#fileName
"
).
val
(),
rowId
:
parent
.
proId
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx030
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
rmprogram/src/main/resources/template/js/rmmysmpropage/editpagebeanitem.js
已删除
100644 → 0
浏览文件 @
3c6207d8
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
showGrid
({
id
:
"
showForm
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx033
"
,
params
:
{
rowId
:
parent
.
pageId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/rmmysmpropage/projectpageeditTemplate.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
name
:
$
(
"
#pageName
"
).
val
(),
filePath
:
$
(
"
#filePath
"
).
val
(),
fileName
:
$
(
"
#fileName
"
).
val
(),
rowId
:
parent
.
pageId
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx034
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
}
});
// 取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
rmprogram/src/main/resources/template/js/rmmysmpropage/mysmpropagelist.js
已删除
100644 → 0
浏览文件 @
3c6207d8
var
proId
=
""
;
//项目id
var
pageId
=
""
;
//页面id
var
editPageModelSelectId
=
""
;
//正在编辑模板中的页面id
var
editPageModelSelectChange
=
false
;
//选中的页面,模板是否修改
var
form
=
""
;
//表单属性
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
dragula
'
,
'
swiper
'
,
'
slider
'
,
'
colorpicker
'
,
'
fileUpload
'
,
'
layedit
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
table
=
layui
.
table
;
form
=
layui
.
form
;
proId
=
parent
.
rowId
;
//项目id
$
(
"
#groupMemberTab
"
).
hide
();
//初始化加载该项目的所有页面
showGrid
({
id
:
"
pageList
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx029
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/rmmysmpropage/pageTemplate.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
options
:
{
'
click .page-click-item
'
:
function
(
index
,
row
){
//选择编辑模板中的页面
if
(
row
.
id
==
editPageModelSelectId
){
//如果选中的页面正是当前编辑模板中的页面,则不做任何操作
}
else
{
if
(
editPageModelSelectChange
==
true
){
//编辑了页面但没有保存
layer
.
confirm
(
'
当前修改页面没有保存,是否继续吗?
'
,
{
icon
:
3
,
title
:
'
小程序页面编辑通知
'
},
function
(
i
)
{
layer
.
close
(
i
);
$
(
"
.page-click-item
"
).
removeClass
(
"
check-item-shoose
"
);
$
(
"
#pageList>li:eq(
"
+
index
+
"
)
"
).
addClass
(
"
check-item-shoose
"
);
editPageModelSelectId
=
row
.
id
;
editPageModelSelectChange
=
false
;
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx036
"
,
params
:
{
pageId
:
editPageModelSelectId
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
showDataUseHandlebars
(
"
centerText
"
,
getFileContent
(
'
tpl/rmmysmpropage/pagemodelTemplate.tpl
'
),
json
);
}});
});
}
else
{
$
(
"
.page-click-item
"
).
removeClass
(
"
check-item-shoose
"
);
$
(
"
#pageList>li:eq(
"
+
index
+
"
)
"
).
addClass
(
"
check-item-shoose
"
);
editPageModelSelectId
=
row
.
id
;
editPageModelSelectChange
=
false
;
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx036
"
,
params
:
{
pageId
:
editPageModelSelectId
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
showDataUseHandlebars
(
"
centerText
"
,
getFileContent
(
'
tpl/rmmysmpropage/pagemodelTemplate.tpl
'
),
json
);
}});
}
}
},
'
click .reName
'
:
function
(
index
,
row
){
//重命名
pageId
=
row
.
id
;
_openNewWindows
({
url
:
"
../../tpl/rmmysmpropage/editpagebeanitem.html
"
,
title
:
"
重命名页面
"
,
pageId
:
"
editpagebeanitem
"
,
area
:
[
'
700px
'
,
'
60vh
'
],
callBack
:
function
(
refreshCode
)
{
refreshGrid
(
"
pageList
"
,
{
params
:{
rowId
:
proId
}});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
//重置中间模块
editPageModelSelectId
=
""
;
editPageModelSelectChange
=
false
;
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx036
"
,
params
:
{
pageId
:
editPageModelSelectId
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
showDataUseHandlebars
(
"
centerText
"
,
getFileContent
(
'
tpl/rmmysmpropage/pagemodelTemplate.tpl
'
),
json
);
}});
}});
},
'
click .toUp
'
:
function
(
index
,
row
){
//上移
var
params
=
{
proId
:
proId
,
rowId
:
row
.
id
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx031
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
refreshGrid
(
"
pageList
"
,
{
params
:{
rowId
:
proId
}});
//重置中间模块
editPageModelSelectId
=
""
;
editPageModelSelectChange
=
false
;
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx036
"
,
params
:
{
pageId
:
editPageModelSelectId
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
showDataUseHandlebars
(
"
centerText
"
,
getFileContent
(
'
tpl/rmmysmpropage/pagemodelTemplate.tpl
'
),
json
);
}});
}});
},
'
click .toDown
'
:
function
(
index
,
row
){
//下移
var
params
=
{
proId
:
proId
,
rowId
:
row
.
id
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx032
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
refreshGrid
(
"
pageList
"
,
{
params
:{
rowId
:
proId
}});
//重置中间模块
editPageModelSelectId
=
""
;
editPageModelSelectChange
=
false
;
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx036
"
,
params
:
{
pageId
:
editPageModelSelectId
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
showDataUseHandlebars
(
"
centerText
"
,
getFileContent
(
'
tpl/rmmysmpropage/pagemodelTemplate.tpl
'
),
json
);
}});
}});
},
'
click .copyPage
'
:
function
(
index
,
row
){
//复制
},
'
click .delPage
'
:
function
(
index
,
row
){
//删除
var
msg
=
row
?
'
确认删除页面【
'
+
row
.
name
+
'
】吗?
'
:
'
确认删除选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
删除小程序页面
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx035
"
,
params
:
{
rowId
:
row
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
refreshGrid
(
"
pageList
"
,
{
params
:{
rowId
:
proId
}});
//重置中间模块
editPageModelSelectId
=
""
;
editPageModelSelectChange
=
false
;
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx036
"
,
params
:
{
pageId
:
editPageModelSelectId
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
showDataUseHandlebars
(
"
centerText
"
,
getFileContent
(
'
tpl/rmmysmpropage/pagemodelTemplate.tpl
'
),
json
);
}});
}});
});
}
},
ajaxSendAfter
:
function
(
json
)
{
matchingLanguage
();
//初始化加载小程序组件分组
showGrid
({
id
:
"
groupMember
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx027
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/rmmysmpropage/groupTemplate.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
}
});
}
});
var
winH
=
$
(
window
).
height
();
var
categorySpace
=
10
;
dragula
([
document
.
getElementById
(
'
memberList
'
),
document
.
getElementById
(
'
centerText
'
)],
{
copy
:
function
(
el
,
source
)
{
//复制
return
source
===
document
.
getElementById
(
'
memberList
'
);
},
accepts
:
function
(
el
,
target
)
{
//移动
return
target
!==
document
.
getElementById
(
'
memberList
'
);
}
}).
on
(
'
drop
'
,
function
(
el
,
container
)
{
//放置
if
(
$
(
container
).
attr
(
"
id
"
)
==
'
centerText
'
){
//放置在手机里面
if
(
isNull
(
editPageModelSelectId
)){
winui
.
window
.
msg
(
'
请先选择要编辑的页面
'
,
{
icon
:
2
,
time
:
2000
});
$
(
"
#centerText
"
).
empty
();
}
else
{
el
.
className
=
'
layui-col-md12 import-item
'
;
var
content
=
'
<div class="layui-col-md12 check-item">
'
+
$
(
el
).
attr
(
"
htmlContent
"
)
+
'
</div>
'
;
//内容
var
operationContent
=
'
<div class="check-item-operation btn-group btn-group-xs btn-base">
'
+
'
<button type="button" class="btn btn-primary" rel="editHandler" title="编辑"><i class="fa fa-edit"></i></button>
'
+
'
<button type="button" class="btn btn-danger" rel="removeHandler" title="删除"><i class="fa fa-trash"></i></button>
'
+
'
</div>
'
;
var
JsContent
=
'
<script>layui.define(["jquery"], function(exports) {var jQuery = layui.jquery;(function($) {
'
+
$
(
el
).
attr
(
"
htmlJsContent
"
)
+
'
})(jQuery);});</script>
'
$
(
el
).
html
(
content
+
operationContent
+
JsContent
);
$
(
el
).
find
(
"
.check-item-operation
"
).
hide
();
}
}
});
//二级菜单点击
$
(
'
body
'
).
on
(
'
click
'
,
'
.js_item
'
,
function
()
{
var
id
=
$
(
this
).
data
(
'
id
'
);
var
title
=
$
(
this
).
data
(
'
name
'
);
showGrid
({
id
:
"
memberList
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx028
"
,
params
:
{
rowId
:
id
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/rmmysmpropage/groupMemberTemplate.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
hdb
.
registerHelper
(
"
compare1
"
,
function
(
v1
,
options
){
return
fileBasePath
+
"
images/upload/smpropic/
"
+
v1
;
});
},
ajaxSendAfter
:
function
(
json
)
{
}
});
$
(
"
#groupTitle
"
).
html
(
title
);
$
(
"
#groupTab
"
).
animate
({
width
:
"
hide
"
,
opacity
:
"
0
"
,
paddingLeft
:
"
hide
"
,
paddingRight
:
"
hide
"
,
marginLeft
:
"
hide
"
,
marginRight
:
"
hide
"
},
500
);
$
(
"
#groupMemberTab
"
).
animate
({
width
:
"
show
"
,
opacity
:
"
1
"
,
paddingLeft
:
"
show
"
,
paddingRight
:
"
show
"
,
marginLeft
:
"
show
"
,
marginRight
:
"
show
"
},
500
);
});
//返回分组列表
$
(
'
body
'
).
on
(
'
click
'
,
'
#returnGroupTab
'
,
function
()
{
$
(
"
#groupMemberTab
"
).
animate
({
width
:
"
hide
"
,
opacity
:
"
0
"
,
paddingLeft
:
"
hide
"
,
paddingRight
:
"
hide
"
,
marginLeft
:
"
hide
"
,
marginRight
:
"
hide
"
},
500
);
$
(
"
#groupTab
"
).
animate
({
width
:
"
show
"
,
opacity
:
"
1
"
,
paddingLeft
:
"
show
"
,
paddingRight
:
"
show
"
,
marginLeft
:
"
show
"
,
marginRight
:
"
show
"
},
500
);
});
//展开一级菜单
$
(
'
body
'
).
on
(
'
click
'
,
'
.js_category
'
,
function
()
{
var
$this
=
$
(
this
),
$inner
=
$this
.
next
(
'
.js_categoryInner
'
),
$page
=
$this
.
parents
(
'
.page
'
),
$parent
=
$
(
this
).
parent
(
'
li
'
);
var
innerH
=
$inner
.
data
(
'
height
'
);
bear
=
$page
;
if
(
!
innerH
){
$inner
.
css
(
'
height
'
,
'
auto
'
);
innerH
=
$inner
.
height
();
$inner
.
removeAttr
(
'
style
'
);
$inner
.
data
(
'
height
'
,
innerH
);
}
if
(
$parent
.
hasClass
(
'
js_show
'
)){
$parent
.
removeClass
(
'
js_show
'
);
}
else
{
$parent
.
siblings
().
removeClass
(
'
js_show
'
);
$parent
.
addClass
(
'
js_show
'
);
if
(
this
.
offsetTop
+
this
.
offsetHeight
+
innerH
>
$page
.
scrollTop
()
+
winH
){
var
scrollTop
=
this
.
offsetTop
+
this
.
offsetHeight
+
innerH
-
winH
+
categorySpace
;
if
(
scrollTop
>
this
.
offsetTop
){
scrollTop
=
this
.
offsetTop
-
categorySpace
;
}
$page
.
scrollTop
(
scrollTop
);
}
}
});
// 图片预览
$
(
'
body
'
).
on
(
'
click
'
,
'
.cursor
'
,
function
()
{
systemCommonUtil
.
showPicImg
(
$
(
this
).
attr
(
"
src
"
));
});
// 页面内组件选中组件项
$
(
'
body
'
).
on
(
'
click
'
,
'
.check-item
'
,
function
()
{
$
(
"
.check-item
"
).
removeClass
(
"
show-operation
"
);
$
(
"
.check-item
"
).
removeClass
(
"
check-item-shoose
"
);
//移除之前被选中的组件
$
(
"
.check-item
"
).
parent
().
find
(
"
.check-item-operation
"
).
hide
();
//隐藏之前选中的组件的操作
$
(
this
).
addClass
(
"
check-item-shoose
"
);
//给当前组件添加选中样式
$
(
this
).
addClass
(
"
show-operation
"
);
$
(
this
).
parent
().
find
(
"
.check-item-operation
"
).
show
();
//显示当前选中的组件的操作
var
memberId
=
$
(
this
).
parent
().
attr
(
"
rowId
"
);
//获取组件的标签属性
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx040
"
,
params
:
{
rowId
:
memberId
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
total
!=
0
){
var
str
=
""
;
var
jsRelyOn
=
""
;
var
jsContent
=
""
;
for
(
var
i
=
0
;
i
<
json
.
rows
.
length
;
i
++
){
if
(
json
.
rows
[
i
].
selChildData
==
'
1
'
){
var
modeContent
=
getDataUseHandlebars
(
json
.
rows
[
i
].
templateContent
,
json
.
rows
[
i
].
propertyValue
);
json
.
rows
[
i
].
htmlContent
=
json
.
rows
[
i
].
htmlContent
.
replace
(
/{{content}}/g
,
modeContent
);
}
var
defaultValue
=
""
;
if
(
json
.
rows
[
i
].
propertyUnit
==
'
%
'
){
//百分号计算获取宽高百分比
defaultValue
=
Math
.
ceil
(
$
(
"
div#centerText .show-operation
"
).
children
().
width
()
/
$
(
"
div#centerText .show-operation
"
).
width
()
*
100
);
}
else
{
defaultValue
=
$
(
"
div#centerText .show-operation
"
).
children
().
css
(
json
.
rows
[
i
].
propertyTag
).
replace
(
json
.
rows
[
i
].
propertyUnit
,
''
);
}
str
=
str
+
json
.
rows
[
i
].
htmlContent
.
replace
(
/{{id}}/g
,
json
.
rows
[
i
].
id
).
replace
(
/{{labelContent}}/g
,
json
.
rows
[
i
].
title
)
.
replace
(
/{{placeholder}}/g
,
json
.
rows
[
i
].
title
).
replace
(
/{{tag}}/g
,
json
.
rows
[
i
].
propertyTag
)
.
replace
(
/{{unit}}/g
,
json
.
rows
[
i
].
propertyUnit
).
replace
(
/{{out}}/g
,
json
.
rows
[
i
].
propertyOut
)
.
replace
(
/{{defaultValue}}/g
,
defaultValue
);
jsRelyOn
=
jsRelyOn
+
json
.
rows
[
i
].
jsRelyOn
;
jsContent
=
jsContent
+
json
.
rows
[
i
].
jsContent
.
replace
(
/{{id}}/g
,
json
.
rows
[
i
].
id
).
replace
(
/%2B/g
,
'
\
+
'
).
replace
(
/%26/g
,
"
\
&
"
)
.
replace
(
/{{defaultValue}}/g
,
defaultValue
);
}
jsContent
=
'
<script>layui.define(["jquery"], function(exports) {var jQuery = layui.jquery;(function($) {
'
+
jsContent
+
'
})(jQuery);});</script>
'
;
if
(
isNull
(
str
)){
$
(
"
#showForm
"
).
html
(
noMatchingBeansMation
);
}
else
{
str
=
str
+
'
<div class="layui-form-item"><div class="layui-input-block"><button class="winui-btn" lay-submit lay-filter="saveProperty">保存属性</button></div></div>
'
;
$
(
"
#showForm
"
).
html
(
str
+
jsContent
);
form
.
render
();
form
.
on
(
'
submit(saveProperty)
'
,
function
(
data
)
{
console
.
log
(
data
);
if
(
winui
.
verifyForm
(
data
.
elem
))
{
}
return
false
;
});
}
}
else
{
$
(
"
#showForm
"
).
html
(
noMatchingBeansMation
);
}
}});
});
//页面内组件移除按钮
$
(
'
body
'
).
on
(
'
click
'
,
'
button[rel="removeHandler"]
'
,
function
()
{
$
(
this
).
parent
().
parent
().
remove
();
})
//监听页面内容是否变化
$
(
'
body
'
).
on
(
'
DOMNodeInserted
'
,
'
#centerText
'
,
function
()
{
if
(
isNull
(
editPageModelSelectId
)){
//如果没有选中页面,则不做任何操作
}
else
{
editPageModelSelectChange
=
true
;
}
});
//添加页面按钮
$
(
'
body
'
).
on
(
'
click
'
,
'
#addPageBean
'
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/rmmysmpropage/addpagebeanitem.html
"
,
title
:
"
新增页面
"
,
pageId
:
"
addpagebeanitem
"
,
area
:
[
'
700px
'
,
'
60vh
'
],
callBack
:
function
(
refreshCode
)
{
refreshGrid
(
"
pageList
"
,
{
params
:{
rowId
:
proId
}});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
}});
});
//保存页面
$
(
'
body
'
).
on
(
'
click
'
,
'
#savePageModelBean
'
,
function
()
{
if
(
!
isNull
(
editPageModelSelectId
)){
//要编辑的模板页面id不为空
editPageModelSelectChange
=
false
;
var
list
=
[];
//存储模板生成集合
$
(
'
#centerText
'
).
find
(
'
.import-item
'
).
each
(
function
()
{
var
s
=
{
modelId
:
$
(
this
).
attr
(
"
rowId
"
),
pageId
:
editPageModelSelectId
};
list
.
push
(
s
);
});
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx037
"
,
params
:
{
jsonData
:
JSON
.
stringify
(
list
),
pageId
:
editPageModelSelectId
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
保存成功
"
,
{
icon
:
1
,
time
:
2000
});
}});
}
else
{
winui
.
window
.
msg
(
'
请先选择要编辑的页面
'
,
{
icon
:
2
,
time
:
2000
});
}
});
//导出选中页为H5
$
(
'
body
'
).
on
(
'
click
'
,
'
#exportChoosePageToH5
'
,
function
()
{
if
(
!
isNull
(
editPageModelSelectId
)){
//要编辑的模板页面id不为空
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx041
"
,
params
:
{
pageId
:
editPageModelSelectId
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
导出成功
"
,
{
icon
:
1
,
time
:
2000
});
const
link
=
document
.
createElement
(
'
a
'
);
link
.
style
.
display
=
'
none
'
;
link
.
href
=
fileBasePath
+
json
.
bean
.
url
;
link
.
setAttribute
(
'
download
'
,
json
.
bean
.
fileName
);
document
.
body
.
appendChild
(
link
);
link
.
click
();
}});
}
else
{
winui
.
window
.
msg
(
'
请先选择要导出的页面
'
,
{
icon
:
2
,
time
:
2000
});
}
});
exports
(
'
mysmpropagelist
'
,
{});
});
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyadd.js
已删除
100644 → 0
浏览文件 @
3c6207d8
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
codemirror
'
,
'
xml
'
,
'
clike
'
,
'
css
'
,
'
htmlmixed
'
,
'
javascript
'
,
'
nginx
'
,
'
solr
'
,
'
sql
'
,
'
vue
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
matchingLanguage
();
form
.
render
();
$
(
"
#dataShowModel
"
).
hide
();
// 根据类型获取部分功能的使用说明
systemCommonUtil
.
queryExplainMationByType
(
4
,
function
(
json
)
{
$
(
"
#exexplaintormpropertyTitle
"
).
html
(
json
.
bean
.
title
);
$
(
"
#exexplaintormpropertyContent
"
).
html
(
json
.
bean
.
content
);
});
var
htmlModelContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
htmlModelContent
"
),
{
mode
:
"
xml
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
true
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
var
jsModelContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
jsModelContent
"
),
{
mode
:
"
text/javascript
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
true
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
var
htmlContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
htmlContent
"
),
{
mode
:
"
xml
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
false
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
var
jsContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
jsContent
"
),
{
mode
:
"
text/javascript
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
false
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
var
jsRelyOnContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
jsRelyOnContent
"
),
{
mode
:
"
text/javascript
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
false
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
//展现形式
showGrid
({
id
:
"
dsFormContentId
"
,
url
:
reqBasePath
+
"
queryAllDsFormComponentList
"
,
params
:
{},
pagination
:
false
,
method
:
'
GET
'
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
form
.
render
(
'
select
'
);
}
});
// 子查询变化
form
.
on
(
'
radio(selChildData)
'
,
function
(
data
)
{
var
val
=
data
.
value
;
if
(
val
==
'
1
'
){
// 是
$
(
"
#dataShowModel
"
).
show
();
showGrid
({
id
:
"
displayTemplateId
"
,
url
:
flowableBasePath
+
"
dsformdisplaytemplate006
"
,
params
:
{},
pagination
:
false
,
method
:
'
GET
'
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
form
.
render
(
'
select
'
);
}
});
}
else
if
(
val
==
'
2
'
){
// 否
$
(
"
#dataShowModel
"
).
hide
();
}
else
{
winui
.
window
.
msg
(
'
状态值错误
'
,
{
icon
:
2
,
time
:
2000
});
}
});
form
.
on
(
'
select(selectParent)
'
,
function
(
data
)
{
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
queryDsFormContentMationById
"
,
params
:
{
id
:
data
.
value
},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
json
)
{
htmlModelContent
.
setValue
(
json
.
bean
.
htmlContent
);
jsModelContent
.
setValue
(
json
.
bean
.
jsContent
);
htmlContent
.
setValue
(
json
.
bean
.
htmlContent
);
jsContent
.
setValue
(
json
.
bean
.
jsContent
);
}});
});
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
title
:
$
(
"
#title
"
).
val
(),
propertyTag
:
$
(
"
#propertyTag
"
).
val
(),
propertyUnit
:
encodeURI
(
$
(
"
#propertyUnit
"
).
val
()),
dsFormContentId
:
$
(
"
#dsFormContentId
"
).
val
(),
propertyOut
:
data
.
field
.
propertyOut
,
selChildData
:
data
.
field
.
selChildData
,
htmlContent
:
encodeURI
(
htmlContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
jsContent
:
encodeURI
(
jsContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
jsRelyOn
:
encodeURI
(
jsRelyOnContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
))
};
if
(
data
.
field
.
selChildData
==
'
1
'
){
if
(
isNull
(
$
(
"
#displayTemplateId
"
).
val
()))
{
winui
.
window
.
msg
(
'
请选择子查询数据展示模板
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
else
{
params
.
displayTemplateId
=
$
(
"
#displayTemplateId
"
).
val
();
}
}
else
{
params
.
displayTemplateId
=
""
;
}
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmproperty002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyedit.js
已删除
100644 → 0
浏览文件 @
3c6207d8
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
codemirror
'
,
'
xml
'
,
'
clike
'
,
'
css
'
,
'
htmlmixed
'
,
'
javascript
'
,
'
nginx
'
,
'
solr
'
,
'
sql
'
,
'
vue
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
var
htmlModelContent
,
jsModelContent
,
htmlContent
,
jsContent
,
jsRelyOnContent
;
showGrid
({
id
:
"
showForm
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmproperty004
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/rmproperty/rmpropertyeditTemplate.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
htmlModelContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
htmlModelContent
"
),
{
mode
:
"
xml
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
true
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
jsModelContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
jsModelContent
"
),
{
mode
:
"
text/javascript
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
true
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
htmlContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
htmlContent
"
),
{
mode
:
"
xml
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
false
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
jsContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
jsContent
"
),
{
mode
:
"
text/javascript
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
false
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
jsRelyOnContent
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
jsRelyOnContent
"
),
{
mode
:
"
text/javascript
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
false
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
$
(
"
input:radio[name=propertyOut][value=
"
+
json
.
bean
.
propertyOut
+
"
]
"
).
prop
(
"
checked
"
,
true
);
$
(
"
input:radio[name=selChildData][value=
"
+
json
.
bean
.
selChildData
+
"
]
"
).
prop
(
"
checked
"
,
true
);
if
(
json
.
bean
.
selChildData
==
'
1
'
){
//是
$
(
"
#dataShowModel
"
).
show
();
showGrid
({
id
:
"
displayTemplateId
"
,
url
:
flowableBasePath
+
"
dsformdisplaytemplate006
"
,
params
:
{},
pagination
:
false
,
method
:
'
GET
'
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json1
){
$
(
"
#displayTemplateId
"
).
val
(
json
.
bean
.
displayTemplateId
);
form
.
render
(
'
select
'
);
}
});
}
else
{
$
(
"
#dataShowModel
"
).
hide
();
}
//子查询变化
form
.
on
(
'
radio(selChildData)
'
,
function
(
data
)
{
var
val
=
data
.
value
;
if
(
val
==
'
1
'
){
//是
$
(
"
#dataShowModel
"
).
show
();
showGrid
({
id
:
"
displayTemplateId
"
,
url
:
flowableBasePath
+
"
dsformdisplaytemplate006
"
,
params
:
{},
pagination
:
false
,
method
:
'
GET
'
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
form
.
render
(
'
select
'
);
}
});
}
else
if
(
val
==
'
2
'
){
//否
$
(
"
#dataShowModel
"
).
hide
();
}
else
{
winui
.
window
.
msg
(
'
状态值错误
'
,
{
icon
:
2
,
time
:
2000
});
}
});
matchingLanguage
();
form
.
render
();
//展现形式
showGrid
({
id
:
"
dsFormContentId
"
,
url
:
reqBasePath
+
"
queryAllDsFormComponentList
"
,
params
:
{},
pagination
:
false
,
method
:
'
GET
'
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
data
)
{
$
(
"
#dsFormContentId
"
).
val
(
json
.
bean
.
dsFormContentId
);
form
.
render
(
'
select
'
);
}
});
// 根据类型获取部分功能的使用说明
systemCommonUtil
.
queryExplainMationByType
(
4
,
function
(
json
)
{
$
(
"
#exexplaintormpropertyTitle
"
).
html
(
json
.
bean
.
title
);
$
(
"
#exexplaintormpropertyContent
"
).
html
(
json
.
bean
.
content
);
});
form
.
on
(
'
select(selectParent)
'
,
function
(
data
)
{
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
queryDsFormContentMationById
"
,
params
:
{
id
:
data
.
value
},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
json
)
{
htmlModelContent
.
setValue
(
json
.
bean
.
htmlContent
);
jsModelContent
.
setValue
(
json
.
bean
.
jsContent
);
htmlContent
.
setValue
(
json
.
bean
.
htmlContent
);
jsContent
.
setValue
(
json
.
bean
.
jsContent
);
}});
});
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
title
:
$
(
"
#title
"
).
val
(),
propertyTag
:
$
(
"
#propertyTag
"
).
val
(),
propertyUnit
:
encodeURI
(
$
(
"
#propertyUnit
"
).
val
()),
dsFormContentId
:
$
(
"
#dsFormContentId
"
).
val
(),
propertyOut
:
data
.
field
.
propertyOut
,
selChildData
:
data
.
field
.
selChildData
,
htmlContent
:
encodeURI
(
htmlContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
jsContent
:
encodeURI
(
jsContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
jsRelyOn
:
encodeURI
(
jsRelyOnContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
rowId
:
parent
.
rowId
};
if
(
data
.
field
.
selChildData
==
'
1
'
){
if
(
isNull
(
$
(
"
#displayTemplateId
"
).
val
()))
{
winui
.
window
.
msg
(
'
请选择子查询数据展示模板
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
else
{
params
.
displayTemplateId
=
$
(
"
#displayTemplateId
"
).
val
();
}
}
else
{
params
.
displayTemplateId
=
""
;
}
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmproperty005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
}
});
// 取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
rmprogram/src/main/resources/template/js/rmproperty/rmpropertylist.js
已删除
100644 → 0
浏览文件 @
3c6207d8
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
codemirror
'
,
'
xml
'
,
'
clike
'
,
'
css
'
,
'
htmlmixed
'
,
'
javascript
'
,
'
nginx
'
,
'
solr
'
,
'
sql
'
,
'
vue
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
authBtn
(
'
1560828282644
'
);
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
sysMainMation
.
rmprogramBasePath
+
'
rmproperty001
'
,
where
:
{
title
:
$
(
"
#title
"
).
val
(),
propertyTag
:
$
(
"
#propertyTag
"
).
val
(),
dsFormContentId
:
$
(
"
#dsFormContentId
"
).
val
()},
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
title
'
,
title
:
'
属性别名
'
,
width
:
180
},
{
field
:
'
propertyTag
'
,
title
:
'
属性标签
'
,
width
:
100
},
{
field
:
'
propertyUnit
'
,
title
:
'
属性单位
'
,
width
:
100
},
{
field
:
'
selChildData
'
,
title
:
'
子查询
'
,
width
:
100
},
{
field
:
'
templateName
'
,
title
:
'
子模板
'
,
width
:
150
},
{
field
:
'
propertyOut
'
,
title
:
'
外部属性
'
,
width
:
100
},
{
field
:
'
contentName
'
,
title
:
'
展现形式
'
,
width
:
120
},
{
field
:
'
propertyValueNum
'
,
title
:
'
属性值数量
'
,
width
:
100
},
{
field
:
'
useNum
'
,
title
:
'
使用数量
'
,
width
:
100
},
{
field
:
'
id
'
,
title
:
'
HTML内容
'
,
width
:
100
,
templet
:
function
(
d
)
{
if
(
!
isNull
(
d
.
htmlContent
)){
return
'
<i class="fa fa-fw fa-html5 cursor" lay-event="htmlContent"></i>
'
;
}
else
{
return
'
无
'
;
}
}},
{
field
:
'
id
'
,
title
:
'
JS内容
'
,
width
:
80
,
templet
:
function
(
d
)
{
if
(
!
isNull
(
d
.
jsContent
)){
return
'
<i class="fa fa-fw fa-html5 cursor" lay-event="jsContent"></i>
'
;
}
else
{
return
'
无
'
;
}
}},
{
field
:
'
id
'
,
title
:
'
JS依赖文件
'
,
width
:
120
,
templet
:
function
(
d
)
{
if
(
!
isNull
(
d
.
jsRelyOn
)){
return
'
<i class="fa fa-fw fa-html5 cursor" lay-event="jsRelyOn"></i>
'
;
}
else
{
return
'
无
'
;
}
}},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
width
:
180
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
240
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
});
var
editor
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
modelContent
"
),
{
mode
:
"
text/x-java
"
,
// 模式
theme
:
"
eclipse
"
,
// CSS样式选择
indentUnit
:
4
,
// 缩进单位,默认2
smartIndent
:
true
,
// 是否智能缩进
tabSize
:
4
,
// Tab缩进,默认4
readOnly
:
true
,
// 是否只读,默认false
showCursorWhenSelecting
:
true
,
lineNumbers
:
true
,
// 是否显示行号
styleActiveLine
:
true
,
//line选择是是否加亮
matchBrackets
:
true
,
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
del
'
)
{
//删除
del
(
data
,
obj
);
}
else
if
(
layEvent
===
'
edit
'
)
{
//编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
htmlContent
'
)
{
//HTML内容
var
mode
=
returnModel
(
'
html
'
);
if
(
!
isNull
(
mode
.
length
))
{
editor
.
setOption
(
'
mode
'
,
mode
)
}
editor
.
setValue
(
data
.
htmlContent
);
layer
.
open
({
id
:
'
HTML内容
'
,
type
:
1
,
title
:
'
HTML内容
'
,
shade
:
0.3
,
area
:
[
'
700px
'
,
'
90vh
'
],
content
:
$
(
"
#modelContentDiv
"
).
html
(),
});
}
else
if
(
layEvent
===
'
jsContent
'
)
{
//JS内容
var
mode
=
returnModel
(
'
javascript
'
);
if
(
!
isNull
(
mode
.
length
))
{
editor
.
setOption
(
'
mode
'
,
mode
)
}
editor
.
setValue
(
data
.
jsContent
);
layer
.
open
({
id
:
'
HTML-JS内容
'
,
type
:
1
,
title
:
'
HTML-JS内容
'
,
shade
:
0.3
,
area
:
[
'
700px
'
,
'
90vh
'
],
content
:
$
(
"
#modelContentDiv
"
).
html
(),
});
}
else
if
(
layEvent
===
'
jsRelyOn
'
)
{
//JS依赖文件
var
mode
=
returnModel
(
'
javascript
'
);
if
(
!
isNull
(
mode
.
length
))
{
editor
.
setOption
(
'
mode
'
,
mode
)
}
editor
.
setValue
(
data
.
jsRelyOn
);
layer
.
open
({
id
:
'
HTML-JS内容
'
,
type
:
1
,
title
:
'
HTML-JS内容
'
,
shade
:
0.3
,
area
:
[
'
700px
'
,
'
90vh
'
],
content
:
$
(
"
#modelContentDiv
"
).
html
(),
});
}
});
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
refreshTable
();
}
return
false
;
});
//展现形式
showGrid
({
id
:
"
dsFormContentId
"
,
url
:
reqBasePath
+
"
queryAllDsFormComponentList
"
,
params
:
{},
pagination
:
false
,
method
:
'
GET
'
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
form
.
render
(
'
select
'
);
}
});
//删除
function
del
(
data
,
obj
)
{
var
msg
=
obj
?
'
确认删除样式属性【
'
+
obj
.
data
.
title
+
'
】吗?
'
:
'
确认删除选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
删除样式属性
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmproperty003
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
//编辑分类
function
edit
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/rmproperty/rmpropertyedit.html
"
,
title
:
"
编辑小程序样式属性
"
,
pageId
:
"
rmpropertyedit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
// 刷新数据
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
// 新增
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/rmproperty/rmpropertyadd.html
"
,
title
:
"
新增小程序样式属性
"
,
pageId
:
"
rmpropertyadd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:{
title
:
$
(
"
#title
"
).
val
(),
propertyTag
:
$
(
"
#propertyTag
"
).
val
(),
dsFormContentId
:
$
(
"
#dsFormContentId
"
).
val
()}});
}
function
refreshTable
(){
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:{
title
:
$
(
"
#title
"
).
val
(),
propertyTag
:
$
(
"
#propertyTag
"
).
val
(),
dsFormContentId
:
$
(
"
#dsFormContentId
"
).
val
()}});
}
exports
(
'
rmpropertylist
'
,
{});
});
rmprogram/src/main/resources/template/js/rmpropertyvalue/rmpropertyvalueadd.js
已删除
100644 → 0
浏览文件 @
3c6207d8
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
matchingLanguage
();
form
.
render
();
// 属性标签
showGrid
({
id
:
"
propertyId
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmproperty006
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
form
.
render
(
'
select
'
);
}
});
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
title
:
$
(
"
#title
"
).
val
(),
propertyValue
:
$
(
"
#propertyValue
"
).
val
(),
propertyId
:
$
(
"
#propertyId
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmpropertyvalue002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
rmprogram/src/main/resources/template/js/rmpropertyvalue/rmpropertyvalueedit.js
已删除
100644 → 0
浏览文件 @
3c6207d8
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
showGrid
({
id
:
"
showForm
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmpropertyvalue004
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/rmpropertyvalue/rmpropertyvalueeditTemplate.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
matchingLanguage
();
form
.
render
();
//属性标签
showGrid
({
id
:
"
propertyId
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmproperty006
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
data
)
{
$
(
"
#propertyId
"
).
val
(
json
.
bean
.
propertyId
);
form
.
render
(
'
select
'
);
}
});
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
title
:
$
(
"
#title
"
).
val
(),
propertyValue
:
$
(
"
#propertyValue
"
).
val
(),
propertyId
:
$
(
"
#propertyId
"
).
val
(),
rowId
:
parent
.
rowId
,
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmpropertyvalue005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
}
});
// 取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
rmprogram/src/main/resources/template/js/rmpropertyvalue/rmpropertyvaluelist.js
已删除
100644 → 0
浏览文件 @
3c6207d8
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
authBtn
(
'
1560828440572
'
);
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
sysMainMation
.
rmprogramBasePath
+
'
rmpropertyvalue001
'
,
where
:
{
title
:
$
(
"
#title
"
).
val
(),
propertyValue
:
$
(
"
#propertyValue
"
).
val
(),
propertyId
:
$
(
"
#propertyId
"
).
val
()},
even
:
true
,
page
:
true
,
limits
:
[
8
,
16
,
24
,
32
,
40
,
48
,
56
],
limit
:
8
,
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
title
'
,
title
:
'
属性值别名
'
,
width
:
180
},
{
field
:
'
propertyValue
'
,
title
:
'
属性值
'
,
width
:
180
},
{
field
:
'
propertyTitle
'
,
title
:
'
所属标签
'
,
width
:
180
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
width
:
180
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
240
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
del
'
)
{
//删除
del
(
data
,
obj
);
}
else
if
(
layEvent
===
'
edit
'
)
{
//编辑
edit
(
data
);
}
});
//属性标签
showGrid
({
id
:
"
propertyId
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmproperty006
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
form
.
render
(
'
select
'
);
}
});
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
refreshTable
();
}
return
false
;
});
//删除
function
del
(
data
,
obj
)
{
var
msg
=
obj
?
'
确认删除标签属性值【
'
+
obj
.
data
.
title
+
'
】吗?
'
:
'
确认删除选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
删除标签属性值
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmpropertyvalue003
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
//编辑分类
function
edit
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/rmpropertyvalue/rmpropertyvalueedit.html
"
,
title
:
"
编辑标签属性值
"
,
pageId
:
"
rmpropertyvalueedit
"
,
area
:
[
'
700px
'
,
'
60vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
//刷新数据
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
//新增
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/rmpropertyvalue/rmpropertyvalueadd.html
"
,
title
:
"
新增标签属性值
"
,
pageId
:
"
rmpropertyvalueadd
"
,
area
:
[
'
700px
'
,
'
60vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:{
title
:
$
(
"
#title
"
).
val
(),
propertyValue
:
$
(
"
#propertyValue
"
).
val
(),
propertyId
:
$
(
"
#propertyId
"
).
val
()}});
}
function
refreshTable
(){
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:{
title
:
$
(
"
#title
"
).
val
(),
propertyValue
:
$
(
"
#propertyValue
"
).
val
(),
propertyId
:
$
(
"
#propertyId
"
).
val
()}});
}
exports
(
'
rmpropertyvaluelist
'
,
{});
});
rmprogram/src/main/resources/template/js/rmtype/rmtypeadd.js
已删除
100644 → 0
浏览文件 @
3c6207d8
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
rmTypeName
:
$
(
"
#rmTypeName
"
).
val
(),
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
rmprogram/src/main/resources/template/js/rmtype/rmtypeedit.js
已删除
100644 → 0
浏览文件 @
3c6207d8
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
showGrid
({
id
:
"
showForm
"
,
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx004
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/rmtype/rmtypeeditTemplate.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
rmTypeName
:
$
(
"
#rmTypeName
"
).
val
(),
rowId
:
parent
.
rowId
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
}
});
// 取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
rmprogram/src/main/resources/template/js/rmtype/rmtypelist.js
已删除
100644 → 0
浏览文件 @
3c6207d8
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
authBtn
(
'
1554952090490
'
);
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
sysMainMation
.
rmprogramBasePath
+
'
rmxcx001
'
,
where
:
{
rmTypeName
:
$
(
"
#rmTypeName
"
).
val
()},
even
:
true
,
page
:
true
,
limits
:
[
8
,
16
,
24
,
32
,
40
,
48
,
56
],
limit
:
8
,
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
rmTypeName
'
,
title
:
'
分类名称
'
,
width
:
120
},
{
field
:
'
groupNum
'
,
title
:
'
分组数量
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
width
:
180
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
240
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
del
'
)
{
//删除
del
(
data
,
obj
);
}
else
if
(
layEvent
===
'
edit
'
)
{
//编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
top
'
)
{
//上移
topOne
(
data
);
}
else
if
(
layEvent
===
'
lower
'
)
{
//下移
lowerOne
(
data
);
}
});
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
refreshTable
();
}
return
false
;
});
//删除
function
del
(
data
,
obj
)
{
var
msg
=
obj
?
'
确认删除分类【
'
+
obj
.
data
.
rmTypeName
+
'
】吗?
'
:
'
确认删除选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
删除分类
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx003
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
//上移
function
topOne
(
data
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx006
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.moveUpOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
//下移
function
lowerOne
(
data
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
rmprogramBasePath
+
"
rmxcx007
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.moveDownOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
//编辑分类
function
edit
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/rmtype/rmtypeedit.html
"
,
title
:
"
编辑分类
"
,
pageId
:
"
rmtypeedit
"
,
area
:
[
'
500px
'
,
'
30vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
//刷新数据
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
//新增分类
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/rmtype/rmtypeadd.html
"
,
title
:
"
新增分类
"
,
pageId
:
"
rmtypeadd
"
,
area
:
[
'
500px
'
,
'
30vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:{
rmTypeName
:
$
(
"
#rmTypeName
"
).
val
()}});
}
function
refreshTable
(){
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:{
rmTypeName
:
$
(
"
#rmTypeName
"
).
val
()}});
}
exports
(
'
rmtypelist
'
,
{});
});
rmprogram/src/main/resources/template/tpl/rmgroup/rmgroupadd.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
分类
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
id=
"rmTypeId"
name=
"rmTypeId"
class=
"layui-input"
lay-filter=
"selectParent"
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=
"rmGroupName"
name=
"rmGroupName"
win-verify=
"required"
placeholder=
"请输入小程序分组名"
class=
"layui-input"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
分组ICON
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"rmGroupIcon"
name=
"rmGroupIcon"
win-verify=
"required"
placeholder=
"请选择小程序分组ICON"
class=
"layui-input"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<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=
"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/rmgroup/
'
}).
use
(
'
rmgroupadd
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmgroup/rmgroupedit.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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/rmgroup/
'
}).
use
(
'
rmgroupedit
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmgroup/rmgroupeditTemplate.tpl
已删除
100644 → 0
浏览文件 @
3c6207d8
{{
#
bean
}}
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
分类
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
id=
"rmTypeId"
name=
"rmTypeId"
class=
"layui-input"
lay-filter=
"selectParent"
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=
"rmGroupName"
name=
"rmGroupName"
win-verify=
"required"
placeholder=
"请输入小程序分组名"
class=
"layui-input"
maxlength=
"20"
value=
"{
{
rmGroupName
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
分组ICON
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"rmGroupIcon"
name=
"rmGroupIcon"
win-verify=
"required"
placeholder=
"请选择小程序分组ICON"
class=
"layui-input"
maxlength=
"20"
value=
"{
{
icon
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<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=
"formEditBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
{
{/
bean
}
}
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmgroup/rmgrouplist.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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
class=
"txtcenter"
style=
"margin:0 auto;padding-top: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"
>
<select
id=
"rmTypeId"
name=
"rmTypeId"
class=
"layui-input"
lay-filter=
"selectParent"
></select>
</div>
<label
class=
"layui-form-label"
>
分组
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"rmGroupName"
name=
"rmGroupName"
placeholder=
"请输入分组"
class=
"layui-input"
/>
</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"
lay-submit
lay-filter=
"formSearch"
><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=
"1554952601470"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
auth
(
'
1554952647364
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
top
"
>
上移
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1554952658385
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
lower
"
>
下移
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1554952634376
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
d
.
groupMemberNum
==
0
&&
auth
(
'
1554952612482
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
del
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
</script>
</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/rmgroup/
'
}).
use
(
'
rmgrouplist
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmgroupmember/bindproperty.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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"
/>
<link
href=
"../../assets/winui/weui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"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"
>
标签属性:
</label>
<div
class=
"layui-input-block"
id=
"propertyList"
>
</div>
</div>
<div
class=
"layui-form-item"
>
<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=
"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
src=
"../../assets/winui/jweixin-1.0.0.js"
></script>
<script
src=
"../../assets/winui/weui.min.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/rmgroupmember/
'
}).
use
(
'
bindproperty
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmgroupmember/rmgroupmemberadd.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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"
/>
<link
href=
"../../assets/winui/weui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/layui/css/codemirror.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"margin:0 auto;padding: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"
>
<select
id=
"rmTypeId"
name=
"rmTypeId"
class=
"layui-input"
lay-filter=
"selectParent"
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"
>
<select
id=
"rmGroupId"
name=
"rmGroupId"
class=
"layui-input"
win-verify=
"required"
>
</select>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
HTML内容
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<textarea
id=
"htmlContent"
name=
"htmlContent"
placeholder=
"请填写代码块"
class=
"layui-textarea"
style=
"height: 100px;"
></textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
HTML-JS内容
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"htmlJsContent"
name=
"htmlJsContent"
placeholder=
"请填写代码块"
class=
"layui-textarea"
style=
"height: 100px;"
></textarea>
<div
id=
"htmlJsContentScript"
></div>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
效果图
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-col-xs8"
>
<div
class=
"layui-col-xs10"
id=
"printPic"
>
</div>
<div
class=
"layui-col-xs2"
>
<a
href=
"javascript:;"
class=
"layui-btn layui-btn-xs"
id=
"createPic"
style=
"margin-left: 10px;margin-top: 10px;"
>
生成图片
</a>
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
预览图
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-col-xs6"
>
<div
class=
"layui-col-xs10"
id=
"images"
>
</div>
<div
class=
"layui-col-xs2"
>
<a
href=
"javascript:;"
class=
"layui-btn layui-btn-xs"
id=
"download"
style=
"margin-left: 10px;margin-top: 10px;"
>
下载
</a>
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
WXML内容
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<textarea
id=
"wxmlContent"
name=
"wxmlContent"
placeholder=
"请填写代码块"
class=
"layui-textarea"
style=
"height: 100px;"
></textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
WXML-JS数据内容
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"wxmlJsDataContent"
name=
"wxmlJsDataContent"
placeholder=
"请填写代码块"
class=
"layui-textarea"
style=
"height: 100px;"
></textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
WXML-JS方法内容
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"wxmlJsMethodContent"
name=
"wxmlJsMethodContent"
placeholder=
"请填写代码块"
class=
"layui-textarea"
style=
"height: 100px;"
></textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
WXML-JS初始化内容
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"wxmlJsMethodCreateContent"
name=
"wxmlJsMethodCreateContent"
placeholder=
"请填写代码块"
class=
"layui-textarea"
style=
"height: 100px;"
></textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<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=
"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
src=
"../../assets/winui/jweixin-1.0.0.js"
></script>
<script
src=
"../../assets/winui/weui.min.js"
></script>
<!-- html2canvas将Dom节点在Canvas里边画出来 -->
<script
src=
"../../assets/html2canvas/js/html2canvas.min.js"
></script>
<!-- 将canvas图片保存成图片 -->
<script
src=
"../../assets/html2canvas/js/canvas2image.js"
></script>
<script
src=
"../../assets/html2canvas/js/base64.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/rmgroupmember/
'
}).
use
(
'
rmgroupmemberadd
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmgroupmember/rmgroupmemberedit.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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"
/>
<link
href=
"../../assets/winui/weui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/layui/css/codemirror.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
src=
"../../assets/winui/jweixin-1.0.0.js"
></script>
<script
src=
"../../assets/winui/weui.min.js"
></script>
<!-- html2canvas将Dom节点在Canvas里边画出来 -->
<script
src=
"../../assets/html2canvas/js/html2canvas.min.js"
></script>
<!-- 将canvas图片保存成图片 -->
<script
src=
"../../assets/html2canvas/js/canvas2image.js"
></script>
<script
src=
"../../assets/html2canvas/js/base64.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/rmgroupmember/
'
}).
use
(
'
rmgroupmemberedit
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmgroupmember/rmgroupmembereditTemplate.tpl
已删除
100644 → 0
浏览文件 @
3c6207d8
{{
#
bean
}}
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
分类
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block ver-center"
>
{
{
typeName
}
}
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
分组
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block ver-center"
>
{
{
groupName
}
}
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
HTML内容
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<textarea
id=
"htmlContent"
name=
"htmlContent"
win-verify=
"required"
placeholder=
"请填写代码块"
class=
"layui-textarea"
style=
"height: 100px;"
>
{
{
htmlContent
}
}
</textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
HTML-JS内容
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"htmlJsContent"
name=
"htmlJsContent"
placeholder=
"请填写代码块"
class=
"layui-textarea"
style=
"height: 100px;"
>
{
{
htmlJsContent
}
}
</textarea>
<div
id=
"htmlJsContentScript"
></div>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
效果图
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-col-xs8"
>
<div
class=
"layui-col-xs12"
id=
"printPic"
>
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
预览图
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-col-xs6"
>
<div
class=
"upload"
id=
"printsPicUrl"
></div>
<span
class=
"help-block m-b-none"
>
格式:png,jpg,jpeg,gif
</span>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
WXML内容
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<textarea
id=
"wxmlContent"
name=
"wxmlContent"
win-verify=
"required"
placeholder=
"请填写代码块"
class=
"layui-textarea"
style=
"height: 100px;"
>
{
{
wxmlContent
}
}
</textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
WXML-JS数据内容
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"wxmlJsDataContent"
name=
"wxmlJsDataContent"
placeholder=
"请填写代码块"
class=
"layui-textarea"
style=
"height: 100px;"
>
{
{
wxmlJsDataContent
}
}
</textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
WXML-JS方法内容
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"wxmlJsMethodContent"
name=
"wxmlJsMethodContent"
placeholder=
"请填写代码块"
class=
"layui-textarea"
style=
"height: 100px;"
>
{
{
wxmlJsMethodContent
}
}
</textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
WXML-JS初始化内容
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"wxmlJsMethodCreateContent"
name=
"wxmlJsMethodCreateContent"
placeholder=
"请填写代码块"
class=
"layui-textarea"
style=
"height: 100px;"
>
{
{
wxmlJsMethodCreateContent
}
}
</textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<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=
"formEditBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
{
{/
bean
}
}
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmgroupmember/rmgroupmemberlist.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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"
/>
<link
href=
"../../assets/lib/layui/css/codemirror.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
class=
"txtcenter"
style=
"margin:0 auto;padding-top: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"
>
<select
id=
"rmTypeId"
name=
"rmTypeId"
class=
"layui-input"
lay-filter=
"selectParent"
></select>
</div>
<label
class=
"layui-form-label"
>
分组
</label>
<div
class=
"layui-input-inline"
>
<select
id=
"rmGroupId"
name=
"rmGroupId"
class=
"layui-input"
></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"
lay-submit
lay-filter=
"formSearch"
><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=
"1560833378100"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i>
新增组件
</button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
auth
(
'
1560833390533
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
top
"
>
上移
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1560833398437
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
lower
"
>
下移
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1560833423233
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1560833590759
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
bindProperty
"
>
绑定属性
<
/a
>
{{
#
}
}}
{{
#
if
(
d
.
memberUseNum
==
0
){
}}
{{
#
if
(
auth
(
'
1560833408693
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
del
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
}
}}
</script>
</div>
<div
id=
"modelContentDiv"
style=
"height:auto; position: fixed; left: 10000px;"
>
<textarea
id=
"modelContent"
></textarea>
</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/rmgroupmember/
'
}).
use
(
'
rmgroupmemberlist
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmmysmpro/mysmproadd.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
项目名
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"proName"
name=
"proName"
win-verify=
"required"
placeholder=
"请输入项目名"
class=
"layui-input"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
项目简介
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"proDesc"
name=
"proDesc"
placeholder=
"请输入项目简介"
class=
"layui-textarea"
style=
"height: 100px;"
></textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<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=
"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/rmmysmpro/
'
}).
use
(
'
mysmproadd
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmmysmpro/mysmproedit.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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/rmmysmpro/
'
}).
use
(
'
mysmproedit
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmmysmpro/mysmproeditTemplate.tpl
已删除
100644 → 0
浏览文件 @
3c6207d8
{{
#
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=
"proName"
name=
"proName"
win-verify=
"required"
placeholder=
"请输入项目名"
class=
"layui-input"
maxlength=
"20"
value=
"{
{
proName
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
项目简介
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"proDesc"
name=
"proDesc"
placeholder=
"请输入项目简介"
class=
"layui-textarea"
style=
"height: 100px;"
>
{
{
proDesc
}
}
</textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<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=
"formEditBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
{
{/
bean
}
}
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmmysmpro/mysmprolist.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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
class=
"txtcenter"
style=
"margin:0 auto;padding-top: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=
"proName"
name=
"proName"
placeholder=
"请输入项目"
class=
"layui-input"
/>
</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"
lay-submit
lay-filter=
"formSearch"
><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=
"1560823576324"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
auth
(
'
1560823614810
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
>
编辑项目
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1560823870622
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
consolePro
"
>
项目设计
<
/a
>
{{
#
}
}}
{{
#
if
(
d
.
pageNum
==
0
&&
d
.
modelNum
==
0
){
}}
{{
#
if
(
auth
(
'
1560823591093
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
del
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
}
}}
</script>
</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/rmmysmpro/
'
}).
use
(
'
mysmprolist
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmmysmpropage/addpagebeanitem.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
页面名称
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"pageName"
name=
"pageName"
win-verify=
"required"
placeholder=
"请输入页面名称"
class=
"layui-input"
maxlength=
"50"
value=
"未命名"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
文件名
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"fileName"
name=
"fileName"
placeholder=
"请输入文件名"
class=
"layui-input"
maxlength=
"50"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
路径
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"filePath"
name=
"filePath"
placeholder=
"请输入路径"
class=
"layui-input"
maxlength=
"50"
/>
<div
class=
"layui-form-mid layui-word-aux"
>
小程序导出路径为:page/路径/文件名.文件类型(文件类型:js、json、wxml、wxss)
<br>
H5页面导出路径为:html/路径/文件名.html;对应JS导出路径为:js/路径/文件名.js
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
<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=
"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/rmmysmpropage/
'
}).
use
(
'
addpagebeanitem
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmmysmpropage/editpagebeanitem.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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/rmmysmpropage/
'
}).
use
(
'
editpagebeanitem
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmmysmpropage/groupMemberTemplate.tpl
已删除
100644 → 0
浏览文件 @
3c6207d8
{{
#
each
rows
}}
<div
class=
"layui-col-sm6 layui-col-md6 layui-col-lg6"
htmlContent=
"{
{
htmlContent
}
}"
htmlJsContent=
"{
{
htmlJsContent
}
}"
rowId=
"{
{
id
}
}"
>
<div
class=
"layui-card"
>
<img
src=
"{
{
#
compare1
printsPicUrl
}
}{
{/
compare1
}
}"
style=
"width:100%;height:auto"
class=
"cursor"
/>
</div>
</div>
{
{/
each
}
}
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmmysmpropage/groupTemplate.tpl
已删除
100644 → 0
浏览文件 @
3c6207d8
{{
#
each
rows
}}
<li>
<div
class=
"weui-flex js_category"
>
<p
class=
"weui-flex__item"
>
{
{
name
}
}
<span
class=
"weui-badge"
style=
"margin-left: 5px;"
>
{
{
groupList
.
length
}
}
</span></p>
</div>
<div
class=
"page__category js_categoryInner"
>
<div
class=
"weui-cells page__category-content"
>
{
{
#
each
groupList
}
}
<a
class=
"weui-cell weui-cell_access js_item"
data-id=
"{
{
id
}
}"
data-name=
"{
{
name
}
}"
href=
"javascript:;"
>
<div
class=
"weui-cell__bd"
>
<p>
{
{
name
}
}
<span
class=
"weui-badge"
style=
"margin-left: 5px;"
>
{
{
memberNum
}
}
</span></p>
</div>
</a>
{
{/
each
}
}
</div>
</div>
</li>
{
{/
each
}
}
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmmysmpropage/mysmpropagelist.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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"
/>
<link
href=
"../../assets/winui/weui.css"
rel=
"stylesheet"
/>
</head>
<body
style=
"overflow: hidden;"
>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
type=
"button"
id=
"addPageBean"
class=
"winui-toolbtn"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i>
新增页面
</button>
<button
type=
"button"
id=
"savePageModelBean"
class=
"winui-toolbtn"
><i
class=
"fa fa-floppy-o"
aria-hidden=
"true"
></i>
保存页面
</button>
<button
type=
"button"
id=
"exportChoosePageToH5"
class=
"winui-toolbtn"
><i
class=
"fa fa-floppy-o"
aria-hidden=
"true"
></i>
导出选中页为H5
</button>
</div>
</div>
<div
class=
"layui-row smpro"
>
<div
class=
"layui-col-xs3 left-menu"
>
<div
class=
"layui-tab layui-tab-card hei-100-per"
>
<ul
class=
"layui-tab-title"
>
<li
class=
"layui-this"
>
页面管理
</li>
<li>
组件管理
</li>
</ul>
<div
class=
"layui-tab-content tab__item"
>
<div
class=
"layui-tab-item layui-show hei-100-per"
>
<ul
style=
"overflow-y: scroll;height: 100%; overflow-x: hidden;"
id=
"pageList"
>
</ul>
</div>
<div
class=
"layui-tab-item hei-100-per"
>
<div
class=
"page__bd page__bd_spacing hei-100-per"
id=
"groupTab"
>
<ul
id=
"groupMember"
style=
"overflow-y: auto;height: 100%;"
>
</ul>
</div>
<div
class=
"page__bd page__bd_spacing hei-100-per"
id=
"groupMemberTab"
>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
class=
"winui-toolbtn"
id=
"returnGroupTab"
><i
class=
"fa fa-chevron-left"
aria-hidden=
"true"
></i>
返回
</button>
<font
id=
"groupTitle"
class=
"winui-toolbtn"
></font>
</div>
</div>
<div
class=
"page__bd page__bd_spacing member-list-div"
>
<div
class=
"layui-row member-list"
id=
"memberList"
style=
"overflow-y: scroll;height: 100%;"
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"layui-col-xs6 center-content"
>
<div
class=
"iphone"
>
<div
class=
"iphone-top"
>
<span
class=
"camera"
></span>
<span
class=
"sensor"
></span>
<span
class=
"speaker"
></span>
</div>
<div
class=
"top-bar"
></div>
<div
class=
"iphone-screen"
id=
"centerText"
>
</div>
<div
class=
"buttons"
>
<span
class=
"on-off"
></span>
<span
class=
"sleep"
></span>
<span
class=
"up"
></span>
<span
class=
"down"
></span>
</div>
<div
class=
"bottom-bar"
></div>
</div>
</div>
<div
class=
"layui-col-xs3 right-menu"
>
<div
class=
"layui-tab layui-tab-card hei-100-per"
>
<ul
class=
"layui-tab-title"
>
<li
class=
"layui-this"
>
页面属性
</li>
<li>
数据管理
</li>
</ul>
<div
class=
"layui-tab-content"
>
<div
class=
"layui-tab-item layui-show"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
</form>
</div>
<div
class=
"layui-tab-item"
>
2
</div>
</div>
</div>
</div>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
src=
"../../assets/winui/jweixin-1.0.0.js"
></script>
<script
src=
"../../assets/winui/weui.min.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/rmmysmpropage/
'
}).
use
(
'
mysmpropagelist
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmmysmpropage/pageTemplate.tpl
已删除
100644 → 0
浏览文件 @
3c6207d8
{{
#
each
rows
}}
<li
class=
"page-li page-click-item"
>
<div
class=
"weui-flex layui-col-xs6"
>
<span
class=
"weui-flex__item"
>
{
{
name
}
}
</span>
</div>
<div
class=
"weui-flex layui-col-xs6 right"
>
<button
class=
"layui-btn layui-btn-xs tab-btn-mar-left-3 reName"
title=
"重命名页面"
><i
class=
"fa fa-pencil-square-o"
></i></button>
<button
class=
"layui-btn layui-btn-xs tab-btn-mar-left-3 toUp"
title=
"上移页面"
><i
class=
"fa fa-arrow-up"
></i></button>
<button
class=
"layui-btn layui-btn-xs tab-btn-mar-left-3 toDown"
title=
"下移页面"
><i
class=
"fa fa-arrow-down"
></i></button>
<button
class=
"layui-btn layui-btn-xs tab-btn-mar-left-3 copyPage"
title=
"复制页面"
><i
class=
"fa fa-files-o"
></i></button>
<button
class=
"layui-btn layui-btn-xs tab-btn-mar-left-3 delPage"
title=
"删除页面"
><i
class=
"fa fa-trash"
></i></button>
</div>
<div
class=
"layui-col-xs12"
>
<div
class=
"layui-col-xs5"
>
<span
class=
"file-content"
>
文件名:{
{
fileName
}
}
</span>
</div>
<div
class=
"layui-col-xs7"
>
<span
class=
"file-content-page-path"
>
路径:page/{
{
filePath
}
}
</span>
</div>
</div>
</li>
{
{/
each
}
}
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmmysmpropage/pagemodelTemplate.tpl
已删除
100644 → 0
浏览文件 @
3c6207d8
{{
#
each
rows
}}
<div
class=
"layui-col-md12 import-item"
htmlContent=
"{
{
htmlContent
}
}"
htmlJsContent=
"{
{
htmlJsContent
}
}"
rowId=
"{
{
modelId
}
}"
>
<div
class=
"layui-col-md12 check-item"
>
{{
{
htmlContent
}
}}
</div>
<div
class=
"check-item-operation btn-group btn-group-xs btn-base"
style=
"display: none;"
>
<button
type=
"button"
class=
"btn btn-primary"
rel=
"editHandler"
title=
"编辑"
><i
class=
"fa fa-edit"
></i></button>
<button
type=
"button"
class=
"btn btn-danger"
rel=
"removeHandler"
title=
"删除"
><i
class=
"fa fa-trash"
></i></button>
</div>
<script>
layui
.
define
([
"
jquery
"
],
function
(
exports
)
{
var
jQuery
=
layui
.
jquery
;
(
function
(
$
)
{
{{
{
htmlJsContent
}
}}
})(
jQuery
);
});
</script>
</div>
{
{/
each
}
}
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmmysmpropage/projectpageeditTemplate.tpl
已删除
100644 → 0
浏览文件 @
3c6207d8
{{
#
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=
"pageName"
name=
"pageName"
win-verify=
"required"
placeholder=
"请输入页面名称"
class=
"layui-input"
maxlength=
"50"
value=
"{
{
pageName
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
文件名
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"fileName"
name=
"fileName"
placeholder=
"请输入文件名"
class=
"layui-input"
maxlength=
"50"
value=
"{
{
fileName
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
路径
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"filePath"
name=
"filePath"
placeholder=
"请输入路径"
class=
"layui-input"
maxlength=
"50"
value=
"{
{
filePath
}
}"
/>
<div
class=
"layui-form-mid layui-word-aux"
>
小程序导出路径为:page/路径/文件名.文件类型(文件类型:js、json、wxml、wxss)
<br>
H5页面导出路径为:html/路径/文件名.html;对应JS导出路径为:js/路径/文件名.js
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
<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=
"formEditBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
{
{/
bean
}
}
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmproperty/rmpropertyadd.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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"
/>
<link
href=
"../../assets/lib/layui/css/codemirror.css"
rel=
"stylesheet"
/>
</head>
<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=
"exexplaintormpropertyTitle"
></span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs12"
id=
"exexplaintormpropertyContent"
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>
<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"
/>
<div
class=
"layui-form-mid layui-word-aux"
>
例如:宽度
</div>
</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=
"propertyTag"
name=
"propertyTag"
win-verify=
"required"
placeholder=
"请输入属性标签"
class=
"layui-input"
/>
<div
class=
"layui-form-mid layui-word-aux"
>
例如:width
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
属性单位
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"propertyUnit"
name=
"propertyUnit"
placeholder=
"请输入属性单位"
class=
"layui-input"
/>
<div
class=
"layui-form-mid layui-word-aux"
>
例如:width:100%;单位为:%
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
外部属性
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block winui-radio"
>
<input
type=
"radio"
name=
"propertyOut"
value=
"1"
title=
"是"
/>
<input
type=
"radio"
name=
"propertyOut"
value=
"2"
title=
"否"
checked
/><br/><br/>
<div
class=
"layui-form-mid layui-word-aux"
style=
"float: none;"
>
例如:width为内部属性,class为外部属性
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
子查询
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block winui-radio"
>
<input
type=
"radio"
name=
"selChildData"
value=
"1"
title=
"是"
lay-filter=
"selChildData"
/>
<input
type=
"radio"
name=
"selChildData"
value=
"2"
title=
"否"
lay-filter=
"selChildData"
checked
/>
</div>
</div>
<div
class=
"layui-form-item"
id=
"dataShowModel"
>
<label
class=
"layui-form-label"
>
数据模板
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block winui-radio"
>
<select
id=
"displayTemplateId"
name=
"displayTemplateId"
class=
"layui-input"
lay-search
>
<option
value=
""
>
全部
</option>
</select>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
展现形式
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
id=
"dsFormContentId"
name=
"dsFormContentId"
class=
"layui-input"
win-verify=
"required"
lay-filter=
"selectParent"
lay-search
>
<option
value=
""
>
全部
</option>
</select>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
HTML模板
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"htmlModelContent"
></textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
JS模板
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"jsModelContent"
></textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
HTML内容
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<textarea
id=
"htmlContent"
></textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
JS内容
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"jsContent"
></textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
JS依赖文件
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"jsRelyOnContent"
></textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<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=
"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/rmproperty/
'
}).
use
(
'
rmpropertyadd
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmproperty/rmpropertyedit.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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"
/>
<link
href=
"../../assets/lib/layui/css/codemirror.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/rmproperty/
'
}).
use
(
'
rmpropertyedit
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmproperty/rmpropertyeditTemplate.tpl
已删除
100644 → 0
浏览文件 @
3c6207d8
{{
#
bean
}}
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
id=
"exexplaintormpropertyTitle"
></span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs12"
id=
"exexplaintormpropertyContent"
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>
<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"
value=
"{
{
title
}
}"
/>
<div
class=
"layui-form-mid layui-word-aux"
>
例如:宽度
</div>
</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=
"propertyTag"
name=
"propertyTag"
win-verify=
"required"
placeholder=
"请输入属性标签"
class=
"layui-input"
value=
"{
{
propertyTag
}
}"
/>
<div
class=
"layui-form-mid layui-word-aux"
>
例如:width
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
属性单位
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"propertyUnit"
name=
"propertyUnit"
placeholder=
"请输入属性单位"
class=
"layui-input"
value=
"{
{
propertyUnit
}
}"
/>
<div
class=
"layui-form-mid layui-word-aux"
>
例如:width:100%;单位为:%
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
外部属性
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block winui-radio"
>
<input
type=
"radio"
name=
"propertyOut"
value=
"1"
title=
"是"
/>
<input
type=
"radio"
name=
"propertyOut"
value=
"2"
title=
"否"
/><br/><br/>
<div
class=
"layui-form-mid layui-word-aux"
style=
"float: none;"
>
例如:width为内部属性,class为外部属性
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
子查询
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block winui-radio"
>
<input
type=
"radio"
name=
"selChildData"
value=
"1"
title=
"是"
lay-filter=
"selChildData"
/>
<input
type=
"radio"
name=
"selChildData"
value=
"2"
title=
"否"
lay-filter=
"selChildData"
/>
</div>
</div>
<div
class=
"layui-form-item"
id=
"dataShowModel"
>
<label
class=
"layui-form-label"
>
数据模板
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block winui-radio"
>
<select
id=
"displayTemplateId"
name=
"displayTemplateId"
class=
"layui-input"
lay-search
>
<option
value=
""
>
全部
</option>
</select>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
展现形式
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
id=
"dsFormContentId"
name=
"dsFormContentId"
class=
"layui-input"
win-verify=
"required"
lay-filter=
"selectParent"
lay-search
>
<option
value=
""
>
全部
</option>
</select>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
HTML模板
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"htmlModelContent"
>
{
{
htmlModelContent
}
}
</textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
JS模板
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"jsModelContent"
>
{
{
jsModelContent
}
}
</textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
HTML内容
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<textarea
id=
"htmlContent"
>
{
{
htmlContent
}
}
</textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
JS内容
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"jsContent"
>
{
{
jsContent
}
}
</textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
JS依赖文件
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"jsRelyOnContent"
>
{
{
jsRelyOn
}
}
</textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<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=
"formEditBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
{
{/
bean
}
}
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmproperty/rmpropertylist.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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"
/>
<link
href=
"../../assets/lib/layui/css/codemirror.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
class=
"txtcenter"
style=
"margin:0 auto;padding-top: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"
>
<select
id=
"dsFormContentId"
name=
"dsFormContentId"
class=
"layui-input"
lay-filter=
"selectParent"
lay-search
>
<option
value=
""
>
全部
</option>
</select>
</div>
<label
class=
"layui-form-label"
>
属性别名
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"title"
name=
"title"
placeholder=
"请输入属性别名"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
属性标签
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"propertyTag"
name=
"propertyTag"
placeholder=
"请输入属性标签"
class=
"layui-input"
/>
</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"
lay-submit
lay-filter=
"formSearch"
><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=
"1560828282644"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></language></button>
</div>
</div>
<div
id=
"modelContentDiv"
style=
"height:auto; position: fixed; left: 10000px;"
>
<textarea
id=
"modelContent"
></textarea>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
auth
(
'
1560828307880
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
d
.
propertyValueNum
==
0
&&
d
.
useNum
==
0
){
}}
{{
#
if
(
auth
(
'
1560828294443
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
del
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
}
}}
</script>
</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/rmproperty/
'
}).
use
(
'
rmpropertylist
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmpropertyvalue/rmpropertyvalueadd.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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"
>
<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"
placeholder=
"请输入属性值别名"
class=
"layui-input"
/>
</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=
"propertyValue"
name=
"propertyValue"
win-verify=
"required"
placeholder=
"请输入属性值"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
所属标签
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
id=
"propertyId"
name=
"propertyId"
class=
"layui-input"
win-verify=
"required"
lay-filter=
"selectParent"
lay-search
>
<option
value=
""
>
全部
</option>
</select>
</div>
</div>
<div
class=
"layui-form-item"
>
<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=
"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/rmpropertyvalue/
'
}).
use
(
'
rmpropertyvalueadd
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmpropertyvalue/rmpropertyvalueedit.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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/rmpropertyvalue/
'
}).
use
(
'
rmpropertyvalueedit
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmpropertyvalue/rmpropertyvalueeditTemplate.tpl
已删除
100644 → 0
浏览文件 @
3c6207d8
{{
#
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=
"title"
name=
"title"
placeholder=
"请输入属性值别名"
class=
"layui-input"
value=
"{
{
title
}
}"
/>
</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=
"propertyValue"
name=
"propertyValue"
win-verify=
"required"
placeholder=
"请输入属性值"
class=
"layui-input"
value=
"{
{
propertyValue
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
所属标签
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
id=
"propertyId"
name=
"propertyId"
class=
"layui-input"
win-verify=
"required"
lay-filter=
"selectParent"
lay-search
>
<option
value=
""
>
全部
</option>
</select>
</div>
</div>
<div
class=
"layui-form-item"
>
<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=
"formEditBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
{
{/
bean
}
}
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmpropertyvalue/rmpropertyvaluelist.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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
class=
"txtcenter"
style=
"margin:0 auto;padding-top: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"
>
<select
id=
"propertyId"
name=
"propertyId"
class=
"layui-input"
lay-filter=
"selectParent"
lay-search
>
<option
value=
""
>
全部
</option>
</select>
</div>
<label
class=
"layui-form-label"
>
属性值别名
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"title"
name=
"title"
placeholder=
"请输入属性值别名"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
属性值
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"propertyValue"
name=
"propertyValue"
placeholder=
"请输入属性值"
class=
"layui-input"
/>
</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"
lay-submit
lay-filter=
"formSearch"
><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=
"1560828440572"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i>
新增属性值
</button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
auth
(
'
1560828473299
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1560828451390
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
del
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
</script>
</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/rmpropertyvalue/
'
}).
use
(
'
rmpropertyvaluelist
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmtype/rmtypeadd.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
分类名
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"rmTypeName"
name=
"rmTypeName"
win-verify=
"required"
placeholder=
"请输入小程序分类名"
class=
"layui-input"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<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=
"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/rmtype/
'
}).
use
(
'
rmtypeadd
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmtype/rmtypeedit.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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/rmtype/
'
}).
use
(
'
rmtypeedit
'
);
</script>
</body>
</html>
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmtype/rmtypeeditTemplate.tpl
已删除
100644 → 0
浏览文件 @
3c6207d8
{{
#
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=
"rmTypeName"
name=
"rmTypeName"
win-verify=
"required"
placeholder=
"请输入小程序分类名"
class=
"layui-input"
value=
"{
{
rmTypeName
}
}"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<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=
"formEditBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
{
{/
bean
}
}
\ No newline at end of file
rmprogram/src/main/resources/template/tpl/rmtype/rmtypelist.html
已删除
100644 → 0
浏览文件 @
3c6207d8
<!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
class=
"txtcenter"
style=
"margin:0 auto;padding-top: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=
"rmTypeName"
name=
"rmTypeName"
placeholder=
"请输入分类"
class=
"layui-input"
/>
</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"
lay-submit
lay-filter=
"formSearch"
><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=
"1554952090490"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
auth
(
'
1554952007318
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
top
"
>
上移
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1554952017531
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
lower
"
>
下移
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1554951989549
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
d
.
groupNum
==
0
&&
auth
(
'
1554951963485
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
del
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
</script>
</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/rmtype/
'
}).
use
(
'
rmtypelist
'
);
</script>
</body>
</html>
\ No newline at end of file
web/src/main/resources/template/assets/lib/winui/css/winui.css
浏览文件 @
9d548d4e
...
@@ -1346,410 +1346,6 @@ body .layer-ext-winconfirm .layui-layer-content {
...
@@ -1346,410 +1346,6 @@ body .layer-ext-winconfirm .layui-layer-content {
clear
:
none
;
clear
:
none
;
}
}
/*** 小程序页面管理start ***/
.smpro
{
height
:
calc
(
100vh
-
45px
);
}
.hei-100-per
{
height
:
100%
;
margin-top
:
0px
;
margin-bottom
:
0px
;
}
.left-menu
{
border-right
:
2px
solid
gainsboro
;
height
:
100%
;
}
.center-content
{
height
:
100%
;
}
.right-menu
{
border-left
:
2px
solid
gainsboro
;
height
:
100%
;
}
.blue
{
color
:
blue
;
margin-left
:
10px
;
}
.tab__item
{
background-color
:
rgb
(
248
,
248
,
248
);
height
:
calc
(
100vh
-
105px
);
}
.page__bd
li
{
background-color
:
white
;
margin-top
:
10px
;
}
.page__bd
li
.js_show
.weui-flex
{
opacity
:
.4
}
.page__bd
li
.js_show
.page__category
{
height
:
auto
}
.page__bd
li
.js_show
.page__category-content
{
opacity
:
1
;
-webkit-transform
:
translateY
(
0
);
transform
:
translateY
(
0
);
padding-left
:
20px
;
}
.page__category-content
>
a
{
font-size
:
15px
!important
;
padding-bottom
:
5px
;
}
.page__category-content
>
a
>
.weui-cell__bd
{
height
:
30px
;
}
.page__bd
li
:first-child
{
margin-top
:
0
}
.page__category
{
height
:
0
;
overflow
:
hidden
}
.page__category-content
{
opacity
:
0
;
-webkit-transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
);
-webkit-transition
:
.3s
;
transition
:
.3s
}
.weui-flex
{
padding
:
10px
10px
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
;
-webkit-transition
:
.3s
;
transition
:
.3s
}
.weui-cells
{
margin-top
:
0
}
.weui-cells
:after
,
.page.home
.weui-cells
:before
{
display
:
none
}
.weui-cell
{
padding-left
:
20px
;
padding-right
:
20px
}
.weui-cell
:before
{
left
:
20px
;
right
:
20px
}
#groupTitle
{
float
:
right
;
}
#memberList
>
div
{
padding
:
10px
;
}
.member-list
>
div
>
.layui-card
{
background-color
:
white
;
width
:
100%
;
height
:
110px
;
overflow
:
hidden
;
}
.layui-col-space10
>*
{
padding
:
5px
;
}
.member-list-div
{
height
:
calc
(
100vh
-
140px
);
}
.sec-clsss
{
background-color
:
rgba
(
0
,
0
,
0
,
0.3
)
!important
;
border
:
1px
solid
rgba
(
255
,
255
,
255
,
0.54
);
}
.sec-clsss
.layui-layer-title
{
background-color
:
rgba
(
0
,
0
,
0
,
0
);
margin-left
:
10px
;
margin-right
:
10px
;
color
:
#fff
;
padding-left
:
0px
;
}
.sec-clsss
.layui-layer-setwin
a
{
background-color
:
white
;
border-radius
:
10px
;
padding-right
:
-8px
;
background-position-x
:
2px
;
background-position-y
:
-39px
;
}
.sec-clsss
.layui-layer-content
{
padding-left
:
10px
;
padding-right
:
10px
;
padding-top
:
10px
;
padding-bottom
:
10px
;
}
.sec-clsss-btn
{
float
:
left
!important
;
position
:
relative
!important
;
}
.right
{
text-align
:
right
;
}
.ver-center
{
align-items
:
Center
;
padding-top
:
8px
;
min-height
:
32px
;
font-family
:
initial
;
}
.padding-l-r-10
{
padding-left
:
10px
;
padding-right
:
10px
;
}
/* 样式1 */
.iphone
{
box-shadow
:
inset
0
0
3px
0
rgba
(
0
,
0
,
0
,
0.2
),
0
0
0
1px
#999
,
0
0
30px
0px
rgba
(
0
,
0
,
0
,
0.7
);
border
:
5px
solid
#d9dbdc
;
background
:
#f8f8f8
;
padding
:
15px
;
border-radius
:
50px
;
width
:
50%
;
margin
:
0
auto
;
-webkit-transform
:
scale
(
0.8
);
transform
:
scale
(
0.8
);
min-width
:
400px
;
height
:
100vh
;
margin-top
:
-45px
;
}
.iphone-top
{
padding
:
5px
80px
20px
;
position
:
relative
;
}
.iphone-top
.speaker
{
display
:
block
;
width
:
70px
;
height
:
6px
;
margin
:
0
auto
;
border-radius
:
6px
;
background
:
#292728
;
}
.iphone-top
.camera
{
display
:
block
;
margin
:
0
auto
;
height
:
10px
;
width
:
10px
;
border-radius
:
50%
;
margin-bottom
:
13px
;
background
:
#333
;
}
.iphone-top
.sensor
{
display
:
block
;
width
:
15px
;
height
:
15px
;
float
:
left
;
background
:
#333
;
margin-top
:
-5px
;
border-radius
:
50%
;
}
.iphone
.top-bar
,
.iphone
.bottom-bar
{
display
:
block
;
width
:
100%
;
height
:
15px
;
border-left
:
5px
solid
#BBB
;
border-right
:
5px
solid
#BBB
;
position
:
absolute
;
left
:
-5px
;
}
.iphone
.top-bar
{
top
:
65px
;
}
.iphone
.bottom-bar
{
bottom
:
65px
;
}
.iphone-screen
{
background
:
white
;
border
:
1px
solid
#fff
;
overflow
:
auto
;
height
:
calc
(
95vh
-
25px
);
width
:
100%
;
margin
:
0
auto
;
border
:
2px
solid
gainsboro
;
border-radius
:
20px
;
}
.iphone-screen
.check-item
:HOVER
{
border
:
1px
#357ebd
dashed
;
width
:
calc
(
100%
-
2px
);
}
.check-item-shoose
{
border
:
1px
#d9534f
dashed
;
width
:
calc
(
100%
-
2px
)
!important
;
}
.check-item-shoose
.weui-flex__item
{
margin-left
:
-1px
!important
;
}
.check-item-shoose
.file-content
{
margin-left
:
9px
!important
;
}
.check-item-operation
{
text-align
:
right
;
width
:
100%
;
position
:
absolute
;
z-index
:
999999
;
}
.check-item-operation
button
{
width
:
25px
;
height
:
25px
;
color
:
#fff
;
background-color
:
#337ab7
;
border-color
:
#2e6da4
;
margin-left
:
2px
;
}
.iphone-screen
img
{
width
:
100%
;
}
.iphone
.buttons
.on-off
,
.iphone
.buttons
.up
,
.iphone
.buttons
.down
,
.iphone
.buttons
.sleep
{
display
:
block
;
background
:
#CCC
;
position
:
absolute
;
border-radius
:
2px
0px
0px
2px
;
}
.iphone
.buttons
.on-off
{
height
:
40px
;
width
:
3px
;
top
:
100px
;
left
:
-8px
;
}
.iphone
.buttons
.up
,
.iphone
.buttons
.down
,
.iphone
.buttons
.sleep
{
height
:
60px
;
width
:
5px
;
left
:
-10px
;
}
.iphone
.buttons
.up
{
top
:
170px
;
}
.iphone
.buttons
.down
{
top
:
250px
;
}
.iphone
.buttons
.sleep
{
left
:
auto
;
right
:
-10px
;
top
:
170px
;
border-radius
:
0px
2px
2px
0px
;
}
.gu-mirror
{
position
:
fixed
!important
;
margin
:
0
!important
;
z-index
:
9999
!important
;
opacity
:
0.8
;
-ms-filter
:
"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"
;
filter
:
alpha
(
opacity
=
80
);
}
.gu-hide
{
display
:
none
!important
;
}
.gu-unselectable
{
-webkit-user-select
:
none
!important
;
-moz-user-select
:
none
!important
;
-ms-user-select
:
none
!important
;
user-select
:
none
!important
;
}
.gu-transit
{
opacity
:
0.2
;
-ms-filter
:
"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"
;
filter
:
alpha
(
opacity
=
20
);
}
.tab-btn-mar-left-3
{
margin-left
:
3px
!important
;
}
.page-li
{
width
:
100%
;
height
:
80px
;
line-height
:
25px
;
background-color
:
ghostwhite
;
margin-top
:
10px
;
background
:
rgba
(
0.5
,
0.3
,
0.2
,
0.1
)
none
repeat
scroll
!important
;
}
.file-content
{
font-size
:
10px
;
color
:
darkgoldenrod
;
font-family
:
monospace
;
margin-left
:
10px
;
}
.file-content-page-path
{
font-size
:
10px
;
color
:
darkgoldenrod
;
font-family
:
monospace
;
margin-left
:
10px
;
}
.page-li
:HOVER
{
cursor
:
pointer
;
border
:
1px
#357ebd
dashed
;
height
:
78px
!important
;
width
:
calc
(
100%
-
2px
)
!important
;
}
.page-li
:HOVER
.weui-flex__item
{
margin-left
:
-1px
!important
;
}
.page-li
:HOVER
.file-content
{
margin-left
:
9px
!important
;
}
.code-model-li
{
width
:
100%
;
height
:
75px
;
line-height
:
25px
;
background-color
:
ghostwhite
;
margin-top
:
10px
;
}
.padd-le-ri
{
padding-left
:
0px
;
padding-right
:
0px
;
padding-top
:
5px
;
}
/*** 小程序页面管理end ***/
/*** 带滚动条的表格end ***/
/*** 带滚动条的表格end ***/
.custom-table
>
tbody
{
.custom-table
>
tbody
{
display
:
block
;
display
:
block
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录