Просмотр исходного кода

待提交工单,审核按钮

miaofuhao лет назад: 2
Родитель
Сommit
7025f915b4

+ 6 - 1
WebUI/CallCenterWeb.UI/Appeal/Lawsuit.html

@@ -640,6 +640,7 @@
640 640
 						html1 = html1.replace("data", val);
641 641
 						html1 = html1.replace("isProtect", row.F_IsProtect);
642 642
 						html1 = html1.replace("row", row.F_MainDeptId);
643
+						html1 = html1.replace("state", row.F_WorkState);
643 644
 					}
644 645
 					html += html1;
645 646
 				}
@@ -737,9 +738,13 @@
737 738
 			}
738 739
 			//编辑
739 740
 			function bj(str) {
741
+			var workType = ""
742
+			if (Number(state) ===1) {
743
+				workType="jb"
744
+			}
740 745
 				layer.open({
741 746
 					type: 2,
742
-					content: "../CommonHtml/AddAppeal.html?wid=" + str, //iframe的url,no代表不显示滚动条
747
+					content: "../CommonHtml/AddAppeal.html?wid=" + str+"&workType=jb", //iframe的url,no代表不显示滚动条
743 748
 					title: "编辑工单",
744 749
 					area: ["96%", "80%"], //宽高
745 750
 				});

+ 6 - 2
WebUI/CallCenterWeb.UI/CommonHtml/AddAppeal.html

@@ -275,6 +275,7 @@
275 275
 				</div>
276 276
 			</div>
277 277
 		</div>
278
+		<input type="hidden" class="F_WorkState" value="" />
278 279
 		<script src="https://api.map.baidu.com/api?v=2.0&ak=ZG4gLQZUD6Eq1K11cqlYAR4by8CKgLyu&callback=mapinit"></script>
279 280
 		<script src="../js/layui/layui.js"></script>
280 281
 		<!--<script src="../css/laydate/laydate.js"></script>-->
@@ -357,7 +358,6 @@
357 358
 					$(".limittimesWrapper").hide(); // 紧急办理时限
358 359
 					$(".limittimesWrapperCB").hide(); // 重办办理时限
359 360
 				}
360
-
361 361
 				// 营商管理 审核员审核 局营商办审核  0待审转办未审核、1待审转办已审核
362 362
 				if(String(IsExamine) === "0") {
363 363
 					$(".auditBtnMarketing").show(); // 营商审核
@@ -371,7 +371,7 @@
371 371
 				if(String(isshMultimedia) === "0" || String(isshMultimedia) === "1") {
372 372
 					$(".JB").hide(); // 审核通过
373 373
 				} else if(String(isshMultimedia) === "2") {
374
-					$(".JB").hide(); // 审核通过
374
+					$(".JB").show(); // 审核通过
375 375
 					$(".undertakeUnitWrapper").hide(); // 承办单位
376 376
 					$(".limittimeWrapper").hide(); // 办理时限
377 377
 					$(".limittimesWrapper").hide(); // 紧急办理时限
@@ -408,6 +408,9 @@
408 408
 				//当即办理
409 409
 				$(' input[name="banli"]').change(function() {
410 410
 					var val = $(this).val();
411
+					if($(".F_WorkState").val()==="0"){
412
+						return
413
+					}
411 414
 					if(roleCode === "GLY" || roleCode === "ZXLD" || roleCode === "GNZY") {
412 415
 						$(".Nows_box").show();
413 416
 					} else {
@@ -526,6 +529,7 @@
526 529
 						success: function(data) {
527 530
 							if(data.state.toLowerCase() == "success") {
528 531
 								var Data = data.data.data;
532
+								$(".F_WorkState").val(Data[0].F_WorkState)
529 533
 								$("#cusname").val(Data[0].F_CusName);
530 534
 								$("#cusphone").val(Data[0].F_CusPhone);
531 535
 								$("#conphone").val(Data[0].F_ConPhone);

+ 8 - 2
WebUI/CallCenterWeb.UI/MultimediaWorkOrder/LawsuitMedia.html

@@ -521,6 +521,7 @@
521 521
                     html1 = html1.replace("data", val);
522 522
                     html1 = html1.replace("isProtect", row.F_IsProtect);
523 523
                     html1 = html1.replace("row", row.F_MainDeptId);
524
+                    html1 = html1.replace("state", row.F_WorkState);
524 525
                 }
525 526
                 html += html1;
526 527
             }
@@ -597,10 +598,15 @@
597 598
             });
598 599
         }
599 600
         //编辑
600
-        function bj(str) {
601
+        function bj(str,state) {
602
+        	var workType = ""
603
+        	var isshMultimedia ="2"
604
+			if (Number(state) ===1) {
605
+				workType="jb"
606
+			}
601 607
             layer.open({
602 608
                 type: 2,
603
-                content: "../CommonHtml/AddAppeal.html?wid=" + str, //iframe的url,no代表不显示滚动条
609
+                content: "../CommonHtml/AddAppeal.html?wid=" + str + "&workType="+workType, //iframe的url,no代表不显示滚动条
604 610
                 title: "编辑工单",
605 611
                 area: ["96%", "80%"], //宽高
606 612
             });

+ 2 - 2
WebUI/CallCenterWeb.UI/MultimediaWorkOrder/WorkDSZBMedia.html

@@ -504,10 +504,10 @@
504 504
             });
505 505
         }
506 506
         //编辑
507
-        function bj(str) {
507
+        function bj(str,row) {
508 508
             layer.open({
509 509
                 type: 2,
510
-                content: "../CommonHtml/AddAppeal.html?wid=" + str + "&isshMultimedia=" + isshMultimedia + "&workType=jb", //iframe的url,no代表不显示滚动条
510
+                content: "../CommonHtml/AddAppeal.html?wid=" + str+ "&workType=jb", //iframe的url,no代表不显示滚动条
511 511
                 title: "编辑工单",
512 512
                 area: ["95%", "95%"], //宽高
513 513
             });