Commit 0b40ac6b by 李长胜

加员工列表和省略

1 parent 40e395ee
...@@ -94,37 +94,49 @@ ...@@ -94,37 +94,49 @@
} }
.merchant-right > div:first-child { .merchant-right > div:first-child {
position: relative; /* position: relative;
height: 40px; height: 40px;
line-height: 40px; line-height: 40px; */
display: flex;
align-items: flex-start;
justify-content: space-between;
} }
.layui-form-label { .layui-form-label {
width: 130px !important; width: 130px !important;
} }
.merchant-right .companyName { .merchant-right .companyName {
display: inline-block; display: inline-block;
width: 300px; max-width: 300px;
height: 36px; height: 36px;
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
line-height: 22px; /* line-height: 22px; */
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
word-break: break-all; word-break: break-all;
} }
.merchant-right .emloyeeListText{
display: inline-block;
height: 36px;
font-size: 16px;
font-weight: 500;
color: #333333;
/* line-height: 22px; */
}
.merchant-right .layui-btn { .merchant-right .layui-btn {
position: absolute; /* position: absolute;
right: 0px; right: 0px; */
margin-left: 20px;
} }
.merchant-right .layui-input-inline { /* .merchant-right .layui-input-inline {
position: absolute; position: absolute;
right: 70px; right: 70px;
} } */
.updateRecord { .updateRecord {
text-align: left; text-align: left;
...@@ -472,12 +484,18 @@ ...@@ -472,12 +484,18 @@
</div> </div>
<div class="merchant-right"> <div class="merchant-right">
<div> <div>
<div style="display: flex">
<span id="companyName" class="companyName"></span> <span id="companyName" class="companyName"></span>
<span class="emloyeeListText">员工列表</span>
</div>
<div>
<div class="layui-input-inline"> <div class="layui-input-inline">
<input class="layui-input" placeholder="请输入员工姓名/手机号" id="tableSearchForm" /> <input class="layui-input" placeholder="请输入员工姓名/手机号" id="tableSearchForm" />
</div> </div>
<button class="layui-btn" id="tableSearch">查询</button> <button class="layui-btn" id="tableSearch">查询</button>
</div> </div>
</div>
<table id="subMerchantTable" lay-filter="subMerchantTool"></table> <table id="subMerchantTable" lay-filter="subMerchantTool"></table>
</div> </div>
</div> </div>
...@@ -714,6 +732,7 @@ ...@@ -714,6 +732,7 @@
$('#numberOfSubMerchants').text(data.numberOfSubMerchants) $('#numberOfSubMerchants').text(data.numberOfSubMerchants)
$('#numberOfStores').text(data.numberOfStores) $('#numberOfStores').text(data.numberOfStores)
$('#companyName').html(data.merchantName) $('#companyName').html(data.merchantName)
$('#companyName').attr('title', data.merchantName)
} }
) )
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!