|
|
@@ -181,7 +181,7 @@
|
|
181
|
181
|
</td>
|
|
182
|
182
|
</tr>
|
|
183
|
183
|
|
|
184
|
|
- <tr>
|
|
|
184
|
+ <!--<tr>
|
|
185
|
185
|
<th>生日:</th>
|
|
186
|
186
|
<td>
|
|
187
|
187
|
<i class="fa fa-calendar tub"></i>
|
|
|
@@ -223,7 +223,7 @@
|
|
223
|
223
|
</div>
|
|
224
|
224
|
|
|
225
|
225
|
</td>
|
|
226
|
|
- </tr>
|
|
|
226
|
+ </tr>-->
|
|
227
|
227
|
<tr>
|
|
228
|
228
|
<th>手机号码:</th>
|
|
229
|
229
|
<td>
|
|
|
@@ -245,19 +245,22 @@
|
|
245
|
245
|
<tr>
|
|
246
|
246
|
<th>单位:</th>
|
|
247
|
247
|
<td>
|
|
248
|
|
- <select name="" id="Company"></select>
|
|
|
248
|
+ <!--<select name="" ></select>-->
|
|
|
249
|
+ <input type="text" id="Company" placeholder="请输入单位名称"/>
|
|
249
|
250
|
</td>
|
|
250
|
251
|
</tr>
|
|
251
|
252
|
<tr>
|
|
252
|
253
|
<th>部门:</th>
|
|
253
|
254
|
<td>
|
|
254
|
|
- <select name="" id="Department"></select>
|
|
|
255
|
+ <!--<select name="" ></select>-->
|
|
|
256
|
+ <input type="text" id="Department" placeholder="请输入部门名称"/>
|
|
255
|
257
|
</td>
|
|
256
|
258
|
</tr>
|
|
257
|
259
|
<tr>
|
|
258
|
260
|
<th>职务:</th>
|
|
259
|
261
|
<td>
|
|
260
|
|
- <select name="" id="Position"></select>
|
|
|
262
|
+ <!--<select name="" id="Position"></select>-->
|
|
|
263
|
+ <input type="text" id="Position" placeholder="请输入职务名称"/>
|
|
261
|
264
|
</td>
|
|
262
|
265
|
</tr>
|
|
263
|
266
|
<tr>
|
|
|
@@ -305,24 +308,24 @@
|
|
305
|
308
|
,format: 'yyyy-MM-dd',
|
|
306
|
309
|
value: new Date()
|
|
307
|
310
|
});
|
|
308
|
|
- //单位 、部门、职位、
|
|
309
|
|
- ZT($('#Company'),39);
|
|
310
|
|
- ZT($('#Department'),40);
|
|
311
|
|
- ZT($('#Position'),41);
|
|
312
|
|
- function ZT(obj,id) {
|
|
313
|
|
- obj.empty();
|
|
314
|
|
- $.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListById", {
|
|
315
|
|
- "token": $.cookie("token"),
|
|
316
|
|
- id: id
|
|
317
|
|
- }, function(data) {
|
|
318
|
|
- if(data.state.toLowerCase() == "success") {
|
|
319
|
|
- var content = data.data;
|
|
320
|
|
- $(content).each(function(i, n) {
|
|
321
|
|
- $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
|
|
322
|
|
- })
|
|
323
|
|
- }
|
|
324
|
|
- })
|
|
325
|
|
- }
|
|
|
311
|
+// //单位 、部门、职位、
|
|
|
312
|
+// ZT($('#Company'),39);
|
|
|
313
|
+// ZT($('#Department'),40);
|
|
|
314
|
+// ZT($('#Position'),41);
|
|
|
315
|
+// function ZT(obj,id) {
|
|
|
316
|
+// obj.empty();
|
|
|
317
|
+// $.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListById", {
|
|
|
318
|
+// "token": $.cookie("token"),
|
|
|
319
|
+// id: id
|
|
|
320
|
+// }, function(data) {
|
|
|
321
|
+// if(data.state.toLowerCase() == "success") {
|
|
|
322
|
+// var content = data.data;
|
|
|
323
|
+// $(content).each(function(i, n) {
|
|
|
324
|
+// $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
|
|
|
325
|
+// })
|
|
|
326
|
+// }
|
|
|
327
|
+// })
|
|
|
328
|
+// }
|
|
326
|
329
|
$('.sureCun').click(function () {
|
|
327
|
330
|
if ($('.Name').val() == '') {
|
|
328
|
331
|
layer.confirm('请输入您的姓名!', {
|
|
|
@@ -344,17 +347,17 @@
|
|
344
|
347
|
token:$.cookie("token"),
|
|
345
|
348
|
F_Name:$('.Name').val(),
|
|
346
|
349
|
F_Sex:$("input[name='sex']:checked").val(),
|
|
347
|
|
- F_Birthday:$('#sendTime').val(),
|
|
348
|
|
- F_IDCard:$('.idCard').val(),
|
|
|
350
|
+// F_Birthday:$('#sendTime').val(),
|
|
|
351
|
+// F_IDCard:$('.idCard').val(),
|
|
349
|
352
|
F_Address:$('#address').val(),
|
|
350
|
|
- F_Education:$("input[name='learn']:checked").val(),
|
|
|
353
|
+// F_Education:$("input[name='learn']:checked").val(),
|
|
351
|
354
|
F_Email:$('.Email').val(),
|
|
352
|
355
|
F_Telephone:$('#dwPhone').val(),
|
|
353
|
356
|
F_Mobile:$('.sjPhone').val(),
|
|
354
|
357
|
F_ElseMobile:$('.elsePhone').val(),
|
|
355
|
|
- F_CompanyId:$('#Company').val(),
|
|
356
|
|
- F_DepartmentId:$('#Department').val(),
|
|
357
|
|
- F_PositionId:$('#Position').val(),
|
|
|
358
|
+ F_Company:$('#Company').val(),
|
|
|
359
|
+ F_Department:$('#Department').val(),
|
|
|
360
|
+ F_Position:$('#Position').val(),
|
|
358
|
361
|
F_Note:$('#remark').val()
|
|
359
|
362
|
},
|
|
360
|
363
|
success:function(data){
|