Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
b91bb100
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1282
Star
158
Fork
129
代码
文件
提交
分支
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看板
提交
b91bb100
编写于
10月 22, 2018
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
小程序分组管理完成
上级
58a43fc8
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
1034 addition
and
0 deletion
+1034
-0
skyeye-dao/src/main/java/com/skyeye/smprogram/dao/RmGroupDao.java
...ao/src/main/java/com/skyeye/smprogram/dao/RmGroupDao.java
+34
-0
skyeye-service/src/main/java/com/skyeye/smprogram/service/RmGroupService.java
...ain/java/com/skyeye/smprogram/service/RmGroupService.java
+22
-0
skyeye-service/src/main/java/com/skyeye/smprogram/service/impl/RmGroupServiceImpl.java
...com/skyeye/smprogram/service/impl/RmGroupServiceImpl.java
+187
-0
skyeye-web/src/main/java/com/skyeye/smprogram/controller/RmGroupController.java
...va/com/skyeye/smprogram/controller/RmGroupController.java
+130
-0
skyeye-web/src/main/resources/dbmapper/RmGroupMapper.xml
skyeye-web/src/main/resources/dbmapper/RmGroupMapper.xml
+142
-0
skyeye-web/src/main/resources/mapping/reqmapping.xml
skyeye-web/src/main/resources/mapping/reqmapping.xml
+29
-0
skyeye-web/src/main/webapp/js/rmgroup/rmgroupadd.js
skyeye-web/src/main/webapp/js/rmgroup/rmgroupadd.js
+76
-0
skyeye-web/src/main/webapp/js/rmgroup/rmgroupedit.js
skyeye-web/src/main/webapp/js/rmgroup/rmgroupedit.js
+93
-0
skyeye-web/src/main/webapp/js/rmgroup/rmgrouplist.js
skyeye-web/src/main/webapp/js/rmgroup/rmgrouplist.js
+161
-0
skyeye-web/src/main/webapp/tpl/rmgroup/rmgroupadd.html
skyeye-web/src/main/webapp/tpl/rmgroup/rmgroupadd.html
+49
-0
skyeye-web/src/main/webapp/tpl/rmgroup/rmgroupedit.html
skyeye-web/src/main/webapp/tpl/rmgroup/rmgroupedit.html
+24
-0
skyeye-web/src/main/webapp/tpl/rmgroup/rmgroupeditTemplate.tpl
...e-web/src/main/webapp/tpl/rmgroup/rmgroupeditTemplate.tpl
+28
-0
skyeye-web/src/main/webapp/tpl/rmgroup/rmgrouplist.html
skyeye-web/src/main/webapp/tpl/rmgroup/rmgrouplist.html
+59
-0
未找到文件。
skyeye-dao/src/main/java/com/skyeye/smprogram/dao/RmGroupDao.java
0 → 100644
浏览文件 @
b91bb100
package
com.skyeye.smprogram.dao
;
import
java.util.List
;
import
java.util.Map
;
import
com.github.miemiedev.mybatis.paginator.domain.PageBounds
;
public
interface
RmGroupDao
{
public
List
<
Map
<
String
,
Object
>>
queryRmGroupList
(
Map
<
String
,
Object
>
map
,
PageBounds
pageBounds
)
throws
Exception
;
public
Map
<
String
,
Object
>
queryRmGroupByName
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
Map
<
String
,
Object
>
queryRmGroupISTop
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
int
insertRmGroupMation
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
Map
<
String
,
Object
>
queryRmGroupMemberNumById
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
int
deleteRmGroupById
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
Map
<
String
,
Object
>
queryRmGroupMationToEditById
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
Map
<
String
,
Object
>
queryRmGroupMationByIdAndName
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
int
editRmGroupMationById
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
Map
<
String
,
Object
>
queryRmGroupISTopByThisId
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
int
editRmGroupSortTopById
(
Map
<
String
,
Object
>
topBean
)
throws
Exception
;
public
Map
<
String
,
Object
>
queryRmGroupISLowerByThisId
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
}
skyeye-service/src/main/java/com/skyeye/smprogram/service/RmGroupService.java
0 → 100644
浏览文件 @
b91bb100
package
com.skyeye.smprogram.service
;
import
com.skyeye.common.object.InputObject
;
import
com.skyeye.common.object.OutputObject
;
public
interface
RmGroupService
{
public
void
queryRmGroupList
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
public
void
insertRmGroupMation
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
public
void
deleteRmGroupById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
public
void
queryRmGroupMationToEditById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
public
void
editRmGroupMationById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
public
void
editRmGroupSortTopById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
public
void
editRmGroupSortLowerById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
}
skyeye-service/src/main/java/com/skyeye/smprogram/service/impl/RmGroupServiceImpl.java
0 → 100644
浏览文件 @
b91bb100
package
com.skyeye.smprogram.service.impl
;
import
java.util.List
;
import
java.util.Map
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.github.miemiedev.mybatis.paginator.domain.PageBounds
;
import
com.github.miemiedev.mybatis.paginator.domain.PageList
;
import
com.skyeye.common.object.InputObject
;
import
com.skyeye.common.object.OutputObject
;
import
com.skyeye.common.util.ToolUtil
;
import
com.skyeye.smprogram.dao.RmGroupDao
;
import
com.skyeye.smprogram.service.RmGroupService
;
@Service
public
class
RmGroupServiceImpl
implements
RmGroupService
{
@Autowired
private
RmGroupDao
rmGroupDao
;
/**
*
* @Title: queryRmGroupList
* @Description: 获取小程序分组列表
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
public
void
queryRmGroupList
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
List
<
Map
<
String
,
Object
>>
beans
=
rmGroupDao
.
queryRmGroupList
(
map
,
new
PageBounds
(
Integer
.
parseInt
(
map
.
get
(
"page"
).
toString
()),
Integer
.
parseInt
(
map
.
get
(
"limit"
).
toString
())));
PageList
<
Map
<
String
,
Object
>>
beansPageList
=
(
PageList
<
Map
<
String
,
Object
>>)
beans
;
int
total
=
beansPageList
.
getPaginator
().
getTotalCount
();
outputObject
.
setBeans
(
beans
);
outputObject
.
settotal
(
total
);
}
/**
*
* @Title: insertRmGroupMation
* @Description: 添加小程序分组
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
public
void
insertRmGroupMation
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
Map
<
String
,
Object
>
bean
=
rmGroupDao
.
queryRmGroupByName
(
map
);
if
(
bean
==
null
){
Map
<
String
,
Object
>
user
=
inputObject
.
getLogParams
();
map
.
put
(
"id"
,
ToolUtil
.
getSurFaceId
());
map
.
put
(
"createId"
,
user
.
get
(
"id"
));
map
.
put
(
"createTime"
,
ToolUtil
.
getTimeAndToString
());
Map
<
String
,
Object
>
item
=
rmGroupDao
.
queryRmGroupISTop
(
map
);
//获取最靠前的小程序分类
if
(
item
==
null
){
map
.
put
(
"sort"
,
1
);
}
else
{
map
.
put
(
"sort"
,
Integer
.
parseInt
(
item
.
get
(
"sort"
).
toString
())
+
1
);
}
rmGroupDao
.
insertRmGroupMation
(
map
);
}
else
{
outputObject
.
setreturnMessage
(
"该分组名称已存在,请更换。"
);
}
}
/**
*
* @Title: deleteRmGroupById
* @Description: 删除小程序分组信息
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
public
void
deleteRmGroupById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
Map
<
String
,
Object
>
bean
=
rmGroupDao
.
queryRmGroupMemberNumById
(
map
);
if
(
bean
==
null
){
rmGroupDao
.
deleteRmGroupById
(
map
);
}
else
{
if
(
Integer
.
parseInt
(
bean
.
get
(
"groupMemberNum"
).
toString
())
==
0
){
//该小程序分组下没有组件
rmGroupDao
.
deleteRmGroupById
(
map
);
}
else
{
outputObject
.
setreturnMessage
(
"该分组下存在小程序组件,无法删除。"
);
}
}
}
/**
*
* @Title: queryRmGroupMationToEditById
* @Description: 编辑小程序分组信息时进行回显
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
public
void
queryRmGroupMationToEditById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
Map
<
String
,
Object
>
bean
=
rmGroupDao
.
queryRmGroupMationToEditById
(
map
);
outputObject
.
setBean
(
bean
);
outputObject
.
settotal
(
1
);
}
/**
*
* @Title: editRmGroupMationById
* @Description: 编辑小程序分组信息
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
public
void
editRmGroupMationById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
Map
<
String
,
Object
>
bean
=
rmGroupDao
.
queryRmGroupMationByIdAndName
(
map
);
if
(
bean
==
null
){
rmGroupDao
.
editRmGroupMationById
(
map
);
}
else
{
outputObject
.
setreturnMessage
(
"该分组名称已存在,请更换。"
);
}
}
/**
*
* @Title: editRmGroupSortTopById
* @Description: 小程序分组展示顺序上移
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
public
void
editRmGroupSortTopById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
Map
<
String
,
Object
>
topBean
=
rmGroupDao
.
queryRmGroupISTopByThisId
(
map
);
//根据排序获取这条数据的上一条数据
if
(
topBean
==
null
){
outputObject
.
setreturnMessage
(
"已经是最靠前分组,无法移动。"
);
}
else
{
map
.
put
(
"sort"
,
topBean
.
get
(
"sort"
));
topBean
.
put
(
"sort"
,
topBean
.
get
(
"thisSort"
));
rmGroupDao
.
editRmGroupSortTopById
(
map
);
rmGroupDao
.
editRmGroupSortTopById
(
topBean
);
}
}
/**
*
* @Title: editRmGroupSortLowerById
* @Description: 小程序分组展示顺序下移
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
public
void
editRmGroupSortLowerById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
Map
<
String
,
Object
>
topBean
=
rmGroupDao
.
queryRmGroupISLowerByThisId
(
map
);
//根据排序获取这条数据的下一条数据
if
(
topBean
==
null
){
outputObject
.
setreturnMessage
(
"已经是最靠后分组,无法移动。"
);
}
else
{
map
.
put
(
"sort"
,
topBean
.
get
(
"sort"
));
topBean
.
put
(
"sort"
,
topBean
.
get
(
"thisSort"
));
rmGroupDao
.
editRmGroupSortTopById
(
map
);
rmGroupDao
.
editRmGroupSortTopById
(
topBean
);
}
}
}
skyeye-web/src/main/java/com/skyeye/smprogram/controller/RmGroupController.java
0 → 100644
浏览文件 @
b91bb100
package
com.skyeye.smprogram.controller
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
com.skyeye.common.object.InputObject
;
import
com.skyeye.common.object.OutputObject
;
import
com.skyeye.smprogram.service.RmGroupService
;
@Controller
public
class
RmGroupController
{
@Autowired
private
RmGroupService
rmGroupService
;
/**
*
* @Title: queryRmGroupList
* @Description: 获取小程序分组列表
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping
(
"/post/RmGroupController/queryRmGroupList"
)
@ResponseBody
public
void
queryRmGroupList
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
rmGroupService
.
queryRmGroupList
(
inputObject
,
outputObject
);
}
/**
*
* @Title: insertRmGroupMation
* @Description: 添加小程序分组
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping
(
"/post/RmGroupController/insertRmGroupMation"
)
@ResponseBody
public
void
insertRmGroupMation
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
rmGroupService
.
insertRmGroupMation
(
inputObject
,
outputObject
);
}
/**
*
* @Title: deleteRmGroupById
* @Description: 删除小程序分组信息
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping
(
"/post/RmGroupController/deleteRmGroupById"
)
@ResponseBody
public
void
deleteRmGroupById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
rmGroupService
.
deleteRmGroupById
(
inputObject
,
outputObject
);
}
/**
*
* @Title: queryRmGroupMationToEditById
* @Description: 编辑小程序分组信息时进行回显
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping
(
"/post/RmGroupController/queryRmGroupMationToEditById"
)
@ResponseBody
public
void
queryRmGroupMationToEditById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
rmGroupService
.
queryRmGroupMationToEditById
(
inputObject
,
outputObject
);
}
/**
*
* @Title: editRmGroupMationById
* @Description: 编辑小程序分组信息
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping
(
"/post/RmGroupController/editRmGroupMationById"
)
@ResponseBody
public
void
editRmGroupMationById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
rmGroupService
.
editRmGroupMationById
(
inputObject
,
outputObject
);
}
/**
*
* @Title: editRmGroupSortTopById
* @Description: 小程序分组展示顺序上移
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping
(
"/post/RmGroupController/editRmGroupSortTopById"
)
@ResponseBody
public
void
editRmGroupSortTopById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
rmGroupService
.
editRmGroupSortTopById
(
inputObject
,
outputObject
);
}
/**
*
* @Title: editRmGroupSortLowerById
* @Description: 小程序分组展示顺序下移
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping
(
"/post/RmGroupController/editRmGroupSortLowerById"
)
@ResponseBody
public
void
editRmGroupSortLowerById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
rmGroupService
.
editRmGroupSortLowerById
(
inputObject
,
outputObject
);
}
}
skyeye-web/src/main/resources/dbmapper/RmGroupMapper.xml
0 → 100644
浏览文件 @
b91bb100
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper
namespace=
"com.skyeye.smprogram.dao.RmGroupDao"
>
<select
id=
"queryRmGroupList"
parameterType=
"java.util.Map"
resultType=
"java.util.Map"
>
SELECT
a.id,
a.name rmGroupName,
a.icon icon,
(SELECT COUNT(*) FROM rm_group_member b WHERE b.sm_group_id = a.id) groupMemberNum,
CONVERT(a.create_time, char) createTime,
(SELECT c.name FROM rm_type c WHERE c.id = a.rm_type_id) typeName
FROM
rm_group a
WHERE 1 = 1
<if
test=
"rmGroupName != '' and rmGroupName != null"
>
AND a.name LIKE '%${rmGroupName}%'
</if>
<if
test=
"rmTypeId != '' and rmTypeId != null"
>
AND a.rm_type_id = #{rmTypeId}
</if>
ORDER BY a.sort DESC, a.create_time DESC
</select>
<select
id=
"queryRmGroupByName"
parameterType=
"java.util.Map"
resultType=
"java.util.Map"
>
SELECT
a.id,
a.name rmGroupName
FROM
rm_group a
WHERE a.name = #{rmGroupName}
</select>
<select
id=
"queryRmGroupISTop"
parameterType=
"java.util.Map"
resultType=
"java.util.Map"
>
SELECT
a.id,
a.name rmGroupName,
a.sort
FROM
rm_group a
ORDER BY a.sort DESC LIMIT 1
</select>
<insert
id=
"insertRmGroupMation"
parameterType=
"java.util.Map"
>
INSERT into rm_group
(id, name, create_id, create_time, sort, icon, rm_type_id)
VALUES
(#{id}, #{rmGroupName}, #{createId}, #{createTime}, #{sort}, #{icon}, #{rmTypeId})
</insert>
<select
id=
"queryRmGroupMemberNumById"
parameterType=
"java.util.Map"
resultType=
"java.util.Map"
>
SELECT
COUNT(*) groupMemberNum
FROM
rm_group_member b
WHERE b.sm_group_id = #{id}
</select>
<delete
id=
"deleteRmGroupById"
parameterType=
"java.util.Map"
>
DELETE
FROM
rm_group
WHERE
id = #{id}
</delete>
<select
id=
"queryRmGroupMationToEditById"
parameterType=
"java.util.Map"
resultType=
"java.util.Map"
>
SELECT
a.id,
a.name rmGroupName,
a.icon icon,
a.rm_type_id rmTypeId
FROM
rm_group a
WHERE a.id = #{id}
</select>
<select
id=
"queryRmGroupMationByIdAndName"
parameterType=
"java.util.Map"
resultType=
"java.util.Map"
>
SELECT
a.id,
a.name rmGroupName
FROM
rm_group a
WHERE a.id != #{id}
AND a.name = #{rmGroupName}
</select>
<update
id=
"editRmGroupMationById"
parameterType=
"java.util.Map"
>
UPDATE rm_group
<set>
<if
test=
"rmGroupName != '' and rmGroupName != null"
>
name = #{rmGroupName},
</if>
<if
test=
"icon != '' and icon != null"
>
icon = #{icon},
</if>
<if
test=
"rmTypeId != '' and rmTypeId != null"
>
rm_type_id = #{rmTypeId},
</if>
</set>
WHERE id = #{id}
</update>
<select
id=
"queryRmGroupISTopByThisId"
parameterType=
"java.util.Map"
resultType=
"java.util.Map"
>
SELECT
a.id,
a.name rmGroupName,
a.sort,
b.sort thisSort
FROM
rm_group a,
rm_group b
WHERE a.sort > b.sort
AND b.id = #{id}
ORDER BY a.sort ASC LIMIT 1
</select>
<update
id=
"editRmGroupSortTopById"
parameterType=
"java.util.Map"
>
UPDATE rm_group
<set>
<if
test=
"sort != '' and sort != null"
>
sort = #{sort},
</if>
</set>
WHERE id = #{id}
</update>
<select
id=
"queryRmGroupISLowerByThisId"
parameterType=
"java.util.Map"
resultType=
"java.util.Map"
>
SELECT
a.id,
a.name rmGroupName,
a.sort,
b.sort thisSort
FROM
rm_group a,
rm_group b
WHERE a.sort
<
b.sort
AND b.id = #{id}
ORDER BY a.sort DESC LIMIT 1
</select>
</mapper>
\ No newline at end of file
skyeye-web/src/main/resources/mapping/reqmapping.xml
浏览文件 @
b91bb100
...
...
@@ -178,6 +178,35 @@
<url
id=
"rmxcx007"
path=
"/post/RmTypeController/editRmTypeSortLowerById"
val=
"小程序分类展示顺序下移"
allUse=
"1"
>
<property
id=
"rowId"
name=
"id"
ref=
"required"
var=
"小程序分类id"
/>
</url>
<url
id=
"rmxcx008"
path=
"/post/RmGroupController/queryRmGroupList"
val=
"获取小程序分组列表"
allUse=
"1"
>
<property
id=
"limit"
name=
"limit"
ref=
"required"
var=
"分页参数,每页多少条数据"
/>
<property
id=
"page"
name=
"page"
ref=
"required"
var=
"分页参数,第几页"
/>
<property
id=
"rmGroupName"
name=
"rmGroupName"
ref=
""
var=
"小程序分组名称"
/>
<property
id=
"rmTypeId"
name=
"rmTypeId"
ref=
""
var=
"小程序分类id"
/>
</url>
<url
id=
"rmxcx009"
path=
"/post/RmGroupController/insertRmGroupMation"
val=
"添加小程序分组"
allUse=
"1"
>
<property
id=
"icon"
name=
"icon"
ref=
"required"
var=
"小程序分组icon"
/>
<property
id=
"rmGroupName"
name=
"rmGroupName"
ref=
"required"
var=
"小程序分组名称"
/>
<property
id=
"rmTypeId"
name=
"rmTypeId"
ref=
"required"
var=
"小程序分类id"
/>
</url>
<url
id=
"rmxcx010"
path=
"/post/RmGroupController/deleteRmGroupById"
val=
"删除小程序分组信息"
allUse=
"1"
>
<property
id=
"rowId"
name=
"id"
ref=
"required"
var=
"小程序分组id"
/>
</url>
<url
id=
"rmxcx011"
path=
"/post/RmGroupController/queryRmGroupMationToEditById"
val=
"编辑小程序分组信息时进行回显"
allUse=
"1"
>
<property
id=
"rowId"
name=
"id"
ref=
"required"
var=
"小程序分组id"
/>
</url>
<url
id=
"rmxcx012"
path=
"/post/RmGroupController/editRmGroupMationById"
val=
"编辑小程序分组"
allUse=
"1"
>
<property
id=
"icon"
name=
"icon"
ref=
"required"
var=
"小程序分组icon"
/>
<property
id=
"rmGroupName"
name=
"rmGroupName"
ref=
"required"
var=
"小程序分组名称"
/>
<property
id=
"rmTypeId"
name=
"rmTypeId"
ref=
"required"
var=
"小程序分类id"
/>
<property
id=
"rowId"
name=
"id"
ref=
"required"
var=
"小程序分组id"
/>
</url>
<url
id=
"rmxcx013"
path=
"/post/RmGroupController/editRmGroupSortTopById"
val=
"小程序分组展示顺序上移"
allUse=
"1"
>
<property
id=
"rowId"
name=
"id"
ref=
"required"
var=
"小程序分组id"
/>
</url>
<url
id=
"rmxcx014"
path=
"/post/RmGroupController/editRmGroupSortLowerById"
val=
"小程序分组展示顺序下移"
allUse=
"1"
>
<property
id=
"rowId"
name=
"id"
ref=
"required"
var=
"小程序分组id"
/>
</url>
<!-- 小程序系列结束 -->
...
...
skyeye-web/src/main/webapp/js/rmgroup/rmgroupadd.js
0 → 100644
浏览文件 @
b91bb100
var
childIcon
=
""
;
//分组ICON
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
define
([
'
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
:
reqBasePath
+
"
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
.
render
();
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
:
reqBasePath
+
"
rmxcx009
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}
else
{
top
.
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
return
false
;
});
}
});
//菜单图标选中事件
$
(
"
body
"
).
on
(
"
focus
"
,
"
#rmGroupIcon
"
,
function
(
e
){
_openNewWindows
({
url
:
"
../../tpl/sysevemenu/icon.html
"
,
title
:
"
选择ICON图标
"
,
pageId
:
"
icon
"
,
area
:
[
'
640px
'
,
'
360px
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
$
(
"
#rmGroupIcon
"
).
val
(
childIcon
);
}
else
if
(
refreshCode
==
'
-9999
'
)
{
top
.
winui
.
window
.
msg
(
"
操作失败
"
,
{
icon
:
2
,
time
:
2000
});
}
}});
});
//取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
skyeye-web/src/main/webapp/js/rmgroup/rmgroupedit.js
0 → 100644
浏览文件 @
b91bb100
var
childIcon
=
""
;
//分组ICON
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
define
([
'
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
:
reqBasePath
+
"
rmxcx011
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/rmgroup/rmgroupeditTemplate.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
json
){
showGrid
({
id
:
"
rmTypeId
"
,
url
:
reqBasePath
+
"
common001
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
json1
){
$
(
"
#rmTypeId
"
).
val
(
json
.
bean
.
rmTypeId
);
//搜索表单
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
:
reqBasePath
+
"
rmxcx012
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}
else
{
top
.
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
return
false
;
});
}
});
}
});
//菜单图标选中事件
$
(
"
body
"
).
on
(
"
focus
"
,
"
#rmGroupIcon
"
,
function
(
e
){
_openNewWindows
({
url
:
"
../../tpl/sysevemenu/icon.html
"
,
title
:
"
选择ICON图标
"
,
pageId
:
"
icon
"
,
area
:
[
'
640px
'
,
'
360px
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
$
(
"
#rmGroupIcon
"
).
val
(
childIcon
);
}
else
if
(
refreshCode
==
'
-9999
'
)
{
top
.
winui
.
window
.
msg
(
"
操作失败
"
,
{
icon
:
2
,
time
:
2000
});
}
}});
});
//取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
skyeye-web/src/main/webapp/js/rmgroup/rmgrouplist.js
0 → 100644
浏览文件 @
b91bb100
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
define
([
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
showGrid
({
id
:
"
rmTypeId
"
,
url
:
reqBasePath
+
"
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
))
{
loadTable
();
}
return
false
;
});
}
});
//表格渲染
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
reqBasePath
+
'
rmxcx008
'
,
where
:{
rmGroupName
:
$
(
"
#rmGroupName
"
).
val
(),
rmTypeId
:
$
(
"
#rmTypeId
"
).
val
()},
even
:
true
,
//隔行变色
page
:
true
,
limits
:
[
8
,
16
,
24
,
32
,
40
,
48
,
56
],
limit
:
8
,
cols
:
[[
{
title
:
'
序号
'
,
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
:
'
创建时间
'
,
width
:
180
},
{
title
:
'
操作
'
,
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
240
,
toolbar
:
'
#tableBar
'
}
]]
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
//注:tool是工具条事件名,test是table原始容器的属性 lay-filter="对应的值"
var
data
=
obj
.
data
;
//获得当前行数据
var
layEvent
=
obj
.
event
;
//获得 lay-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
:
reqBasePath
+
"
rmxcx010
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
top
.
winui
.
window
.
msg
(
"
删除成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}
else
{
top
.
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
});
}
//上移
function
topOne
(
data
){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
rmxcx013
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
top
.
winui
.
window
.
msg
(
"
上移成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}
else
{
top
.
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
//下移
function
lowerOne
(
data
){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
rmxcx014
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
top
.
winui
.
window
.
msg
(
"
下移成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}
else
{
top
.
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
//编辑分类
function
edit
(
data
){
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/rmgroup/rmgroupedit.html
"
,
title
:
"
编辑分组
"
,
pageId
:
"
rmgroupedit
"
,
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
top
.
winui
.
window
.
msg
(
"
操作成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}
else
if
(
refreshCode
==
'
-9999
'
)
{
top
.
winui
.
window
.
msg
(
"
操作失败
"
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
//刷新数据
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
(){
loadTable
();
});
//新增分类
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
(){
_openNewWindows
({
url
:
"
../../tpl/rmgroup/rmgroupadd.html
"
,
title
:
"
新增分组
"
,
pageId
:
"
rmgroupadd
"
,
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
top
.
winui
.
window
.
msg
(
"
操作成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}
else
if
(
refreshCode
==
'
-9999
'
)
{
top
.
winui
.
window
.
msg
(
"
操作失败
"
,
{
icon
:
2
,
time
:
2000
});
}
}});
});
function
loadTable
(){
table
.
reload
(
"
messageTable
"
,
{
where
:{
rmGroupName
:
$
(
"
#rmGroupName
"
).
val
(),
rmTypeId
:
$
(
"
#rmTypeId
"
).
val
()}});
}
exports
(
'
rmgrouplist
'
,
{});
});
skyeye-web/src/main/webapp/tpl/rmgroup/rmgroupadd.html
0 → 100644
浏览文件 @
b91bb100
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/font-awesome-4.7.0/css/font-awesome.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/layui/lay/modules/ztree/css/zTreeStyle/zTreeStyle.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/layui/lay/modules/contextMenu/jquery.contextMenu.min.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"width:600px;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"
>
分类
<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"
>
取消
</button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formAddBean"
>
保存
</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
skyeye-web/src/main/webapp/tpl/rmgroup/rmgroupedit.html
0 → 100644
浏览文件 @
b91bb100
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/font-awesome-4.7.0/css/font-awesome.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/layui/lay/modules/ztree/css/zTreeStyle/zTreeStyle.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/layui/lay/modules/contextMenu/jquery.contextMenu.min.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"width:600px;margin:0 auto;padding-top: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
skyeye-web/src/main/webapp/tpl/rmgroup/rmgroupeditTemplate.tpl
0 → 100644
浏览文件 @
b91bb100
{{
#
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"
>
取消
</button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formEditBean"
>
保存
</button>
</div>
</div>
{
{/
bean
}
}
\ No newline at end of file
skyeye-web/src/main/webapp/tpl/rmgroup/rmgrouplist.html
0 → 100644
浏览文件 @
b91bb100
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/font-awesome-4.7.0/css/font-awesome.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
class=
"txtcenter"
style=
"width:700px;margin:0 auto;padding-top:20px;"
>
<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>
</div>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
分组名称
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"rmGroupName"
name=
"rmGroupName"
placeholder=
"请输入分组名称"
class=
"layui-input"
/>
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
<div
class=
"layui-input-block"
style=
"margin:0;"
>
<button
class=
"layui-btn"
lay-submit
lay-filter=
"formSearch"
>
搜索
</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>
刷新数据
</button>
<button
id=
"addBean"
class=
"winui-toolbtn"
><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"
>
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
top
"
>
上移
<
/a
>
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
lower
"
>
下移
<
/a
>
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
>
编辑
<
/a
>
{{
#
if
(
d
.
groupMemberNum
==
0
){
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
del
"
>
删除
<
/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
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录