Commit f7ae0b73 by 胡悦

合并冲突

2 parents 8fde78b2 e9318ce0
...@@ -10,12 +10,16 @@ ...@@ -10,12 +10,16 @@
<meta name="keywords" itemprop="keywords" content="广联,帐户管理,员工管理" /> <meta name="keywords" itemprop="keywords" content="广联,帐户管理,员工管理" />
<link rel="stylesheet" type="text/css" href="/css/main.css" /> <link rel="stylesheet" type="text/css" href="/css/main.css" />
<style> <style>
/* /*
.merchant .layui-table-view { .merchant .layui-table-view {
margin: -5px 20px; overflow-x: auto;
} */
/* .merchant .layui-table-box{
min-width: 1512px;
} */ } */
.merchant .layui-table { .merchant .layui-table {
margin: 0; margin: 0;
width: 100%;
} }
.merchant #searchForm .layui-inline { .merchant #searchForm .layui-inline {
...@@ -330,7 +334,34 @@ ...@@ -330,7 +334,34 @@
elem: '#merchantTable', elem: '#merchantTable',
page: false, page: false,
skin: 'nob', skin: 'nob',
cols: gl ? [cols] : [colums] cols: gl ? [cols] : [colums],
done: function () {
$("[data-field='lowerHairPath']").css('display', 'none');
$(".layui-table-main tr").each(function (index, val) {
$($(".layui-table-fixed-l .layui-table-body tbody tr")[index]).height($(val).height());
$($(".layui-table-fixed-r .layui-table-body tbody tr")[index]).height($(val).height());
});
//动态监听表头高度变化,冻结行跟着改变高度
$(".layui-table-header tr").resize(function () {
$(".layui-table-header tr").each(function (index, val) {
$($(".layui-table-fixed .layui-table-header table tr")[index]).height($(val).height());
});
});
//初始化高度,使得冻结行表头高度一致
$(".layui-table-header tr").each(function (index, val) {
$($(".layui-table-fixed .layui-table-header table tr")[index]).height($(val).height());
});
//动态监听表体高度变化,冻结行跟着改变高度
$(".layui-table-body tr").resize(function () {
$(".layui-table-body tr").each(function (index, val) {
$($(".layui-table-fixed .layui-table-body table tr")[index]).height($(val).height());
});
});
//初始化高度,使得冻结行表体高度一致
$(".layui-table-body tr").each(function (index, val) {
$($(".layui-table-fixed .layui-table-body table tr")[index]).height($(val).height());
});
}
}) })
table.on('tool(merchant-table-filter)', function (obj) { table.on('tool(merchant-table-filter)', function (obj) {
...@@ -344,7 +375,7 @@ ...@@ -344,7 +375,7 @@
merchantId: row.id merchantId: row.id
}) })
break break
// 修改 // 修改
case 'handleEdit': case 'handleEdit':
// editLevel - 1-创建新商户;2-创建子商户;3-修改 // editLevel - 1-创建新商户;2-创建子商户;3-修改
// step - 1-基本信息;2-权限树 // step - 1-基本信息;2-权限树
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!