|
|
@@ -37,66 +37,61 @@
|
|
37
|
37
|
<fieldset>
|
|
38
|
38
|
<div class="row">
|
|
39
|
39
|
<section class="col col-4">
|
|
40
|
|
- <label class="label txt-bg-red">登录账号<span style="color: red;">*</span></label>
|
|
41
|
|
- <label class="input">
|
|
42
|
|
- <i class="icon-prepend fa fa-user"></i>
|
|
43
|
|
- <input type="text" name="username" ng-model="user.username"
|
|
44
|
|
- minlength="2" maxlength="20" required validUsername="true" />
|
|
45
|
|
- <b class="tooltip tooltip-bottom-right">2-20位字母、数字和下划线</b>
|
|
|
40
|
+ <label class="label">身份证号码<span style="color: red;">*</span></label>
|
|
|
41
|
+ <label class="input">
|
|
|
42
|
+ <!-- validCard=true validSfzhm="true"-->
|
|
|
43
|
+ <input type="text" ng-model="user.sfzhm" name="sfzhm" maxlength="18" ng-change="keyUpFunction(user.sfzhm)" required/>
|
|
46
|
44
|
</label>
|
|
47
|
45
|
</section>
|
|
48
|
46
|
<section class="col col-4">
|
|
49
|
|
- <label class="label">用户姓名<span style="color: red;">*</span></label>
|
|
50
|
|
- <label class="input">
|
|
|
47
|
+ <label class="label">用户姓名<span style="color: red;">*</span></label>
|
|
|
48
|
+ <label class="input">
|
|
51
|
49
|
<i class="icon-prepend fa fa-user"></i>
|
|
52
|
50
|
<input type="text" name="realName" ng-model="user.realName" maxlength="20" required>
|
|
53
|
51
|
</label>
|
|
54
|
52
|
</section>
|
|
55
|
53
|
<section class="col col-4">
|
|
56
|
|
- <label class="label">部门名称<span style="color: red;">*</span></label>
|
|
|
54
|
+ <label class="label txt-bg-red">登录账号<span style="color: red;">*</span></label>
|
|
57
|
55
|
<label class="input">
|
|
58
|
|
- <input id="verificationInput" type="text" ng-model="user.bmmc" name="bmmc" maxlength="100" required ng-blur="bmmcBlur()"/>
|
|
|
56
|
+ <i class="icon-prepend fa fa-user"></i>
|
|
|
57
|
+ <input type="text" name="username" ng-model="user.username"
|
|
|
58
|
+ minlength="2" maxlength="20" required validUsername="true" />
|
|
|
59
|
+ <b class="tooltip tooltip-bottom-right">2-20位字母、数字和下划线</b>
|
|
59
|
60
|
</label>
|
|
60
|
|
- <div style="color:#D56161;display:none;font-size:11px" id="verificationContainer">不能填写“无”、“暂无”、“空”</div>
|
|
61
|
61
|
</section>
|
|
62
|
62
|
</div>
|
|
63
|
63
|
<div class="row">
|
|
64
|
64
|
<section class="col col-4">
|
|
65
|
|
- <label class="label">身份证号码<span style="color: red;">*</span></label>
|
|
|
65
|
+ <label class="label">部门名称<span style="color: red;">*</span></label>
|
|
66
|
66
|
<label class="input">
|
|
67
|
|
- <input type="text" ng-model="user.sfzhm" name="sfzhm" maxlength="18" validSfzhm="true" required validCard=true/>
|
|
|
67
|
+ <input id="verificationInput" type="text" ng-model="user.bmmc" name="bmmc" maxlength="100" required ng-blur="bmmcBlur()"/>
|
|
68
|
68
|
</label>
|
|
|
69
|
+ <div style="color:#D56161;display:none;font-size:11px" id="verificationContainer">不能填写“无”、“暂无”、“空”</div>
|
|
69
|
70
|
</section>
|
|
70
|
71
|
<section class="col col-4">
|
|
71
|
|
- <label class="label">入职日期<span style="color: red;">*</span></label>
|
|
72
|
|
- <label class="input">
|
|
73
|
|
- <input type="text" ng-model="user.rzrq" name="rzrq" id="rzrq" class="form-control" onClick="WdatePicker({lang:'zh-cn'})"
|
|
74
|
|
- required ng-blur="rzrqChange()" />
|
|
75
|
|
- </label>
|
|
|
72
|
+ <label class="label">所属组织<span style="color: red;">*</span></label>
|
|
|
73
|
+ <multi-select-tree data-input-model="data2" data-default-label="请选择"
|
|
|
74
|
+ multi-select="false" data-output-model="user.orgId"
|
|
|
75
|
+ data-callback="selectOnly(item, selectedItems)">
|
|
|
76
|
+ </multi-select-tree>
|
|
76
|
77
|
</section>
|
|
77
|
78
|
<section class="col col-4">
|
|
78
|
|
- <label class="label">性别<span style="color: red;">*</span></label>
|
|
79
|
|
- <label class="select">
|
|
80
|
|
- <select ng-model="user.sex" name="sex" ng-options="enum.enumid as enum.enumname for enum in dicDataList[5287]"
|
|
81
|
|
- class="form-control" required>
|
|
82
|
|
- <option value="">--请选择--</option>
|
|
83
|
|
- </select>
|
|
84
|
|
- <i></i>
|
|
85
|
|
- </label>
|
|
|
79
|
+ <label class="label">库级角色(可多选)</label>
|
|
|
80
|
+ <multi-select-tree data-input-model="data4" data-default-label="请选择"
|
|
|
81
|
+ select-only-leafs="true"
|
|
|
82
|
+ multi-select="true" data-output-model="userRole.roleIds"
|
|
|
83
|
+ data-callback="selectOnly1Or2(item, selectedItems)">
|
|
|
84
|
+ </multi-select-tree>
|
|
86
|
85
|
</section>
|
|
87
|
86
|
</div>
|
|
88
|
87
|
<div class="row">
|
|
89
|
88
|
<section class="col col-4">
|
|
90
|
|
- <label class="label">岗位性质<span style="color: red;">*</span></label>
|
|
91
|
|
- <label class="select">
|
|
92
|
|
- <select ng-model="user.gwxz" name="gwxz" class="form-control" required>
|
|
93
|
|
- <option value="">--请选择--</option>
|
|
94
|
|
- <option value="11">在岗职工(长期)</option>
|
|
95
|
|
- <option value="12">在岗职工(临时)</option>
|
|
96
|
|
- <option value="20">其它从业人员</option>
|
|
97
|
|
- </select>
|
|
98
|
|
- <i></i>
|
|
99
|
|
- </label>
|
|
|
89
|
+ <label class="label">出入库角色(可多选)</label>
|
|
|
90
|
+ <multi-select-tree data-input-model="crkData4" data-default-label="请选择"
|
|
|
91
|
+ select-only-leafs="true"
|
|
|
92
|
+ multi-select="true" data-output-model="crkRole.crkRoleIds"
|
|
|
93
|
+ data-callback="selectOnly1Or2(item, selectedItems)">
|
|
|
94
|
+ </multi-select-tree>
|
|
100
|
95
|
</section>
|
|
101
|
96
|
<section class="col col-4">
|
|
102
|
97
|
<label class="label">在岗状态<span style="color: red;">*</span></label>
|
|
|
@@ -110,41 +105,15 @@
|
|
110
|
105
|
</label>
|
|
111
|
106
|
</section>
|
|
112
|
107
|
<section class="col col-4">
|
|
113
|
|
- <label class="label">所属组织<span style="color: red;">*</span></label>
|
|
114
|
|
- <multi-select-tree data-input-model="data2" data-default-label="请选择"
|
|
115
|
|
- multi-select="false" data-output-model="user.orgId"
|
|
116
|
|
- data-callback="selectOnly(item, selectedItems)">
|
|
117
|
|
- </multi-select-tree>
|
|
118
|
|
- </section>
|
|
119
|
|
- </div>
|
|
120
|
|
- <div class="row">
|
|
121
|
|
- <section class="col col-4">
|
|
122
|
|
- <label class="label">库级角色(可多选)</label>
|
|
123
|
|
- <multi-select-tree data-input-model="data4" data-default-label="请选择"
|
|
124
|
|
- select-only-leafs="true"
|
|
125
|
|
- multi-select="true" data-output-model="userRole.roleIds"
|
|
126
|
|
- data-callback="selectOnly1Or2(item, selectedItems)">
|
|
127
|
|
- </multi-select-tree>
|
|
128
|
|
- </section>
|
|
129
|
|
- <section class="col col-4">
|
|
130
|
|
- <label class="label">出入库角色(可多选)</label>
|
|
131
|
|
- <multi-select-tree data-input-model="crkData4" data-default-label="请选择"
|
|
132
|
|
- select-only-leafs="true"
|
|
133
|
|
- multi-select="true" data-output-model="crkRole.crkRoleIds"
|
|
134
|
|
- data-callback="selectOnly1Or2(item, selectedItems)">
|
|
135
|
|
- </multi-select-tree>
|
|
136
|
|
- </section>
|
|
137
|
|
- <section class="col col-4">
|
|
138
|
108
|
<label class="label">离职日期</label>
|
|
139
|
109
|
<label class="input">
|
|
140
|
|
- <input type="text" ng-model="user.lzrq" name="lzrq" class="form-control"
|
|
141
|
|
- onClick="WdatePicker({lang:'zh-cn',minDate:'#F{$dp.$D(\'rzrq\')}'})"/>
|
|
|
110
|
+ <input type="text" ng-model="user.lzrq" name="lzrq" class="form-control" onClick="WdatePicker({lang:'zh-cn'})"/>
|
|
142
|
111
|
</label>
|
|
143
|
112
|
</section>
|
|
144
|
113
|
</div>
|
|
145
|
114
|
<div class="row">
|
|
146
|
115
|
<section class="col col-4">
|
|
147
|
|
- <label class="label">固定电话</label>
|
|
|
116
|
+ <label class="label">固定电话</label>
|
|
148
|
117
|
<label class="input">
|
|
149
|
118
|
<i class="icon-prepend fa fa-phone"></i>
|
|
150
|
119
|
<input type="tel" ng-model="user.telphone" name="telphone" maxlength="30" validZjh=true />
|
|
|
@@ -152,154 +121,65 @@
|
|
152
|
121
|
</section>
|
|
153
|
122
|
<section class="col col-4">
|
|
154
|
123
|
<label class="label">手机号<span style="color: red;">*</span></label>
|
|
155
|
|
- <label class="input">
|
|
|
124
|
+ <label class="input">
|
|
156
|
125
|
<i class="icon-prepend fa fa-mobile-phone"></i>
|
|
157
|
126
|
<input type="text" ng-model="user.mobile" name="mobile" validSjh=true required />
|
|
158
|
127
|
</label>
|
|
159
|
128
|
</section>
|
|
160
|
129
|
<section class="col col-4">
|
|
161
|
|
- <label class="label">地址</label>
|
|
162
|
|
- <label class="input">
|
|
163
|
|
- <i class="icon-prepend fa fa-map-marker"></i>
|
|
|
130
|
+ <label class="label">地址</label>
|
|
|
131
|
+ <label class="input">
|
|
|
132
|
+ <i class="icon-prepend fa fa-map-marker"></i>
|
|
164
|
133
|
<input type="text" ng-model="user.address" name="address" maxlength="100" />
|
|
165
|
134
|
</label>
|
|
166
|
135
|
</section>
|
|
167
|
136
|
</div>
|
|
168
|
|
- <div class="row" id="userPwd">
|
|
169
|
|
- <section class="col col-6">
|
|
170
|
|
- <label class="label">密码<span style="color: red;">*</span></label>
|
|
171
|
|
- <label class="input">
|
|
172
|
|
- <i class="icon-prepend fa fa-key"></i>
|
|
173
|
|
- <input type="password" id="newPassword" name="newPassword"
|
|
174
|
|
- ng-model="user.password" minlength="12" maxlength="18" required validUsePwd="true" />
|
|
175
|
|
- </label>
|
|
176
|
|
- </section>
|
|
177
|
|
- <section class="col col-6">
|
|
178
|
|
- <label class="label">确认密码<span style="color: red;">*</span></label>
|
|
179
|
|
- <label class="input">
|
|
180
|
|
- <i class="icon-prepend fa fa-key"></i>
|
|
181
|
|
- <input type="password" name="newPassword1" ng-model="newPassword1"
|
|
182
|
|
- minlength="12" maxlength="18" required />
|
|
183
|
|
- </label>
|
|
184
|
|
- </section>
|
|
185
|
|
- </div>
|
|
186
|
137
|
<div class="row">
|
|
187
|
138
|
<section class="col col-4">
|
|
188
|
139
|
<label class="label">电子邮箱</label>
|
|
189
|
|
- <label class="input">
|
|
190
|
|
- <i class="icon-prepend fa fa-envelope-o"></i>
|
|
191
|
|
- <input type="input" ng-model="user.email" name="email" maxlength="60" validEmail=true />
|
|
192
|
|
- </label>
|
|
193
|
|
- </section>
|
|
194
|
|
- <section class="col col-4">
|
|
195
|
|
- <label class="label">民族<span style="color: red;">*</span></label>
|
|
196
|
|
- <label class="select">
|
|
197
|
|
- <select ng-model="user.mz" name="mz" ng-options="enum.enumid as enum.enumname for enum in dicDataList[7176]"
|
|
198
|
|
- class="form-control" required>
|
|
199
|
|
- <option value="">--请选择--</option>
|
|
200
|
|
- </select>
|
|
201
|
|
- <i></i>
|
|
202
|
|
- </label>
|
|
203
|
|
- </section>
|
|
204
|
|
- <section class="col col-4">
|
|
205
|
|
- <label class="label">政治面貌<span style="color: red;">*</span></label>
|
|
206
|
|
- <label class="select">
|
|
207
|
|
- <select ng-model="user.zzmm" name="zzmm" ng-options="enum.enumid as enum.enumname for enum in dicDataList[1043]"
|
|
208
|
|
- class="form-control" required>
|
|
209
|
|
- <option value="">--请选择--</option>
|
|
210
|
|
- </select>
|
|
211
|
|
- <i></i>
|
|
212
|
|
- </label>
|
|
213
|
|
- </section>
|
|
214
|
|
- </div>
|
|
215
|
|
- <div class="row">
|
|
216
|
|
- <section class="col col-4">
|
|
217
|
|
- <label class="label">人员类别<span style="color: red;">*</span></label>
|
|
218
|
|
- <label class="select">
|
|
219
|
|
- <select ng-model="user.rylb" name="rylb" ng-options="enum.enumid as enum.enumname for enum in dicDataList[6888]"
|
|
220
|
|
- class="form-control" required>
|
|
221
|
|
- <option value="">--请选择--</option>
|
|
222
|
|
- </select>
|
|
223
|
|
- <i></i>
|
|
224
|
|
- </label>
|
|
225
|
|
- </section>
|
|
226
|
|
- <section class="col col-4">
|
|
227
|
|
- <label class="label">全日制最高学历<span style="color: red;">*</span></label>
|
|
228
|
|
- <label class="select">
|
|
229
|
|
- <select ng-model="user.xl" name="xl" ng-options="enum.enumid as enum.enumname for enum in dicDataList[5294]"
|
|
230
|
|
- class="form-control" required>
|
|
231
|
|
- <option value="">--请选择--</option>
|
|
232
|
|
- </select>
|
|
233
|
|
- <i></i>
|
|
234
|
|
- </label>
|
|
235
|
|
- </section>
|
|
236
|
|
- <section class="col col-4">
|
|
237
|
|
- <label class="label">专业<span style="color: red;">*</span></label>
|
|
238
|
|
- <label class="input">
|
|
239
|
|
- <input type="text" ng-model="user.zy" name="zy" maxlength="30" required />
|
|
240
|
|
- </label>
|
|
241
|
|
- </section>
|
|
242
|
|
- </div>
|
|
243
|
|
- <div class="row">
|
|
244
|
|
- <section class="col col-4">
|
|
245
|
|
- <label class="label">岗位类别</label>
|
|
246
|
|
- <label class="select">
|
|
247
|
|
- <select ng-model="user.status" class="form-control">
|
|
248
|
|
- <option value="">--请选择--</option>
|
|
249
|
|
- <option value="1">后勤</option>
|
|
250
|
|
- <option value="2">业务</option>
|
|
251
|
|
- <option value="3">财务</option>
|
|
252
|
|
- <option value="4">统计</option>
|
|
253
|
|
- <option value="5">仓储</option>
|
|
254
|
|
- <option value="6">化验</option>
|
|
255
|
|
- <option value="7">管理</option>
|
|
256
|
|
- </select>
|
|
257
|
|
- <i></i>
|
|
258
|
|
- </label>
|
|
259
|
|
- </section>
|
|
260
|
|
- <section class="col col-4">
|
|
261
|
|
- <label class="label">职务(岗位)<span style="color: red;">*</span></label>
|
|
262
|
|
- <label class="input">
|
|
263
|
|
- <input type="text" ng-model="user.zw" name="zw" maxlength="30" required />
|
|
264
|
|
- <i></i>
|
|
265
|
|
- </label>
|
|
266
|
|
- </section>
|
|
267
|
|
- <section class="col col-4">
|
|
268
|
|
- <label class="label">最高职称<span style="color: red;">*</span></label>
|
|
269
|
140
|
<label class="input">
|
|
270
|
|
- <input type="text" ng-model="user.zc" name="zc" maxlength="30" required />
|
|
271
|
|
- <i></i>
|
|
272
|
|
- </label>
|
|
273
|
|
- </section>
|
|
274
|
|
- </div>
|
|
275
|
|
- <div class="row">
|
|
276
|
|
- <section class="col col-4">
|
|
277
|
|
- <label class="label">取得最高职称或职业资格时间</label>
|
|
278
|
|
- <label class="input">
|
|
279
|
|
- <input type="text" ng-model="user.qdzgzchzyzgsj" name="qdzgzchzyzgsj" class="form-control" onClick="WdatePicker({lang:'zh-cn'})" />
|
|
|
141
|
+ <i class="icon-prepend fa fa-envelope-o"></i>
|
|
|
142
|
+ <input type="input" ng-model="user.email" name="email" maxlength="60" validEmail=true />
|
|
280
|
143
|
</label>
|
|
281
|
144
|
</section>
|
|
282
|
145
|
<section class="col col-4">
|
|
283
|
|
- <label class="label">用户头像</label>
|
|
|
146
|
+ <label class="label">电子签名</label>
|
|
284
|
147
|
<div class="input input-file">
|
|
285
|
148
|
<span class="button">
|
|
286
|
149
|
<input type="file" nv-file-select="" uploader="uploader" accept="image/*">
|
|
287
|
150
|
浏览
|
|
288
|
|
- </span><input type="text" name="imgUrl" ng-model="user.imgUrl" placeholder="" readonly="">
|
|
289
|
|
- </div>
|
|
|
151
|
+ </span><input type="text" name="sigature" ng-model="user.sigature" placeholder="" readonly="">
|
|
|
152
|
+ </div>
|
|
290
|
153
|
</section>
|
|
291
|
154
|
<section class="col col-4">
|
|
292
|
|
- <label class="label">电子签名</label>
|
|
|
155
|
+ <label class="label">用户头像</label>
|
|
293
|
156
|
<div class="input input-file">
|
|
294
|
157
|
<span class="button">
|
|
295
|
158
|
<input type="file" nv-file-select="" uploader="uploader" accept="image/*">
|
|
296
|
159
|
浏览
|
|
297
|
|
- </span><input type="text" name="sigature" ng-model="user.sigature" placeholder="" readonly="">
|
|
298
|
|
- </div>
|
|
|
160
|
+ </span><input type="text" name="imgUrl" ng-model="user.imgUrl" placeholder="" readonly="">
|
|
|
161
|
+ </div>
|
|
|
162
|
+ </section>
|
|
|
163
|
+ </div>
|
|
|
164
|
+ <div class="row" id="userPwd">
|
|
|
165
|
+ <section class="col col-6">
|
|
|
166
|
+ <label class="label">密码<span style="color: red;">*</span></label>
|
|
|
167
|
+ <label class="input">
|
|
|
168
|
+ <i class="icon-prepend fa fa-key"></i>
|
|
|
169
|
+ <input type="password" id="newPassword" name="newPassword"
|
|
|
170
|
+ ng-model="user.password" minlength="12" maxlength="18" required validUsePwd="true" />
|
|
|
171
|
+ </label>
|
|
|
172
|
+ </section>
|
|
|
173
|
+ <section class="col col-6">
|
|
|
174
|
+ <label class="label">确认密码<span style="color: red;">*</span></label>
|
|
|
175
|
+ <label class="input">
|
|
|
176
|
+ <i class="icon-prepend fa fa-key"></i>
|
|
|
177
|
+ <input type="password" name="newPassword1" ng-model="newPassword1"
|
|
|
178
|
+ minlength="12" maxlength="18" required />
|
|
|
179
|
+ </label>
|
|
299
|
180
|
</section>
|
|
300
|
181
|
</div>
|
|
301
|
182
|
</fieldset>
|
|
302
|
|
-
|
|
303
|
183
|
<footer class="text-align-center">
|
|
304
|
184
|
<button type="button" class="btn btn-primary" ng-click="save()">提交</button>
|
|
305
|
185
|
<button type="button" class="btn btn-default" ng-click="back()">取消</button>
|