<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>用户管理</title>
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<script src="../../../admin/index.js" door type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			require('js/common.js')
		</script>
		<style type="text/css">
			.layui-table-cell {
				height: auto;
				overflow: visible;
				text-overflow: inherit;
				white-space: normal;
			}
		</style>
		<!--类型下拉模板-->
		<script type="text/html" id="typeHtmlTpl">
			<option value="">{{d.name}}</option>
        {{# if(!d.list){d.list = []}}} {{# for(var i=0;i
        <d.list.length;i++){}} <option value="{{d.list[i].id}}">{{d.list[i].name}}</option>
            {{#}}}
		</script>
		<!--操作模板-->
		<script type="text/html" id="operatingTool">
			{{# if(layui.data('auth').data.update){ }}
			<a class="layui-btn layui-btn-xs" lay-event="edit">修改</a>
			{{# }}}
			{{# if(layui.data('auth').data.delete){ }}
			<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
			{{# }}}
		</script>
		<script type="text/html" id="checkboxTpl">
			<!-- 这里的 checked 的状态只是演示 -->
        <input type="checkbox" name="status" id="{{d.userId}}" value="{{d.status}}" title="可用" lay-filter="statusDemo" {{ d.status == 0 ? 'checked' : '' }}>
		</script>
		<script type="text/html" id="toolbar">
			<div class="layui-btn-container">
			<button class="layui-btn add-btn" lay-event="add">新增</button>
	    </div>
		</script>
	</head>

	<body class="childrenBody">
		<div class="layui-fluid">
			<div class="layui-card">
				<div class="layui-tab layui-tab-brief" lay-filter="tabBrief">
					<ul class="layui-tab-title">
						<li class="layui-this">系统账号</li>
					</ul>
					<div class="layui-tab-content">
						<div class="layui-tab-item layui-show">
							<div class="layui-card-header layout-header">
								<form class="layui-form" action="" novalidate>
									<div class="layui-form-item">
										<div class="layui-inline">
											<i class="layui-icon search-icon">&#xe615;</i>
											<input type="text" name="name" placeholder="请输入账号" autocomplete="off" class="layui-input">
										</div>
										<div class="layui-inline">
											<button class="layui-btn" lay-submit lay-filter="userDataSearch">搜索</button>
										</div>
									</div>
								</form>
							</div>
							<div class="layui-card-body layout-body">
								<table id="userDataTable" lay-filter="userDataTable" class="layui-table" lay-even lay-skin="nob"></table>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<script src="index.js" type="text/javascript" charset="utf-8"></script>
	</body>

</html>
