-
Notifications
You must be signed in to change notification settings - Fork 0
/
_backend_tables_user.html
168 lines (150 loc) · 8.47 KB
/
_backend_tables_user.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->
<title>大恒光伏鹰眼后台管理</title>
<!-- Bootstrap -->
<link href="lib/css/bootstrap.min.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!-- hack -->
<!--[if lt IE 9]>
<script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="./css/flat-ui.min.css">
<!-- 导入 自己的css -->
<link rel="stylesheet" type="text/css" href="css/base.css">
<!-- 导入 index.css -->
<link rel="stylesheet" type="text/css" href="./css/backend-common.css">
<link rel="stylesheet" tyoe="text/css" href="./css/backend-user.css">
<script src="./lib/js/jquery.min.js"></script>
<!-- <body > -->
</head>
<body>
<!-- backend -->
<div id="dh-backend-usr">
<!-- backend-usr-form start -->
<div id="backend-usr-form">
<div class="container">
<div class="panel panel-default">
<div class="panel-heading">人员管理</div>
<div class="panel-body">
<div class="panel-body">
<div class="wrap1 clearfix">
<div class="form1 pull-left">
<select class="dh-form-control">
<option>全部</option>
<option>工作人员</option>
<option>经销商</option>
</select>
</div>
<div class="form2 pull-left">
<input class="dh-form-control" type="text" placeholder="请输入搜索内容">
</div>
<div class="form3 pull-left">
<button type="button" class="btn btn-default">搜索</button>
</div>
<div class="form4 pull-left">
<button type="button" class="btn btn-default" id="user-addBTN" >添加</button>
</div>
</div>
<table class="table table-striped table-bordered table-hover ">
<thead>
<tr>
<th>序号</th>
<th>名字</th>
<th>联系方式</th>
<th>角色</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>林竹云</td>
<td>12676897579</td>
<td>工作人员</td>
<td>
<button type="button" class="btn btn-default btn-xs user-st-authBTN" date-id="林竹云">电站授权</button>
<button type="button" class="btn btn-default btn-xs user-func-authBTN" date-id="林竹云">功能授权</button>
<button type="button" class="btn btn-default btn-xs">重置密码</button>
<button type="button" class="btn btn-default btn-xs">删除</button>
</td>
</tr>
<tr>
<td>2</td>
<td>东方哲</td>
<td>12676897579</td>
<td>工作人员</td>
<td>
<button type="button" class="btn btn-default btn-xs user-st-authBTN" date-id="东方哲">电站授权</button>
<button type="button" class="btn btn-default btn-xs user-func-authBTN" date-id="东方哲">功能授权</button>
<button type="button" class="btn btn-default btn-xs">重置密码</button>
<button type="button" class="btn btn-default btn-xs">删除</button>
</td>
</tr>
<tr>
<td>3</td>
<td>余知微</td>
<td>12676897579</td>
<td>工作人员</td>
<td>
<button type="button" class="btn btn-default btn-xs user-st-authBTN" date-id="余知微">电站授权</button>
<button type="button" class="btn btn-default btn-xs user-func-authBTN" date-id="余知微">功能授权</button>
<button type="button" class="btn btn-default btn-xs">重置密码</button>
<button type="button" class="btn btn-default btn-xs">删除</button>
</td>
</tr>
<tr>
<td>4</td>
<td>徐如烟</td>
<td>12676897579</td>
<td>工作人员</td>
<td>
<button type="button" class="btn btn-default btn-xs user-st-authBTN" date-id="徐如烟">电站授权</button>
<button type="button" class="btn btn-default btn-xs user-func-authBTN" date-id="徐如烟">功能授权</button>
<button type="button" class="btn btn-default btn-xs">重置密码</button>
<button type="button" class="btn btn-default btn-xs">删除</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<!-- backend-usr-form end -->
<!-- Pagination start -->
<div>
</div>
<!-- Pagination end -->
</div>
</body>
</html>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="./lib/js/bootstrap.min.js"></script>
<script>
$(function () {
$('.user-st-authBTN').on('click', function (e) {
var button = $(e.currentTarget);
var id = button.attr('date-id');
window.parent.getIframeParameter(id);
window.parent.$("#user-st-auth").modal()
});
$('.user-func-authBTN').on('click', function (e) {
var button = $(e.currentTarget);
var id = button.attr('date-id');
window.parent.getIframeParameter(id);
window.parent.$("#user-func-auth").modal()
});
$('#user-addBTN').on('click', function (e) {
window.parent.$("#user-add").modal()
});
})
</script>