|
|
@@ -71,7 +71,35 @@
|
|
71
|
71
|
<span id="workremark" name="" rows="6" cols="" readonly="readonly"></span>
|
|
72
|
72
|
</td>
|
|
73
|
73
|
</tr>
|
|
74
|
|
- <tr>
|
|
|
74
|
+ <tr class="Importent">
|
|
|
75
|
+ <th>
|
|
|
76
|
+ 调查情况:
|
|
|
77
|
+ </th>
|
|
|
78
|
+ <td>
|
|
|
79
|
+ <select class="select_" id="issurvey">
|
|
|
80
|
+ <option value="1">属实</option>
|
|
|
81
|
+ <option value="2">部分属实</option>
|
|
|
82
|
+ <option value="2">不属实</option>
|
|
|
83
|
+ </select>
|
|
|
84
|
+ </td>
|
|
|
85
|
+ </tr>
|
|
|
86
|
+ <tr>
|
|
|
87
|
+ <th>
|
|
|
88
|
+ 调查情况说明:
|
|
|
89
|
+ </th>
|
|
|
90
|
+ <td colspan="5">
|
|
|
91
|
+ <textarea data-adaptheight id="survey" name="" rows="3" cols=""></textarea>
|
|
|
92
|
+ </td>
|
|
|
93
|
+ </tr>
|
|
|
94
|
+ <tr>
|
|
|
95
|
+ <th>
|
|
|
96
|
+ 办理依据:
|
|
|
97
|
+ </th>
|
|
|
98
|
+ <td colspan="5">
|
|
|
99
|
+ <textarea data-adaptheight id="accordingto" name="" rows="3" cols=""></textarea>
|
|
|
100
|
+ </td>
|
|
|
101
|
+ </tr>
|
|
|
102
|
+ <!--<tr>
|
|
75
|
103
|
<th class="Importent">是/否向当事人反馈:</th>
|
|
76
|
104
|
<td id="isProResultRadio" style="font-size: 12px">
|
|
77
|
105
|
<label style="margin-right: 10px">
|
|
|
@@ -81,7 +109,7 @@
|
|
81
|
109
|
<input type="radio" value="0" name="isDisposeResult" style="vertical-align: -2px" />否
|
|
82
|
110
|
</label>
|
|
83
|
111
|
</td>
|
|
84
|
|
- </tr>
|
|
|
112
|
+ </tr>-->
|
|
85
|
113
|
<tr class="dealWithRemark-wrapper">
|
|
86
|
114
|
<th>已办未果备注:</th>
|
|
87
|
115
|
<td colspan="5">
|
|
|
@@ -116,11 +144,14 @@
|
|
116
|
144
|
<input type="text" id="connectmode" />
|
|
117
|
145
|
</td>
|
|
118
|
146
|
</tr>
|
|
119
|
|
- <tr class="isstaisfied-wrapper">
|
|
120
|
|
- <th>是否满意:</th>
|
|
|
147
|
+ <tr class="Importent">
|
|
|
148
|
+ <th>回访情况:</th>
|
|
121
|
149
|
<td id="isStaisfiedRadio" style="font-size: 12px" colspan="5">
|
|
|
150
|
+ <label style="margin-right: 10px">
|
|
|
151
|
+ <input type="radio" value="0" name="isstaisfied" style="vertical-align: -2px" />未回访
|
|
|
152
|
+ </label>
|
|
122
|
153
|
<label style="margin-right: 10px">
|
|
123
|
|
- <input type="radio" value="1" name="isstaisfied" style="vertical-align: -2px" />满意
|
|
|
154
|
+ <input type="radio" value="1" name="isstaisfied" style="vertical-align: -2px" />满意
|
|
124
|
155
|
</label>
|
|
125
|
156
|
<label style="margin-right: 10px">
|
|
126
|
157
|
<input type="radio" value="2" name="isstaisfied" style="vertical-align: -2px" />基本满意
|
|
|
@@ -172,6 +203,7 @@
|
|
172
|
203
|
var simpleDetailStrStart = "";
|
|
173
|
204
|
var simpleDetailStrEnd = "";
|
|
174
|
205
|
var simpleDetailStr = "";
|
|
|
206
|
+ var isproresult
|
|
175
|
207
|
Detail();
|
|
176
|
208
|
$(document).ready(function () {
|
|
177
|
209
|
laydate.skin("blue");
|
|
|
@@ -197,95 +229,113 @@
|
|
197
|
229
|
$(".fjnr").text("");
|
|
198
|
230
|
$("#scfj").hide();
|
|
199
|
231
|
});
|
|
200
|
|
- $(".BC").click(function () {
|
|
201
|
|
- if ($('#isProResultRadio input[name="isDisposeResult"]:checked').val() == "1") {
|
|
202
|
|
- if ($("#dealman").val() == "") {
|
|
203
|
|
- layer.msg("办理人不能为空");
|
|
204
|
|
- } else if ($("#situation").val() == "") {
|
|
205
|
|
- layer.msg("处理情况不能为空");
|
|
206
|
|
- } else if ($("#dealcontact").val() == "") {
|
|
207
|
|
- layer.msg("联系方式不能为空");
|
|
208
|
|
- } else if ($("#duties").val() == "") {
|
|
209
|
|
- layer.msg("职务不能为空");
|
|
210
|
|
- } else if ($("#result").val() == "") {
|
|
211
|
|
- layer.msg("请生成办理结果");
|
|
212
|
|
- } else {
|
|
213
|
|
- State = 0;
|
|
214
|
|
- JA();
|
|
215
|
|
- }
|
|
216
|
|
- } else if ($('#isProResultRadio input[name="isDisposeResult"]:checked').val() == "2") {
|
|
217
|
|
- State = 0;
|
|
218
|
|
- JA();
|
|
219
|
|
- } else if ($('#isProResultRadio input[name="isDisposeResult"]:checked').val() == "0") {
|
|
220
|
|
- State = 0;
|
|
221
|
|
- JA();
|
|
222
|
|
- } else {
|
|
223
|
|
- layer.msg("请选择是/否向当事人反馈");
|
|
224
|
|
- }
|
|
225
|
|
- });
|
|
|
232
|
+// $(".BC").click(function () {
|
|
|
233
|
+// if ($('#isProResultRadio input[name="isDisposeResult"]:checked').val() == "1") {
|
|
|
234
|
+// if ($("#dealman").val() == "") {
|
|
|
235
|
+// layer.msg("办理人不能为空");
|
|
|
236
|
+// } else if ($("#situation").val() == "") {
|
|
|
237
|
+// layer.msg("处理情况不能为空");
|
|
|
238
|
+// } else if ($("#dealcontact").val() == "") {
|
|
|
239
|
+// layer.msg("联系方式不能为空");
|
|
|
240
|
+// } else if ($("#duties").val() == "") {
|
|
|
241
|
+// layer.msg("职务不能为空");
|
|
|
242
|
+// } else if ($("#result").val() == "") {
|
|
|
243
|
+// layer.msg("请生成办理结果");
|
|
|
244
|
+// } else {
|
|
|
245
|
+// State = 0;
|
|
|
246
|
+// JA();
|
|
|
247
|
+// }
|
|
|
248
|
+// } else if ($('#isProResultRadio input[name="isDisposeResult"]:checked').val() == "2") {
|
|
|
249
|
+// State = 0;
|
|
|
250
|
+// JA();
|
|
|
251
|
+// } else if ($('#isProResultRadio input[name="isDisposeResult"]:checked').val() == "0") {
|
|
|
252
|
+// State = 0;
|
|
|
253
|
+// JA();
|
|
|
254
|
+// } else {
|
|
|
255
|
+// layer.msg("请选择是/否向当事人反馈");
|
|
|
256
|
+// }
|
|
|
257
|
+// });
|
|
226
|
258
|
$(".Submit").click(function () {
|
|
227
|
259
|
if(decodeURI(isSPT) === '省12345平台' && $("#situation").val().length > 1000){
|
|
228
|
260
|
layer.msg("办理结果不能超过1000字");
|
|
229
|
261
|
return;
|
|
230
|
262
|
}
|
|
231
|
|
- if ($('#isProResultRadio input[name="isDisposeResult"]:checked').val() == "1") {
|
|
232
|
|
- if ($("#dealman").val() == "") {
|
|
233
|
|
- layer.msg("办理人不能为空");
|
|
234
|
|
- } else if ($("#situation").val() == "") {
|
|
235
|
|
- layer.msg("处理情况不能为空");
|
|
236
|
|
- } else if ($("#dealcontact").val() == "") {
|
|
237
|
|
- layer.msg("联系方式不能为空");
|
|
238
|
|
- } else if ($("#duties").val() == "") {
|
|
239
|
|
- layer.msg("职务不能为空");
|
|
240
|
|
- }
|
|
241
|
|
-// else if ($("#result").val() == "") {
|
|
242
|
|
-// layer.msg("请生成办理结果");
|
|
243
|
|
-// }
|
|
244
|
|
- else {
|
|
245
|
|
- State = 1;
|
|
246
|
|
- //$("#situation").val(stripscript($("#situation").val()));
|
|
247
|
|
- $("#result").val($("#situation").val().replace(simpleDetailStrStart, ''))
|
|
248
|
|
- JA();
|
|
249
|
|
- }
|
|
250
|
|
- } else if ($('#isProResultRadio input[name="isDisposeResult"]:checked').val() == "2") {
|
|
251
|
|
- State = 1;
|
|
252
|
|
- JA();
|
|
253
|
|
- } else if ($('#isProResultRadio input[name="isDisposeResult"]:checked').val() == "0") {
|
|
254
|
|
- State = 1;
|
|
255
|
|
- JA();
|
|
|
263
|
+ if (!$('#isStaisfiedRadio input[name="isstaisfied"]:checked').val()) {
|
|
|
264
|
+ layer.msg("回访情况不能为空");
|
|
256
|
265
|
} else {
|
|
257
|
|
- layer.msg("请选择是/否向当事人反馈");
|
|
|
266
|
+ if($('#isStaisfiedRadio input[name="isstaisfied"]:checked').val() === '0'){
|
|
|
267
|
+ State = 1;
|
|
|
268
|
+ isproresult = 0
|
|
|
269
|
+ JA();
|
|
|
270
|
+ } else{
|
|
|
271
|
+ if ($("#dealman").val() == "") {
|
|
|
272
|
+ layer.msg("办理人不能为空");
|
|
|
273
|
+ } else if ($("#situation").val() == "") {
|
|
|
274
|
+ layer.msg("处理情况不能为空");
|
|
|
275
|
+ } else if ($("#dealcontact").val() == "") {
|
|
|
276
|
+ layer.msg("联系方式不能为空");
|
|
|
277
|
+ } else if ($("#duties").val() == "") {
|
|
|
278
|
+ layer.msg("职务不能为空");
|
|
|
279
|
+ } else if (!$('#isStaisfiedRadio input[name="isstaisfied"]:checked').val()) {
|
|
|
280
|
+ layer.msg("回访情况不能为空");
|
|
|
281
|
+ } else {
|
|
|
282
|
+ State = 1;
|
|
|
283
|
+ isproresult = 1
|
|
|
284
|
+ $("#result").val($("#situation").val().replace(simpleDetailStrStart, ''))
|
|
|
285
|
+ JA();
|
|
|
286
|
+ }
|
|
|
287
|
+ }
|
|
258
|
288
|
}
|
|
|
289
|
+
|
|
|
290
|
+
|
|
|
291
|
+// if ($('#isProResultRadio input[name="isDisposeResult"]:checked').val() == "1") {
|
|
|
292
|
+// if ($("#dealman").val() == "") {
|
|
|
293
|
+// layer.msg("办理人不能为空");
|
|
|
294
|
+// } else if ($("#situation").val() == "") {
|
|
|
295
|
+// layer.msg("处理情况不能为空");
|
|
|
296
|
+// } else if ($("#dealcontact").val() == "") {
|
|
|
297
|
+// layer.msg("联系方式不能为空");
|
|
|
298
|
+// } else if ($("#duties").val() == "") {
|
|
|
299
|
+// layer.msg("职务不能为空");
|
|
|
300
|
+// } else if (!$('#isStaisfiedRadio input[name="isstaisfied"]:checked').val()) {
|
|
|
301
|
+// layer.msg("回访情况不能为空");
|
|
|
302
|
+// } else {
|
|
|
303
|
+// State = 1;
|
|
|
304
|
+// debugger
|
|
|
305
|
+// //$("#situation").val(stripscript($("#situation").val()));
|
|
|
306
|
+// $("#result").val($("#situation").val().replace(simpleDetailStrStart, ''))
|
|
|
307
|
+// JA();
|
|
|
308
|
+// }
|
|
|
309
|
+// } else if ($('#isProResultRadio input[name="isDisposeResult"]:checked').val() == "2") {
|
|
|
310
|
+// State = 1;
|
|
|
311
|
+// JA();
|
|
|
312
|
+// } else if ($('#isProResultRadio input[name="isDisposeResult"]:checked').val() == "0") {
|
|
|
313
|
+// State = 1;
|
|
|
314
|
+// JA();
|
|
|
315
|
+// } else {
|
|
|
316
|
+// layer.msg("请选择是/否向当事人反馈");
|
|
|
317
|
+// }
|
|
259
|
318
|
});
|
|
260
|
|
-
|
|
261
|
319
|
$(".prosituation-wrapper").hide(); //处理方案/进程
|
|
262
|
320
|
$(".annotation-wrapper").hide(); //注释
|
|
263
|
321
|
$(".connecttime-wrapper").hide(); //沟通时间
|
|
264
|
322
|
$(".connectmode-wrapper").hide(); //沟通方式
|
|
265
|
|
- // $(".replycontent-wrapper").hide(); //答复内容
|
|
266
|
|
- $(".isstaisfied-wrapper").hide(); //是否满意
|
|
|
323
|
+// $(".isstaisfied-wrapper").hide(); //是否满意
|
|
267
|
324
|
$(".dealWithRemark-wrapper").hide(); // 已办未果备注
|
|
268
|
|
-
|
|
269
|
325
|
/*
|
|
270
|
326
|
* 处理结果
|
|
271
|
327
|
* 默认 0
|
|
272
|
328
|
* 是 1
|
|
273
|
329
|
* 否 2
|
|
274
|
330
|
*/
|
|
275
|
|
- $("#isProResultRadio")
|
|
276
|
|
- .find('input[type="radio"]')
|
|
277
|
|
- .on("change", function () {
|
|
278
|
|
- $("#prosituation").val(""); //处理方案/进程
|
|
279
|
|
- $("#connecttime").val(""); //沟通时间
|
|
280
|
|
- $("#connectmode").val(""); //沟通方式
|
|
281
|
|
- // $("#replycontent").val(""); //答复内容
|
|
282
|
|
- $("#result").val(""); //办理结果
|
|
283
|
|
- $(
|
|
284
|
|
- '#isStaisfiedRadio input[name="isstaisfied"]:checked'
|
|
285
|
|
- ).prop("checked", false); //是否满意
|
|
286
|
|
- isProResultJudge($(this).val());
|
|
287
|
|
- });
|
|
288
|
|
-
|
|
|
331
|
+ $("#isProResultRadio").find('input[type="radio"]').on("change", function () {
|
|
|
332
|
+ $("#prosituation").val(""); //处理方案/进程
|
|
|
333
|
+ $("#connecttime").val(""); //沟通时间
|
|
|
334
|
+ $("#connectmode").val(""); //沟通方式
|
|
|
335
|
+ $("#result").val(""); //办理结果
|
|
|
336
|
+ $('#isStaisfiedRadio input[name="isstaisfied"]:checked').prop("checked", false); //是否满意
|
|
|
337
|
+ isProResultJudge($(this).val());
|
|
|
338
|
+ });
|
|
289
|
339
|
$(".handleBtn").click(function () {
|
|
290
|
340
|
// if ($('#isProResultRadio input[name="isDisposeResult"]:checked').val() === "1") {
|
|
291
|
341
|
// var isStaisfiedRadioData;
|
|
|
@@ -360,6 +410,10 @@
|
|
360
|
410
|
$.post(
|
|
361
|
411
|
huayi.config.callcenter_url + "WorkOrder/FeedBackWorkOrder", {
|
|
362
|
412
|
workorderid: wid,
|
|
|
413
|
+ issurvey:$("#issurvey").val(),
|
|
|
414
|
+ survey:$("#survey").val(),
|
|
|
415
|
+ accordingto: $("#accordingto").val(),
|
|
|
416
|
+
|
|
363
|
417
|
dealman: $("#dealman").val(), //承办人
|
|
364
|
418
|
dealcontact: $("#dealcontact").val(), //联系方式
|
|
365
|
419
|
duties: $("#duties").val(), //职务
|
|
|
@@ -369,9 +423,7 @@
|
|
369
|
423
|
situation: $("#situation").val().replace(simpleDetailStrStart, ''), //处理情况
|
|
370
|
424
|
// result: $("#result").val(), //办理结果
|
|
371
|
425
|
result: $("#situation").val(), //办理结果
|
|
372
|
|
- isproresult: $(
|
|
373
|
|
- '#isProResultRadio input[name="isDisposeResult"]:checked'
|
|
374
|
|
- ).val(), //处理结果
|
|
|
426
|
+ isproresult: isproresult, //处理结果
|
|
375
|
427
|
// IsProResult: $(
|
|
376
|
428
|
// '#isProResultRadio input[name="isDisposeResult"]:checked'
|
|
377
|
429
|
// ).val(), // 已办未果
|
|
|
@@ -381,9 +433,7 @@
|
|
381
|
433
|
connecttime: $("#connecttime").val(), //沟通时间
|
|
382
|
434
|
connectmode: $("#connectmode").val(), //沟通方式
|
|
383
|
435
|
// replycontent: $("#replycontent").val(), //答复内容
|
|
384
|
|
- isstaisfied: $(
|
|
385
|
|
- '#isStaisfiedRadio input[name="isstaisfied"]:checked'
|
|
386
|
|
- ).val(), //是否满意
|
|
|
436
|
+ isstaisfied: $('#isStaisfiedRadio input[name="isstaisfied"]:checked').val(), //是否满意
|
|
387
|
437
|
state: State,
|
|
388
|
438
|
feedbackid: a,
|
|
389
|
439
|
files: $("#file").val(),
|
|
|
@@ -436,26 +486,13 @@
|
|
436
|
486
|
// $("#result").text(result.data[0].F_Result); //办理结果
|
|
437
|
487
|
$("#situation").val(result.data[0].F_Situation); //处理情况
|
|
438
|
488
|
$("#duties").val(result.data[0].F_Duties); //职务
|
|
439
|
|
- $('#isProResultRadio input[name="isDisposeResult"][value="' + result.data[0]
|
|
440
|
|
- .F_IsProResult + '"]').prop("checked", true); //是/否向当事人反馈
|
|
441
|
|
- $("#prosituation").val(
|
|
442
|
|
- result.data[0].F_ProSituation
|
|
443
|
|
- ); //处理方案/进程
|
|
444
|
|
- $("#dealcontact").val(
|
|
445
|
|
- result.data[0].F_DealUserContact
|
|
446
|
|
- ); //联系方式
|
|
447
|
|
- $("#connecttime").val(
|
|
448
|
|
- result.data[0].F_ConnectTime
|
|
449
|
|
- ); //沟通时间
|
|
450
|
|
- $("#connectmode").val(
|
|
451
|
|
- result.data[0].F_ConnectMode
|
|
452
|
|
- ); //沟通方式
|
|
453
|
|
- // $("#replycontent").val(result.data[0].F_ReplyContent); //答复内容
|
|
454
|
|
- $(
|
|
455
|
|
- '#isStaisfiedRadio input[name="isstaisfied"][value="' +
|
|
456
|
|
- result.data[0].F_IsSatisfied +
|
|
457
|
|
- '"]'
|
|
458
|
|
- ).prop("checked", true); //是否满意
|
|
|
489
|
+ isproresult = result.data[0].F_IsProResult
|
|
|
490
|
+// $('#isProResultRadio input[name="isDisposeResult"][value="' + result.data[0].F_IsProResult + '"]').prop("checked", true); //是/否向当事人反馈
|
|
|
491
|
+ $("#prosituation").val(result.data[0].F_ProSituation); //处理方案/进程
|
|
|
492
|
+ $("#dealcontact").val(result.data[0].F_DealUserContact); //联系方式
|
|
|
493
|
+ $("#connecttime").val(result.data[0].F_ConnectTime); //沟通时间
|
|
|
494
|
+ $("#connectmode").val(result.data[0].F_ConnectMode); //沟通方式
|
|
|
495
|
+ $('#isStaisfiedRadio input[name="isstaisfied"][value="' +result.data[0].F_IsSatisfied +'"]').prop("checked", true); //是否满意
|
|
459
|
496
|
a = result.data[0].F_Id;
|
|
460
|
497
|
}
|
|
461
|
498
|
}
|