miaofuhao 1 anno fa
parent
commit
427fdae3d7

+ 28 - 0
WebUI/CallCenterWeb.UI/.project

@@ -0,0 +1,28 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<projectDescription>
3
+	<name>anYang12345CallCenterWeb.UI</name>
4
+	<comment></comment>
5
+	<projects>
6
+	</projects>
7
+	<buildSpec>
8
+		<buildCommand>
9
+			<name>com.aptana.ide.core.unifiedBuilder</name>
10
+			<arguments>
11
+			</arguments>
12
+		</buildCommand>
13
+	</buildSpec>
14
+	<natures>
15
+		<nature>com.aptana.projects.webnature</nature>
16
+	</natures>
17
+	<filteredResources>
18
+		<filter>
19
+			<id>1714959117084</id>
20
+			<name></name>
21
+			<type>26</type>
22
+			<matcher>
23
+				<id>org.eclipse.ui.ide.multiFilter</id>
24
+				<arguments>1.0-name-matches-false-false-node_modules</arguments>
25
+			</matcher>
26
+		</filter>
27
+	</filteredResources>
28
+</projectDescription>

+ 242 - 184
WebUI/CallCenterWeb.UI/CommonHtml/auditAddReply.html

@@ -22,32 +22,74 @@
22 22
 						<tr>
23 23
 							<td class="text-center" style="min-width:80px;">承办人</td>
24 24
 							<td class="text-center" style="min-width:80px;">联系方式</td>
25
-							<td class="text-center" style="min-width:80px;">职务</td>
26
-							<td class="text-center" style="min-width:80px;">单位</td>
27 25
 							<td class="text-center" style="min-width:80px;">办理结果</td>
28 26
 							<td class="text-center" style="min-width:80px;">办理时间</td>
29 27
 							<td class="text-center" style="min-width:80px;">是/否向当事人反馈</td>
30 28
 							<td class="text-center" style="min-width:80px;">是否满意</td>
31
-							<td class="text-center" style="min-width:80px;">审核领导</td>
32
-							<td class="text-center" style="min-width:80px;">审核领导职务</td>
33
-							<td class="text-center" style="min-width:80px;">审核领导联系方式</td>
34 29
 							<td class="text-center" style="min-width:80px;">附件</td>
35 30
 							<td class="text-center" style="min-width:80px;">追加回复附件</td>
36
-							<td class="text-center" style="min-width:100px;">操作</td>
31
+							<td class="text-center" style="min-width:100px;">审核状态</td>
32
+							<td class="text-center" style="min-width:100px;">审核原因</td>
37 33
 						</tr>
38 34
 					</theard>
39 35
 					<tbody class="BLQK">
40 36
 					</tbody>
41 37
 				</table>
38
+				<div class="Common">
39
+					<div class="btn_box">
40
+						<button class="btns BC">提交</button>
41
+					</div>
42
+				</div>
43
+				
42 44
 			</div>
43 45
 		</div>
44 46
 		<script src="../js/adjustHeight.js"></script>
45 47
 		<script src="../css/laydate/laydate.js"></script>
46 48
 		<script>
47 49
 			var wid = helper.request.queryString("wid");
50
+			
51
+			var idData = []
48 52
 			$(document).ready(function() {
49 53
 				getDetail(16);
50 54
 			});
55
+			$(".BC").click(function(){
56
+				var isaudit
57
+				var params = getParams()
58
+				if (params.nexttype ===0|| params.nexttype ===2 ) {
59
+					params.isaudit = 1
60
+					if (params.nexttype === 0) {
61
+							layer.confirm('是否发送短信?', {
62
+								btn: ['是', '否'] //	按钮
63
+							}, function() {
64
+								params.issms = 1
65
+								handleAuditAppend(params)
66
+							}, function() {
67
+								params.issms =0
68
+								handleAuditAppend(params)
69
+							});
70
+					}else{
71
+						handleAuditAppend(params)
72
+					}
73
+				}else {
74
+					params.isaudit = 0
75
+					handleAuditAppend(params)
76
+				}
77
+			})
78
+			function handleAuditAppend (params) {
79
+				params.workorderid = wid
80
+				params.token = $.cookie("token")
81
+				console.log(params)
82
+				$.post(huayi.config.callcenter_url + 'WorkOrder/AuditAppend', params, function(result) {
83
+					result = JSON.parse(result);
84
+					if(result.state.toLowerCase() == "success") {
85
+						var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
86
+						parent.layer.close(index); //再执行关闭
87
+						parent.$("#orderlist").bootstrapTable("refresh");
88
+						parent.layer.msg("操作成功");
89
+
90
+					}
91
+				})
92
+			}
51 93
 			// 获取详情
