|
|
@@ -59,9 +59,10 @@
|
|
59
|
59
|
</td>
|
|
60
|
60
|
</tr>
|
|
61
|
61
|
<tr>
|
|
62
|
|
- <th class="Importent">处理结果:</th>
|
|
|
62
|
+ <th class="Importent">办理结果:</th>
|
|
63
|
63
|
<td colspan="5">
|
|
64
|
|
- <textarea data-adaptheight id="situation" name="" rows="6" cols=""></textarea>
|
|
|
64
|
+ <textarea data-adaptheight id="situation" onkeyup="OnFocusFun(this)" name="" rows="6" cols=""></textarea>
|
|
|
65
|
+ <textarea data-adaptheight id="result" hidden="hidden" name="" rows="6" cols=""></textarea>
|
|
65
|
66
|
</td>
|
|
66
|
67
|
</tr>
|
|
67
|
68
|
<tr>
|
|
|
@@ -138,7 +139,7 @@
|
|
138
|
139
|
</span>
|
|
139
|
140
|
</td>
|
|
140
|
141
|
</tr>
|
|
141
|
|
- <tr>
|
|
|
142
|
+ <tr style="display: none;">
|
|
142
|
143
|
<td>
|
|
143
|
144
|
<button class="btns handleBtn">查看办理结果</button>
|
|
144
|
145
|
</td>
|
|
|
@@ -224,10 +225,14 @@
|
|
224
|
225
|
layer.msg("联系方式不能为空");
|
|
225
|
226
|
} else if ($("#duties").val() == "") {
|
|
226
|
227
|
layer.msg("职务不能为空");
|
|
227
|
|
- } else if ($("#result").val() == "") {
|
|
228
|
|
- layer.msg("请生成办理结果");
|
|
229
|
|
- } else {
|
|
|
228
|
+ }
|
|
|
229
|
+// else if ($("#result").val() == "") {
|
|
|
230
|
+// layer.msg("请生成办理结果");
|
|
|
231
|
+// }
|
|
|
232
|
+ else {
|
|
230
|
233
|
State = 1;
|
|
|
234
|
+ //$("#situation").val(stripscript($("#situation").val()));
|
|
|
235
|
+ $("#result").val($("#situation").val().replace(simpleDetailStrStart, ''))
|
|
231
|
236
|
JA();
|
|
232
|
237
|
}
|
|
233
|
238
|
} else if ($('#isProResultRadio input[name="isDisposeResult"]:checked').val() == "2") {
|
|
|
@@ -334,6 +339,10 @@
|
|
334
|
339
|
$("#result").val(simpleDetailStr);
|
|
335
|
340
|
});
|
|
336
|
341
|
});
|
|
|
342
|
+ //得到焦点时触发事件
|
|
|
343
|
+ function OnFocusFun(element) {
|
|
|
344
|
+ (element.value.indexOf(simpleDetailStrStart) === 0) || (element.value = simpleDetailStrStart);
|
|
|
345
|
+ }
|
|
337
|
346
|
//交办
|
|
338
|
347
|
function JA() {
|
|
339
|
348
|
$.post(
|
|
|
@@ -345,8 +354,9 @@
|
|
345
|
354
|
AuditUser: $("#auditUser").val(), //审核领导
|
|
346
|
355
|
post: $("#auditUserDuties").val(), //审核领导职务
|
|
347
|
356
|
auditContact: $("#auditContact").val(), //审核领导联系方式
|
|
348
|
|
- situation: $("#situation").val(), //处理情况
|
|
349
|
|
- result: $("#result").val(), //办理结果
|
|
|
357
|
+ situation: $("#situation").val().replace(simpleDetailStrStart, ''), //处理情况
|
|
|
358
|
+// result: $("#result").val(), //办理结果
|
|
|
359
|
+ result: $("#situation").val(), //办理结果
|
|
350
|
360
|
isproresult: $(
|
|
351
|
361
|
'#isProResultRadio input[name="isDisposeResult"]:checked'
|
|
352
|
362
|
).val(), //处理结果
|
|
|
@@ -598,6 +608,7 @@
|
|
598
|
608
|
// ")反映" +
|
|
599
|
609
|
// data.F_ComTitle +
|
|
600
|
610
|
// "问题,";
|
|
|
611
|
+ $("#situation").val(simpleDetailStrStart);
|
|
601
|
612
|
}
|
|
602
|
613
|
}
|
|
603
|
614
|
);
|
|
|
@@ -672,7 +683,8 @@
|
|
672
|
683
|
token: $.cookie("token"),
|
|
673
|
684
|
},
|
|
674
|
685
|
success: function (res) {
|
|
675
|
|
- var res = $.parseJSON(res)
|
|
|
686
|
+ debugger
|
|
|
687
|
+ //var res = $.parseJSON(res)
|
|
676
|
688
|
if (res.state == "success") {
|
|
677
|
689
|
|
|
678
|
690
|
} else {
|