|
|
@@ -160,7 +160,7 @@
|
|
160
|
160
|
<tr>
|
|
161
|
161
|
<td colspan="8" style="text-align: center">
|
|
162
|
162
|
<!-- <div class="btn_box"> -->
|
|
163
|
|
- <!-- <button class="btns BC">保存</button> -->
|
|
|
163
|
+ <button class="btns BC">保存</button>
|
|
164
|
164
|
<button class="btns JB">审核通过</button>
|
|
165
|
165
|
<button class="btns thBtn">回退</button>
|
|
166
|
166
|
<!--<button class="btns SavedSubmit">保存并提交</button>-->
|
|
|
@@ -227,7 +227,7 @@
|
|
227
|
227
|
});
|
|
228
|
228
|
|
|
229
|
229
|
// 管理员、中心话务员可编辑工单内容
|
|
230
|
|
- if(roleCode === "GLY") {
|
|
|
230
|
+ if (roleCode === "GLY") {
|
|
231
|
231
|
$("#content").removeAttr("readonly")
|
|
232
|
232
|
} else if (roleCode === "ZXHWY") {
|
|
233
|
233
|
$(".workcontent-wrapper").hide()
|
|
|
@@ -244,6 +244,7 @@
|
|
244
|
244
|
});
|
|
245
|
245
|
$(".BC").click(function () {
|
|
246
|
246
|
submit = 0;
|
|
|
247
|
+ workType = ""
|
|
247
|
248
|
Add();
|
|
248
|
249
|
});
|
|
249
|
250
|
$(".JB").click(function () {
|
|
|
@@ -485,7 +486,7 @@
|
|
485
|
486
|
title: "重办工单",
|
|
486
|
487
|
area: ["95%", "95%"], //宽高
|
|
487
|
488
|
});
|
|
488
|
|
- } else {
|
|
|
489
|
+ } else if (workType === "jb") {
|
|
489
|
490
|
layer.open({
|
|
490
|
491
|
type: 2,
|
|
491
|
492
|
content: "../CommonHtml/jiaoban.html?wid=" + wid + "&jbSelect=" +
|
|
|
@@ -495,15 +496,16 @@
|
|
495
|
496
|
title: "工单交办",
|
|
496
|
497
|
area: ["95%", "95%"], //宽高
|
|
497
|
498
|
});
|
|
|
499
|
+ } else {
|
|
|
500
|
+ var index = parent.layer.getFrameIndex(
|
|
|
501
|
+ window.name
|
|
|
502
|
+ ); //先得到当前iframe层的索引
|
|
|
503
|
+ parent.layer.close(index); //再执行关闭
|
|
|
504
|
+ parent
|
|
|
505
|
+ .$("#orderlist")
|
|
|
506
|
+ .bootstrapTable("refresh");
|
|
|
507
|
+ parent.layer.msg(data.message);
|
|
498
|
508
|
}
|
|
499
|
|
- // var index = parent.layer.getFrameIndex(
|
|
500
|
|
- // window.name
|
|
501
|
|
- // ); //先得到当前iframe层的索引
|
|
502
|
|
- // parent.layer.close(index); //再执行关闭
|
|
503
|
|
- // parent
|
|
504
|
|
- // .$("#orderlist")
|
|
505
|
|
- // .bootstrapTable("refresh");
|
|
506
|
|
- // parent.layer.msg(data.message);
|
|
507
|
509
|
$(".fileBox").html("");
|
|
508
|
510
|
}
|
|
509
|
511
|
},
|