52 94
 			function getDetail(type) {
53 95
 				$.ajax({
@@ -64,18 +106,12 @@
64 106
 
65 107
 						if(result.state.toLowerCase() == "success") {
66 108
 							var htmls = ''
109
+							var banliHtml;
110
+							var creatTime;
111
+							var number = 0
67 112
 							$(".BLQK").empty();
68 113
 							$(result.data.bldata).each(function(i, n) {
69
-								//类型
70
-								var bval = n.F_Type;
71
-								switch(bval + '') {
72
-									case '1':
73
-										bval = '主办';
74
-										break;
75
-									case '2':
76
-										bval = '协办';
77
-										break;
78
-								}
114
+								idData.push(n.F_Id)
79 115
 								//是/否向当事人反馈
80 116
 								var isProResultValue = n.F_IsProResult + "";
81 117
 								switch(isProResultValue) {
@@ -105,183 +141,205 @@
105 141
 										isSatisfiedValue = "不满意";
106 142
 										break;
107 143
 								}
108
-								//沟通时间 
109
-								var connectTimeValue = n.F_ConnectTime;
110
-								switch(connectTimeValue) {
111
-									case null:
112
-										connectTimeValue = "";
113
-										break;
114
-									default:
115
-										connectTimeValue = n.F_ConnectTime;
116
-								}
117
-								//职务
118
-								var dutiesValue
119
-								switch(n.F_Duties) {
120
-									case "":
121
-										dutiesValue = ""
122
-										break;
123
-									case null:
124
-										dutiesValue = ""
125
-										break;
126
-									default:
127
-										dutiesValue = n.F_Duties
128
-										break;
129
-								}
130
-								//处理情况
131
-								var situationValue
132
-								switch(n.F_Situation) {
133
-									case "":
134
-										situationValue = ""
135
-										break;
136
-									case null:
137
-										situationValue = ""
138
-										break;
139
-									default:
140
-										situationValue = n.F_Situation
141
-										break;
142
-								}
143
-
144
-								//已办未果备注
145
-								var unsuccessful
146
-								switch(n.F_Unsuccessful) {
147
-									case "":
148
-										unsuccessful = ""
149
-										break;
150
-									case null:
151
-										unsuccessful = ""
152
-										break;
153
-									default:
154
-										unsuccessful = n.F_Unsuccessful
155
-										break;
156
-								}
157
-
158
-								// 审核领导
159
-								var auditUser
160
-								switch(n.F_AuditUser) {
161
-									case "":
162
-										auditUser = ""
163
-										break;
164
-									case null:
165
-										auditUser = ""
166
-										break;
167
-									default:
168
-										auditUser = n.F_AuditUser
169
-										break;
170
-								}
171
-
172
-								// 领导职务
173
-								var auditPost
174
-								switch(n.F_AuditPost) {
175
-									case "":
176
-										auditPost = ""
177
-										break;
178
-									case null:
179
-										auditPost = ""
180
-										break;
181
-									default:
182
-										auditPost = n.F_AuditPost
183
-										break;
184
-								}
185
-
186
-								// 领导联系方式
187
-								var auditContact
188
-								switch(n.F_AuditContact) {
189
-									case "":
190
-										auditContact = ""
191
-										break;
192
-									case null:
193
-										auditContact = ""
194
-										break;
195
-									case undefined:
196
-										auditContact = ""
197
-										break;
198
-									default:
199
-										auditContact = n.F_AuditContact
200
-										break;
201
-								}
202
-								htmls += '<tr>' +
203
-									'<td class="text-center">' + n.F_DealUser +
204
-									'</td>' +
205
-									'<td class="text-center">' + n
206
-									.F_DealUserContact +
207
-									'</td>' +
208
-									'<td class="text-center">' + dutiesValue +
209
-									'</td>' +
210
-
211
-									'<td class="text-center">' + n.DeptName +
212
-									'</td>' +
213
-									'<td class="text-center">' + n.F_Result +
214
-									'</td>' +
215
-									'<td class="text-center">' + n.F_CreateTime +
216
-									'</td>' +
217
-									'<td class="text-center">' + isProResultValue +
218
-									'</td>' +
219
-									'<td class="text-center">' + isSatisfiedValue +
220
-									'</td>' +
221
-									'<td class="text-center">' + auditUser +
222
-									'</td>' +
223
-									'<td class="text-center">' + auditPost +
224
-									'</td>' +
225
-									'<td class="text-center">' + auditContact +
226
-									'</td>'
227
-								//办理情况附件
228
-								htmls += '<td class="gallerys">';
229
-								var FileHtml;
230
-								$(n.File).each(function(j, m) {
231
-									if(m.F_FileType == ".jpg" || m
232
-										.F_FileType ==
233
-										".png") {
234
-										FileHtml =
235
-											'<img class="gallery-pic" style="width:60px; height:60px" border="0" ondblclick="$.openPhotoGallery(this)" src="' +
236
-											m.F_FileUrl + '" alt="' + m
237
-											.F_FileName +
238
-											'" fileId="' + m.F_FileId + '">'
239
-									} else {
240
-										FileHtml =
241
-											'<div><a style="margin-right:5px;" target="view_window" href="' +
242
-											m.F_FileUrl + '" download="' + m
243
-											.F_FileName + '">' + m
244
-											.F_FileName.substring(
245
-												19) + '</a></div>'
246
-									}
247
-									htmls += FileHtml;
248
-								})
249
-								htmls += '</td>' +
250
-									'<td class="gallerys">'
251
-								var FileHtmls;
252
-								$(n.Files).each(function(j, m) {
253
-									if(m.F_FileType == ".jpg" || m
254
-										.F_FileType ==
255
-										".png") {
256
-										FileHtmls =
257
-											'<img style="width:60px; height:60px" border="0" ondblclick="$.openPhotoGallery(this)" src="' +
258
-											m.F_FileUrl + '" alt="' + m
259
-											.F_FileName +
260
-											'" fileId="' + m.F_FileId +
261
-											'">';
144
+								if(n.F_Type === 4){
145
+										htmls += '<tr>' +
146
+										'<td class="text-center">' + n.F_DealUser +
147
+										'</td>' +
148
+										'<td class="text-center">' + n.F_DealUserContact +
149
+										'</td>' +
150
+	
151
+										'<td class="text-center">' + n.F_Result +
152
+										'</td>' +
153
+										'<td class="text-center">' + n.F_CreateTime +
154
+										'</td>' +
155
+										'<td class="text-center">' + isProResultValue +
156
+										'</td>' +
157
+										'<td class="text-center">' + isSatisfiedValue +
158
+										'</td>' 
159
+	
160
+									//办理情况附件
161
+									htmls += '<td class="gallerys">';
162
+									var FileHtml;
163
+									$(n.File).each(function(j, m) {
164
+										if(m.F_FileType == ".jpg" || m.F_FileType ===".png") {
165
+											FileHtml =
166
+												'<img class="gallery-pic" style="width:60px; height:60px" border="0" ondblclick="$.openPhotoGallery(this)" src="' +
167
+												m.F_FileUrl + '" alt="' + m
168
+												.F_FileName +
169
+												'" fileId="' + m.F_FileId + '">'
170
+										} else {
171
+											FileHtml =
172
+												'<div><a style="margin-right:5px;" target="view_window" href="' +
173
+												m.F_FileUrl + '" download="' + m
174
+												.F_FileName + '">' + m
175
+												.F_FileName.substring(
176
+													19) + '</a></div>'
177
+										}
178
+										htmls += FileHtml;
179
+									})
180
+									htmls += '</td>' +
181
+										'<td class="gallerys">'
182
+									var FileHtmls;
183
+									
184
+									
185
+									
186
+									$(n.Files).each(function(j, m) {
187
+										if(m.F_FileType == ".jpg" || m
188
+											.F_FileType ==
189
+											".png") {
190
+											FileHtmls =
191
+												'<img style="width:60px; height:60px" border="0" ondblclick="$.openPhotoGallery(this)" src="' +
192
+												m.F_FileUrl + '" alt="' + m
193
+												.F_FileName +
194
+												'" fileId="' + m.F_FileId +
195
+												'">';
196
+										} else {
197
+											FileHtmls =
198
+												'<div><a style="margin-right:5px;" target="view_window" href="' +
199
+												m.F_FileUrl + '" download="' + m
200
+												.F_FileName + '">' + m
201
+												.F_FileName.substring(
202
+													19) + '</a></div>'
203
+										}
204
+										htmls += FileHtmls
205
+									})
206
+									htmls += '</td>';
207
+									htmls +='<td class="text-center"><select class="select_"  id="audio_'+n.F_Id+'"><option value="1">同意</option><option value="2">同意并公开</option><option value="3">拒绝</option></select></td>'
208
+									htmls +='<td class="text-center"><textarea class="select_"  id="reason'+n.F_Id+'"></textarea></td></tr>'
209
+								}else if (n.F_Type === 1) {
210
+									number++
211
+									if (number === 1) {
212
+										creatTime = n.F_CreateTime
213
+										banliHtml = getHtml(n,isProResultValue,isSatisfiedValue)
262 214
 									} else {
263
-										FileHtmls =
264
-											'<div><a style="margin-right:5px;" target="view_window" href="' +
265
-											m.F_FileUrl + '" download="' + m
266
-											.F_FileName + '">' + m
267
-											.F_FileName.substring(
268
-												19) + '</a></div>'
215
+										if (new Date(n.F_CreateTime)>new Date(creatTime) ) {
216
+											creatTime = n.F_CreateTime
217
+											if (n.F_IsAudit) {
218
+												banliHtml = ''
219
+											} else{
220
+												banliHtml = getHtml(n,isProResultValue,isSatisfiedValue)
221
+											}
222
+											
223
+										}
269 224
 									}
270
-									htmls += FileHtmls
271
-								})
272
-								htmls += '</td>';
273
-																					
274
-								htmls +="<td class='text-center'><a class='xg' onclick='audioAddReply("+n.F_Id+")' title='审核'>审核</a></td></tr>" 
225
+								}
275 226
 								
276 227
 							})
277
-
228
+							if (banliHtml) {
229
+								$(banliHtml).appendTo($(".BLQK"));
230
+							}
278 231
 							$(htmls).appendTo($(".BLQK"));
279 232
 						}
280 233
 					}
281 234
 				})
282 235
 			}
