Commit 602b2353 by 李长胜

修改样式部分

1 parent 857b2a15
......@@ -25,13 +25,13 @@
<script>
layui.use(['element', 'request','helper'], function () {
var element = layui.element
var user = helper.store.get('user')
element.init()
highlight()
bindEvents()
// var $ = layui.$
var helper = layui.helper
var user = helper.store.get('user')
console.log(user,"999")
document.getElementById('curMerchantName').innerHTML=user.merchantName || "";
})
function highlight() {
......
......@@ -90,15 +90,15 @@
[
//表头
{ field: '', title: '序号', type: 'numbers', width: 80, fixed: 'left' },
{ field: 'staffName', title: '员工姓名', width: 120 },
{ field: 'staffCode', title: '员工号' },
{ field: 'roleName', title: '角色' },
{ field: 'staffPhone', title: '登录手机号', width: 125 },
{ field: 'password', title: '登录密码' },
{ field: 'statusName', title: '状态' },
{ field: 'createdAccount', title: '创建者' },
{ field: 'merchantName', title: '商户名(商户号)', width: 160 },
{ field: 'createdTime', title: '更新时间', width: 160 },
{ field: 'staffName', title: '员工姓名', width: 120, align: 'center' },
{ field: 'staffCode', title: '员工号', align: 'center' },
{ field: 'roleName', title: '角色', align: 'center' },
{ field: 'staffPhone', title: '登录手机号', align: 'center', width: 125 },
{ field: 'password', title: '登录密码', align: 'center' },
{ field: 'statusName', title: '状态', align: 'center' },
{ field: 'createdAccount', title: '创建者', align: 'center' },
{ field: 'merchantName', title: '商户名(商户号)', align: 'center', width: 160 },
{ field: 'createdTime', title: '更新时间', align: 'center', width: 160 },
{ fixed: 'right', title: '操作', width: 276, align: 'center', toolbar: '#employeeBar' }
]
]
......
......@@ -116,7 +116,7 @@
<script type="text/html" id="merchantBtns">
<div>
<a class="layui-btn-xs" lay-event="handleDetail">查看</a>
{{# if((d.btn.edit)){ }}
{{# if((d.btn.edit)){ }} |
<a class="layui-btn-xs" lay-event="handleEdit">修改基本信息</a>
{{# } }}
</div>
......@@ -124,7 +124,7 @@
{{# if((d.btn.edit)){ }}
<a class="layui-btn-xs" lay-event="handleAuthority">修改权限</a>
{{# } }}
{{# if((d.btn.editPeriod)){ }}
{{# if((d.btn.editPeriod)){ }} |
<a class="layui-btn-xs" lay-event="handleVaildPeriod">修改账户有效期</a>
{{# } }}
</div>
......@@ -132,7 +132,7 @@
{{# if((d.btn.createStaff)){ }}
<a class="layui-btn-xs" lay-event="handleAddStaff">创建员工</a>
{{# } }}
{{# if((d.btn.createSubMerchant)){ }}
{{# if((d.btn.createSubMerchant)){ }} |
<a class="layui-btn-xs" lay-event="handleAddMerchant">创建子商户/门店</a>
{{# } }}
</div>
......
......@@ -63,11 +63,11 @@
[
//表头
{ field: '', title: '序号', type: 'numbers', width: 80 },
{ field: 'roleName', title: '角色名称' },
{ field: 'id', title: '角色号' },
{ field: 'merchantName', title: '所属商户名' },
{ field: 'statusName', title: '状态' },
{ field: 'createdTime', title: '更新时间' },
{ field: 'roleName', title: '角色名称', align: 'center' },
{ field: 'id', title: '角色号', align: 'center' },
{ field: 'merchantName', title: '所属商户名', align: 'center' },
{ field: 'statusName', title: '状态', align: 'center' },
{ field: 'createdTime', title: '更新时间', align: 'center' },
{ fixed: 'right', title: '操作', width: 160, align: 'center', toolbar: '#roleBar' }
]
]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!