Commit 3d1330bf by 前端

Merge branch 'huy_dev_v2.1.0' into 'v2.1.0'

Huy dev v2.1.0

See merge request !12
2 parents 0da333b9 84e3c03d
......@@ -238,6 +238,10 @@
on: function (data) {
merchantId = data.change[0].id
findMenuFunTreeByMerId(merchantId)
for (var key in treeData) {
active.tabDelete('roleAuth', key)
treeData = {}
}
}
})
if (roleid) {
......
......@@ -263,8 +263,10 @@
</script>
<script type="text/html" id="roleBar">
<a class="layui-btn-xs" lay-event="detail">查看</a>
{{# if(!d.defalutRole){ }}
<a class="layui-btn-xs" lay-event="edit">修改</a>
{{# if(d.delFlag == 1){ }}
{{# } }}
{{# if(!d.defalutRole && d.delFlag == 1){ }}
<a class="layui-btn-xs" lay-event="del">删除</a>
{{# } }}
</script>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!