283
-		
284
-		
236
+			function getHtml(n,isProResultValue,isSatisfiedValue){
237
+				var returnHtml = ''
238
+				returnHtml += '<tr>' +
239
+								'<td class="text-center">' + n.F_DealUser +
240
+								'</td>' +
241
+								'<td class="text-center">' + n.F_DealUserContact +
242
+								'</td>' +
243
+	
244
+								'<td class="text-center">' + n.F_Result +
245
+								'</td>' +
246
+								'<td class="text-center">' + n.F_CreateTime +
247
+								'</td>' +
248
+								'<td class="text-center">' + isProResultValue +
249
+								'</td>' +
250
+								'<td class="text-center">' + isSatisfiedValue +
251
+								'</td>' 
252
+				//办理情况附件
253
+				returnHtml += '<td class="gallerys">';
254
+				var FileHtml;
255
+				$(n.File).each(function(j, m) {
256
+					if(m.F_FileType == ".jpg" || m.F_FileType ===".png") {
257
+						FileHtml =
258
+							'<img class="gallery-pic" style="width:60px; height:60px" border="0" ondblclick="$.openPhotoGallery(this)" src="' +
259
+							m.F_FileUrl + '" alt="' + m
260
+							.F_FileName +
261
+							'" fileId="' + m.F_FileId + '">'
262
+					} else {
263
+						FileHtml =
264
+							'<div><a style="margin-right:5px;" target="view_window" href="' +
265
+							m.F_FileUrl + '" download="' + m
266
+							.F_FileName + '">' + m
267
+							.F_FileName.substring(
268
+								19) + '</a></div>'
269
+					}
270
+					returnHtml += FileHtml;
271
+				})
272
+				returnHtml +=  '</td><td class="gallerys">';
273
+				var FileHtmls;
274
+				var creatTime;
275
+				var number = 0
276
+				$(n.Files).each(function(j, m) {
277
+					if(m.F_FileType == ".jpg" || m
278
+						.F_FileType ==
279
+						".png") {
280
+						FileHtmls =
281
+							'<img style="width:60px; height:60px" border="0" ondblclick="$.openPhotoGallery(this)" src="' +
282
+							m.F_FileUrl + '" alt="' + m
283
+							.F_FileName +
284
+							'" fileId="' + m.F_FileId +
285
+							'">';
286
+					} else {
287
+						FileHtmls =
288
+							'<div><a style="margin-right:5px;" target="view_window" href="' +
289
+							m.F_FileUrl + '" download="' + m
290
+							.F_FileName + '">' + m
291
+							.F_FileName.substring(
292
+								19) + '</a></div>'
293
+					}
294
+					returnHtml += FileHtmls
295
+				})
296
+				returnHtml += '</td>';
297
+				returnHtml += '<td class="text-center"><select class="select_"  id="audio_'+n.F_Id+'"><option value="4">审核通过</option><option value="5">审核不通过</option><option value="6">审核通过并转办</option></select></td>'
298
+				returnHtml += '<td class="text-center"><textarea class="select_"  id="reason'+n.F_Id+'"></textarea></td></tr>'
299
+				return returnHtml
300
+			}
301
+			function getParams(){
302
+				var paramsAppend = []
303
+				var dataParams = {}
304
+				idData.forEach((ele)=>{
305
+					var obj = {}
306
+					if ($("#audio_"+ele).val() =='1') { 	 //	同意
307
+						obj.backid = ele
308
+						obj.reason =$("#reason"+ele).val() 
309
+						obj.state = 1
310
+						obj.isopen = 0
311
+						paramsAppend.push(obj)
312
+					} else if ($("#audio_"+ele).val() =='2' ) { 	//	同意并公开
313
+						obj.backid = ele
314
+						obj.reason =$("#reason"+ele).val() 
315
+						obj.state = 1
316
+						obj.isopen = 1
317
+						paramsAppend.push(obj)
318
+					}  else if ($("#audio_"+ele).val() =='3' ){	//	拒绝
319
+						obj.backid = ele
320
+						obj.reason =$("#reason"+ele).val() 
321
+						obj.state =2
322
+						obj.isopen = 0
323
+						paramsAppend.push(obj)
324
+					}  else if ($("#audio_"+ele).val() =='4') {	//	审核通过
325
+						dataParams.nexttype = 0
326
+						dataParams.cbreason = $("#reason"+ele).val() 
327
+						dataParams.backid = ele
328
+					}  else if ($("#audio_"+ele).val() =='5') {	//	审核不通过
329
+						dataParams.nexttype = 1
330
+						dataParams.cbreason = $("#reason"+ele).val() 
331
+						dataParams.backid = ele
332
+					}  else if ($("#audio_"+ele).val() =='6') {	//	审核通过并转办
333
+						dataParams.nexttype = 2
334
+						dataParams.backid = ele
335
+						dataParams.cbreason = $("#reason"+ele).val() 
336
+					} 
337
+					
338
+					
339
+				})
340
+				dataParams.Append = paramsAppend
341
+				return dataParams
342
+			}
285 343
 			// 追加回复 69
