Explorar el Código

考核列表及强制结案修改

liuzhen %!s(int64=5) %!d(string=hace) años
padre
commit
60457dfc60

+ 1 - 0
WebUI/CallCenterWeb.UI/Business/Assessment.html

@@ -110,6 +110,7 @@
110 110
                                 <th data-field="F_DF_TBCore" data-align="center">通报情况</th>
111 111
                                 <th data-field="F_DF_THCore" data-align="center">退回情况</th>
112 112
                                 <th data-field="F_DF_ZSKCore" data-align="center">知识库情况</th>
113
+                                <th data-field="F_DF_ZJ" data-align="center">合计</th>
113 114
                                 <th data-field="F_Id" data-formatter="Dispose" data-align="center">操作</th>
114 115
                             </tr>
115 116
                         </thead>

+ 101 - 12
WebUI/CallCenterWeb.UI/CommonHtml/StrongLawsuit.html

@@ -8,6 +8,7 @@
8 8
     <link rel="stylesheet" href="../css/init.css" />
9 9
    	<title>强制结案</title>
10 10
 	<style type="text/css">
11
+		.isStandard,
11 12
 		.bulletUnit{
12 13
 			display: none;
13 14
 		}
@@ -43,6 +44,13 @@
43 44
 		select:disabled{
44 45
 			background-color: #eee;
45 46
 		}
47
+		.reasons{
48
+			display: none;
49
+			height: 160px;
50
+		}
51
+		#reasons{
52
+			height: 160px;
53
+		}
46 54
 	</style>
47 55
 	</head>
48 56
 	<body>
@@ -74,16 +82,42 @@
74 82
 				</tr>
75 83
 				<tr class="bulletUnit">
76 84
 					<th class="Importent">通报原因:</th>
77
-					<td><textarea name="" rows="4" cols="" id="bulletinReason"></textarea></td>
85
+                    <td>
86
+                    	<select name="" class="form-control orderType">
87
+                    		<option value="0">请选择通报原因</option>
88
+                    	</select>
89
+                    </td>
90
+					<!--<td><textarea name="" rows="4" cols="" id="bulletinReason"></textarea></td>-->
91
+				</tr>
92
+				<tr class="reasons">
93
+					<th class="Importent">其他原因:</th>
94
+					<td colspan="2"><textarea data-adaptheight id="reasons" name="" rows="6" cols=""></textarea></td>
78 95
 				</tr>
79 96
 				<tr>
80
-					<th class="Importent">结案意见:</th>
81
-					<td><textarea name="" rows="4" cols="" id="finalopinion"></textarea></td>
97
+					<th class="Importent">是否规范:</th>
98
+					<td>
99
+						<select class="select_" id='isStandard'>
100
+							<option value="0">是</option>
101
+							<option value="1">否</option>
102
+						</select>
103
+					</td>
104
+				</tr>
105
+				<tr class="isStandard">
106
+					<th class="Importent">不规范原因:</th>
107
+                    <td>
108
+                    	<select name="" class="form-control standard">
109
+                    		<option value="0">请选择不规范原因</option>
110
+                    	</select>
111
+                    </td>
82 112
 				</tr>
83 113
 				<tr>
114
+					<th class="Importent">备注:</th>
115
+					<td><textarea name="" rows="4" cols="" id="finalopinion"></textarea></td>
116
+				</tr>
117
+				<!--<tr>
84 118
 					<th class="Importent">处理结果:</th>
85 119
 					<td><textarea data-adaptheight name="" rows="4" cols="" id="result"></textarea></td>
86
-				</tr>
120
+				</tr>-->
87 121
 				
88 122
 			</table>
89 123
 			<div class="btn_box">
@@ -95,8 +129,12 @@
95 129
 			var wid = helper.request.queryString("wid");
96 130
 			var bulletinUnits = '';//通报单位
