Commit 766daee6 by 胡悦

添加关闭

1 parent 58fa460e
...@@ -118,3 +118,6 @@ footer { ...@@ -118,3 +118,6 @@ footer {
.op1 { .op1 {
opacity: 1; opacity: 1;
} }
.footer-close {
text-align: center;
}
\ No newline at end of file \ No newline at end of file
...@@ -44,6 +44,9 @@ ...@@ -44,6 +44,9 @@
<h3 class="content-title">可见下级商户</h3> <h3 class="content-title">可见下级商户</h3>
<ul id="tree" class="ztree wrapper-tree"></ul> <ul id="tree" class="ztree wrapper-tree"></ul>
</div> </div>
<div class="footer-close">
<button type="button" class="layui-btn layui-btn-normal" id="return">关闭</button>
</div>
</main> </main>
</div> </div>
<script src="https://www.layuicdn.com/layui/layui.js"></script> <script src="https://www.layuicdn.com/layui/layui.js"></script>
...@@ -59,6 +62,11 @@ ...@@ -59,6 +62,11 @@
var basicArr = ['staffName', 'staffPhone', 'roleName', 'roleIds'] var basicArr = ['staffName', 'staffPhone', 'roleName', 'roleIds']
var employeeData = {} var employeeData = {}
getById() getById()
$('#return').on('click', function() {
window.history.back()
})
// 查询员工详情 // 查询员工详情
function getById() { function getById() {
var params = { id: id, method: 'cn.com.glsx.merchants.staff.staffSearchRequest' } var params = { id: id, method: 'cn.com.glsx.merchants.staff.staffSearchRequest' }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!