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

添加驳回重办,办理情况,市长领导批示附件,点击打开新页面

miaofuhao лет назад: 6
Родитель
Сommit
36f0d0b2c2

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

@@ -310,6 +310,7 @@
310 310
                                         <option value="6">已办理</option>
311 311
                                         <option value="7">已回访</option>
312 312
                                         <option value="11">重办待交办</option>
313
+                                        <option value="13">重办驳回 </option>
313 314
                                         <option value="8">重办中</option>
314 315
                                         <option value="9">已结案</option>
315 316
                                     </select>
@@ -951,11 +952,22 @@
951 952
             });
952 953
         }
953 954
         //提交重办
955
+        function bhcb(str) {
956
+        	//回退BackDtail
957
+            layer.open({
958
+                type: 2,
959
+                content: "../CommonHtml/rejectionCB.html?wid=" + str, //iframe的url,no代表不显示滚动条
960
+                title: '驳回重办',
961
+                area: ['60%', '80%'], //宽高
962
+            });
963
+        	
964
+        }
965
+        //提交重办
954 966
         function tjcb(str) {
955 967
         	 layer.confirm('确认提交重办吗?', {
956 968
                 btn: ['是', '否'] //按钮
957 969
             }, function () {
958
-                $.post(huayi.config.callcenter_url + 'WorkOrder/SubReloadWorkOrder ', {
970
+                $.post(huayi.config.callcenter_url + 'WorkOrder/SubReloadWorkOrder', {
959 971
 					ids: str,
960 972
 					"token": $.cookie("token")
961 973
 				}, function(result) {

+ 9 - 7
WebUI/CallCenterWeb.UI/CommonHtml/WorkDatil.html

@@ -704,13 +704,15 @@
704 704
 									'<td class="text-center">' + n.F_CreateTime + '</td>' +
705 705
 									'<td class="text-center">';
706 706
 								//办理情况附件
707
+								var FileHtml;
707 708
 								$(n.File).each(function(j, m) {
708
-                                    htmls += '<a style="margin-right:5px;" href="' + m.F_FileUrl + '" download="' + m.F_FileName.substring(19) + '">' + m.F_FileName.substring(19) + '</a>';
709
+									if( m.F_FileType==".jpg"|| m.F_FileType==".png"){
710
+										FileHtml='<img style="width:15px; height:15px" border="0" src="'+m.F_FileUrl+'" alt="'+m.F_FileName+'">'
711
+									}else{
712
+										FileHtml=m.F_FileName.substring(19)
713
+									}
714
+                                    htmls += '<a style="margin-right:5px;" target="view_window" href="' + m.F_FileUrl + '" download="' + m.F_FileName + '">' +m.F_FileName.substring(19)+ '</a>';
709 715
 								})
710
-
711
-//								htmls += '</td>' +
712
-//									'<td class="text-center authority"><botton class="btns  BLQKS " dealman="' + n.UserName + '" result="' + n.F_Result + '" type="" index="' + n.F_Id + '">修改</botton></td>' +
713
-//									'</tr>';
714 716
 							})
715 717
 							$(htmls).appendTo($(".BLQK"));
716 718
 
@@ -873,7 +875,7 @@
873 875
 											'<td class="text-center">';
874 876
 										//办理情况附件
875 877
 										$(n.File).each(function(j, m) {
876
-											str += '<a style="margin-right:5px;" href="' + m.F_FileUrl + '" download="' + m.F_FileUrl + '">' + m.F_FileName.substring(19) + '</a>';
878
+											str += '<a style="margin-right:5px;" target="view_window" href="' + m.F_FileUrl + '" download="' + m.F_FileUrl + '">' + m.F_FileName.substring(19) + '</a>';
877 879
 										})
878 880
 										str += '</td>' +
879 881
 											'<td class="text-center authority"><botton class="btns  LDPSS "   superuser="' + n.F_BatchReason + '" superopinion="' + n.F_SuperOpinion + '" type="' + n.F_Type + '" index="' + n.F_Id + '">修改</botton></td>' +
@@ -891,7 +893,7 @@
891 893
 											'<td class="text-center">';
892 894
 										//办理情况附件
893 895
 										$(n.File).each(function(j, m) {
894
-											str += '<a style="margin-right:5px;" href="' + m.F_FileUrl + '" download="' + m.F_FileUrl + '">' + m.F_FileName.substring(19) + '</a>';
896
+											str += '<a style="margin-right:5px;" target="view_window" href="' + m.F_FileUrl + '" download="' + m.F_FileUrl + '">' + m.F_FileName.substring(19) + '</a>';
895 897
 										})
896 898
 										str += '</td>' +
897 899
 											'<td class="text-center authority"><botton class="btns  LDPSS "   superuser="' + n.F_BatchReason + '" superopinion="' + n.F_SuperOpinion + '" type="' + n.F_Type + '" index="' + n.F_Id + '">修改</botton></td>' +

+ 56 - 0
WebUI/CallCenterWeb.UI/CommonHtml/rejectionCB.html

@@ -0,0 +1,56 @@
1
+<!DOCTYPE html>
2
+<html>
3
+	<head>
4
+		<meta charset="UTF-8">
5
+    <script src="../Script/Common/huayi.load.js"></script>
6
+    <script src="../Script/Common/huayi.config.js"></script>
7
+    <link href="../css/layer/need/layer.css" />
8
+    <link rel="stylesheet" href="../css/init.css" />
9
+    		   <title>驳回重办</title>
10
+	</head>
11
+	<body>
12
+		<div class="Common">
13
+		<table  >
14
+			<tr>
15
+				<th class="Importent">驳回原因:</th>
16
+				<td colspan="7"><textarea data-adaptheight id="result" name="" rows="4" cols=""></textarea></td>
17
+			</tr>
18
+		</table>
19
+		<div class="btn_box">
20
+			<button class="btns BC">保存</button>
21
+		</div>
22
+		</div>
23
+		<script src="../js/adjustHeight.js"></script>
24
+		<script>
25
+			var wid = helper.request.queryString("wid");
26
+			
27
+			//alert(wid)
28
+			$(document).ready(function() {
29
+				$('.BC').click(function() {
30
+                    JA();
31
+				})
32
+
33
+			});
34
+			//回退
35
+			function JA() {
36
+				$.post(huayi.config.callcenter_url + 'WorkOrder/RejReloadWorkOrder', {
37
+					id: wid,
38
+					reason:$("#result").val(),//回访内容
39
+					token: $.cookie("token")
40
+				}, function(result) {
41
+					result = JSON.parse(result);
42
+					if(result.state.toLowerCase() == "success") {
43
+						debugger
44
+						var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
45
+						console.log(index);
46
+						parent.layer.close(index); //再执行关闭
47
+						parent.$('#orderlist').bootstrapTable('refresh');
48
+						parent.layer.msg("操作成功");
49
+
50
+					}
51
+				})
52
+			}
53
+		</script>
54
+	</body>
55
+</html>
56
+

+ 2 - 1
WebUI/CallCenterWeb.UI/Script/Common/huayi.config.js

@@ -42,7 +42,8 @@ huayi.config = {
42 42
                 "<a class='xg' onclick='audit(data)' title='审核'>审核</a>", //审核
43 43
                 "<a class='xg' onclick='zdb(data)' title='转督办'>转督办</a>", //转督办
44 44
                 "<a class='xg' onclick='ndb(data)' title='不督办'>不督办</a>", //不督办
45
-                "<a class='xg' onclick='tjcb(data)' title='提交重办'>提交重办</a>" //重办
45
+                "<a class='xg' onclick='tjcb(data)' title='提交重办'>提交重办</a>", //重办
46
+                "<a class='xg' onclick='bhcb(data)' title='驳回重办'>驳回重办</a>" //重办
46 47
 			],
47 48
 	 kapArr :["<a class='xg' onclick='goDetail(data)' title='查看'>查看</a>",
48 49
 				"<a class='xg' onclick='goEdit(data)' title='编辑'>编辑</a>",