286 344
 			function audioAddReply(str){ 
287 345
 				layer.open({

+ 38 - 125
WebUI/CallCenterWeb.UI/CommonHtml/auditAddReplyThird.html

@@ -22,32 +22,59 @@
22 22
 						<tr>
23 23
 							<td class="text-center" style="min-width:80px;">承办人</td>
24 24
 							<td class="text-center" style="min-width:80px;">联系方式</td>
25
-							<td class="text-center" style="min-width:80px;">职务</td>
26
-							<td class="text-center" style="min-width:80px;">单位</td>
27 25
 							<td class="text-center" style="min-width:80px;">办理结果</td>
28 26
 							<td class="text-center" style="min-width:80px;">办理时间</td>
29 27
 							<td class="text-center" style="min-width:80px;">是/否向当事人反馈</td>
30 28
 							<td class="text-center" style="min-width:80px;">是否满意</td>
31
-							<td class="text-center" style="min-width:80px;">审核领导</td>
32
-							<td class="text-center" style="min-width:80px;">审核领导职务</td>
33
-							<td class="text-center" style="min-width:80px;">审核领导联系方式</td>
34 29
 							<td class="text-center" style="min-width:80px;">附件</td>
35 30
 							<td class="text-center" style="min-width:80px;">追加回复附件</td>
36
-							<td class="text-center" style="min-width:100px;">操作</td>
31
+							<td class="text-center" style="min-width:100px;">是否同意</td>
32
+							<td class="text-center" style="min-width:100px;">审核原因</td>
37 33
 						</tr>
38 34
 					</theard>
39 35
 					<tbody class="BLQK">
40 36
 					</tbody>
41 37
 				</table>
38
+				<div class="Common">
39
+					<div class="btn_box">
40
+						<button class="btns BC">提交</button>
41
+					</div>
42
+				</div>
42 43
 			</div>
43 44
 		</div>
44 45
 		<script src="../js/adjustHeight.js"></script>
45 46
 		<script src="../css/laydate/laydate.js"></script>
46 47
 		<script>
47 48
 			var wid = helper.request.queryString("wid");
49
+			var idData = []
50
+			var appendData = []
48 51
 			$(document).ready(function() {
49 52
 				getDetail(17);
50 53
 			});
54
+			$(".BC").click(function(){
55
+				appendData = []
56
+				idData.forEach((ele)=>{
57
+					var obj = {}
58
+					obj.backid = ele
59
+					obj.state = $("#audio_"+ele).val()
60
+					obj.reason =$("#reason"+ele).val() 
61
+					appendData.push(obj)
62
+				})
63
+				$.post(huayi.config.callcenter_url + 'WorkOrder/EJAuditAppend', {
64
+					workorderid:wid,
65
+					Append: appendData,
66
+					token: $.cookie("token")
67
+				}, function(result) {
68
+					result = JSON.parse(result);
69
+					if(result.state.toLowerCase() == "success") {
70
+						var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
71
+						parent.layer.close(index); //再执行关闭
72
+						parent.$("#orderlist").bootstrapTable("refresh");
73
+						parent.layer.msg("操作成功");
74
+
75
+					}
76
+				})
77
+			})
51 78
 			// 获取详情
52 79
 			function getDetail(type) {
53 80
 				$.ajax({
@@ -66,16 +93,7 @@
66 93
 							var htmls = ''
67 94
 							$(".BLQK").empty();
68 95
 							$(result.data.bldata).each(function(i, n) {
69
-								//类型
70
-								var bval = n.F_Type;
71
-								switch(bval + '') {
72
-									case '1':
73
-										bval = '主办';
74
-										break;
75
-									case '2':
76
-										bval = '协办';
77
-										break;
78
-								}
96
+								idData.push(n.F_Id)
79 97
 								//是/否向当事人反馈
80 98
 								var isProResultValue = n.F_IsProResult + "";
81 99
 								switch(isProResultValue) {
@@ -105,110 +123,10 @@
105 123
 										isSatisfiedValue = "不满意";
106 124
 										break;
107 125
 								}
108
-								//沟通时间 
109
-								var connectTimeValue = n.F_ConnectTime;
110
-								switch(connectTimeValue) {
111
-									case null:
112
-										connectTimeValue = "";
113
-										break;
114
-									default:
115
-										connectTimeValue = n.F_ConnectTime;
116
-								}
117
-								//职务
118
-								var dutiesValue
119
-								switch(n.F_Duties) {
120
-									case "":
121
-										dutiesValue = ""
122
-										break;
123
-									case null:
124
-										dutiesValue = ""
125
-										break;
126
-									default:
127
-										dutiesValue = n.F_Duties
128
-										break;
129
-								}
130
-								//处理情况
131
-								var situationValue
132
-								switch(n.F_Situation) {
133
-									case "":
134
-										situationValue = ""
135
-										break;
136
-									case null:
137
-										situationValue = ""
138
-										break;
139
-									default:
140
-										situationValue = n.F_Situation
141
-										break;
142
-								}
143
-
144
-								//已办未果备注
145
-								var unsuccessful
146
-								switch(n.F_Unsuccessful) {
147
-									case "":
148
-										unsuccessful = ""
149
-										break;
150
-									case null:
151
-										unsuccessful = ""
152
-										break;
153
-									default:
154
-										unsuccessful = n.F_Unsuccessful
155
-										break;
156
-								}
157
-
158
-								// 审核领导
159
-								var auditUser
160
-								switch(n.F_AuditUser) {
161
-									case "":
162
-										auditUser = ""
163
-										break;
164
-									case null:
165
-										auditUser = ""
166
-										break;
167
-									default:
168
-										auditUser = n.F_AuditUser
169
-										break;
170
-								}
171
-
172
-								// 领导职务
173
-								var auditPost
174
-								switch(n.F_AuditPost) {
175
-									case "":
176
-										auditPost = ""
177
-										break;
178
-									case null:
179
-										auditPost = ""
180
-										break;
181
-									default:
182
-										auditPost = n.F_AuditPost
183
-										break;
184
-								}
185
-
186
-								// 领导联系方式
187
-								var auditContact
188
-								switch(n.F_AuditContact) {
189
-									case "":
190
-										auditContact = ""
191
-										break;
192
-									case null:
193
-										auditContact = ""
194
-										break;
195
-									case undefined:
196
-										auditContact = ""
197
-										break;
198
-									default:
199
-										auditContact = n.F_AuditContact
200
-										break;
201
-								}
202 126
 								htmls += '<tr>' +
203 127
 									'<td class="text-center">' + n.F_DealUser +
204 128
 									'</td>' +
205
-									'<td class="text-center">' + n
206
-									.F_DealUserContact +
207
-									'</td>' +
208
-									'<td class="text-center">' + dutiesValue +
209
-									'</td>' +
210
-
211
-									'<td class="text-center">' + n.DeptName +
129
+									'<td class="text-center">' + n.F_DealUserContact +
212 130
 									'</td>' +
213 131
 									'<td class="text-center">' + n.F_Result +
214 132
 									'</td>' +
@@ -217,13 +135,7 @@
217 135
 									'<td class="text-center">' + isProResultValue +
218 136
 									'</td>' +
219 137
 									'<td class="text-center">' + isSatisfiedValue +
220
-									'</td>' +
221
-									'<td class="text-center">' + auditUser +
222
-									'</td>' +
223
-									'<td class="text-center">' + auditPost +
224
-									'</td>' +
225
-									'<td class="text-center">' + auditContact +
226
-									'</td>'
138
+									'</td>' 
227 139
 								//办理情况附件
228 140
 								htmls += '<td class="gallerys">';
229 141
 								var FileHtml;
@@ -271,7 +183,8 @@
271 183
 								})
272 184
 								htmls += '</td>';
273 185
 																					
274
-								htmls +="<td class='text-center'><a class='xg' onclick='audioAddReply( \""+n.F_Id+"\",\""+n.F_WorkOrderId+"\")' title='审核'>审核</a></td></tr>" 
186
+								htmls +='<td class="text-center"><select class="select_"  id="audio_'+n.F_Id+'"><option value="1">同意</option><option value="2">拒绝</option></select></td>'
187
+								htmls +='<td class="text-center"><textarea class="select_"  id="reason'+n.F_Id+'"></textarea></td></tr>'
275 188
 								
276 189
 							})
277 190
 

+ 138 - 138
WebUI/CallCenterWeb.UI/CommonHtml/processing_audit.html

@@ -43,22 +43,16 @@
43 43
 						<td class="text-center" style="min-width:80px;">职务</td>
44 44
 						<td class="text-center" style="min-width:80px;">处理结果</td>
45 45
 						<td class="text-center" style="min-width:80px;">单位</td>
46
-						<!-- <td class="text-center" style="min-width:80px;">类型</td> -->
47
-						<!--<td class="text-center" style="min-width:80px;">办理结果</td>-->
48 46
 						<td class="text-center" style="min-width:80px;">办理时间</td>
49 47
 						<td class="text-center" style="min-width:80px;">是/否向当事人反馈</td>
50 48
 						<td class="text-center" style="min-width:80px;">是否满意</td>
51 49
 						<td class="text-center" style="min-width:80px;">审核领导</td>
52
-						<!-- <td class="text-center" style="min-width:80px;">处理方案/进程</td> -->
53 50
 						<td class="text-center" style="min-width:80px;">附件</td>
54 51
 						<td class="text-center authority" style="min-width: 100px;">操作</td>
55 52
 					</tr>
56 53
 				</theard>
57 54
 				<tbody class="BLNR" style="border-top: none; padding: 8px;">
58 55
 				</tbody>
59
-				<!--<div class="FJ">
60
-					
61
-				</div>-->
62 56
 			</table>
63 57
 			<table>
64 58
 				<tr>
@@ -170,143 +164,149 @@
170 164
 										return
171 165
 									}
172 166
 									var ejbldata = result.data.ejbldata
167
+									
173 168
 									$.each(ejbldata, function(i, n) {
174
-										var bval = n.F_Type;
175
-										switch(bval + '') {
176
-											case '1':
177
-												bval = '主办';
178
-												break;
179
-											case '2':
180
-												bval = '协办';
181
-												break;
182
-										}
183
-
184
-										//是/否向当事人反馈
185
-										var isProResultValue = n.F_IsProResult + "";
186
-										switch(isProResultValue) {
187
-											case "0":
188
-												isProResultValue = "否";
189
-												break;
190
-											case "1":
191
-												isProResultValue = "是";
192
-												break;
193
-											case "2":
194
-												isProResultValue = "已办未果";
195
-												break;
196
-										}
197
-										//是否满意
198
-										var isSatisfiedValue = n.F_IsSatisfied + "";
199
-										switch(isSatisfiedValue) {
200
-											case "0":
201
-												isSatisfiedValue = "未评价";
202
-												break;
203
-											case "1":
204
-												isSatisfiedValue = "满意";
205
-												break;
206
-											case "2":
207
-												isSatisfiedValue = "基本满意";
208
-												break;
209
-											case "3":
210
-												isSatisfiedValue = "不满意";
211
-												break;
212
-										}
213
-										//沟通时间 
214
-										var connectTimeValue = n.F_ConnectTime;
215
-										switch(connectTimeValue) {
216
-											case null:
217
-												connectTimeValue = "";
218
-												break;
219
-											default:
220
-												connectTimeValue = n.F_ConnectTime;
221
-										}
222
-										//职务
223
-										var dutiesValue
224
-										switch(n.F_Duties) {
225
-											case "":
226
-												dutiesValue = ""
227
-												break;
228
-											case null:
229
-												dutiesValue = ""
230
-												break;
231
-											default:
232
-												dutiesValue = n.F_Duties
233
-												break;
234
-										}
235
-										//处理情况
236
-										var situationValue
237
-										switch(n.F_Situation) {
238
-											case "":
239
-												situationValue = ""
240
-												break;
241
-											case null:
242
-												situationValue = ""
243
-												break;
244
-											default:
245
-												situationValue = n.F_Situation
246
-												break;
247
-										}
248
-
249
-										// 审核领导
250
-										var auditUser
251
-										switch(n.F_AuditUser) {
252
-											case "":
253
-												auditUser = ""
254
-												break;
255
-											case null:
256
-												auditUser = ""
257
-												break;
258
-											default:
259
-												auditUser = n.F_AuditUser
260
-												break;
261
-										}
262
-
263
-										temp1 = temp1 +
264
-											'<tr>' +
265
-											'<td class="text-center">' + n.F_DealUser + '</td>' +
266
-											'<td class="text-center">' + n.F_DealUserContact + '</td>' +
267
-											'<td class="text-center">' + dutiesValue + '</td>' +
268
-											'<td class="text-center">' + situationValue + '</td>' +
269
-											'<td class="text-center">' + n.DeptName + '</td>' +
270
-											'<td class="text-center">' + n.F_CreateTime + '</td>' +
271
-											'<td class="text-center">' + isProResultValue + '</td>' +
272
-											'<td class="text-center">' + isSatisfiedValue + '</td>' +
273
-											'<td class="text-center">' + auditUser + '</td>' +
274
-											'<td class="text-center FJ" style="color:#00a1cb;">';
275
-										var FileHtml;
276
-										$(n.File).each(function(j, m) {
277
-											if(m.F_FileType == ".jpg" || m
278
-												.F_FileType ==
279
-												".png") {
280
-												FileHtml =
281
-													'<img style="width:80px; height:80px" border="0" onclick="viewImage(this)" src="' +
282
-													m.F_FileUrl + '" alt="' + m
283
-													.F_FileName +
284
-													'" fileId="' + m.F_FileId +
285
-													'">';
286
-											} else {
287
-												FileHtml =
288
-													'<div><a style="margin-right:5px;" target="view_window" href="' +
289
-													m.F_FileUrl + '" download="' + m
290
-													.F_FileName + '">' + m.F_FileName.substring(
291
-														19) + '</a></div>'
169
+										if (n .F_Type === 1) {
170
+											var bval = n.F_Type;
171
+											switch(bval + '') {
172
+												case '1':
173
+													bval = '主办';
174
+													break;
175
+												case '2':
176
+													bval = '协办';
177
+													break;
292 178
 											}
293
-											temp1 += FileHtml;
294
-										})
295
-										if(n.F_IsAudit == 0) {
296
-											temp1 += "</td>" +
297
-												'<td class="text-center authority"><a class="xg edit" index="' +
298
-												n
299
-												.F_Id + '">修改</a>'
300
-											temp1 += '<a class="xg sendOrders" index="' + n.F_WorkOrderId + '">派单</a>'
301
-											temp1 += '<a class="xg BC" index="' + n.F_Id + '">同意</a>'
302
-											temp1 += '<a class="xg Submit" index="' + n.F_Id + '">拒绝</a>'
303
-
304
-											'</td></tr>'
305
-
179
+	
180
+											//是/否向当事人反馈
181
+											var isProResultValue = n.F_IsProResult + "";
182
+											switch(isProResultValue) {
183
+												case "0":
184
+													isProResultValue = "否";
185
+													break;
186
+												case "1":
187
+													isProResultValue = "是";
188
+													break;
189
+												case "2":
190
+													isProResultValue = "已办未果";
191
+													break;
192
+											}
193
+											//是否满意
194
+											var isSatisfiedValue = n.F_IsSatisfied + "";
195
+											switch(isSatisfiedValue) {
196
+												case "0":
197
+													isSatisfiedValue = "未评价";
198
+													break;
199
+												case "1":
200
+													isSatisfiedValue = "满意";
201
+													break;
202
+												case "2":
203
+													isSatisfiedValue = "基本满意";
204
+													break;
205
+												case "3":
206
+													isSatisfiedValue = "不满意";
207
+													break;
208
+											}
209
+											//沟通时间 
210
+											var connectTimeValue = n.F_ConnectTime;
211
+											switch(connectTimeValue) {
212
+												case null:
213
+													connectTimeValue = "";
214
+													break;
215
+												default:
216
+													connectTimeValue = n.F_ConnectTime;
217
+											}
218
+											//职务
219
+											var dutiesValue
220
+											switch(n.F_Duties) {
221
+												case "":
222
+													dutiesValue = ""
223
+													break;
224
+												case null:
225
+													dutiesValue = ""
226
+													break;
227
+												default:
228
+													dutiesValue = n.F_Duties
229
+													break;
230
+											}
231
+											//处理情况
232
+											var situationValue
233
+											switch(n.F_Situation) {
234
+												case "":
235
+													situationValue = ""
236
+													break;
237
+												case null:
238
+													situationValue = ""
239
+													break;
240
+												default:
241
+													situationValue = n.F_Situation
242
+													break;
243
+											}
244
+	
245
+											// 审核领导
246
+											var auditUser
247
+											switch(n.F_AuditUser) {
248
+												case "":
249
+													auditUser = ""
250
+													break;
251
+												case null:
252
+													auditUser = ""
253
+													break;
254
+												default:
255
+													auditUser = n.F_AuditUser
256
+													break;
257
+											}
258
+	
259
+											temp1 = temp1 +
260
+												'<tr>' +
261
+												'<td class="text-center">' + n.F_DealUser + '</td>' +
262
+												'<td class="text-center">' + n.F_DealUserContact + '</td>' +
263
+												'<td class="text-center">' + dutiesValue + '</td>' +
264
+												'<td class="text-center">' + situationValue + '</td>' +
265
+												'<td class="text-center">' + n.DeptName + '</td>' +
266
+												'<td class="text-center">' + n.F_CreateTime + '</td>' +
267
+												'<td class="text-center">' + isProResultValue + '</td>' +
268
+												'<td class="text-center">' + isSatisfiedValue + '</td>' +
269
+												'<td class="text-center">' + auditUser + '</td>' +
270
+												'<td class="text-center FJ" style="color:#00a1cb;">';
271
+											var FileHtml;
272
+											$(n.File).each(function(j, m) {
273
+												if(m.F_FileType == ".jpg" || m
274
+													.F_FileType ==
275
+													".png") {
276
+													FileHtml =
277
+														'<img style="width:80px; height:80px" border="0" onclick="viewImage(this)" src="' +
278
+														m.F_FileUrl + '" alt="' + m
279
+														.F_FileName +
280
+														'" fileId="' + m.F_FileId +
281
+														'">';
282
+												} else {
283
+													FileHtml =
284
+														'<div><a style="margin-right:5px;" target="view_window" href="' +
285
+														m.F_FileUrl + '" download="' + m
286
+														.F_FileName + '">' + m.F_FileName.substring(
287
+															19) + '</a></div>'
288
+												}
289
+												temp1 += FileHtml;
290
+											})
291
+											if(n.F_IsAudit == 0) {
292
+												temp1 += "</td>" +
293
+													'<td class="text-center authority"><a class="xg edit" index="' +
294
+													n
295
+													.F_Id + '">修改</a>'
296
+												temp1 += '<a class="xg sendOrders" index="' + n.F_WorkOrderId + '">派单</a>'
297
+												temp1 += '<a class="xg BC" index="' + n.F_Id + '">同意</a>'
298
+												temp1 += '<a class="xg Submit" index="' + n.F_Id + '">拒绝</a>'
299
+	
300
+												'</td></tr>'
301
+	
302
+											}
303
+											ccc = n.F_Id;
306 304
 										}
307
-										ccc = n.F_Id;
305
+										
308 306
 									});
307
+									
309 308
 									$('.BLNR').append(temp1);
309
+									
310 310
 									$(".edit").click(function() {
311 311
 										var index = $(this).attr('index');
312 312
 										layer.open({

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

@@ -3,8 +3,8 @@
3 3
 }
4 4
 //var AYWebUrl = window.document.location.href
5 5
 huayi.config = {
6
-	callcenter_url: "http://192.168.8.9:1042/",//生产环境
7
-//	callcenter_url: "http://docking.zwfw.anyang.gov.cn:65527/", //生产环境 
6
+	callcenter_url: "http://192.168.8.9:1042/",// 生产环境
7
+//	callcenter_url: "http://docking.zwfw.anyang.gov.cn:65527/", // 生产环境 
8 8
     socket_ip: "192.168.8.7", //ip
9 9
 //	translation_socket:"ws://125.45.12.102:12233",
10 10
 	translation_socket:"ws://192.168.8.7:8081",

+ 3 - 5
WebUI/CallCenterWeb.UI/commonWorderList/js/orderListHeader.js

@@ -161,11 +161,9 @@ var setting1 = {
161 161
 };
162 162
 
163 163
 function zTreeOnClick(event, treeId, treeNode) {
164
-	if(treeNode.level >= 1) {
165
-		$(".inps").val(treeNode.F_DeptName);
166
-		$("#PID").val(treeNode.F_DeptId);
167
-		$(".Cleans").show();
168
-	}
164
+	$(".inps").val(treeNode.F_DeptName);
165
+	$("#PID").val(treeNode.F_DeptId);
166
+	$(".Cleans").show();
169 167
 }
170 168
 //树形下拉结束
171 169
 // 获取反映类别数据,多级下拉选项

+ 25 - 19
WebUI/CallCenterWeb.UI/commonWorderList/js/orderListOperation.js

@@ -604,19 +604,25 @@ function unsuccessful(str) {
604 604
 }
605 605
 //审核通过51
606 606
 function approved(str) {
607
-	layer.confirm('确认审核通过吗?', {
608
-		btn: ['是', '否'] //	按钮
609
-	}, function() {
610
-
611
-		layer.confirm('是否发送短信?', {
612
-			btn: ['是', '否'] //	按钮
613
-		}, function() {
614
-			toExamineWorkOrder(str, 1)
615
-		}, function() {
616
-			toExamineWorkOrder(str, 0)
617
-		});
618
-
607
+	layer.open({
608
+		type: 2,
609
+		content: "../CommonHtml/auditAddReply.html?wid=" + str , //iframe的url,no代表不显示滚动条
610
+		title: "办理工单",
611
+		area: ["100%", "80%"], //宽高
619 612
 	});
613
+//	layer.confirm('确认审核通过吗?', {
614
+//		btn: ['是', '否'] //	按钮
615
+//	}, function() {
616
+//
617
+//		layer.confirm('是否发送短信?', {
618
+//			btn: ['是', '否'] //	按钮
619
+//		}, function() {
620
+//			toExamineWorkOrder(str, 1)
621
+//		}, function() {
622
+//			toExamineWorkOrder(str, 0)
623
+//		});
624
+//
625
+//	});
620 626
 }
621 627
 //
622 628
 function toExamineWorkOrder(str, issmsAudit) {
@@ -902,10 +908,10 @@ function addReply(str,isProtect){
902 908
 		type: 2,
903 909
 		content: "../CommonHtml/addReply.html?wid=" + str + "&isProtect=" + isProtect, //iframe的url,no代表不显示滚动条
904 910
 		title: "办理工单",
905
-		area: ["60%", "80%"], //宽高
911
+		area: ["100%", "80%"], //宽高
906 912
 	});
907 913
 }
908
-// 追加回复 69
914
+// 审核追加回复 69
909 915
 function audioAddReply(str){ 
910 916
 	layer.open({
911 917
 		type: 2,
@@ -915,21 +921,21 @@ function audioAddReply(str){
915 921
 	});
916 922
 }
917 923
 
918
-// 审核三级单位追加回复 70
924
+// 三级单位追加回复 70
919 925
 function audioAddReplyThird(str){ 
920 926
 	layer.open({
921 927
 		type: 2,
922 928
 		content: "../CommonHtml/auditAddReplyThird.html?wid=" + str , //iframe的url,no代表不显示滚动条
923 929
 		title: "办理工单",
924
-		area: ["100%", "80%"], //宽高
930
+		area: ["100%", "80%"], // 宽高
925 931
 	});
926 932
 }
927
-// 三级单位追加回复 71
933
+// 审核三级单位追加回复 71
928 934
 function addReplyThird(str,isProtect){
929 935
 	layer.open({
930 936
 		type: 2,
931
-		content: "../CommonHtml/addReplyThird.html?wid=" + str + "&isProtect=" + isProtect, //iframe的url,no代表不显示滚动条
937
+		content: "../CommonHtml/addReplyThird.html?wid=" + str + "&isProtect=" + isProtect, // iframe的url,no代表不显示滚动条
932 938
 		title: "办理工单",
933
-		area: ["60%", "80%"], //宽高
939
+		area: ["100%", "80%"], //宽高
934 940
 	});
935 941
 }

+ 7 - 16
WebUI/CallCenterWeb.UI/commonWorderList/orderList.html

@@ -424,57 +424,48 @@
424 424
         			paramsObj.apiUrl = 'WorkOrder/GetEJDWDealList'
425 425
         			break;
426 426
         			
427
-        		case "shyZjhfSecond": //审核员-已办待回访 GetLDDealList
427
+        		case "hwyZjhf": //话务员-待审核追加回复
428 428
         			paramsObj.tabSecondText = "待审核追加回复"
429 429
         			paramsObj.params.jianhang = 0
430 430
         			paramsObj.params.tab = 12
431 431
         			paramsObj.apiUrl = 'WorkOrder/GetLDDealList'
432 432
         			break;
433
-        		case "hwyZjhf": //话务员-追加回复
434
-        			paramsObj.tabSecondText = "待审核追加回复"
435
-        			paramsObj.params.jianhang = 0
436
-        			paramsObj.params.tab = 12
437
-        			paramsObj.apiUrl = 'WorkOrder/GetLDDealList'
438
-        			break;
439
-        		case "110Zjhf": //110-追加回复
433
+        		case "110Zjhf": //110-待审核追加回复
440 434
         			paramsObj.tabSecondText = "待审核追加回复"
441 435
         			paramsObj.params.jianhang = 6
442 436
         			paramsObj.params.tab = 12
443 437
         			paramsObj.apiUrl = 'WorkOrder/GetLDDealList'
444 438
         			break;
445
-        		case "shyZjhf": //审核员-追加回复
439
+        		case "shyZjhf": //审核员-待审核追加回复
446 440
         			paramsObj.tabSecondText = "待审核追加回复"
447 441
         			paramsObj.params.jianhang = 0
448 442
         			paramsObj.params.tab = 12
449 443
         			paramsObj.apiUrl = 'WorkOrder/GetLDDealList'
450 444
         			break;
451
-        		case "sptZjhf": //省平台-追加回复
445
+        		case "sptZjhf": //省平台-待审核追加回复
452 446
         			paramsObj.tabSecondText = "待审核追加回复"
453 447
         			paramsObj.params.jianhang = 4
454 448
         			paramsObj.params.tab = 12
455 449
         			paramsObj.apiUrl = 'WorkOrder/GetLDDealList'
456 450
         			break;
457
-        		case "dmtZjhf": //多媒体-追加回复
451
+        		case "dmtZjhf": //多媒体-待审核追加回复
458 452
         			paramsObj.tabSecondText = "待审核追加回复"
459 453
         			paramsObj.params.jianhang = 1
460 454
         			paramsObj.params.tab = 12
461 455
         			paramsObj.apiUrl = 'WorkOrder/GetLDDealList'
462 456
         			break;
463
-        		case "qzsqslZjhf": //群众诉求受理-追加回复
457
+        		case "qzsqslZjhf": //群众诉求受理-待审核追加回复
464 458
         			paramsObj.tabSecondText = "待审核追加回复"
465 459
         			paramsObj.params.jianhang = 5
466 460
         			paramsObj.params.tab = 12
467 461
         			paramsObj.apiUrl = 'WorkOrder/GetLDDealList'
468 462
         			break;
469
-        		case "ysjsjbZjhf": //营商接诉即办-追加回复
463
+        		case "ysjsjbZjhf": //营商接诉即办-待审核追加回复
470 464
         			paramsObj.tabSecondText = "待审核追加回复"
471 465
         			paramsObj.params.jianhang =3
472 466
         			paramsObj.params.tab = 12
473 467
         			paramsObj.apiUrl = 'WorkOrder/GetLDDealList'
474 468
         			break;
475
-        		
476
-        		
477
-        		
478 469
         		case "hwyDhf": //话务员-已办待回访
479 470
         			paramsObj.tabSecondText = "已办待回访"
480 471
         			paramsObj.tabText1 = "热线件"