97 131
 			$(document).ready(function() {
132
+				//通报原因
133
+				getOrderType();
98 134
 				//获取单位
99 135
 				getUnit();
136
+				//不规范原因
137
+				getIsStandard();
100 138
 				//是否通报
101 139
 				$('#isBulletin').change(function(){
102 140
 					if($('#isBulletin').val() == '0'){
@@ -107,7 +145,15 @@
107 145
 						$('.bulletUnit').show();
108 146
 					}
109 147
 				});
110
-				
148
+				//是否规范
149
+				$('#isStandard').change(function(){
150
+					if($('#isStandard').val() == '0'){
151
+						//默认规范
152
+						$('.isStandard').hide();
153
+					}else if($('#isStandard').val()== '1'){
154
+						$('.isStandard').show();
155
+					}
156
+				});
111 157
 				//保存
112 158
 				$('.BC').click(function() {
113 159
                     if($('#isBulletin').val() == 0){
@@ -117,13 +163,13 @@
117 163
 	                    	JA(bulletinUnits);
118 164
 	                    }
119 165
                     }else if($('#isBulletin').val() == 1){
120
-                    	if($("input[name='checkbox']:checkbox:checked").length <= 0){
121
-                    		layer.msg("您没有选择通报单位。");
122
-                    	}else if(!$("#bulletinReason").val()){
166
+                    	if(!$(".orderType").val() || $('.orderType').val()==0){
123 167
                     		layer.msg("通报原因没有填写。");
124
-                    	}else if(!$("#result").val()){
125
-	                    	layer.msg("处理结果不能为空");
126
-	                    }else{
168
+                    		return
169
+                    	}else if ($(".orderType").val()==76&& !$('#reasons').val()){
170
+                    		layer.msg('其他通报原因没有填写');
171
+                    		return
172
+                    	}else {
127 173
 	                    	$("input[name='checkbox']:checkbox:checked").each(function(){
128 174
 								bulletinUnits += $(this).val() + ','; 
129 175
 	                    	});
@@ -136,6 +182,13 @@
136 182
 			});
137 183
 			//回退
138 184
 			function JA(bUnits) {
185
+				var standardID=$('.standard').val()
186
+				if($('#isStandard').val()==1 && standardID==0){
187
+					layer.msg('请选择不规范原因');
188
+					return
189
+				}else if($('#isStandard').val()==0) {
190
+					standardID=''
191
+				}
139 192
 				$.post(huayi.config.callcenter_url + 'WorkOrder/ForceFinishWorkOrder', {
140 193
 					workorderid: wid,
141 194
 					finalopinion:$("#finalopinion").val(),
@@ -143,7 +196,11 @@
143 196
 					issatisfie:$('input[name="huifang"]:checked ').val(),
144 197
 					isnotice: $('#isBulletin').val(),//0不通告1通告
145 198
 					deptids: bUnits,//通报单位
146
-					noticereson: $('#bulletinReason').val(),//通报原因
199
+//					noticereson: $('#bulletinReason').val(),//通报原因
200
+					noticeid:$('.orderType').val(),//通报id
201
+					noticereson:$('#reasons').val(),//其他通报原因
202
+					isstandard:$('#isStandard').val(),//是否规范0是1否
203
+					standardids:standardID,//不规范id
147 204
 					token: $.cookie("token")
148 205
 				}, function(result) {
149 206
 					//debugger;
@@ -199,6 +256,38 @@
199 256
 					}
200 257
 				})
201 258
 			}
259
+			function getOrderType() {
260
+				$.get(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByParentId', {
261
+					"token": $.cookie("token"),
262
+					pid: 62
263
+				}, function(result) {
264
+					result = $.parseJSON(result);
265
+					var Count = result.data;
266
+					$(Count).each(function(i, n) {
267
+			            $('<option value="' + n.F_ValueId + '">' + n.F_Value + '</option>').appendTo($(".orderType"));
268
+					})
269
+				});
270
+			}
271
+			//不规范原因
272
+			function getIsStandard() {
273
+				$.get(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByParentId', {
274
+					"token": $.cookie("token"),
275
+					pid: 78
276
+				}, function(result) {
277
+					result = $.parseJSON(result);
278
+					var Count = result.data;
279
+					$(Count).each(function(i, n) {
280
+			            $('<option value="' + n.F_ValueId + '">' + n.F_Value + '</option>').appendTo($(".standard"));
281
+					})
282
+				});
283
+			}
284
+			$('.orderType').change(()=>{
285
+				if($('.orderType').val()==76){
286
+					$('.reasons').show()
287
+				}else{
288
+					$('.reasons').hide()
289
+				}
290
+			})
202 291
 		</script>
203 292
 	</body>
204 293
 </html>

+ 62 - 4
WebUI/CallCenterWeb.UI/CommonHtml/checkDetail.html

@@ -12,6 +12,7 @@
12 12
 	    <link href="../css/init.css" rel="stylesheet" />
13 13
 	    <script src="../css/laydate/laydate.js"></script>
14 14
 		<style>
15
+			.ld-service1 li ,
15 16
 			.ld-service li {
16 17
 				float: left;
17 18
 				font-size: 14px;
@@ -21,7 +22,9 @@
21 22
 				text-align: center;
22 23
 				width: 14%;
23 24
 			}
24
-			
25
+			.ld-service1 li{
26
+				width: 40%;
27
+			}
25 28
 			.cr-click {
26 29
 				border-bottom: 2px solid #00a1cb;
27 30
 			}
@@ -29,7 +32,7 @@
29 32
 			.Shows {
30 33
 				display: block !important;
31 34
 			}
32
-			
35
+			.knowledge,
33 36
 			.complain {
34 37
 				display: none;
35 38
 			}
@@ -80,7 +83,10 @@
80 83
 				padding: 1px 0;
81 84
 			}
