-
Notifications
You must be signed in to change notification settings - Fork 0
/
wages.html
168 lines (159 loc) · 6.9 KB
/
wages.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="en">
<head>
<meta charset="UTF-8">
<title>工资</title>
<link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
<link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
<link href="css/style.min862f.css?v=4.1.0" rel="stylesheet">
<link rel="stylesheet" href="css/bootstrap-table.css">
<link rel="stylesheet" href="css/plugins/sweetalert/sweetalert2.css">
</head>
<style>
body{
margin: 10px 5px;
}
button{
margin-left: 2%;
}
</style>
<body>
<div id="toolbar">
<div class=" form-inline">
<a type="button" class="btn btn-outline btn-default" data-toggle="modal" id="add-a">
<i class="glyphicon glyphicon-plus" aria-hidden="true"></i>
</a>
<!-- <input type="text" class="form-control"placeholder="搜索" id="search-input">
<input type="button" value="搜索" class="btn btn-primary" id="searchButton"> -->
</div>
</div>
<table id="table">
</table>
<div id="addModal" class="modal fade " aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<div class="row">
<h3 class="m-t-none m-b">新建</h3>
<form id="addForm" role="form">
<div class="form-group">
<label>计资方式:</label>
<select id="type" name="type" class="form-control" required>
<option value="" selected="">请选择</option>
<option value="月计算">月计算</option>
<option value="日计算">日计算</option>
<option value="计件">计件</option>
</select>
</div>
<div class="form-group">
<label>工种选择:</label>
<select id="wtId" name="wtId" class="form-control" required>
</select>
</div>
<div class="form-group">
<label>单价:</label>
<input id="price" type="number" name="price" placeholder="请输入名称" class="form-control" required>
</div>
<div class="form-group">
<label>单位:</label>
<input id="unit" type="text" name="unit" placeholder="请输入名称" class="form-control" required>
</div>
<div>
<button class="btn btn-sm btn-primary pull-right m-t-n-xs" type="button" onclick="add()"><strong>提交</strong></button>
<button class="btn btn-sm btn-white pull-right m-t-n-xs" type="button" data-toggle="modal" data-target="#addModal" ><strong>取消</strong></button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<div id="updateModal" class="modal fade " aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<div class="row">
<h3 class="m-t-none m-b">修改</h3>
<form id="updateForm" role="form">
<div class="form-group">
<label>计资方式:</label>
<select id="newType" name="newType" class="form-control" required>
<option value="" selected="">请选择</option>
<option value="月计算">月计算</option>
<option value="日计算">日计算</option>
<option value="计件">计件</option>
</select>
</div>
<div class="form-group">
<label>工种选择:</label>
<select id="newWtId" name="newWtId" class="form-control" required>
</select>
</div>
<div class="form-group">
<label>单价:</label>
<input id="newPrice" type="number" name="newPrice" placeholder="请输入名称" class="form-control" required>
</div>
<div class="form-group">
<label>单位:</label>
<input id="newUnit" type="text" name="newUnit" placeholder="请输入名称" class="form-control" required>
</div>
<div>
<button class="btn btn-sm btn-primary pull-right m-t-n-xs" type="button" id="edit-save-button"><strong>提交</strong></button>
<button class="btn btn-sm btn-white pull-right m-t-n-xs" type="button" data-toggle="modal" data-target="#updateModal" ><strong>取消</strong></button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<!--删除模态框-->
<div id="delete-modal" class="modal fade " aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
aria-hidden="true">×</span></button>
<h4 class="modal-title">删除</h4>
</div>
<div class="modal-body">
<h3 class="text-center" id="delete-prompt"></h3>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
<button type="button" class="btn btn-primary" id="delete-confirm-button">确定</button>
</div>
</div>
</div>
</div>
<!--特征设置模态框-->
<div id="setFeature" class="modal fade " aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
aria-hidden="true">×</span></button>
<h4 class="modal-title">特征设置</h4>
</div>
<div class="modal-body" id="setFeatureCheck">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
<button type="button" class="btn btn-primary" id="setFeatureCheckButton">确定</button>
</div>
</div>
</div>
</div>
<script src="js/jquery.min.js?v=2.1.4"></script>
<script src="js/bootstrap.min.js?v=3.3.6"></script>
<script src="js/bootstrap-table.js"></script>
<script src="js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
<script src="js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
<script src="js/plugins/sweetalert/sweetalert2.js"></script>
<script src="js/plugins/validate/jquery.validate.min.js"></script>
<script src="js/plugins/validate/messages_zh.min.js"></script>
<script src="js/mes/public/publicURL.js"></script>
<script src="js/js/dataDict/wages.js"></script>
</body>
</html>