82 85
 			.datil_ul li:nth-child(1){
83
-				width: 100%;
86
+				width: 50%;
87
+			}
88
+			.datil_ul li:nth-child(2){
89
+				width: 50%;
84 90
 			}
85 91
 			/*.datil_ul li:nth-child(3){
86 92
 				width: 35%;
@@ -122,6 +128,10 @@
122 128
 					<span class="DeptName"></span>
123 129
 				</li>
124 130
 				<li>
131
+					合计:
132
+					<span class="DF_ZJ"></span>
133
+				</li>
134
+				<li>
125 135
 					<ul>
126 136
 						<li>
127 137
 							查收分数:
@@ -309,7 +319,41 @@
309 319
 				</div>
310 320
 				<!--知识库情况-->
311 321
 				<div class="complain  DCL ">
312
-					知识库情况
322
+					<div class="wrapper wrapper-content animated fadeInRight">
323
+						<ul class="ld-service1 clearfix">
324
+							<li itemtype="7" class="cr-click" itemtype="7">知识库索要更新不及时情况</li>
325
+							<li itemtype="8" itemtype="8">知识库纠错情况</li>
326
+						</ul>
327
+					</div>
328
+					<div class="knowledge Shows">
329
+						<div style="width: 100%;padding: 10px;">
330
+							<div style="text-align: center; height: ">
331
+								<table id="knowledge_update" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
332
+			                        <thead>
333
+			                            <tr>
334
+			                            	<th data-field="F_Descript" data-align="center">索要描述</th>
335
+			                                <th data-field="F_CreateTime" data-align="center">索要时间</th>
336
+			                            </tr>
337
+			                        </thead>
338
+			                  </table>
339
+							</div>
340
+						</div>
341
+					</div>
342
+					<div class="knowledge">
343
+						<div style="width: 100%;padding: 10px;">
344
+							<div style="text-align: center; height: ">
345
+								<table id="zskjclist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
346
+			                        <thead>
347
+			                            <tr>
348
+			                            	<th data-field="F_Title" data-align="center">知识库标题</th>
349
+			                                <th data-field="F_Reason" data-align="center">未解决原因</th>
350
+			                                <th data-field="F_OptOn" data-align="center">纠错时间</th>
351
+			                            </tr>
352
+			                        </thead>
353
+			                  </table>
354
+							</div>
355
+						</div>
356
+					</div>
313 357
 				</div>
314 358
 			</div>
315 359
 		</div>
@@ -333,7 +377,12 @@
333 377
 					$(".Content_box").find(".complain").eq(index).addClass("Shows").siblings().removeClass("Shows");
334 378
 
335 379
 				});
380
+				$(".ld-service1 li").click(function() {
381
+					$(this).addClass("cr-click").siblings().removeClass("cr-click");
382
+					var index = $(this).index();
383
+					$(".Content_box").find(".knowledge").eq(index).addClass("Shows").siblings().removeClass("Shows");
336 384
 
385
+				});
337 386
 				function initTable() {
338 387
 					$.ajax({
339 388
 	                    type: "get",
@@ -348,6 +397,7 @@
348 397
 						if(result.state.toLowerCase() == "success") {
349 398
 							var Data = result.data.data;
350 399
 							$(".DeptName").text(Data.F_DeptName);
400
+							$(".DF_ZJ").text(Data.F_DF_ZJ);
351 401
 							$(".DF_CSCore").text(Data.F_DF_CSCore);//查收分数
352 402
 							$(".CS_ReciveCount").text(Data.F_CS_ReciveCount);//查收次数
353 403
 							$(".CS_RecTimelyCount").text(Data.F_CS_RecTimelyCount);
@@ -378,6 +428,12 @@
378 428
                     		//退回情况
379 429
                     		var backlistData = result.data.backlist;
380 430
                     		$('#backlist').bootstrapTable('load', backlistData);
431
+                    		//知识库索要更新不及时情况
432
+                    		var zsksylistData = result.data.zsksylist;
433
+                    		$('#knowledge_update').bootstrapTable('load', zsksylistData);
434
+                    		//知识库纠错情况
435
+                    		var zskjclistData = result.data.zskjclist;
436
+                    		$('#zskjclist').bootstrapTable('load', zskjclistData);
381 437
 						}
382 438
 					
383 439
 					}
@@ -386,6 +442,8 @@
386 442
 				$('#feedlist').bootstrapTable('destroy').bootstrapTable({ striped: true });
387 443
 				$('#asslist').bootstrapTable('destroy').bootstrapTable({ striped: true });
388 444
 				$('#backlist').bootstrapTable('destroy').bootstrapTable({ striped: true });
445
+				$('#knowledge_update').bootstrapTable('destroy').bootstrapTable({ striped: true });
446
+				$('#zskjclist').bootstrapTable('destroy').bootstrapTable({ striped: true });
389 447
 		});
390 448
 		function setCode(val) {
391 449
 			return '<div><a class="xg" onclick= detail("' + val + '") >' + val + '</a></div>';

+ 53 - 3
WebUI/CallCenterWeb.UI/CommonHtml/lawsuits.html

@@ -9,6 +9,7 @@
9 9
 		<link rel="stylesheet" href="../css/init.css" />
10 10
 		<title>诉求单结案</title>
11 11
 		<style type="text/css">
12
+			.isStandard,
12 13
 			.bulletUnit{
13 14
 				display: none;
14 15
 			}
@@ -95,6 +96,23 @@
95 96
 					<td colspan="2"><textarea data-adaptheight id="reasons" name="" rows="6" cols=""></textarea></td>
96 97
 				</tr>
97 98
 				<tr>
99
+					<th class="Importent">是否规范:</th>
100
+					<td>
101
+						<select class="select_" id='isStandard'>
102
+							<option value="0">是</option>
103
+							<option value="1">否</option>
104
+						</select>
105
+					</td>
106
+				</tr>
107
+				<tr class="isStandard">
108
+					<th class="Importent">不规范原因:</th>
109
+                    <td>
110
+                    	<select name="" class="form-control standard">
111
+                    		<option value="0">请选择不规范原因</option>
112
+                    	</select>
113
+                    </td>
114
+				</tr>
115
+				<tr>
98 116
 					<th class="Importent">备注:</th>
99 117
 					<td colspan="2"><textarea data-adaptheight id="finalopinion" name="" rows="6" cols=""></textarea></td>
100 118
 				</tr>
@@ -113,6 +131,8 @@
113 131
 				getOrderType();
114 132
 				//获取单位
115 133
 				getUnit();
134
+				//不规范原因
135
+				getIsStandard();
116 136
 				//是否通报
117 137
 				$('#isBulletin').change(function(){
118 138
 					if($('#isBulletin').val() == '0'){
@@ -123,7 +143,15 @@
123 143
 						$('.bulletUnit').show();
124 144
 					}
125 145
 				});
126
-				
146
+				//是否规范
147
+				$('#isStandard').change(function(){
148
+					if($('#isStandard').val() == '0'){
149
+						//默认规范
150
+						$('.isStandard').hide();
151
+					}else if($('#isStandard').val()== '1'){
152
+						$('.isStandard').show();
153
+					}
154
+				});
127 155
 				$(".btns").click(function(){
128 156
 					if($('#isBulletin').val() == 0){
129 157
                     	JA(bulletinUnits);
@@ -149,15 +177,24 @@
149 177
 			})
150 178
 			
151 179
 			function JA(bUnits) {
180
+				var standardID=$('.standard').val()
181
+				if($('#isStandard').val()==1 && standardID==0){
182
+					layer.msg('请选择不规范原因');
183
+					return
184
+				}else if($('#isStandard').val()==0) {
185
+					standardID=''
186
+				}
152 187
 				$.post(huayi.config.callcenter_url + 'WorkOrder/FinishWorkOrder', {
153 188
 					workorderid: wid,
154 189
 					issatisfie:$('input[name="huifang"]:checked ').val(),
155 190
 					finalopinion: $("#finalopinion").val(),
156 191
 					isnotice: $('#isBulletin').val(),//0不通告1通告
157 192
 					deptids: bUnits,//通报单位
158
-					noticereson: $('#bulletinReason').val(),//通报原因
193
+//					noticereson: $('#bulletinReason').val(),//通报原因
159 194
 					noticeid:$('.orderType').val(),//通报id
160
-					content:$('#reasons').val(),//其他通报原因
195
+					noticereson:$('#reasons').val(),//其他通报原因
196
+					isstandard:$('#isStandard').val(),//是否规范0是1否
197
+					standardids:standardID,//不规范id
161 198
 					"token": $.cookie("token")
162 199
 				}, function(result) {
163 200
 					result = JSON.parse(result);
@@ -223,6 +260,19 @@
223 260
 					})
224 261
 				});
225 262
 			}
263
+			//不规范原因
264
+			function getIsStandard() {
265
+				$.get(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByParentId', {
266
+					"token": $.cookie("token"),
267
+					pid: 78
268
+				}, function(result) {
269
+					result = $.parseJSON(result);
270
+					var Count = result.data;
271
+					$(Count).each(function(i, n) {
272
+			            $('<option value="' + n.F_ValueId + '">' + n.F_Value + '</option>').appendTo($(".standard"));
273
+					})
274
+				});
275
+			}
226 276
 			$('.orderType').change(()=>{
227 277
 				if($('.orderType').val()==76){
228 278
 					$('.reasons').show()