Browse Source

柘城12345

miaofuhao 4 years ago
parent
commit
7ea79ae7f2
100 changed files with 9566 additions and 9811 deletions
  1. 0 36
      WebUI/CallCenterWeb.UI/.project
  2. 29 36
      WebUI/CallCenterWeb.UI/Announcement/AnnManagement.html
  3. 166 212
      WebUI/CallCenterWeb.UI/Appeal/AddAppeal.html
  4. 1 1
      WebUI/CallCenterWeb.UI/Appeal/DC.html
  5. 182 233
      WebUI/CallCenterWeb.UI/Appeal/Lawsuit.html
  6. 1 1
      WebUI/CallCenterWeb.UI/Appeal/SupervList.html
  7. 29 32
      WebUI/CallCenterWeb.UI/Appeal/expiredWorkOrders.html
  8. 42 13
      WebUI/CallCenterWeb.UI/Appeal/toAuditList.html
  9. 48 15
      WebUI/CallCenterWeb.UI/Appeal/toSupervList.html
  10. 42 17
      WebUI/CallCenterWeb.UI/Business/LeaderBH.html
  11. 42 14
      WebUI/CallCenterWeb.UI/Business/LeaderDB.html
  12. 118 125
      WebUI/CallCenterWeb.UI/Business/LeaderDCL.html
  13. 70 66
      WebUI/CallCenterWeb.UI/Business/LeaderYJA.html
  14. 1009 1007
      WebUI/CallCenterWeb.UI/Business/LeaderYJB.html
  15. 41 12
      WebUI/CallCenterWeb.UI/Business/LeaderYJC.html
  16. 41 16
      WebUI/CallCenterWeb.UI/Business/LeaderYTH.html
  17. 40 14
      WebUI/CallCenterWeb.UI/Business/LeaderYYS.html
  18. 41 16
      WebUI/CallCenterWeb.UI/Business/LeaderYZB.html
  19. 23 5
      WebUI/CallCenterWeb.UI/Business/NoSatisfy.html
  20. 23 5
      WebUI/CallCenterWeb.UI/Business/Overdue.html
  21. 23 4
      WebUI/CallCenterWeb.UI/Business/ReturnVisit.html
  22. 23 4
      WebUI/CallCenterWeb.UI/Business/Sqtuihui.html
  23. 22 4
      WebUI/CallCenterWeb.UI/Business/UnfinishedAppea.html
  24. 23 4
      WebUI/CallCenterWeb.UI/Business/WaitFinish.html
  25. 133 126
      WebUI/CallCenterWeb.UI/Business/WorkDC.html
  26. 33 8
      WebUI/CallCenterWeb.UI/Business/WorkDCCO.html
  27. 42 14
      WebUI/CallCenterWeb.UI/Business/WorkDC_EJ.html
  28. 43 15
      WebUI/CallCenterWeb.UI/Business/WorkDC_Three.html
  29. 10 4
      WebUI/CallCenterWeb.UI/Business/WorkDatil.html
  30. 963 969
      WebUI/CallCenterWeb.UI/Business/WorkYBL.html
  31. 43 14
      WebUI/CallCenterWeb.UI/Business/WorkYBL_zlei.html
  32. 43 14
      WebUI/CallCenterWeb.UI/Business/WorkYCS.html
  33. 42 12
      WebUI/CallCenterWeb.UI/Business/WorkYSQTH.html
  34. 41 13
      WebUI/CallCenterWeb.UI/Business/WorkYSQYS.html
  35. 977 972
      WebUI/CallCenterWeb.UI/Business/WorkYSSH.html
  36. 40 12
      WebUI/CallCenterWeb.UI/Business/ZXDCL.html
  37. 43 12
      WebUI/CallCenterWeb.UI/Business/ZXDCLs.html
  38. 42 11
      WebUI/CallCenterWeb.UI/Business/ZXYHF.html
  39. 23 3
      WebUI/CallCenterWeb.UI/Business/ZXYHFs.html
  40. 43 13
      WebUI/CallCenterWeb.UI/Business/ZXYTJ.html
  41. 22 3
      WebUI/CallCenterWeb.UI/Business/ZXYTJs.html
  42. 28 8
      WebUI/CallCenterWeb.UI/Business/notifiedList.html
  43. 3 3
      WebUI/CallCenterWeb.UI/Business/spotDist.html
  44. 19 12
      WebUI/CallCenterWeb.UI/CommonHtml/AddAppeal.html
  45. 1 1
      WebUI/CallCenterWeb.UI/CommonHtml/AddAppeals.html
  46. 1 1
      WebUI/CallCenterWeb.UI/CommonHtml/AppealDeal.html
  47. 14 90
      WebUI/CallCenterWeb.UI/CommonHtml/Back.html
  48. 460 547
      WebUI/CallCenterWeb.UI/CommonHtml/Cb.html
  49. 1 1
      WebUI/CallCenterWeb.UI/CommonHtml/ExamineList.html
  50. 1 1
      WebUI/CallCenterWeb.UI/CommonHtml/LeaderAdd.html
  51. 463 466
      WebUI/CallCenterWeb.UI/CommonHtml/PrintPreview-1.html
  52. 1 1
      WebUI/CallCenterWeb.UI/CommonHtml/PrintPreviewKeyWords.html
  53. 38 123
      WebUI/CallCenterWeb.UI/CommonHtml/StrongLawsuit.html
  54. 1 1
      WebUI/CallCenterWeb.UI/CommonHtml/SupervList.html
  55. 32 75
      WebUI/CallCenterWeb.UI/CommonHtml/Supervision_.html
  56. 60 142
      WebUI/CallCenterWeb.UI/CommonHtml/Timesq.html
  57. 1247 1144
      WebUI/CallCenterWeb.UI/CommonHtml/WorkDatil.html
  58. 0 4
      WebUI/CallCenterWeb.UI/CommonHtml/XGHF.html
  59. 10 5
      WebUI/CallCenterWeb.UI/CommonHtml/XGjiaoban1.html
  60. 1 1
      WebUI/CallCenterWeb.UI/CommonHtml/XGwordel.html
  61. 213 247
      WebUI/CallCenterWeb.UI/CommonHtml/banli.html
  62. 44 119
      WebUI/CallCenterWeb.UI/CommonHtml/banli_zilei.html
  63. 1 0
      WebUI/CallCenterWeb.UI/CommonHtml/elasticFrame.html
  64. 8 6
      WebUI/CallCenterWeb.UI/CommonHtml/handle.html
  65. 574 412
      WebUI/CallCenterWeb.UI/CommonHtml/jiaoban.html
  66. 169 373
      WebUI/CallCenterWeb.UI/CommonHtml/lawsuits.html
  67. 15 27
      WebUI/CallCenterWeb.UI/CommonHtml/processing_audit.html
  68. 1 0
      WebUI/CallCenterWeb.UI/CommonHtml/reasonCB.html
  69. 1 38
      WebUI/CallCenterWeb.UI/CommonHtml/reminder.html
  70. 9 50
      WebUI/CallCenterWeb.UI/CommonHtml/shTime.html
  71. 1 1
      WebUI/CallCenterWeb.UI/CommonHtml/shplTime.html
  72. 5 5
      WebUI/CallCenterWeb.UI/CommonHtml/zhuanpai.html
  73. 18 6
      WebUI/CallCenterWeb.UI/InstantMessage/InstantMessage.html
  74. 6 2
      WebUI/CallCenterWeb.UI/Media/CitizenAppeal.html
  75. 309 330
      WebUI/CallCenterWeb.UI/ReportForm/callTime.html
  76. 1 1
      WebUI/CallCenterWeb.UI/ReportForm/chuliliang.html
  77. 1 1
      WebUI/CallCenterWeb.UI/ReportForm/huTotal.html
  78. 2 2
      WebUI/CallCenterWeb.UI/ReportForm/riLiuLiang.html
  79. 2 2
      WebUI/CallCenterWeb.UI/ReportForm/seaterMY.html
  80. 2 2
      WebUI/CallCenterWeb.UI/ReportForm/threeworkCLL.html
  81. 1 1
      WebUI/CallCenterWeb.UI/ReportForm/threeworkMY.html
  82. 2 2
      WebUI/CallCenterWeb.UI/ReportForm/yueLiuLiang.html
  83. 16 18
      WebUI/CallCenterWeb.UI/Script/Common/huayi.config.js
  84. 1 8
      WebUI/CallCenterWeb.UI/Script/Common/huayi.http.js
  85. 1 1
      WebUI/CallCenterWeb.UI/SystemManager/FunctionManage.html
  86. 229 268
      WebUI/CallCenterWeb.UI/SystemManager/buMenEdit.html
  87. 4 5
      WebUI/CallCenterWeb.UI/SystemManager/buMenManger.html
  88. 119 143
      WebUI/CallCenterWeb.UI/SystemManager/css/shuJuZiDian.css
  89. 147 186
      WebUI/CallCenterWeb.UI/SystemManager/js/CaiDanGuanli.js
  90. 43 48
      WebUI/CallCenterWeb.UI/SystemManager/js/buMenManger.js
  91. 176 181
      WebUI/CallCenterWeb.UI/SystemManager/js/jiChuShuJu.js
  92. 2 11
      WebUI/CallCenterWeb.UI/SystemManager/js/jueSeQuanXian.js
  93. 1 81
      WebUI/CallCenterWeb.UI/SystemManager/js/shuJuZiDian.js
  94. 343 407
      WebUI/CallCenterWeb.UI/SystemManager/js/yongHuManger.js
  95. 6 6
      WebUI/CallCenterWeb.UI/SystemManager/jueSeQuanXian.html
  96. 1 22
      WebUI/CallCenterWeb.UI/SystemManager/shuJuZiDian.html
  97. 10 9
      WebUI/CallCenterWeb.UI/SystemManager/tongXun.html
  98. 37 55
      WebUI/CallCenterWeb.UI/SystemManager/yongHuManger.html
  99. 2 2
      WebUI/CallCenterWeb.UI/VoiceNotification/LeiBieSheZhi.html
  100. 0 0
      WebUI/CallCenterWeb.UI/VoiceNotification/js/tongZhiChaXun.js

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

@@ -78,41 +78,5 @@
78 78
 				<arguments>1.0-name-matches-false-false-node_modules</arguments>
79 79
 			</matcher>
80 80
 		</filter>
81
-		<filter>
82
-			<id>1582697753740</id>
83
-			<name></name>
84
-			<type>26</type>
85
-			<matcher>
86
-				<id>org.eclipse.ui.ide.multiFilter</id>
87
-				<arguments>1.0-name-matches-false-false-node_modules</arguments>
88
-			</matcher>
89
-		</filter>
90
-		<filter>
91
-			<id>1596102790619</id>
92
-			<name></name>
93
-			<type>26</type>
94
-			<matcher>
95
-				<id>org.eclipse.ui.ide.multiFilter</id>
96
-				<arguments>1.0-name-matches-false-false-node_modules</arguments>
97
-			</matcher>
98
-		</filter>
99
-		<filter>
100
-			<id>1608260996771</id>
101
-			<name></name>
102
-			<type>26</type>
103
-			<matcher>
104
-				<id>org.eclipse.ui.ide.multiFilter</id>
105
-				<arguments>1.0-name-matches-false-false-node_modules</arguments>
106
-			</matcher>
107
-		</filter>
108
-		<filter>
109
-			<id>1609808848850</id>
110
-			<name></name>
111
-			<type>26</type>
112
-			<matcher>
113
-				<id>org.eclipse.ui.ide.multiFilter</id>
114
-				<arguments>1.0-name-matches-false-false-node_modules</arguments>
115
-			</matcher>
116
-		</filter>
117 81
 	</filteredResources>
118 82
 </projectDescription>

+ 29 - 36
WebUI/CallCenterWeb.UI/Announcement/AnnManagement.html

@@ -69,7 +69,7 @@
69 69
 						<i class="syIcon"></i>位置:
70 70
 						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
71 71
 						<a href="javaScript:;">信息管理</a>&gt;
72
-						<a class="nowPosition" href="">公告管理</a>
72
+						<a class="nowPosition">公告管理</a>
73 73
 					</sapn>
74 74
 				</div>
75 75
 				<div class="dhRight">
@@ -97,11 +97,11 @@
97 97
 							<thead>
98 98
 								<tr>
99 99
 									<th data-field="state" data-checkbox="true"></th>
100
-									<th data-field="" data-align="center" data-formatter="Cr">序号</th>
100
+									<th data-field="" data-align="center"data-formatter="Cr">序号</th>
101 101
 									<th data-field="F_Title" data-align="center" data-formatter="Creat">公告标题</th>
102 102
 									<th data-field="F_CreateByName" data-align="center">发布人</th>
103
-									<th data-field="F_CreateOn" data-align="center" data-formatter="CreateOn">发布时间</th>
104
-									<th data-field="F_EndDate" data-align="center">有效期</th>
103
+									<th data-field="F_CreateOn" data-align="center"data-formatter="CreateOn" >发布时间</th>
104
+									<th data-field="F_EndDate" data-align="center" >有效期</th>
105 105
 									<th data-field="f" data-align="center" data-formatter="Dispose">操作</th>
106 106
 								</tr>
107 107
 							</thead>
@@ -121,9 +121,7 @@
121 121
 					$('.success').removeClass('success'); //去除之前选中的行的,选中样式
122 122
 					$(ele).addClass('success'); //添加当前选中的 success样式用于区别
123 123
 				});
124
-
125 124
 			})
126
-
127 125
 			//表格一
128 126
 			function initTable() {
129 127
 				//先销毁表格
@@ -165,10 +163,10 @@
165 163
 				});
166 164
 			}
167 165
 			//序号
168
-			function Cr(val, row, index) {
169
-				return index + 1;
170
-
171
-			}
166
+			function Cr(val,row,index) {						
167
+					return index+1;
168
+	
169
+		}		
172 170
 			//内容
173 171
 			function GetCont(val) {
174 172
 				if(val) {
@@ -183,24 +181,24 @@
183 181
 				}
184 182
 			}
185 183
 			//跳转
186
-			function Creat(val, row) {
184
+			function Creat(val,row){
187 185
 				return '<div class="imgs" style="color:#000;" >' +
188
-					'<a href="AnnD.html?wid=' + row.F_NoticeId + '">' + row.F_Title + '</a>' +
186
+	'<a href="AnnD.html?wid='+row.F_NoticeId+'">'+row.F_Title+'</a>' +
189 187
 					'</div>';
190 188
 			}
191 189
 			//发布日期
192
-			function CreateOn(val, row) {
193
-				var T = row.F_CreateOn.substring(0, row.F_CreateOn.indexOf(' '));
194
-				return '<div class="imgs" style="color:#000;" >' + T + '' +
195
-
190
+			function CreateOn(val,row){
191
+				var T= row.F_CreateOn.substring(0, row.F_CreateOn.indexOf(' '));
192
+				return '<div class="imgs" style="color:#000;" >'+T+'' +
193
+	
196 194
 					'</div>';
197 195
 			}
198 196
 
199 197
 			//操作
200
-			function Dispose(val, row) {
198
+			function Dispose(val,row) {
201 199
 				return '<div class="imgs" >' +
202
-					'<a class="xg" onclick="xg(' + row.F_NoticeId + ')"><i class="fa fa-edit"></i> </a>' +
203
-					'<a class="xg" onclick="remove(' + row.F_NoticeId + ')"><i class="fa fa-remove"></i> </a>' +
200
+					'<a class="xg" onclick="xg(' + row.F_NoticeId+ ')"><i class="fa fa-edit"></i> </a>' +
201
+					'<a class="xg" onclick="remove(' + row.F_NoticeId+ ')"><i class="fa fa-remove"></i> </a>' +
204 202
 					'</div>';
205 203
 			}
206 204
 			//查看详情
@@ -234,13 +232,13 @@
234 232
 					});
235 233
 					return;
236 234
 				}
237
-				remove();
235
+									remove();
238 236
 			});
239 237
 
240 238
 			function remove(str) {
241 239
 				layer.confirm('确定要删除么?', {
242
-					btn: ['确定', '取消'] //按钮
243
-				}, function() {
240
+					btn: ['确定','取消'] //按钮
241
+				},function(){
244 242
 					$.post(huayi.config.callcenter_url + "Notice/DelNotice", {
245 243
 						ids: str,
246 244
 						token: $.cookie("token")
@@ -266,10 +264,7 @@
266 264
 					});
267 265
 					return;
268 266
 				}
269
-				layer.confirm('确定要批量删除么?', {
270
-					btn: ['确定', '取消'] //按钮
271
-				}, function() {
272
-					$.post(huayi.config.callcenter_url + "Notice/DelNotice", {
267
+           		$.post(huayi.config.callcenter_url + "Notice/DelNotice", {
273 268
 						ids: ids,
274 269
 						token: $.cookie("token")
275 270
 					}, function(result) {
@@ -279,18 +274,16 @@
279 274
 							initTable();
280 275
 						}
281 276
 					})
282
-				});
283
-
284 277
 			});
285
-
286 278
 			function Ann() {
287
-				$.getJSON(huayi.config.callcenter_url + 'Notice/GetListTop', {
288
-					top: 5,
289
-					"token": $.cookie("token")
290
-				}, function(result) {
291
-
292
-				});
293
-			}
279
+	$.getJSON(huayi.config.callcenter_url + 'Notice/GetListTop', {
280
+		top:5,
281
+		"token": $.cookie("token")
282
+	}, function(result) {
283
+		
284
+	});
285
+}
286
+			
294 287
 		</script>
295 288
 	</body>
296 289
 

+ 166 - 212
WebUI/CallCenterWeb.UI/Appeal/AddAppeal.html

@@ -7,7 +7,6 @@
7 7
     <script src="../Script/Common/huayi.config.js"></script>
8 8
     <link href="../css/layer/need/layer.css" />
9 9
     <link rel="stylesheet" href="../css/init.css" />
10
-    <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
11 10
     <title>新增诉求工单</title>
12 11
     <style>
13 12
         .input {
@@ -24,8 +23,7 @@
24 23
             border: none !important;
25 24
         }
26 25
 
27
-        input,
28
-        select {
26
+        input, select {
29 27
             vertical-align: middle;
30 28
         }
31 29
     </style>
@@ -40,7 +38,7 @@
40 38
                     <i class="syIcon"></i>位置:
41 39
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
42 40
                     <a href="javaScript:;">工单处理</a>&gt;
43
-                    <a href="" class="nowPosition">即办工单创建</a>
41
+                    <a class="nowPosition">添加工单</a>
44 42
                 </sapn>
45 43
             </div>
46 44
             <div class="dhRight">
@@ -67,14 +65,21 @@
67 65
                         <td>
68 66
                             <select class="select_" id="source"></select>
69 67
                         </td>
70
-                        <!-- <th class="Importent">投诉电话:</th>
68
+                        <th class="Importent">投诉电话:</th>
71 69
                         <td>
72 70
                             <input type="text" id="cusphone" />
73
-                        </td> -->
71
+                        </td>
74 72
                     </tr>
75 73
                     <tr>
76
-
77
-                        <th class="Importent">联系电话:</th>
74
+                        <th>邮箱:</th>
75
+                        <td>
76
+                            <input type="text" id="email" />
77
+                        </td>
78
+                        <th>邮编:</th>
79
+                        <td>
80
+                            <input type="text" id="zipcode" />
81
+                        </td>
82
+                        <th>联系电话:</th>
78 83
                         <td>
79 84
                             <input type="text" id="conphone" />
80 85
                         </td>
@@ -88,8 +93,7 @@
88 93
                     <tr>
89 94
                         <th class="Importent">内容:</th>
90 95
                         <td colspan="7">
91
-                            <textarea data-adaptheight id="content" name="" rows="" cols=""
92
-                                style="width: 100%;"></textarea>
96
+                            <textarea data-adaptheight id="content" name="" rows="" cols="" style="width: 100%;"></textarea>
93 97
                         </td>
94 98
                     </tr>
95 99
                     <tr>
@@ -99,28 +103,39 @@
99 103
                         </td>
100 104
                     </tr>
101 105
                     <tr>
106
+                    	<th class="Importent"></th>
107
+                        <td colspan="7">
108
+                        	<input id="sourceaddress" type="text" placeholder="输入详细地址" style="width:50%; padding-left: 15px;" />
109
+                    	</td>
110
+                    </tr>
111
+                    <tr>
102 112
                         <th class="Importent"></th>
103 113
                         <td colspan="7">
104
-                            <input id="sourceaddress" type="text" placeholder="输入详细地址"
105
-                                style="width:50%; padding-left: 15px;" />
106
-                        </td>
114
+                        	<div style="width:710px">
115
+				                <div id="myMap" style="width:100%;height:400px;"></div>
116
+				                <input type="hidden" class="store_Lng" value="115.659773"/>
117
+        						<input type="hidden" class="store_Lat" value="34.395449" />
118
+				            </div>
119
+                    	</td>
107 120
                     </tr>
108
-
109 121
                     <tr>
110 122
                         <th>附件上传:</th>
111 123
                         <td colspan="7">
112 124
                             <div class="fileBox"></div>
113
-                            <input class="input" type="file" name="upFile" id="upFile" multiple="multiple"
114
-                                style="display: none;">
125
+                            <input class="input" type="file" name="upFile" id="upFile" multiple="multiple" style="display: none;">
115 126
                             <input class="input" type="button" value="上传" id="scwj" />
116 127
                             <input class="input" type="button" value="删除附件" id="scfj" style="display:none;" />
117 128
                             <input type="hidden" id="file" />
118 129
                             <!--</br>-->
119 130
                             <span style="color:#FF0000; border: none;">
120
-                                (文件格式为png,jpg,mp4,avi,wmv,mp3,pdf,doc,docx,xls,xlsx)
131
+                            	(文件格式为png,jpg,mp4,mp3,pdf,doc,docx,xls,xlsx)
121 132
                             </span>
122 133
                         </td>
123 134
                     </tr>
135
+                    <!--<tr>
136
+                        <th>&nbsp;</th>
137
+                        <td></td>
138
+                    </tr>-->
124 139
                     <tr>
125 140
                         <th>处理方式:</th>
126 141
                         <td colspan="7">
@@ -138,6 +153,7 @@
138 153
                     <tr>
139 154
                         <th class="Importent">主题词:</th>
140 155
                         <td>
156
+                            <!--<input id="keys" type="text" placeholder="输入主题词" style="width:100%" />-->
141 157
                             <select class="select_" id="keys">
142 158
                                 <option value=""></option>
143 159
                             </select>
@@ -153,7 +169,7 @@
153 169
                         </td>
154 170
                         <th>紧急程度:</th>
155 171
                         <td>
156
-                            <select class="select_" id="level">
172
+                            <select class="select_" id="level"> 
157 173
                                 <!--<option value="0">选择</option>-->
158 174
                                 <option value="1">普通</option>
159 175
                                 <option value="2">紧急</option>
@@ -162,16 +178,16 @@
162 178
                     </tr>
163 179
                 </table>
164 180
                 <div class="btn_box">
165
-                    <button class="btns SavedSubmit">提交</button>
181
+                    <button class="btns BC">保存</button>
182
+                    <button class="btns SavedSubmit">保存并提交</button>
166 183
                 </div>
167 184
             </div>
168 185
         </div>
169 186
     </div>
170 187
     <script src="https://api.map.baidu.com/api?v=2.0&ak=ZG4gLQZUD6Eq1K11cqlYAR4by8CKgLyu&callback=mapinit"></script>
171 188
     <script src="../css/laydate/laydate.js"></script>
172
-    <script src="../js/zTree/jquery.ztree.core.js"></script>
173 189
     <script src="../js/adjustHeight.js"></script>
174
-    <!--<script src="../js/appeal/index1.js"></script>-->
190
+    <script src="../js/appeal/index.js"></script>
175 191
     <script>
176 192
         var submit;
177 193
         $(document).ready(function () {
@@ -215,10 +231,8 @@
215 231
             var content = $("#content").val();
216 232
             if (!$("#cusname").val()) {
217 233
                 layer.msg("请输入姓名");
218
-                // } else if (!$("#cusphone").val()) {
219
-                //     layer.msg("请输入投诉电话");
220
-            } else if (!$("#conphone").val()) {
221
-                layer.msg("请输入联系电话");
234
+            } else if (!$("#cusphone").val()) {
235
+                layer.msg("请输入投诉电话");
222 236
             } else if (!$("#title").val()) {
223 237
                 layer.msg("请输入标题");
224 238
             } else if (!$("#content").val()) {
@@ -235,18 +249,18 @@
235 249
                     url: huayi.config.callcenter_url + "/WorkOrder/AddWorkOrder",
236 250
                     dataType: 'json',
237 251
                     async: true,
238
-                    beforeSend: function () { //触发ajax请求开始时执行
239
-                        $('.BC').attr("disabled", true);
240
-                        $('.SavedSubmit').attr("disabled", true);
241
-                        $('.BC').text('提交中...');
242
-                        $('.SavedSubmit').text('提交中...');
243
-                        $(document).off('click', '.BC', Add);
244
-                        $(document).off('click', '.SavedSubmit', Add);
245
-                    },
252
+                    beforeSend: function() { //触发ajax请求开始时执行
253
+						$('.BC').attr("disabled", true);
254
+						$('.SavedSubmit').attr("disabled", true);
255
+						$('.BC').text('提交中...');
256
+						$('.SavedSubmit').text('提交中...');
257
+						$(document).off('click', '.BC', Add);
258
+						$(document).off('click', '.SavedSubmit', Add);
259
+					},
246 260
                     data: {
247 261
                         cusname: $("#cusname").val(), //=投诉人姓名
248 262
                         cussex: $("#cussex").val(),
249
-                        // cusphone: $("#cusphone").val(), //=投诉人电话
263
+                        cusphone: $("#cusphone").val(), //=投诉人电话
250 264
                         email: $("#email").val(),
251 265
                         zipcode: $("#zipcode").val(),
252 266
                         conphone: $("#conphone").val(),
@@ -255,6 +269,8 @@
255 269
                         files: $("#file").val(), //(多个用英文逗号,隔开)
256 270
                         sourcearea: $("#sourcearea").val(), //=事发地域id
257 271
                         sourceaddress: $('#sourceaddress').val(), //=事发详细地址
272
+                        longitude: $('.store_Lng').val(),
273
+                        latitude: $('.store_Lat').val(),
258 274
                         source: $("#source").val(), //=来源
259 275
                         isresult: $(' input[name="banli"]:checked ').val(), //=(0转办1直办)
260 276
                         result: $('#result').val(),
@@ -266,13 +282,13 @@
266 282
                         token: $.cookie("token")
267 283
                     },
268 284
                     success: function (data) {
269
-                        debugger
270
-                        $('.BC').attr("disabled", false);
271
-                        $('.SavedSubmit').attr("disabled", false);
272
-                        $('.BC').text('保存');
273
-                        $('.SavedSubmit').text('保存并提交');
274
-                        $(document).on('click', '.BC', Add);
275
-                        $(document).on('click', '.SavedSubmit', Add);
285
+                    	debugger
286
+                    	$('.BC').attr("disabled", false);
287
+						$('.SavedSubmit').attr("disabled", false);
288
+						$('.BC').text('保存');
289
+						$('.SavedSubmit').text('保存并提交');
290
+						$(document).on('click', '.BC', Add);
291
+						$(document).on('click', '.SavedSubmit', Add);
276 292
                         Clean();
277 293
                         $('.fileBox').html('');
278 294
                         layer.msg("创建工单成功");
@@ -286,59 +302,53 @@
286 302
             var Files = document.getElementById("upFile").files;
287 303
             console.log(Files);
288 304
             if (Files.length > 0) {
289
-                debugger
305
+            	debugger
290 306
                 var formData = new FormData();
291 307
                 for (var i = 0; i < Files.length; i++) {
292 308
                     formData.append('file' + i, Files[i]);
293 309
                 }
294 310
                 formData.append("token", $.cookie("token"));
295
-                var typeName = Files[0].name.split('.')[1];
296
-                if (typeName == "png" || typeName == 'jpg' || typeName == 'mp4' || typeName == 'avi' || typeName ==
297
-                    'wmv' || typeName == 'mp3' || typeName == 'pdf' || typeName == 'doc' || typeName == 'docx' ||
298
-                    typeName == 'xls' || typeName == 'xlsx') {
299
-                    $.ajax({
300
-                        url: huayi.config.callcenter_url + "/WorkOrder/UploadFile",
301
-                        type: "POST",
302
-                        data: formData,
303
-                        /**
304
-                         *必须false才会自动加上正确的Content-Type
305
-                         */
306
-                        contentType: false,
307
-                        /**
308
-                         * 必须false才会避开jQuery对 formdata 的默认处理
309
-                         * XMLHttpRequest会对 formdata 进行正确的处理
310
-                         */
311
-                        processData: false,
312
-                        success: function (result) {
313
-                            debugger
314
-                            document.getElementById("upFile").outerHTML = document.getElementById("upFile")
315
-                                .outerHTML;
316
-                            $("#upFile").change(function () {
317
-                                upload();
318
-                            });
319
-                            var r = $.parseJSON(result);
320
-                            if (r.state.toLowerCase() == "success") {
321
-
322
-                                var a = r.data;
323
-                                $(a).each(function (i, n) {
324
-                                    var strs = '<span class="files" fiel-num="' + n.F_FileId +
325
-                                        '">' + n.F_FileName.substring(19) +
326
-                                        '<i class="fa fa-remove del_file"></i></span>'
327
-                                    $(strs).appendTo($('.fileBox')).find('.del_file').click(
328
-                                        function (event) {
329
-                                            event.stopPropagation();
330
-                                            $(this).parent().remove();
331
-                                            file_num()
332
-                                        })
333
-                                })
334
-                                file_num();
335
-                            }
336
-                        }
337
-                    });
338
-                } else {
339
-                    layer.msg("格式不正确");
340
-                }
341
-
311
+                var typeName=Files[0].name.split('.')[1];
312
+                if (typeName=="png"||typeName=='jpg'||typeName=='mp4'||typeName=='mp3'||typeName=='pdf'||typeName=='doc'||typeName=='docx'||typeName=='xls'||typeName=='xlsx') {
313
+	                $.ajax({
314
+	                    url: huayi.config.callcenter_url + "/WorkOrder/UploadFile",
315
+	                    type: "POST",
316
+	                    data: formData,
317
+	                    /**
318
+	                     *必须false才会自动加上正确的Content-Type
319
+	                     */
320
+	                    contentType: false,
321
+	                    /**
322
+	                     * 必须false才会避开jQuery对 formdata 的默认处理
323
+	                     * XMLHttpRequest会对 formdata 进行正确的处理
324
+	                     */
325
+	                    processData: false,
326
+	                    success: function (result) {
327
+	                    	debugger
328
+	                        document.getElementById("upFile").outerHTML = document.getElementById("upFile").outerHTML;
329
+	                        $("#upFile").change(function () {
330
+	                            upload();
331
+	                        });
332
+	                        var r = $.parseJSON(result);
333
+	                        if (r.state.toLowerCase() == "success") {
334
+	
335
+	                            var a = r.data;
336
+	                            $(a).each(function (i, n) {
337
+                            		var strs = '<span class="files" fiel-num="' + n.F_FileId + '">' + n.F_FileName.substring(19) + '<i class="fa fa-remove del_file"></i></span>'
338
+	                                $(strs).appendTo($('.fileBox')).find('.del_file').click(function (event) {
339
+	                                    event.stopPropagation();
340
+	                                    $(this).parent().remove();
341
+	                                    file_num()
342
+	                                })
343
+	                            })
344
+	                            file_num();
345
+	                        }
346
+	                    }
347
+	                });
348
+	            }else{
349
+		    		layer.msg("格式不正确");
350
+		    	}
351
+            
342 352
             } else {
343 353
                 layer.confirm('请上传文件!', {
344 354
                     btn: ['确定']
@@ -361,71 +371,67 @@
361 371
         function LY(obj) {
362 372
             obj.empty();
363 373
             $.ajax({
364
-                type: "get",
365
-                url: huayi.config.callcenter_url + "Dictionary/GetDicValueListById",
366
-                dataType: "json",
367
-                async: true,
368
-                data: {
369
-                    "token": $.cookie("token"),
370
-                    id: 1
371
-                },
372
-                success: function (data) {
373
-                    if (data.state.toLowerCase() == "success") {
374
-                        var content = data.data;
375
-                        $(content).each(function (i, n) {
376
-                            $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>")
377
-                                .appendTo(obj);
378
-                        })
379
-
380
-                    }
381
-                }
374
+            	type:"get",
375
+            	url:huayi.config.callcenter_url + "Dictionary/GetDicValueListById",
376
+            	dataType:"json",
377
+            	async:true,
378
+            	data:{
379
+            		"token": $.cookie("token"),
380
+                	id: 1
381
+            	},
382
+            	success:function(data){
383
+            		if (data.state.toLowerCase() == "success") {
384
+	                    var content = data.data;
385
+	                    $(content).each(function (i, n) {
386
+	                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
387
+	                    })
388
+	
389
+	                }
390
+            	}
382 391
             });
383 392
         }
384 393
         //类别
385 394
         function LB(obj) {
386 395
             obj.empty();
387 396
             $.ajax({
388
-                type: "get",
389
-                url: huayi.config.callcenter_url + "Dictionary/GetDicValueListById",
390
-                dataType: "json",
391
-                async: true,
392
-                data: {
393
-                    "token": $.cookie("token"),
394
-                    id: 2
395
-                },
396
-                success: function (data) {
397
-                    if (data.state.toLowerCase() == "success") {
398
-                        var content = data.data;
399
-                        $(content).each(function (i, n) {
400
-                            $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>")
401
-                                .appendTo(obj);
402
-                        })
403
-                    }
404
-                }
397
+            	type:"get",
398
+            	url:huayi.config.callcenter_url + "Dictionary/GetDicValueListById",
399
+            	dataType:"json",
400
+            	async:true,
401
+            	data:{
402
+            		"token": $.cookie("token"),
403
+                	id: 2
404
+            	},
405
+            	success:function(data){
406
+            		if (data.state.toLowerCase() == "success") {
407
+	                    var content = data.data;
408
+	                    $(content).each(function (i, n) {
409
+	                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
410
+	                    })
411
+	                }
412
+            	}
405 413
             });
406 414
         }
407 415
         //		主题
408 416
         function ZT(obj) {
409 417
             obj.empty();
410 418
             $.ajax({
411
-                type: "get",
412
-                url: huayi.config.callcenter_url + "Dictionary/GetDicValueListById",
413
-                dataType: "json",
414
-                async: true,
415
-                data: {
416
-                    "token": $.cookie("token"),
417
-                    type: 1,
418
-                    id: 3
419
-                },
420
-                success: function (data) {
421
-                    if (data.state.toLowerCase() == "success") {
422
-                        var content = data.data;
423
-                        $(content).each(function (i, n) {
424
-                            $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>")
425
-                                .appendTo(obj);
426
-                        })
427
-                    }
428
-                }
419
+            	type:"get",
420
+            	url:huayi.config.callcenter_url + "Dictionary/GetDicValueListById",
421
+            	dataType:"json",
422
+            	async:true,
423
+            	data:{
424
+            		"token": $.cookie("token"),
425
+                	id: 3
426
+            	},
427
+            	success:function(data){
428
+            		if (data.state.toLowerCase() == "success") {
429
+	                    var content = data.data;
430
+	                    $(content).each(function (i, n) {
431
+	                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
432
+	                    })
433
+	                }
434
+            	}
429 435
             });
430 436
         }
431 437
         //区域
@@ -433,32 +439,30 @@
433 439
             obj.empty();
434 440
             obj.append('<option selected="selected" value="">请选择</option>');
435 441
             $.ajax({
436
-                type: "get",
437
-                url: huayi.config.callcenter_url + "Area/GetAreaListById",
438
-                dataType: "json",
439
-                async: true,
440
-                data: {
441
-                    "token": $.cookie("token"),
442
-                },
443
-                success: function (data) {
444
-                    if (data.state.toLowerCase() == "success") {
445
-                        var content = data.data;
446
-                        $(content).each(function (i, n) {
447
-                            if (n.F_AreaName != '巩义市') {
448
-                                $("<option value='" + n.F_AreaId + "'>" + n.F_AreaName +
449
-                                    "</option>").appendTo(obj);
450
-                            }
451
-                        })
452
-                    }
453
-                }
442
+            	type:"get",
443
+            	url:huayi.config.callcenter_url + "Area/GetAreaListById",
444
+            	dataType:"json",
445
+            	async:true,
446
+            	data:{
447
+            		"token": $.cookie("token"),
448
+            	},
449
+            	success:function(data){
450
+            		if (data.state.toLowerCase() == "success") {
451
+	                    var content = data.data;
452
+	                    $(content).each(function (i, n) {
453
+	                        if (n.F_AreaName != '商丘市') {
454
+	                            $("<option value='" + n.F_AreaId + "'>" + n.F_AreaName + "</option>").appendTo(obj);
455
+	                        }
456
+	                    })
457
+	                }
458
+            	}
454 459
             });
455 460
         }
456 461
 
457 462
         function Clean() {
458 463
             $("#cusname").val(''); //=投诉人姓名
459
-            $("#source").val('');
460 464
             $("#cussex").val('');
461
-            // $("#cusphone").val(''); //=投诉人电话
465
+            $("#cusphone").val(''); //=投诉人电话
462 466
             $("#email").val('');
463 467
             $("#zipcode").val('');
464 468
             $("#conphone").val('');
@@ -473,56 +477,6 @@
473 477
             $("#sourcearea option:first").prop("selected", 'selected');
474 478
             $('#result').val('');
475 479
         }
476
-        tree()
477
-
478
-        function tree() {
479
-            $.get(
480
-                huayi.config.callcenter_url + "Department/GetDeptList", {
481
-                    token: $.cookie("token"),
482
-                    //		"pid": pid
483
-                },
484
-                function (result) {
485
-                    result = $.parseJSON(result);
486
-                    $.fn.zTree.init(
487
-                        $("#addTreeDemo"),
488
-                        setting1,
489
-                        result.data
490
-                    ); //实例化树形图
491
-                }
492
-            );
493
-        }
494
-        var setting1 = {
495
-            data: {
496
-                key: {
497
-                    name: "F_DeptName",
498
-                },
499
-                simpleData: {
500
-                    enable: true,
501
-                    idKey: "F_DeptId",
502
-                    pIdKey: "F_PartentId",
503
-                    rootPId: 0,
504
-                },
505
-            },
506
-            callback: {
507
-                onClick: zTreeOnClick,
508
-            },
509
-        };
510
-
511
-        function zTreeOnClick(event, treeId, treeNode) {
512
-            if (treeNode.level >= 2) {
513
-                $(".inps").val(treeNode.F_DeptName);
514
-                $("#PID").val(treeNode.F_DeptId);
515
-                $("#Dpment").val(treeNode.F_DeptId);
516
-                $(".Cleans").show();
517
-            }
518
-        }
519
-
520
-        function Close() {
521
-            $(".lyxz").removeClass("cx");
522
-            if ($("audio").length > 0) {
523
-                $("audio")[0].pause();
524
-            }
525
-        }
526 480
     </script>
527 481
 </body>
528 482
 

+ 1 - 1
WebUI/CallCenterWeb.UI/Appeal/DC.html

@@ -34,7 +34,7 @@
34 34
 					<thead>
35 35
 						<tr>
36 36
 							<th data-field="id" data-align="center" >诉求编号</th>
37
-							<th data-field="usercode" data-align="center">关键字</th>
37
+							<th data-field="usercode" data-align="center">诉求标题</th>
38 38
 							<th data-field="addtime" data-align="center">诉求时间</th>
39 39
 							<th data-field="acceptname" data-align="center">办理状态</th>
40 40
 							<th data-field="zuoxi" data-align="center">督察意见</th>

+ 182 - 233
WebUI/CallCenterWeb.UI/Appeal/Lawsuit.html

@@ -14,7 +14,6 @@
14 14
             padding: 5px 8px 5px 0;
15 15
             text-align: right;
16 16
         }
17
-
18 17
         .select {
19 18
             width: 150px;
20 19
             background-color: #FFF;
@@ -24,7 +23,6 @@
24 23
             color: inherit;
25 24
             padding: 6px 12px;
26 25
         }
27
-
28 26
         #sex {
29 27
             background-color: #FFF;
30 28
             background-image: none;
@@ -134,7 +132,6 @@
134 132
             font-size: 0;
135 133
             line-height: initial;
136 134
         }
137
-
138 135
         .setwin a {
139 136
             position: relative;
140 137
             width: 16px;
@@ -152,8 +149,8 @@
152 149
         }
153 150
 
154 151
         .inpBox {
155
-            border: 1px solid #cccccc;
156
-            height: 31px;
152
+           border: 1px solid #cccccc;
153
+    		height: 31px;
157 154
             width: 220px;
158 155
             display: inline-block;
159 156
             position: relative;
@@ -163,9 +160,8 @@
163 160
             top: 0px;
164 161
             z-index: 111;
165 162
         }
166
-
167
-        .selDpart1 {
168
-            position: absolute;
163
+		.selDpart1{
164
+			position: absolute;
169 165
             left: 0px;
170 166
             top: 30px;
171 167
             z-index: 11111;
@@ -173,32 +169,28 @@
173 169
             line-height: 30px;
174 170
             background: #FFFFFF;
175 171
             display: none;
176
-        }
177
-
178
-        #sponsor {
179
-            width: 218px;
180
-            border: 1px solid #00a1cb;
181
-            margin: 0;
182
-            padding: 0;
183
-            list-style: none;
184
-            max-height: 212px;
185
-            overflow-x: hidden;
186
-            overflow-y: scroll;
187
-        }
188
-
189
-        #sponsor li {
190
-            margin: 0;
191
-            padding-left: 10px;
192
-            width: 220px;
193
-            height: 30px;
194
-            line-height: 30px;
195
-            list-style: none;
196
-        }
197
-
198
-        #sponsor li:hover {
199
-            background: #00a1cb;
200
-        }
201
-
172
+		}
173
+		#sponsor{
174
+			width: 218px;
175
+			border: 1px solid #00a1cb;
176
+			margin: 0;
177
+			padding: 0;
178
+			list-style: none;
179
+			max-height: 212px;
180
+			overflow-x: hidden;
181
+			overflow-y: scroll;
182
+		}
183
+		#sponsor li{
184
+			margin: 0;
185
+			padding-left: 10px;
186
+			width: 220px;
187
+			height: 30px;
188
+			line-height: 30px;
189
+			list-style: none;
190
+		}
191
+		#sponsor li:hover{
192
+			background: #00a1cb;
193
+		}
202 194
         .addTree {
203 195
             background: #fff;
204 196
             position: absolute;
@@ -230,7 +222,7 @@
230 222
 
231 223
         .inps {
232 224
             width: 217px;
233
-            height: 29px;
225
+                height: 29px;
234 226
             outline: none;
235 227
             border: 0;
236 228
             border-image-width: 0;
@@ -263,10 +255,9 @@
263 255
         .Min-width {
264 256
             width: 150px;
265 257
         }
266
-
267
-        .btn-default {
268
-            background: #FFFFFF;
269
-            color: #000000;
258
+        .btn-default{
259
+        	background: #FFFFFF;
260
+        	color: #000000;
270 261
         }
271 262
     </style>
272 263
 </head>
@@ -279,7 +270,7 @@
279 270
                     <i class="syIcon"></i>位置:
280 271
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
281 272
                     <a href="javaScript:;">工单处理</a>&gt;
282
-                    <a href="" class="nowPosition">查询工单</a>
273
+                    <a class="nowPosition">查询工单</a>
283 274
                 </sapn>
284 275
             </div>
285 276
             <div class="dhRight">
@@ -293,7 +284,7 @@
293 284
                     <div class="box_content">
294 285
                         <table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
295 286
                             <tr>
296
-                                <th>关键字:</th>
287
+                                <th>诉求标题:</th>
297 288
                                 <td>
298 289
                                     <input type="text" placeholder="输入关键字" id="key" class="Min-width" />
299 290
                                 </td>
@@ -302,14 +293,14 @@
302 293
                                     <input type="text" placeholder="输入工单号" id="wids" class="Min-width" />
303 294
                                 </td>
304 295
                                 <th>时间:</th>
305
-                                <td>
306
-                                    <input type="text" id="starttime" class="" placeholder="请选择时间"
307
-                                        style="height: 32px;" />
296
+                                <td >
297
+                                    <input type="text" id="starttime" class="" placeholder="请选择时间" style="height: 32px;" />
308 298
                                 </td>
309
-                                <th>工单状态:</th>
299
+                                  <th>工单状态:</th>
310 300
                                 <td>
311 301
                                     <select name="" id="state" class="select">
312 302
                                         <option selected="selected" value="">请选择</option>
303
+                                        <option value="0">新工单</option>
313 304
                                         <option value="1">待交办</option>
314 305
                                         <option value="10">待审核</option>
315 306
                                         <option value="2">待查收</option>
@@ -321,8 +312,7 @@
321 312
                                         <option value="11">重办待交办</option>
322 313
                                         <option value="13">重办驳回 </option>
323 314
                                         <option value="8">重办中</option>
324
-                                        <option value="9">待回传</option>
325
-                                        <option value="14">已结案</option>
315
+                                        <option value="9">已结案</option>
326 316
                                     </select>
327 317
                                 </td>
328 318
                             </tr>
@@ -335,11 +325,11 @@
335 325
                                 <td>
336 326
                                     <select id="keyid" name="" class="select"></select>
337 327
                                 </td>
338
-                                <th>投诉电话:</th>
328
+                                 <th>投诉电话:</th>
339 329
                                 <td>
340 330
                                     <input type="text" id="tel" placeholder="请输入投诉电话" />
341 331
                                 </td>
342
-                                <th>姓名:</th>
332
+                                <th>投诉人:</th>
343 333
                                 <td>
344 334
                                     <input type="text" id="name" class="Min-width" autocomplete="off" />
345 335
                                 </td>
@@ -361,10 +351,10 @@
361 351
                                 <td>
362 352
                                     <select class="select_" id="sourceAreas"></select>
363 353
                                 </td>
364
-                                <th>办单位:</th>
354
+                                <th>办单位:</th>
365 355
                                 <td style="position: relative;">
366 356
                                     <div class="inpBox">
367
-                                        <input type="text" class="inps" onkeyup="darptSearch()" />
357
+                                        <input type="text" class="inps" onkeyup="darptSearch()"/>
368 358
                                         <i class="Cleans  fa fa-close"></i>
369 359
                                         <i class="xl xl_one"></i>
370 360
                                         <div class="addTree xlAdd">
@@ -372,23 +362,27 @@
372 362
                                         </div>
373 363
                                     </div>
374 364
                                     <div class="selDpart1">
375
-                                        <ul id="sponsor">
376
-                                        </ul>
365
+                                    	<ul id="sponsor">
366
+										</ul>
377 367
                                     </div>
378 368
                                 </td>
379 369
                             </tr>
380 370
                             <tr>
371
+                            	<th>坐席:</th>
372
+                                <td>
373
+                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
374
+										<option value="">请选择坐席</option>
375
+									</select>
376
+                                </td>
381 377
                                 <th>调度员:</th>
382 378
                                 <td>
383
-                                    <select id="yardman" name="select" class="selectpicker show-tick form-control"
384
-                                        multiple data-live-search="true">
385
-                                        <option value="">请选择调度员</option>
386
-                                    </select>
379
+                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
380
+										<option value="">请选择调度员</option>
381
+									</select>
387 382
                                 </td>
388
-                                <td colspan="7" style="text-align: center;">
383
+                                <td colspan="7" style="text-align: center;" >
389 384
                                     <botton class="btns Seach">搜索</botton>
390 385
                                     <botton class="btns Export">导出</botton>
391
-                                    <botton class="btns ExportNoSatisfied">导出不满意工单</botton>
392 386
                                 </td>
393 387
                             </tr>
394 388
                         </table>
@@ -396,19 +390,18 @@
396 390
                 </div>
397 391
                 <div>
398 392
                     <div style="width: 100%;padding: 10px;">
399
-                        <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams"
400
-                            data-pagination="true">
393
+                        <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
401 394
                             <thead>
402 395
                                 <tr>
403
-                                    <th data-field="F_OldWorkOrderId" data-formatter="Print" data-align="center">案件编号
404
-                                    </th>
405 396
                                     <th data-field="F_WorkOrderId" data-align="center">工单单号</th>
406 397
                                     <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
407
-                                    <th data-field="DeptName" data-align="center">承办单位</th>
398
+                                    <th data-field="DeptName" data-align="center">主办单位</th>
399
+                                    <th data-field="OtherDeptName" data-align="center">协办单位</th>
408 400
                                     <th data-field="UserName" data-align="center">受理人</th>
409 401
                                     <th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
410
-                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
402
+                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
411 403
                                     <th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
404
+                                    <th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
412 405
                                     <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
413 406
                                 </tr>
414 407
                             </thead>
@@ -419,6 +412,19 @@
419 412
             </div>
420 413
         </div>
421 414
 
415
+        <!--下载框-->
416
+        <div class="t-shade lyxz">
417
+            <div class="shade_k">
418
+                <div class="shade_title">
419
+                    <span>录音播放与下载<srong class="cknum"></srong></span>
420
+                    <span class="setwin gbly"><a>x</a></span>
421
+                </div>
422
+                <div class="shade_content">
423
+                    <div class="Ly_box audiojs">
424
+                    </div>
425
+                </div>
426
+            </div>
427
+        </div>
422 428
         <input type="hidden" id="PID" />
423 429
         <input type="hidden" id="Dpment" />
424 430
     </div>
@@ -435,43 +441,47 @@
435 441
                 load();
436 442
             }
437 443
             laydate.render({
438
-                elem: '#starttime' //指定元素
439
-                    ,
440
-                range: '~'
441
-            });
444
+			    elem: '#starttime' //指定元素
445
+			    ,range:'~'
446
+			});
442 447
             load();
443 448
         });
449
+        //关闭录音弹出
450
+        $(".gbly").click(function () {
451
+            $(".lyxz").removeClass("cx");
452
+            $('audio')[0].pause();
453
+        });
444 454
         $("#orderlist").on("click-row.bs.table", function (e, row, ele) {
445 455
             $('.success').removeClass('success'); //去除之前选中的行的,选中样式
446 456
             $(ele).addClass('success'); //添加当前选中的 success样式用于区别
447 457
         });
448 458
         //获取查询信息
449 459
         function load() {
450
-            //坐席
451
-            var usercodeID = "";
452
-            var usercode_ = $("#ZX").val(); //坐席
453
-            if (usercode_ != null) {
454
-                $(usercode_).each(function (i, n) {
455
-                    var obj1 = '';
456
-                    obj1 = n + ",";
457
-                    usercodeID += obj1;
458
-                })
459
-            } else {
460
-                usercodeID = ""
461
-            }
460
+        	//坐席
461
+        	var usercodeID="";
462
+        	var usercode_=$("#ZX").val(); //坐席
463
+        	if (usercode_!=null) {
464
+        		$(usercode_).each(function (i, n) {
465
+        			var obj1='';
466
+                    obj1= n+",";
467
+                    usercodeID +=obj1;
468
+	            })
469
+        	}else{
470
+        		usercodeID=""
471
+        	}
462 472
 
463
-            //      	调度员
464
-            var ddusercodeID = "";
465
-            var ddusercode_ = $("#yardman").val(); //坐席
466
-            if (ddusercode_ != null) {
467
-                $(ddusercode_).each(function (i, n) {
468
-                    var obj2 = '';
469
-                    obj2 = n + ",";
470
-                    ddusercodeID += obj2;
471
-                })
472
-            } else {
473
-                ddusercodeID = ""
474
-            }
473
+//      	调度员
474
+        	var ddusercodeID="";
475
+        	var ddusercode_=$("#yardman").val(); //坐席
476
+        	if (ddusercode_!=null) {
477
+        		$(ddusercode_).each(function (i, n) {
478
+        			var obj2='';
479
+                    obj2= n+",";
480
+                    ddusercodeID +=obj2;
481
+	            })
482
+        	}else{
483
+        		ddusercodeID=""
484
+        	}
475 485
             //先销毁表格
476 486
             $('#orderlist').bootstrapTable('destroy');
477 487
             //初始化表格,动态从服务器加载数据
@@ -492,7 +502,7 @@
492 502
                 //设置为limit可以获取limit, offset, search, sort, order
493 503
                 queryParamsType: "undefined",
494 504
                 queryParams: function queryParams(params) { //设置查询参数
495
-                    //alert(params.pageNumber)
505
+                	 //alert(params.pageNumber)
496 506
                     var param = {
497 507
                         page: params.pageNumber,
498 508
                         pagesize: params.pageSize,
@@ -508,13 +518,12 @@
508 518
                         ddusercode: ddusercodeID,
509 519
                         keyid: $("#keyid").val(), //=关键词id
510 520
                         source: $("#source").val(), //=来源&
511
-                        starttime: $('#starttime').val() && $('#starttime').val().split(' ~ ')[
512
-                        0], //=开始时间
521
+                        starttime: $('#starttime').val() && $('#starttime').val().split(' ~ ')[0], //=开始时间
513 522
                         endtime: $('#starttime').val() && $('#starttime').val().split(' ~ ')[1], //=结束时间
514 523
                         deptid: $("#PID").val(),
515 524
                         type: $("#type").val(),
516 525
                         dealtype: $("#dealtype").val(),
517
-                        sourcearea: $('#sourceAreas').val(), //区域
526
+                        sourcearea:$('#sourceAreas').val(),//区域
518 527
                         token: $.cookie("token")
519 528
                     };
520 529
                     return param;
@@ -522,14 +531,14 @@
522 531
                 onLoadSuccess: function (data) { //加载成功时执行
523 532
                     //						layer.msg("加载成功");
524 533
                     //console.log(data);
525
-
534
+                   
526 535
                 },
527 536
                 onLoadError: function () { //加载失败时执行
528 537
                     //layer.msg("加载数据失败", { time: 1500, icon: 2 });
529 538
                 }
530 539
             });
531 540
         }
532
-
541
+        
533 542
         //状态
534 543
         function States(val, row) {
535 544
             var html = '';
@@ -570,18 +579,15 @@
570 579
                 case '10':
571 580
                     html = '待审核';
572 581
                     break;
573
-                case '11':
582
+               	case '11':
574 583
                     html = '重办待交办';
575 584
                     break;
576
-                    //              case '12':
577
-                    //                  html = '待审核';
578
-                    //                  break;
585
+//              case '12':
586
+//                  html = '待审核';
587
+//                  break;
579 588
                 case '13':
580 589
                     html = '重办驳回';
581 590
                     break;
582
-                case '14':
583
-                    html = '已结案';
584
-                    break;
585 591
             }
586 592
             return html;
587 593
         }
@@ -595,22 +601,6 @@
595 601
                 return '';
596 602
             }
597 603
         }
598
-        //操作
599
-        function Print(val, row) {
600
-            if (row.F_OldWorkOrderId) {
601
-                return '<a onclick="btn_print(\'' + row.F_WorkOrderId + '\')">' + row.F_OldWorkOrderId + '</a>'
602
-            }
603
-
604
-        }
605
-
606
-        function btn_print(PrintClick) {
607
-            layer.open({
608
-                type: 2,
609
-                content: "../CommonHtml/PrintPreview-1.html?wid=" + PrintClick, //iframe的url,no代表不显示滚动条
610
-                title: '打印/导出',
611
-                area: ['788.8px', '90%'], //宽高
612
-            });
613
-        }
614 604
 
615 605
         function GetCont(val) {
616 606
             if (val) {
@@ -629,11 +619,11 @@
629 619
             var Rows = row.Buttons;
630 620
             var html = '';
631 621
             for (var i = 0; i < Rows.length; i++) {
622
+
632 623
                 var html1 = huayi.config.arr[Rows[i].key * 1 - 1];
633 624
                 if (html1) {
634 625
                     html1 = html1.replace("data", val);
635 626
                     html1 = html1.replace("isProtect", row.F_IsProtect);
636
-                    html1 = html1.replace("row", row.F_MainDeptId);
637 627
                 }
638 628
                 html += html1;
639 629
 
@@ -645,7 +635,6 @@
645 635
         function ckxq(str) {
646 636
             layer.open({
647 637
                 type: 2,
648
-                //              content: "../CommonHtml/lawsuits.html?wid=" + str, //iframe的url,no代表不显示滚动条
649 638
                 content: "../CommonHtml/WorkDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
650 639
                 title: '工单详情',
651 640
                 area: ['87%', '80%'], //宽高
@@ -714,14 +703,15 @@
714 703
                 }, function (result) {
715 704
                     result = JSON.parse(result);
716 705
                     if (result.state.toLowerCase() == "success") {
717
-                        debugger
706
+                    	alert(str)
707
+                    	debugger
718 708
                         layer.msg("删除成功");
719 709
                         $("#orderlist").bootstrapTable('refresh');
720 710
                     }
721 711
                 })
722 712
             });
723 713
         }
724
-
714
+        
725 715
         //提交
726 716
         function tj(str) {
727 717
             layer.confirm('确定要提交工单么?', {
@@ -736,7 +726,7 @@
736 726
                     result = JSON.parse(result);
737 727
                     if (result.state.toLowerCase() == "success") {
738 728
                         layer.msg("提交成功");
739
-                        $("#orderlist").bootstrapTable('refresh');
729
+                        $("#orderlist").bootstrapTable('refresh'); 
740 730
                         //load();
741 731
                     }
742 732
                 })
@@ -751,24 +741,6 @@
751 741
                 area: ['87%', '80%'], //宽高
752 742
             });
753 743
         }
754
-        //回传
755
-        function gdhc(str) {
756
-            layer.confirm('确定要回传?', {
757
-                btn: ['是', '否'] //按钮
758
-            }, function () {
759
-                $.post(huayi.config.callcenter_url + "WorkOrder/Sendback", {
760
-                    ids: str,
761
-                    token: $.cookie("token")
762
-                }, function (result) {
763
-                    result = JSON.parse(result);
764
-                    if (result.state.toLowerCase() == "success") {
765
-                        layer.msg("回传成功");
766
-                        //load();
767
-                        $("#orderlist").bootstrapTable('refresh');
768
-                    }
769
-                })
770
-            });
771
-        }
772 744
         //领导批示
773 745
         function lader(str) {
774 746
             layer.open({
@@ -789,33 +761,14 @@
789 761
         }
790 762
         //办理
791 763
         function bl(str, isProtect) {
792
-            console.log("isProtect2222", isProtect)
764
+        	console.log("isProtect2222",isProtect)
793 765
             layer.open({
794 766
                 type: 2,
795
-                content: "../CommonHtml/banli.html?wid=" + str + "&isProtect=" +
796
-                isProtect, //iframe的url,no代表不显示滚动条
767
+                content: "../CommonHtml/banli.html?wid=" + str + "&isProtect=" + isProtect, //iframe的url,no代表不显示滚动条
797 768
                 title: '办理工单',
798 769
                 area: ['60%', '80%'], //宽高
799 770
             });
800 771
         }
801
-        //编辑办理
802
-        function editProcessingResult(str) {
803
-            layer.open({
804
-                type: 2,
805
-                content: "../CommonHtml/editProcessingResult.html?wid=" + str, //iframe的url,no代表不显示滚动条
806
-                title: '编辑办理',
807
-                area: ['50%', '40%'], //宽高
808
-            });
809
-        }
810
-        //扫描件上传
811
-        function updatingFiles(str) {
812
-            layer.open({
813
-                type: 2,
814
-                content: "../CommonHtml/updatingFiles.html?wid=" + str, //iframe的url,no代表不显示滚动条
815
-                title: '扫描件上传',
816
-                area: ['50%', '40%'], //宽高
817
-            });
818
-        }
819 772
         //督办
820 773
         function Supervision(str) {
821 774
             layer.open({
@@ -837,23 +790,32 @@
837 790
         }
838 791
         //审核
839 792
         function audit(str) {
840
-            layer.open({
793
+        	layer.open({
841 794
                 type: 2,
842 795
                 content: "../CommonHtml/AuditDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
843 796
                 title: '审核',
844 797
                 area: ['60%', '80%'], //宽高
845
-            });
798
+           });
846 799
         }
847
-
848 800
         //转督办
849
-        function zdb(str, row) {
850
-            layer.open({
851
-                type: 2,
852
-                content: "../CommonHtml/superTrunl.html?wid=" + str + "&depId=" + row, //iframe的url,no代表不显示滚动条
853
-                title: '督办工单',
854
-                area: ['60%', '80%'], //宽高
801
+        function zdb(str) {
802
+            layer.confirm('确定督办吗?', {
803
+                btn: ['是', '否'] //按钮
804
+            }, function () {
805
+                $.post(huayi.config.callcenter_url + 'WorkOrder/RemindWorkOrder', {
806
+					workorderid: str,
807
+					type: 1,
808
+					state:0,
809
+					"token": $.cookie("token")
810
+				}, function(result) {
811
+					result = JSON.parse(result);
812
+					if(result.state.toLowerCase() == "success") {
813
+						layer.msg("操作成功");
814
+						//load();
815
+						$("#orderlist").bootstrapTable('refresh');
816
+					}
817
+				})
855 818
             });
856
-
857 819
         }
858 820
         //不督办
859 821
         function ndb(str) {
@@ -861,26 +823,26 @@
861 823
                 btn: ['是', '否'] //按钮
862 824
             }, function () {
863 825
                 $.post(huayi.config.callcenter_url + 'WorkOrder/RemindWorkOrder', {
864
-                    workorderid: str,
865
-                    type: 1,
866
-                    state: 2,
867
-                    "token": $.cookie("token")
868
-                }, function (result) {
869
-                    result = JSON.parse(result);
870
-                    if (result.state.toLowerCase() == "success") {
871
-                        layer.msg("操作成功");
872
-                        //load();
873
-                        $("#orderlist").bootstrapTable('refresh');
874
-                    }
875
-                })
826
+					workorderid: str,
827
+					type: 1,
828
+					state:2,
829
+					"token": $.cookie("token")
830
+				}, function(result) {
831
+					result = JSON.parse(result);
832
+					if(result.state.toLowerCase() == "success") {
833
+						layer.msg("操作成功");
834
+						//load();
835
+						$("#orderlist").bootstrapTable('refresh');
836
+					}
837
+				})
876 838
             });
877 839
         }
878
-        //诉求单结案
840
+        //强制结案
879 841
         function StrongLawsuit(str) {
880 842
             layer.open({
881 843
                 type: 2,
882 844
                 content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
883
-                title: '诉求单结案',
845
+                title: '强制结案',
884 846
                 area: ['60%', '80%'], //宽高
885 847
             });
886 848
         }
@@ -889,7 +851,7 @@
889 851
             layer.open({
890 852
                 type: 2,
891 853
                 content: "../CommonHtml/BackDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
892
-                title: '工单督办',
854
+                title: '工单回退',
893 855
                 area: ['60%', '80%'], //宽高
894 856
             });
895 857
         }
@@ -992,42 +954,41 @@
992 954
         }
993 955
         //提交重办
994 956
         function bhcb(str) {
995
-            //回退BackDtail
957
+        	//回退BackDtail
996 958
             layer.open({
997 959
                 type: 2,
998 960
                 content: "../CommonHtml/rejectionCB.html?wid=" + str, //iframe的url,no代表不显示滚动条
999 961
                 title: '驳回重办',
1000 962
                 area: ['60%', '80%'], //宽高
1001 963
             });
1002
-
964
+        	
1003 965
         }
1004 966
         //提交重办
1005 967
         function tjcb(str) {
1006
-            layer.open({
968
+        	layer.open({
1007 969
                 type: 2,
1008 970
                 content: "../CommonHtml/reasonCB.html?wid=" + str, //iframe的url,no代表不显示滚动条
1009 971
                 title: '提交重办',
1010 972
                 area: ['50%', '40%'], //宽高
1011 973
             });
1012
-            //      	 layer.confirm('确认提交重办吗?', {
1013
-            //              btn: ['是', '否'] //按钮
1014
-            //          }, function () {
1015
-            //              $.post(huayi.config.callcenter_url + 'WorkOrder/SubReloadWorkOrder', {
1016
-            //					ids: str,
1017
-            //					"token": $.cookie("token")
1018
-            //				}, function(result) {
1019
-            //					result = JSON.parse(result);
1020
-            //					if(result.state.toLowerCase() == "success") {
1021
-            //						layer.msg("操作成功");
1022
-            //						//load();
1023
-            //						$("#orderlist").bootstrapTable('refresh');
1024
-            //					}
1025
-            //				})
1026
-            //          });
974
+//      	 layer.confirm('确认提交重办吗?', {
975
+//              btn: ['是', '否'] //按钮
976
+//          }, function () {
977
+//              $.post(huayi.config.callcenter_url + 'WorkOrder/SubReloadWorkOrder', {
978
+//					ids: str,
979
+//					"token": $.cookie("token")
980
+//				}, function(result) {
981
+//					result = JSON.parse(result);
982
+//					if(result.state.toLowerCase() == "success") {
983
+//						layer.msg("操作成功");
984
+//						//load();
985
+//						$("#orderlist").bootstrapTable('refresh');
986
+//					}
987
+//				})
988
+//          });
1027 989
         }
1028 990
         //结案
1029 991
         function Lawsuit(str) {
1030
-            debugger
1031 992
             layer.open({
1032 993
                 type: 2,
1033 994
                 content: "../CommonHtml/lawsuits.html?wid=" + str, //iframe的url,no代表不显示滚动条
@@ -1055,8 +1016,7 @@
1055 1016
                      */
1056 1017
                     processData: false,
1057 1018
                     success: function (result) {
1058
-                        document.getElementById("upFile").outerHTML = document.getElementById("upFile")
1059
-                            .outerHTML;
1019
+                        document.getElementById("upFile").outerHTML = document.getElementById("upFile").outerHTML;
1060 1020
                         $("#upFile").change(function () {
1061 1021
                             upload();
1062 1022
                         });
@@ -1084,8 +1044,7 @@
1084 1044
                 if (data.state.toLowerCase() == "success") {
1085 1045
                     var content = data.data;
1086 1046
                     $(content).each(function (i, n) {
1087
-                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(
1088
-                            obj);
1047
+                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
1089 1048
                     })
1090 1049
                 }
1091 1050
             })
@@ -1101,8 +1060,7 @@
1101 1060
                 if (data.state.toLowerCase() == "success") {
1102 1061
                     var content = data.data;
1103 1062
                     $(content).each(function (i, n) {
1104
-                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(
1105
-                            obj);
1063
+                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
1106 1064
                     })
1107 1065
                 }
1108 1066
             })
@@ -1118,13 +1076,12 @@
1118 1076
                 if (data.state.toLowerCase() == "success") {
1119 1077
                     var content = data.data;
1120 1078
                     $(content).each(function (i, n) {
1121
-                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(
1122
-                            obj);
1079
+                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
1123 1080
                     })
1124 1081
                 }
1125 1082
             })
1126 1083
         }
1127
-
1084
+        
1128 1085
         function tree() {
1129 1086
             $.get(huayi.config.callcenter_url + 'Department/GetDeptList', {
1130 1087
                 "token": $.cookie("token"),
@@ -1150,28 +1107,20 @@
1150 1107
                 onClick: zTreeOnClick
1151 1108
             }
1152 1109
         };
1153
-
1154 1110
         function zTreeOnClick(event, treeId, treeNode) {
1155
-
1156
-            $('.inps').val(treeNode.F_DeptName);
1157
-            $("#PID").val(treeNode.F_DeptId);
1158
-            $("#Dpment").val(treeNode.F_DeptId);
1159
-            $(".Cleans").show();
1111
+            if (treeNode.level >= 2) {
1112
+                $('.inps').val(treeNode.F_DeptName);
1113
+                $("#PID").val(treeNode.F_DeptId);
1114
+                $("#Dpment").val(treeNode.F_DeptId);
1115
+                $(".Cleans").show();
1116
+            }
1160 1117
         };
1161
-
1162 1118
         function Close() {
1163 1119
             $(".lyxz").removeClass("cx");
1164 1120
             if ($('audio').length > 0) {
1165 1121
                 $('audio')[0].pause();
1166 1122
             }
1167 1123
         }
1168
-        $(".ExportNoSatisfied").click(function () {
1169
-            var starttime = $('#starttime').val() && $('#starttime').val().split(' ~ ')[0];
1170
-            var endtime = $('#starttime').val() && $('#starttime').val().split(' ~ ')[1];
1171
-            var url = huayi.config.callcenter_url + "WorkOrder/GetList?token=" + $.cookie("token");
1172
-            url += "&starttime=" + starttime + "&endtime=" + endtime + "&deptid=" + $("#PID").val() + "&satisfaction=0" + "&isdc=1";
1173
-            window.location.href = url;
1174
-        })
1175 1124
     </script>
1176 1125
 </body>
1177 1126
 

+ 1 - 1
WebUI/CallCenterWeb.UI/Appeal/SupervList.html

@@ -34,7 +34,7 @@
34 34
 					<thead>
35 35
 						<tr>
36 36
 							<th data-field="id" data-align="center" >诉求编号</th>
37
-							<th data-field="usercode" data-align="center">关键字</th>
37
+							<th data-field="usercode" data-align="center">诉求标题</th>
38 38
 							<th data-field="addtime" data-align="center">诉求时间</th>
39 39
 							<th data-field="acceptname" data-align="center">办理状态</th>
40 40
 							<th data-field="zuoxi" data-align="center">督办意见</th>

+ 29 - 32
WebUI/CallCenterWeb.UI/Appeal/expiredWorkOrders.html

@@ -280,7 +280,7 @@
280 280
 						<div class="box_content">
281 281
 							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
282 282
 								<tr>
283
-									<!--<th>关键字:</th>
283
+									<!--<th>诉求标题:</th>
284 284
 									<td>
285 285
 										<input type="text" placeholder="输入关键字" id="key" class="Min-width" />
286 286
 									</td>-->
@@ -293,7 +293,7 @@
293 293
 										<input type="text" id="starttime" class="laydate-icon Min-width" style="height: 32px;" />&nbsp;——&nbsp;<input type="text" id="endtime" class="laydate-icon Min-width" style="height: 32px;" />
294 294
 									</td>
295 295
 									
296
-									<th>办单位:</th>
296
+									<th>办单位:</th>
297 297
 									<td style="position: relative;">
298 298
 	                                    <div class="inpBox">
299 299
 	                                        <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -336,10 +336,14 @@
336 336
 									<td>
337 337
 										<input type="text" id="tel"  class="Min-width" />
338 338
 									</td>
339
-									<th>姓名:</th>
339
+									<th>投诉人:</th>
340 340
 									<td>
341 341
 										<input type="text" id="name"  class="Min-width"/>
342 342
 									</td>-->
343
+									<th>坐席:</th>
344
+									<td>
345
+										<select id="ZX" name="" class="select"></select>
346
+									</td>
343 347
 									
344 348
 									<th>类型:</th>
345 349
 									<td>
@@ -354,6 +358,7 @@
354 358
 									<th></th>
355 359
 									<td style="text-align: center;">
356 360
 										<botton class="btns Seach">搜索</botton>
361
+										<!--<botton class="btns ">导出</botton>-->
357 362
 										</td>
358 363
 								</tr>
359 364
 							</table>
@@ -367,10 +372,12 @@
367 372
 										<!--<th data-checkbox="true"></th>-->
368 373
 										<th data-field="F_WorkOrderId" data-align="center">工单单号</th>
369 374
 										<th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
370
-										<th data-field="DeptName" data-align="center">承办单位</th>
375
+										<th data-field="DeptName" data-align="center">主办单位</th>
376
+										<th data-field="OtherDeptName" data-align="center">协办单位</th>
371 377
 										<th data-field="UserName" data-align="center">受理人</th>
372 378
 										<th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
373
-										<th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
379
+										<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
380
+										<th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
374 381
 										<!--<th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>-->
375 382
 										<th data-formatter="Dispose" data-align="center">操作</th>
376 383
 									</tr>
@@ -386,6 +393,7 @@
386 393
 			<div class="t-shade lyxz">
387 394
 				<div class="shade_k">
388 395
 					<div class="shade_title">
396
+						<span>录音播放与下载<srong class="cknum"></srong></span>
389 397
 						<span class="setwin gbly"><a>x</a></span>
390 398
 					</div>
391 399
 					<div class="shade_content">
@@ -405,7 +413,7 @@
405 413
 			
406 414
 			$(document).ready(function() {
407 415
 				load();
408
-//				helper.getDropList.getOrderAreas($('#sourceAreas'));
416
+				helper.getDropList.getOrderAreas($('#sourceAreas'));
409 417
 				laydate.skin('blue');
410 418
 
411 419
 				laydate({
@@ -418,6 +426,11 @@
418 426
 					event: 'focus'
419 427
 				});
420 428
 			});
429
+			//关闭录音弹出
430
+			$(".gbly").click(function() {
431
+				$(".lyxz").removeClass("cx");
432
+				$('audio')[0].pause();
433
+			});
421 434
 
422 435
 			$("#orderlist").on("click-row.bs.table", function(e, row, ele) {
423 436
 				$('.success').removeClass('success'); //去除之前选中的行的,选中样式
@@ -573,28 +586,10 @@
573 586
 			//操作
574 587
 			function Dispose(val, row) {
575 588
 				var Rows = row.Buttons;
576
-				var html = '<a class="xg" onclick="ckxq('+ row.F_WorkOrderId+')" title="查看">查看</a>' + 
577
-				 '<a class="xg" onclick="sendMsg('+ row.F_WorkOrderId+','+row.F_MainDeptId+')" title="发送短信">发送短信</a>';
589
+				var html = '<a class="xg" onclick="ckxq('+ row.F_WorkOrderId+')" title="查看">查看</a>';
578 590
 				return html;
579 591
 			}
580
-			//发送短信
581
-			function sendMsg(wid,depId){
582
-				layer.confirm('确定发送短信吗',{
583
-					btn:['确定','取消']
584
-				},function(){
585
-					$.post(huayi.config.callcenter_url + 'WorkOrder/SendSms',{
586
-						workordercode:wid,
587
-						deptid:depId, //承办单位
588
-						type:3,
589
-						token: $.cookie("token")
590
-					},function(result){
591
-						result=JSON.parse(result);
592
-						if(result.state.toLowerCase()=='success'){
593
-							layer.msg('发送短信成功')
594
-						}
595
-					})
596
-				})
597
-			}
592
+
598 593
 			//查看详情
599 594
 			function ckxq(str) {
600 595
 				layer.open({
@@ -705,12 +700,12 @@
705 700
 					area: ['60%', '80%'], //宽高
706 701
 				});
707 702
 			}
708
-			//诉求单结案
703
+			//强制结案
709 704
 			function StrongLawsuit(str) {
710 705
 				layer.open({
711 706
 					type: 2,
712 707
 					content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
713
-					title: '诉求单结案',
708
+					title: '强制结案',
714 709
 					area: ['60%', '80%'], //宽高
715 710
 				});
716 711
 			}
@@ -971,10 +966,12 @@
971 966
 					}
972 967
 				};
973 968
 				function zTreeOnClick(event, treeId, treeNode) {
974
-					$('.inps').val(treeNode.F_DeptName);
975
-					$("#PID").val(treeNode.F_DeptId);
976
-					$("#Dpment").val(treeNode.F_DeptId);
977
-					$(".Cleans").show();
969
+					if(treeNode.level >= 2) {
970
+						$('.inps').val(treeNode.F_DeptName);
971
+						$("#PID").val(treeNode.F_DeptId);
972
+						$("#Dpment").val(treeNode.F_DeptId);
973
+						$(".Cleans").show();
974
+					}
978 975
 
979 976
 				};
980 977
 		</script>

+ 42 - 13
WebUI/CallCenterWeb.UI/Appeal/toAuditList.html

@@ -273,7 +273,7 @@
273 273
                     <i class="syIcon"></i>位置:
274 274
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
275 275
                     <a href="javaScript:;">工单处理</a>&gt;
276
-                   <a href="" class="nowPosition">待审核列表</a>
276
+                    <a class="nowPosition">待审核列表</a>
277 277
                 </sapn>
278 278
             </div>
279 279
             <div class="dhRight">
@@ -287,7 +287,7 @@
287 287
                     <div class="box_content">
288 288
                         <table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
289 289
                             <tr>
290
-                                <th>关键字:</th>
290
+                                <th>诉求标题:</th>
291 291
                                 <td>
292 292
                                     <input type="text" placeholder="输入关键字" id="key" class="Min-width" />
293 293
                                 </td>
@@ -328,7 +328,7 @@
328 328
                             
329 329
                             <tr>
330 330
                                
331
-                                <th>姓名:</th>
331
+                                <th>投诉人:</th>
332 332
                                 <td>
333 333
                                     <input type="text" id="name" class="Min-width" />
334 334
                                 </td>
@@ -341,13 +341,19 @@
341 341
                                 
342 342
                             </tr>
343 343
                             <tr>
344
+                            	<th>坐席:</th>
345
+                                <td>
346
+                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
347
+										<option value="">请选择坐席</option>
348
+									</select>
349
+                                </td>
344 350
                                 <th>调度员:</th>
345 351
                                 <td>
346 352
                                 	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
347 353
 										<option value="">请选择调度员</option>
348 354
 									</select>
349 355
                                 </td>
350
-                                <th>办单位:</th>
356
+                                <th>办单位:</th>
351 357
                                 <td style="position: relative;">
352 358
                                     <div class="inpBox">
353 359
                                         <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -381,10 +387,12 @@
381 387
                                     <th data-checkbox="true"></th>
382 388
                                     <th data-field="F_WorkOrderId" data-align="center">工单单号</th>
383 389
                                     <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
384
-                                    <th data-field="DeptName" data-align="center">承办单位</th>
390
+                                    <th data-field="DeptName" data-align="center">主办单位</th>
391
+                                    <th data-field="OtherDeptName" data-align="center">协办单位</th>
385 392
                                     <th data-field="UserName" data-align="center">受理人</th>
386 393
                                     <th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
387
-                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
394
+                                    <th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
395
+                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
388 396
                                     <th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
389 397
                                     <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
390 398
                                 </tr>
@@ -396,6 +404,19 @@
396 404
             </div>
397 405
         </div>
398 406
 
407
+        <!--下载框-->
408
+        <div class="t-shade lyxz">
409
+            <div class="shade_k">
410
+                <div class="shade_title">
411
+                    <span>录音播放与下载<srong class="cknum"></srong></span>
412
+                    <span class="setwin gbly"><a>x</a></span>
413
+                </div>
414
+                <div class="shade_content">
415
+                    <div class="Ly_box audiojs">
416
+                    </div>
417
+                </div>
418
+            </div>
419
+        </div>
399 420
         <input type="hidden" id="PID" />
400 421
         <input type="hidden" id="Dpment" />
401 422
     </div>
@@ -422,6 +443,12 @@
422 443
             });
423 444
 
424 445
         });
446
+        //关闭录音弹出
447
+        $(".gbly").click(function () {
448
+            $(".lyxz").removeClass("cx");
449
+            $('audio')[0].pause();
450
+        });
451
+
425 452
         $("#orderlist").on("click-row.bs.table", function (e, row, ele) {
426 453
             $('.success').removeClass('success'); //去除之前选中的行的,选中样式
427 454
             $(ele).addClass('success'); //添加当前选中的 success样式用于区别
@@ -737,7 +764,7 @@
737 764
                 type: 2,
738 765
                 state:2,
739 766
                 content: "../CommonHtml/Supervision_.html?wid=" + str + '&type=1'+ '&state=2', //iframe的url,no代表不显示滚动条
740
-                title: '督办',
767
+                title: '督办',
741 768
                 area: ['60%', '80%'], //宽高
742 769
             });
743 770
         }
@@ -750,12 +777,12 @@
750 777
                 area: ['60%', '80%'], //宽高
751 778
             });
752 779
         }
753
-        //诉求单结案
780
+        //强制结案
754 781
         function StrongLawsuit(str) {
755 782
             layer.open({
756 783
                 type: 2,
757 784
                 content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
758
-                title: '诉求单结案',
785
+                title: '强制结案',
759 786
                 area: ['60%', '80%'], //宽高
760 787
             });
761 788
         }
@@ -1011,10 +1038,12 @@
1011 1038
             }
1012 1039
         };
1013 1040
         function zTreeOnClick(event, treeId, treeNode) {
1014
-            $('.inps').val(treeNode.F_DeptName);
1015
-            $("#PID").val(treeNode.F_DeptId);
1016
-            $("#Dpment").val(treeNode.F_DeptName);
1017
-            $(".Cleans").show();
1041
+            if (treeNode.level >= 2) {
1042
+                $('.inps').val(treeNode.F_DeptName);
1043
+                $("#PID").val(treeNode.F_DeptId);
1044
+                $("#Dpment").val(treeNode.F_DeptName);
1045
+                $(".Cleans").show();
1046
+            }
1018 1047
 
1019 1048
         };
1020 1049
     </script>

+ 48 - 15
WebUI/CallCenterWeb.UI/Appeal/toSupervList.html

@@ -273,7 +273,7 @@
273 273
                     <i class="syIcon"></i>位置:
274 274
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
275 275
                     <a href="javaScript:;">工单处理</a>&gt;
276
-                   <a href="" class="nowPosition">待督办列表</a>
276
+                    <a class="nowPosition">待处理列表</a>
277 277
                 </sapn>
278 278
             </div>
279 279
             <div class="dhRight">
@@ -287,7 +287,7 @@
287 287
                     <div class="box_content">
288 288
                         <table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
289 289
                             <tr>
290
-                                <th>关键字:</th>
290
+                                <th>诉求标题:</th>
291 291
                                 <td>
292 292
                                     <input type="text" placeholder="输入关键字" id="key" class="Min-width" />
293 293
                                 </td>
@@ -309,6 +309,7 @@
309 309
                                 <td>
310 310
                                     <select name="" id="state" class="select">
311 311
                                         <option selected="selected" value="">请选择</option>
312
+                                        <option value="0">新工单</option>
312 313
                                         <option value="1">待交办</option>
313 314
                                         <option value="10">待审核</option>
314 315
                                         <option value="2">待查收</option>
@@ -338,7 +339,7 @@
338 339
                             
339 340
                             <tr>
340 341
                                
341
-                                <th>姓名:</th>
342
+                                <th>投诉人:</th>
342 343
                                 <td>
343 344
                                     <input type="text" id="name" class="Min-width" />
344 345
                                 </td>
@@ -351,13 +352,19 @@
351 352
                                 
352 353
                             </tr>
353 354
                             <tr>
355
+                            	<th>坐席:</th>
356
+                                <td>
357
+                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
358
+										<option value="">请选择坐席</option>
359
+									</select>
360
+                                </td>
354 361
                                 <th>调度员:</th>
355 362
                                 <td>
356 363
                                 	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
357 364
 										<option value="">请选择调度员</option>
358 365
 									</select>
359 366
                                 </td>
360
-                                <th>办单位:</th>
367
+                                <th>办单位:</th>
361 368
                                 <td style="position: relative;">
362 369
                                     <div class="inpBox">
363 370
                                         <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -391,10 +398,12 @@
391 398
                                     <th data-checkbox="true"></th>
392 399
                                     <th data-field="F_WorkOrderId" data-align="center">工单单号</th>
393 400
                                     <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
394
-                                    <th data-field="DeptName" data-align="center">承办单位</th>
401
+                                    <th data-field="DeptName" data-align="center">主办单位</th>
402
+                                    <th data-field="OtherDeptName" data-align="center">协办单位</th>
395 403
                                     <th data-field="UserName" data-align="center">受理人</th>
396 404
                                     <th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
397
-                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
405
+                                    <th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
406
+                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
398 407
                                     <th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
399 408
                                     <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
400 409
                                 </tr>
@@ -405,6 +414,20 @@
405 414
                 </div>
406 415
             </div>
407 416
         </div>
417
+
418
+        <!--下载框-->
419
+        <div class="t-shade lyxz">
420
+            <div class="shade_k">
421
+                <div class="shade_title">
422
+                    <span>录音播放与下载<srong class="cknum"></srong></span>
423
+                    <span class="setwin gbly"><a>x</a></span>
424
+                </div>
425
+                <div class="shade_content">
426
+                    <div class="Ly_box audiojs">
427
+                    </div>
428
+                </div>
429
+            </div>
430
+        </div>
408 431
         <input type="hidden" id="PID" />
409 432
         <input type="hidden" id="Dpment" />
410 433
     </div>
@@ -430,6 +453,15 @@
430 453
                 event: 'focus'
431 454
             });
432 455
         });
456
+        //关闭录音弹出
457
+        $(".gbly").click(function () {
458
+            $(".lyxz").removeClass("cx");
459
+            $('audio')[0].pause();
460
+        });
461
+        $("#orderlist").on("click-row.bs.table", function (e, row, ele) {
462
+            $('.success').removeClass('success'); //去除之前选中的行的,选中样式
463
+            $(ele).addClass('success'); //添加当前选中的 success样式用于区别
464
+        });
433 465
 
434 466
         //获取查询信息
435 467
         function load() {
@@ -613,7 +645,6 @@
613 645
                 var html1 = huayi.config.arr[Rows[i].key * 1 - 1];
614 646
                 if (html1) {
615 647
                     html1 = html1.replace("data", val);
616
-                    html1 = html1.replace("row", row.F_MainDeptId);
617 648
                 }
618 649
                 html += html1;
619 650
 
@@ -724,11 +755,11 @@
724 755
         }
725 756
         //督办
726 757
 
727
-        function Supervision(str,supervision) {
758
+        function Supervision(str) {
728 759
             layer.open({
729 760
                 type: 2,
730 761
                 state:1,
731
-                content: "../CommonHtml/Supervision_.html?wid=" + str + '&type=1'+ '&state=1'+'&depId='+supervision, //iframe的url,no代表不显示滚动条
762
+                content: "../CommonHtml/Supervision_.html?wid=" + str + '&type=1'+ '&state=1', //iframe的url,no代表不显示滚动条
732 763
                 title: '督办',
733 764
                 area: ['60%', '80%'], //宽高
734 765
             });
@@ -752,12 +783,12 @@
752 783
                 area: ['60%', '80%'], //宽高
753 784
             });
754 785
         }
755
-        //诉求单结案
786
+        //强制结案
756 787
         function StrongLawsuit(str) {
757 788
             layer.open({
758 789
                 type: 2,
759 790
                 content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
760
-                title: '诉求单结案',
791
+                title: '强制结案',
761 792
                 area: ['60%', '80%'], //宽高
762 793
             });
763 794
         }
@@ -1004,10 +1035,12 @@
1004 1035
             }
1005 1036
         };
1006 1037
         function zTreeOnClick(event, treeId, treeNode) {
1007
-            $('.inps').val(treeNode.F_DeptName);
1008
-            $("#PID").val(treeNode.F_DeptId);
1009
-            $("#Dpment").val(treeNode.F_DeptName);
1010
-            $(".Cleans").show();
1038
+            if (treeNode.level >= 2) {
1039
+                $('.inps').val(treeNode.F_DeptName);
1040
+                $("#PID").val(treeNode.F_DeptId);
1041
+                $("#Dpment").val(treeNode.F_DeptName);
1042
+                $(".Cleans").show();
1043
+            }
1011 1044
 
1012 1045
         };
1013 1046
     </script>

+ 42 - 17
WebUI/CallCenterWeb.UI/Business/LeaderBH.html

@@ -268,7 +268,7 @@
268 268
 					<sapn>
269 269
 						<i class="syIcon"></i>位置:
270 270
 						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
271
-						<a href="javaScript:;">工单处理</a>&gt;
271
+						<a href="javaScript:;">业务监督</a>&gt;
272 272
 						<a class="nowPosition">重办驳回列表</a>
273 273
 					</sapn>
274 274
 				</div>
@@ -283,9 +283,9 @@
283 283
 						<div class="box_content">
284 284
 							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
285 285
 								<tr>
286
-									<th>关键字:</th>
286
+									<th>诉求标题:</th>
287 287
 									<td>
288
-										<input type="text" placeholder="输入关键字" id="key" class="Min-width" />
288
+										<input type="text" placeholder="输入诉求标题" id="key" class="Min-width" />
289 289
 									</td>
290 290
 									<th>工单号:</th>
291 291
 									<td>
@@ -306,6 +306,7 @@
306 306
 									<td>
307 307
 										<select name="" id="state" class="select">
308 308
 											<option selected="selected" value="">请选择</option>
309
+											<option value="0">新工单</option>
309 310
 											<option value="1">待交办</option>
310 311
 											<option value="2">待查收</option>
311 312
 											<option value="3">退回审核中</option>
@@ -337,19 +338,25 @@
337 338
 									<td>
338 339
 										<input type="text" id="tel"  class="Min-width" />
339 340
 									</td>
340
-									<th>姓名:</th>
341
+									<th>投诉人:</th>
341 342
 									<td>
342 343
 										<input type="text" id="name"  class="Min-width"/>
343 344
 									</td>
344 345
 								</tr>
345 346
 								<tr>
347
+									<th>坐席:</th>
348
+	                                <td>
349
+	                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
350
+											<option value="">请选择坐席</option>
351
+										</select>
352
+	                                </td>
346 353
 	                                <th>调度员:</th>
347 354
 	                                <td>
348 355
 	                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
349 356
 											<option value="">请选择调度员</option>
350 357
 										</select>
351 358
 	                                </td>
352
-									<th>办单位:</th>
359
+									<th>办单位:</th>
353 360
 									<td style="position: relative;">
354 361
 	                                    <div class="inpBox">
355 362
 	                                        <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -384,10 +391,12 @@
384 391
 										<th data-checkbox="true"></th>
385 392
 										<th data-field="F_WorkOrderId" data-align="center">工单单号</th>
386 393
 										<th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
387
-										<th data-field="DeptName" data-align="center">承办单位</th>
394
+										<th data-field="DeptName" data-align="center">主办单位</th>
395
+										<th data-field="OtherDeptName" data-align="center">协办单位</th>
388 396
 										<th data-field="UserName" data-align="center">受理人</th>
389 397
 										<th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
390
-										<th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
398
+										<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
399
+										<th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
391 400
 										<th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
392 401
 										<th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
393 402
 									</tr>
@@ -399,6 +408,19 @@
399 408
 				</div>
400 409
 			</div>
401 410
 
411
+			<!--下载框-->
412
+			<div class="t-shade lyxz">
413
+				<div class="shade_k">
414
+					<div class="shade_title">
415
+						<span>录音播放与下载<srong class="cknum"></srong></span>
416
+						<span class="setwin gbly"><a>x</a></span>
417
+					</div>
418
+					<div class="shade_content">
419
+						<div class="Ly_box audiojs">
420
+						</div>
421
+					</div>
422
+				</div>
423
+			</div>
402 424
 			<input type="hidden" id="PID" />
403 425
 			<input type="hidden" id="Dpment" />
404 426
 		</div>
@@ -419,7 +441,11 @@
419 441
 					event: 'focus'
420 442
 				});
421 443
 			});
422
-
444
+			//关闭录音弹出
445
+			$(".gbly").click(function() {
446
+				$(".lyxz").removeClass("cx");
447
+				$('audio')[0].pause();
448
+			});
423 449
 			$("#orderlist").on("click-row.bs.table", function(e, row, ele) {
424 450
 				$('.success').removeClass('success'); //去除之前选中的行的,选中样式
425 451
 				$(ele).addClass('success'); //添加当前选中的 success样式用于区别
@@ -553,9 +579,6 @@
553 579
                 case '13':
554 580
                     html = '重办驳回';
555 581
                     break;
556
-                case '14':
557
-                    html = '已结案';
558
-                    break;
559 582
             }
560 583
             return html;
561 584
         }
@@ -734,12 +757,12 @@
734 757
 					area: ['48%', '45%'], //宽高
735 758
 				});
736 759
 			}
737
-			//诉求单结案
760
+			//强制结案
738 761
 			function StrongLawsuit(str) {
739 762
 				layer.open({
740 763
 					type: 2,
741 764
 					content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
742
-					title: '诉求单结案',
765
+					title: '强制结案',
743 766
 					area: ['45%', '52%'], //宽高
744 767
 				});
745 768
 			}
@@ -986,10 +1009,12 @@
986 1009
 					}
987 1010
 				};
988 1011
 				function zTreeOnClick(event, treeId, treeNode) {
989
-					$('.inps').val(treeNode.F_DeptName);
990
-					$("#PID").val(treeNode.F_DeptId);
991
-					$("#Dpment").val(treeNode.F_DeptName);
992
-					$(".Cleans").show();
1012
+					if(treeNode.level >= 2) {
1013
+						$('.inps').val(treeNode.F_DeptName);
1014
+						$("#PID").val(treeNode.F_DeptId);
1015
+						$("#Dpment").val(treeNode.F_DeptName);
1016
+						$(".Cleans").show();
1017
+					}
993 1018
 
994 1019
 				};
995 1020
 		</script>

+ 42 - 14
WebUI/CallCenterWeb.UI/Business/LeaderDB.html

@@ -268,7 +268,7 @@
268 268
 					<sapn>
269 269
 						<i class="syIcon"></i>位置:
270 270
 						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
271
-						<a href="javaScript:;">业务协同</a>&gt;
271
+						<a href="javaScript:;">业务监督</a>&gt;
272 272
 						<a class="nowPosition">已督办列表</a>
273 273
 					</sapn>
274 274
 				</div>
@@ -283,9 +283,9 @@
283 283
 						<div class="box_content">
284 284
 							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
285 285
 								<tr>
286
-									<th>关键字:</th>
286
+									<th>诉求标题:</th>
287 287
 									<td>
288
-										<input type="text" placeholder="输入关键字" id="key" class="Min-width" />
288
+										<input type="text" placeholder="输入诉求标题" id="key" class="Min-width" />
289 289
 									</td>
290 290
 									<th>工单号:</th>
291 291
 									<td>
@@ -306,6 +306,7 @@
306 306
 									<td>
307 307
 										<select name="" id="state" class="select">
308 308
 											<option selected="selected" value="">请选择</option>
309
+											<option value="0">新工单</option>
309 310
 											<option value="1">待交办</option>
310 311
 											<option value="2">待查收</option>
311 312
 											<option value="3">退回审核中</option>
@@ -337,19 +338,25 @@
337 338
 									<td>
338 339
 										<input type="text" id="tel"  class="Min-width" />
339 340
 									</td>
340
-									<th>姓名:</th>
341
+									<th>投诉人:</th>
341 342
 									<td>
342 343
 										<input type="text" id="name"  class="Min-width"/>
343 344
 									</td>
344 345
 								</tr>
345 346
 								<tr>
347
+									<th>坐席:</th>
348
+	                                <td>
349
+	                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
350
+											<option value="">请选择坐席</option>
351
+										</select>
352
+	                                </td>
346 353
 	                                <th>调度员:</th>
347 354
 	                                <td>
348 355
 	                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
349 356
 											<option value="">请选择调度员</option>
350 357
 										</select>
351 358
 	                                </td>
352
-									<th>办单位:</th>
359
+									<th>办单位:</th>
353 360
 									<td style="position: relative;">
354 361
 	                                    <div class="inpBox">
355 362
 	                                        <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -384,10 +391,12 @@
384 391
 										<th data-checkbox="true"></th>
385 392
 										<th data-field="F_WorkOrderId" data-align="center">工单单号</th>
386 393
 										<th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
387
-										<th data-field="DeptName" data-align="center">承办单位</th>
394
+										<th data-field="DeptName" data-align="center">主办单位</th>
395
+										<th data-field="OtherDeptName" data-align="center">协办单位</th>
388 396
 										<th data-field="UserName" data-align="center">受理人</th>
389 397
 										<th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
390
-										<th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
398
+										<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
399
+										<th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
391 400
 										<th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
392 401
 										<th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
393 402
 									</tr>
@@ -399,6 +408,19 @@
399 408
 				</div>
400 409
 			</div>
401 410
 
411
+			<!--下载框-->
412
+			<div class="t-shade lyxz">
413
+				<div class="shade_k">
414
+					<div class="shade_title">
415
+						<span>录音播放与下载<srong class="cknum"></srong></span>
416
+						<span class="setwin gbly"><a>x</a></span>
417
+					</div>
418
+					<div class="shade_content">
419
+						<div class="Ly_box audiojs">
420
+						</div>
421
+					</div>
422
+				</div>
423
+			</div>
402 424
 			<input type="hidden" id="PID" />
403 425
 			<input type="hidden" id="Dpment" />
404 426
 		</div>
@@ -419,7 +441,11 @@
419 441
 					event: 'focus'
420 442
 				});
421 443
 			});
422
-
444
+			//关闭录音弹出
445
+			$(".gbly").click(function() {
446
+				$(".lyxz").removeClass("cx");
447
+				$('audio')[0].pause();
448
+			});
423 449
 			$("#orderlist").on("click-row.bs.table", function(e, row, ele) {
424 450
 				$('.success').removeClass('success'); //去除之前选中的行的,选中样式
425 451
 				$(ele).addClass('success'); //添加当前选中的 success样式用于区别
@@ -731,12 +757,12 @@
731 757
 					area: ['48%', '45%'], //宽高
732 758
 				});
733 759
 			}
734
-			//诉求单结案
760
+			//强制结案
735 761
 			function StrongLawsuit(str) {
736 762
 				layer.open({
737 763
 					type: 2,
738 764
 					content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
739
-					title: '诉求单结案',
765
+					title: '强制结案',
740 766
 					area: ['45%', '52%'], //宽高
741 767
 				});
742 768
 			}
@@ -983,10 +1009,12 @@
983 1009
 					}
984 1010
 				};
985 1011
 				function zTreeOnClick(event, treeId, treeNode) {
986
-					$('.inps').val(treeNode.F_DeptName);
987
-					$("#PID").val(treeNode.F_DeptId);
988
-					$("#Dpment").val(treeNode.F_DeptName);
989
-					$(".Cleans").show();
1012
+					if(treeNode.level >= 2) {
1013
+						$('.inps').val(treeNode.F_DeptName);
1014
+						$("#PID").val(treeNode.F_DeptId);
1015
+						$("#Dpment").val(treeNode.F_DeptName);
1016
+						$(".Cleans").show();
1017
+					}
990 1018
 
991 1019
 				};
992 1020
 		</script>

+ 118 - 125
WebUI/CallCenterWeb.UI/Business/LeaderDCL.html

@@ -14,7 +14,6 @@
14 14
             padding: 5px 8px 5px 0;
15 15
             text-align: right;
16 16
         }
17
-
18 17
         .select {
19 18
             width: 150px;
20 19
             background-color: #FFF;
@@ -135,13 +134,13 @@
135 134
             line-height: initial;
136 135
         }
137 136
 
138
-        .setwin a {
139
-            position: relative;
140
-            width: 16px;
141
-            height: 16px;
142
-            font-size: 20px;
143
-            color: #fff;
144
-        }
137
+            .setwin a {
138
+                position: relative;
139
+                width: 16px;
140
+                height: 16px;
141
+                font-size: 20px;
142
+                color: #fff;
143
+            }
145 144
 
146 145
         .xg i {
147 146
             font-size: 16px;
@@ -160,8 +159,8 @@
160 159
         }
161 160
 
162 161
         .inpBox {
163
-            border: 1px solid #cccccc;
164
-            height: 31px;
162
+           border: 1px solid #cccccc;
163
+    		height: 31px;
165 164
             width: 220px;
166 165
             display: inline-block;
167 166
             position: relative;
@@ -171,9 +170,8 @@
171 170
             top: 0px;
172 171
             z-index: 111;
173 172
         }
174
-
175
-        .selDpart1 {
176
-            position: absolute;
173
+		.selDpart1{
174
+			position: absolute;
177 175
             left: 0px;
178 176
             top: 30px;
179 177
             z-index: 11111;
@@ -181,32 +179,28 @@
181 179
             line-height: 30px;
182 180
             background: #FFFFFF;
183 181
             display: none;
184
-        }
185
-
186
-        #sponsor {
187
-            width: 218px;
188
-            border: 1px solid #00a1cb;
189
-            margin: 0;
190
-            padding: 0;
191
-            list-style: none;
192
-            max-height: 212px;
193
-            overflow-x: hidden;
194
-            overflow-y: scroll;
195
-        }
196
-
197
-        #sponsor li {
198
-            margin: 0;
199
-            padding-left: 10px;
200
-            width: 220px;
201
-            height: 30px;
202
-            line-height: 30px;
203
-            list-style: none;
204
-        }
205
-
206
-        #sponsor li:hover {
207
-            background: #00a1cb;
208
-        }
209
-
182
+		}
183
+		#sponsor{
184
+			width: 218px;
185
+			border: 1px solid #00a1cb;
186
+			margin: 0;
187
+			padding: 0;
188
+			list-style: none;
189
+			max-height: 212px;
190
+			overflow-x: hidden;
191
+			overflow-y: scroll;
192
+		}
193
+		#sponsor li{
194
+			margin: 0;
195
+			padding-left: 10px;
196
+			width: 220px;
197
+			height: 30px;
198
+			line-height: 30px;
199
+			list-style: none;
200
+		}
201
+		#sponsor li:hover{
202
+			background: #00a1cb;
203
+		}
210 204
         .addTree {
211 205
             background: #fff;
212 206
             position: absolute;
@@ -278,7 +272,7 @@
278 272
                     <i class="syIcon"></i>位置:
279 273
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
280 274
                     <a href="javaScript:;">工单处理</a>&gt;
281
-                    <a href="" class="nowPosition">待交办列表</a>
275
+                    <a class="nowPosition">待处理列表</a>
282 276
                 </sapn>
283 277
             </div>
284 278
             <div class="dhRight">
@@ -292,7 +286,7 @@
292 286
                     <div class="box_content">
293 287
                         <table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
294 288
                             <tr>
295
-                                <th>关键字:</th>
289
+                                <th>诉求标题:</th>
296 290
                                 <td>
297 291
                                     <input type="text" placeholder="输入关键字" id="key" class="Min-width" />
298 292
                                 </td>
@@ -302,9 +296,7 @@
302 296
                                 </td>
303 297
                                 <th>时间:</th>
304 298
                                 <td>
305
-                                    <input type="text" id="starttime" class="laydate-icon Min-width"
306
-                                        style="height: 32px;" />&nbsp;——&nbsp;<input type="text" id="endtime"
307
-                                        class="laydate-icon Min-width" style="height: 32px;" />
299
+                                    <input type="text" id="starttime" class="laydate-icon Min-width" style="height: 32px;" />&nbsp;——&nbsp;<input type="text" id="endtime" class="laydate-icon Min-width" style="height: 32px;" />
308 300
                                 </td>
309 301
                                 <th>区域:</th>
310 302
                                 <td>
@@ -337,27 +329,32 @@
337 329
                                 </td>
338 330
                             </tr>
339 331
                             <tr>
340
-                                <th>投诉电话:</th>
332
+                            	<th>投诉电话:</th>
341 333
                                 <td>
342 334
                                     <input type="text" id="tel" class="Min-width" />
343 335
                                 </td>
344
-                                <th>姓名:</th>
336
+                                <th>投诉人:</th>
345 337
                                 <td>
346 338
                                     <input type="text" id="name" class="Min-width" />
347 339
                                 </td>
348 340
                             </tr>
349 341
                             <tr>
342
+                                <th>坐席:</th>
343
+                                <td>
344
+                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
345
+										<option value="">请选择坐席</option>
346
+									</select>
347
+                                </td>
350 348
                                 <th>调度员:</th>
351 349
                                 <td>
352
-                                    <select id="yardman" name="select" class="selectpicker show-tick form-control"
353
-                                        multiple data-live-search="true">
354
-                                        <option value="">请选择调度员</option>
355
-                                    </select>
350
+                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
351
+										<option value="">请选择调度员</option>
352
+									</select>
356 353
                                 </td>
357
-                                <th>办单位:</th>
354
+                                <th>办单位:</th>
358 355
                                 <td style="position: relative;">
359 356
                                     <div class="inpBox">
360
-                                        <input type="text" class="inps" onkeyup="darptSearch()" />
357
+                                        <input type="text" class="inps" onkeyup="darptSearch()"/>
361 358
                                         <i class="Cleans  fa fa-close"></i>
362 359
                                         <i class="xl xl_one"></i>
363 360
                                         <div class="addTree xlAdd">
@@ -365,14 +362,14 @@
365 362
                                         </div>
366 363
                                     </div>
367 364
                                     <div class="selDpart1">
368
-                                        <ul id="sponsor">
369
-                                        </ul>
365
+                                    	<ul id="sponsor">
366
+										</ul>
370 367
                                     </div>
371 368
                                 </td>
372 369
                                 <th></th>
373 370
                                 <td style="text-align: center;">
374
-                                    <botton class="btns Seach">搜索</botton>
375
-                                    <!--<botton class="btns ">导出</botton></td>-->
371
+                                <botton class="btns Seach">搜索</botton>
372
+                                <!--<botton class="btns ">导出</botton></td>-->
376 373
                             </tr>
377 374
                         </table>
378 375
 
@@ -382,19 +379,18 @@
382 379
                 </div>
383 380
                 <div>
384 381
                     <div style="width: 100%;padding: 10px;">
385
-                        <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams"
386
-                            data-pagination="true">
382
+                        <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
387 383
                             <thead>
388 384
                                 <tr>
389 385
                                     <th data-checkbox="true"></th>
390
-                                    <th data-field="F_OldWorkOrderId" data-formatter="Print" data-align="center">案件编号
391
-                                    </th>
392 386
                                     <th data-field="F_WorkOrderId" data-align="center">工单单号</th>
393 387
                                     <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
394
-                                    <th data-field="DeptName" data-align="center">承办单位</th>
388
+                                    <th data-field="DeptName" data-align="center">主办单位</th>
389
+                                    <th data-field="OtherDeptName" data-align="center">协办单位</th>
395 390
                                     <th data-field="UserName" data-align="center">受理人</th>
396 391
                                     <th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
397
-                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
392
+                                    <th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
393
+                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
398 394
                                     <th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
399 395
                                     <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
400 396
                                 </tr>
@@ -406,7 +402,19 @@
406 402
             </div>
407 403
         </div>
408 404
 
409
-
405
+        <!--下载框-->
406
+        <div class="t-shade lyxz">
407
+            <div class="shade_k">
408
+                <div class="shade_title">
409
+                    <span>录音播放与下载<srong class="cknum"></srong></span>
410
+                    <span class="setwin gbly"><a>x</a></span>
411
+                </div>
412
+                <div class="shade_content">
413
+                    <div class="Ly_box audiojs">
414
+                    </div>
415
+                </div>
416
+            </div>
417
+        </div>
410 418
         <input type="hidden" id="PID" />
411 419
         <input type="hidden" id="Dpment" />
412 420
     </div>
@@ -433,6 +441,11 @@
433 441
                 event: 'focus'
434 442
             });
435 443
         });
444
+        //关闭录音弹出
445
+        $(".gbly").click(function () {
446
+            $(".lyxz").removeClass("cx");
447
+            $('audio')[0].pause();
448
+        });
436 449
 
437 450
         $("#orderlist").on("click-row.bs.table", function (e, row, ele) {
438 451
             $('.success').removeClass('success'); //去除之前选中的行的,选中样式
@@ -441,30 +454,30 @@
441 454
 
442 455
         //获取查询信息
443 456
         function load() {
444
-            //坐席
445
-            var usercodeID = "";
446
-            var usercode_ = $("#ZX").val(); //坐席
447
-            if (usercode_ != null) {
448
-                $(usercode_).each(function (i, n) {
449
-                    var obj1 = '';
450
-                    obj1 = n + ",";
451
-                    usercodeID += obj1;
452
-                })
453
-            } else {
454
-                usercodeID = ""
455
-            }
456
-            //      	调度员
457
-            var ddusercodeID = "";
458
-            var ddusercode_ = $("#yardman").val(); //坐席
459
-            if (ddusercode_ != null) {
460
-                $(ddusercode_).each(function (i, n) {
461
-                    var obj2 = '';
462
-                    obj2 = n + ",";
463
-                    ddusercodeID += obj2;
464
-                })
465
-            } else {
466
-                ddusercodeID = ""
467
-            }
457
+        	//坐席
458
+        	var usercodeID="";
459
+        	var usercode_=$("#ZX").val(); //坐席
460
+        	if (usercode_!=null) {
461
+        		$(usercode_).each(function (i, n) {
462
+        			var obj1='';
463
+                    obj1= n+",";
464
+                    usercodeID +=obj1;
465
+	            })
466
+        	}else{
467
+        		usercodeID=""
468
+        	}
469
+//      	调度员
470
+        	var ddusercodeID="";
471
+        	var ddusercode_=$("#yardman").val(); //坐席
472
+        	if (ddusercode_!=null) {
473
+        		$(ddusercode_).each(function (i, n) {
474
+        			var obj2='';
475
+                    obj2= n+",";
476
+                    ddusercodeID +=obj2;
477
+	            })
478
+        	}else{
479
+        		ddusercodeID=""
480
+        	}
468 481
             //先销毁表格
469 482
             $('#orderlist').bootstrapTable('destroy');
470 483
             //初始化表格,动态从服务器加载数据
@@ -505,7 +518,7 @@
505 518
                         deptid: $("#PID").val(),
506 519
                         type: $("#type").val(),
507 520
                         tab: 0, //待处理
508
-                        sourcearea: $('#sourceAreas').val(), //区域
521
+                        sourcearea: $('#sourceAreas').val(),//区域
509 522
                         token: $.cookie("token")
510 523
                     };
511 524
                     return param;
@@ -558,6 +571,7 @@
558 571
                     break;
559 572
             }
560 573
             return html;
574
+
561 575
         }
562 576
         //时限
563 577
         function OverTime(val, row) {
@@ -614,7 +628,7 @@
614 628
             //          alert(row.F_WorkOrderId);
615 629
             var WorkOrderId = row.F_WorkOrderId;
616 630
             var html = '';
617
-            //          if (row.F_WorkState == '1') { html += '<a class="xg" onclick="redeploy(' + WorkOrderId + ')">转派&nbsp</a>'; }
631
+            if (row.F_WorkState == '1') { html += '<a class="xg" onclick="redeploy(' + WorkOrderId + ')">转派&nbsp</a>'; }
618 632
             for (var i = 0; i < Rows.length; i++) {
619 633
 
620 634
                 var html1 = huayi.config.arr[Rows[i].key * 1 - 1];
@@ -628,24 +642,6 @@
628 642
             return html;
629 643
         }
630 644
 
631
-        //操作
632
-        function Print(val, row) {
633
-
634
-            if (row.F_OldWorkOrderId) {
635
-                return '<a onclick="btn_print(\'' + row.F_WorkOrderId + '\')">' + row.F_OldWorkOrderId + '</a>'
636
-            }
637
-
638
-        }
639
-
640
-        function btn_print(PrintClick) {
641
-            layer.open({
642
-                type: 2,
643
-                content: "../CommonHtml/PrintPreview-1.html?wid=" + PrintClick + "&printType=DCL", //iframe的url,no代表不显示滚动条
644
-                title: '打印/导出',
645
-                area: ['788.8px', '90%'], //宽高
646
-            });
647
-        }
648
-
649 645
         //转派
650 646
         function redeploy(WorkOrderId) {
651 647
             layer.open({
@@ -659,7 +655,7 @@
659 655
         function ckxq(str) {
660 656
             layer.open({
661 657
                 type: 2,
662
-                content: "../CommonHtml/WorkDatil.html?wid=" + str + "&printType=DCL", //iframe的url,no代表不显示滚动条
658
+                content: "../CommonHtml/WorkDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
663 659
                 title: '工单详情',
664 660
                 area: ['85%', '80%'], //宽高
665 661
             });
@@ -755,7 +751,7 @@
755 751
                 area: ['60%', '80%'], //宽高
756 752
             });
757 753
         }
758
-
754
+		
759 755
         //督查
760 756
         function Supervision_(str) {
761 757
             layer.open({
@@ -765,12 +761,12 @@
765 761
                 area: ['60%', '80%'], //宽高
766 762
             });
767 763
         }
768
-        //诉求单结案
764
+        //强制结案
769 765
         function StrongLawsuit(str) {
770 766
             layer.open({
771 767
                 type: 2,
772 768
                 content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
773
-                title: '诉求单结案',
769
+                title: '强制结案',
774 770
                 area: ['60%', '80%'], //宽高
775 771
             });
776 772
         }
@@ -924,8 +920,7 @@
924 920
                      */
925 921
                     processData: false,
926 922
                     success: function (result) {
927
-                        document.getElementById("upFile").outerHTML = document.getElementById("upFile")
928
-                            .outerHTML;
923
+                        document.getElementById("upFile").outerHTML = document.getElementById("upFile").outerHTML;
929 924
                         $("#upFile").change(function () {
930 925
                             upload();
931 926
                         });
@@ -953,8 +948,7 @@
953 948
                 if (data.state.toLowerCase() == "success") {
954 949
                     var content = data.data;
955 950
                     $(content).each(function (i, n) {
956
-                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(
957
-                            obj);
951
+                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
958 952
                     })
959 953
                 }
960 954
             })
@@ -970,8 +964,7 @@
970 964
                 if (data.state.toLowerCase() == "success") {
971 965
                     var content = data.data;
972 966
                     $(content).each(function (i, n) {
973
-                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(
974
-                            obj);
967
+                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
975 968
                     })
976 969
                 }
977 970
             })
@@ -987,13 +980,12 @@
987 980
                 if (data.state.toLowerCase() == "success") {
988 981
                     var content = data.data;
989 982
                     $(content).each(function (i, n) {
990
-                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(
991
-                            obj);
983
+                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
992 984
                     })
993 985
                 }
994 986
             })
995 987
         }
996
-
988
+        
997 989
 
998 990
         function tree() {
999 991
             $.get(huayi.config.callcenter_url + 'Department/GetDeptList', {
@@ -1020,12 +1012,13 @@
1020 1012
                 onClick: zTreeOnClick
1021 1013
             }
1022 1014
         };
1023
-
1024 1015
         function zTreeOnClick(event, treeId, treeNode) {
1025
-            $('.inps').val(treeNode.F_DeptName);
1026
-            $("#PID").val(treeNode.F_DeptId);
1027
-            $("#Dpment").val(treeNode.F_DeptName);
1028
-            $(".Cleans").show();
1016
+            if (treeNode.level >= 2) {
1017
+                $('.inps').val(treeNode.F_DeptName);
1018
+                $("#PID").val(treeNode.F_DeptId);
1019
+                $("#Dpment").val(treeNode.F_DeptName);
1020
+                $(".Cleans").show();
1021
+            }
1029 1022
 
1030 1023
         };
1031 1024
     </script>

+ 70 - 66
WebUI/CallCenterWeb.UI/Business/LeaderYJA.html

@@ -3,7 +3,7 @@
3 3
 
4 4
 <head>
5 5
     <meta charset="UTF-8">
6
-    <title>待回传列表</title>
6
+    <title>已结案列表</title>
7 7
     <script src="../Script/Common/huayi.load.js"></script>
8 8
     <link rel="stylesheet" href="../css/bootstrap-select.css">
9 9
     <script src="../Script/Common/huayi.config.js"></script>
@@ -273,7 +273,7 @@
273 273
                     <i class="syIcon"></i>位置:
274 274
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
275 275
                     <a href="javaScript:;">工单处理</a>&gt;
276
-                    <a href="" class="nowPosition">待回传列表</a>
276
+                    <a class="nowPosition">已结案</a>
277 277
                 </sapn>
278 278
             </div>
279 279
             <div class="dhRight">
@@ -287,9 +287,9 @@
287 287
                     <div class="box_content">
288 288
                         <table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
289 289
                             <tr>
290
-                                <th>关键字:</th>
290
+                                <th>诉求标题:</th>
291 291
                                 <td>
292
-                                    <input type="text" placeholder="输入关键字" id="key" class="Min-width" />
292
+                                    <input type="text" placeholder="输入诉求标题" id="key" class="Min-width" />
293 293
                                 </td>
294 294
                                 <th>工单号:</th>
295 295
                                 <td>
@@ -299,14 +299,29 @@
299 299
                                 <td>
300 300
                                     <input type="text" id="wjstarttime" class="laydate-icon Min-width" style="height: 32px;" />&nbsp;——&nbsp;<input type="text" id="wjendtime" class="laydate-icon Min-width" style="height: 32px;" />
301 301
                                 </td>
302
-                                
303
-                            </tr>
304
-                            <tr>
305
-                            	<th>区域:</th>
302
+                                 <th>区域:</th>
306 303
                                 <td >
307 304
                                 	  <select name="" id="sourceAreas" class="select">
308 305
                                     </select>
309 306
                                 </td>
307
+                            </tr>
308
+                            <tr>
309
+                                <th>工单状态:</th>
310
+                                <td>
311
+                                    <select name="" id="state" class="select">
312
+                                        <option selected="selected" value="">请选择</option>
313
+                                        <option value="0">新工单</option>
314
+                                        <option value="1">待交办</option>
315
+                                        <option value="2">待查收</option>
316
+                                        <option value="3">退回审核中</option>
317
+                                        <option value="4">办理中</option>
318
+                                        <option value="5">延时审核中</option>
319
+                                        <option value="6">已办理</option>
320
+                                        <option value="7">已回访</option>
321
+                                        <option value="8">重办中</option>
322
+                                        <option value="9">已结案</option>
323
+                                    </select>
324
+                                </td>
310 325
                                 <th>工单来源:</th>
311 326
                                 <td>
312 327
                                     <select class="select_" id="source"></select>
@@ -315,30 +330,38 @@
315 330
                                 <td>
316 331
                                     <select id="keyid" name="" class="select"></select>
317 332
                                 </td>
318
-                            </tr>
319
-                            <tr>
320
-                            	<th>类型:</th>
333
+                                <th>类型:</th>
321 334
                                 <td>
322 335
                                     <select class="select_" id="type"></select>
323 336
                                 </td>
337
+                                
338
+
339
+                            </tr>
340
+                            <tr>
324 341
                             	 <th>投诉电话:</th>
325 342
                                 <td>
326 343
                                     <input type="text" id="tel" class="Min-width" />
327 344
                                 </td>
328
-                                <th>姓名:</th>
345
+                                <th>投诉人:</th>
329 346
                                 <td>
330 347
                                     <input type="text" id="name" class="Min-width" />
331 348
                                 </td>
332 349
                             	
333 350
                             </tr>
334 351
                             <tr>
352
+                               <th>坐席:</th>
353
+                                <td>
354
+                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
355
+										<option value="">请选择坐席</option>
356
+									</select>
357
+                                </td>
335 358
                                 <th>调度员:</th>
336 359
                                 <td>
337 360
                                 	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
338 361
 										<option value="">请选择调度员</option>
339 362
 									</select>
340 363
                                 </td>
341
-                                <th>办单位:</th>
364
+                                <th>办单位:</th>
342 365
                                 <td style="position: relative;">
343 366
                                     <div class="inpBox">
344 367
                                         <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -369,13 +392,14 @@
369 392
                             <thead>
370 393
                                 <tr>
371 394
                                     <th data-checkbox="true"></th>
372
-                                    <th data-field="F_OldWorkOrderId" data-formatter="Print" data-align="center">案件编号</th>
373 395
                                     <th data-field="F_WorkOrderId" data-align="center">工单单号</th>
374 396
                                     <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
375
-                                    <th data-field="DeptName" data-align="center">承办单位</th>
397
+                                    <th data-field="DeptName" data-align="center">主办单位</th>
398
+                                    <th data-field="OtherDeptName" data-align="center">协办单位</th>
376 399
                                     <th data-field="UserName" data-align="center">受理人</th>
377 400
                                     <th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
378
-                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
401
+                                    <th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
402
+                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
379 403
                                     <th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
380 404
                                     <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
381 405
                                 </tr>
@@ -387,7 +411,19 @@
387 411
             </div>
388 412
         </div>
389 413
 
390
-
414
+        <!--下载框-->
415
+        <div class="t-shade lyxz">
416
+            <div class="shade_k">
417
+                <div class="shade_title">
418
+                    <span>录音播放与下载<srong class="cknum"></srong></span>
419
+                    <span class="setwin gbly"><a>x</a></span>
420
+                </div>
421
+                <div class="shade_content">
422
+                    <div class="Ly_box audiojs">
423
+                    </div>
424
+                </div>
425
+            </div>
426
+        </div>
391 427
         <input type="hidden" id="PID" />
392 428
         <input type="hidden" id="Dpment" />
393 429
     </div>
@@ -413,7 +449,11 @@
413 449
                 event: 'focus'
414 450
             });
415 451
         });
416
-
452
+        //关闭录音弹出
453
+        $(".gbly").click(function () {
454
+            $(".lyxz").removeClass("cx");
455
+            $('audio')[0].pause();
456
+        });
417 457
 
418 458
         $("#orderlist").on("click-row.bs.table", function (e, row, ele) {
419 459
             $('.success').removeClass('success'); //去除之前选中的行的,选中样式
@@ -451,7 +491,7 @@
451 491
             //初始化表格,动态从服务器加载数据
452 492
             $("#orderlist").bootstrapTable({
453 493
                 method: "get", //使用get请求到服务器获取数据
454
-                url: huayi.config.callcenter_url + "WorkOrder/GetList", //获取数据的Servlet地址
494
+                url: huayi.config.callcenter_url + "WorkOrder/GetLDDealList", //获取数据的Servlet地址
455 495
                 contentType: "application/x-www-form-urlencoded",
456 496
                 striped: true, //表格显示条纹
457 497
                 pagination: true, //启动分页
@@ -470,8 +510,7 @@
470 510
                         page: params.pageNumber,
471 511
                         pagesize: params.pageSize,
472 512
                         workid: $("#wids").val(),
473
-                        state: 9, //=工单状态
474
-                        IsExport:0,
513
+                        state: $("#state").val(), //=工单状态
475 514
                         type: $("#type").val(), //=工单类型
476 515
                         bigtype: $("#bigtype").val(), //=大类别
477 516
                         smalltype: $("#smalltype").val(), //=小类别
@@ -538,7 +577,7 @@
538 577
                     html = '重办中';
539 578
                     break;
540 579
                 case '9':
541
-                    html = '待回传';
580
+                    html = '已结案';
542 581
                     break;
543 582
                 case '10':
544 583
                     html = '待审核';
@@ -552,9 +591,6 @@
552 591
                 case '13':
553 592
                     html = '重办驳回';
554 593
                     break;
555
-                case '14':
556
-                    html = '已结案';
557
-                    break;
558 594
             }
559 595
             return html;
560 596
         }
@@ -622,23 +658,7 @@
622 658
             }
623 659
             return html;
624 660
         }
625
-		
626
-		//操作
627
-        function Print(val, row) {
628
-        	
629
-        	if(row.F_OldWorkOrderId){
630
-        		return '<a onclick="btn_print(\'' + row.F_WorkOrderId + '\')">'+row.F_OldWorkOrderId+'</a>'
631
-        	}
632
-            
633
-        }
634
-        function btn_print(PrintClick){
635
-        	layer.open({
636
-				type: 2,
637
-				content: "../CommonHtml/PrintPreview-1.html?wid=" + PrintClick, //iframe的url,no代表不显示滚动条
638
-				title: '打印/导出',
639
-				area: ['788.8px', '90%'], //宽高
640
-			});
641
-        }
661
+
642 662
         //查看详情
643 663
         function ckxq(str) {
644 664
             layer.open({
@@ -711,24 +731,6 @@
711 731
                 area: ['60%', '80%'], //宽高
712 732
             });
713 733
         }
714
-        //回传
715
-        function gdhc(str){
716
-        	layer.confirm('确定要回传?', {
717
-                btn: ['是', '否'] //按钮
718
-            }, function () {
719
-                $.post(huayi.config.callcenter_url + "WorkOrder/Sendback", {
720
-                    ids: str,
721
-                    token: $.cookie("token")
722
-                }, function (result) {
723
-                    result = JSON.parse(result);
724
-                    if (result.state.toLowerCase() == "success") {
725
-                        layer.msg("回传成功");
726
-                        //load();
727
-                        $("#orderlist").bootstrapTable('refresh');
728
-                    }
729
-                })
730
-            });
731
-        }
732 734
         //市长批示
733 735
         function city(str) {
734 736
             layer.open({
@@ -767,12 +769,12 @@
767 769
                 area: ['60%', '80%'], //宽高
768 770
             });
769 771
         }
770
-        //诉求单结案
772
+        //强制结案
771 773
         function StrongLawsuit(str) {
772 774
             layer.open({
773 775
                 type: 2,
774 776
                 content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
775
-                title: '诉求单结案',
777
+                title: '强制结案',
776 778
                 area: ['60%', '80%'], //宽高
777 779
             });
778 780
         }
@@ -1019,10 +1021,12 @@
1019 1021
             }
1020 1022
         };
1021 1023
         function zTreeOnClick(event, treeId, treeNode) {
1022
-            $('.inps').val(treeNode.F_DeptName);
1023
-            $("#PID").val(treeNode.F_DeptId);
1024
-            $("#Dpment").val(treeNode.F_DeptName);
1025
-            $(".Cleans").show();
1024
+            if (treeNode.level >= 2) {
1025
+                $('.inps').val(treeNode.F_DeptName);
1026
+                $("#PID").val(treeNode.F_DeptId);
1027
+                $("#Dpment").val(treeNode.F_DeptName);
1028
+                $(".Cleans").show();
1029
+            }
1026 1030
 
1027 1031
         };
1028 1032
     </script>

File diff suppressed because it is too large
+ 1009 - 1007
WebUI/CallCenterWeb.UI/Business/LeaderYJB.html


+ 41 - 12
WebUI/CallCenterWeb.UI/Business/LeaderYJC.html

@@ -269,7 +269,7 @@
269 269
 						<i class="syIcon"></i>位置:
270 270
 						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
271 271
 						<a href="javaScript:;">工单处理</a>&gt;
272
-						<a class="nowPosition">已监察列表</a>
272
+						<a class="nowPosition">已监察</a>
273 273
 					</sapn>
274 274
 				</div>
275 275
 				<div class="dhRight">
@@ -283,7 +283,7 @@
283 283
 						<div class="box_content">
284 284
 							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
285 285
 								<tr>
286
-									<th>关键字:</th>
286
+									<th>诉求标题:</th>
287 287
 									<td>
288 288
 										<input type="text" placeholder="输入关键字" id="key" class="Min-width" />
289 289
 									</td>
@@ -306,6 +306,7 @@
306 306
 									<td>
307 307
 										<select name="" id="state" class="select">
308 308
 											<option selected="selected" value="">请选择</option>
309
+											<option value="0">新工单</option>
309 310
 											<option value="1">待交办</option>
310 311
 											<option value="2">待查收</option>
311 312
 											<option value="3">退回审核中</option>
@@ -337,20 +338,26 @@
337 338
 									<td>
338 339
 										<input type="text" id="tel"  class="Min-width" />
339 340
 									</td>
340
-									<th>姓名:</th>
341
+									<th>投诉人:</th>
341 342
 									<td>
342 343
 										<input type="text" id="name"  class="Min-width"/>
343 344
 									</td>
344 345
 									
345 346
 								</tr>
346 347
 								<tr>
348
+=									<th>坐席:</th>
349
+	                                <td>
350
+	                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
351
+											<option value="">请选择坐席</option>
352
+										</select>
353
+	                                </td>
347 354
 	                                <th>调度员:</th>
348 355
 	                                <td>
349 356
 	                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
350 357
 											<option value="">请选择调度员</option>
351 358
 										</select>
352 359
 	                                </td>
353
-									<th>办单位:</th>
360
+									<th>办单位:</th>
354 361
 									<td style="position: relative;">
355 362
 	                                    <div class="inpBox">
356 363
 	                                        <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -382,10 +389,12 @@
382 389
 										<th data-checkbox="true"></th>
383 390
 										<th data-field="F_WorkOrderId" data-align="center">工单单号</th>
384 391
 										<th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
385
-										<th data-field="DeptName" data-align="center">承办单位</th>
392
+										<th data-field="DeptName" data-align="center">主办单位</th>
393
+										<th data-field="OtherDeptName" data-align="center">协办单位</th>
386 394
 										<th data-field="UserName" data-align="center">受理人</th>
387 395
 										<th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
388
-										<th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
396
+										<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
397
+										<th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
389 398
 										<th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
390 399
 										<th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
391 400
 									</tr>
@@ -397,6 +406,19 @@
397 406
 				</div>
398 407
 			</div>
399 408
 
409
+			<!--下载框-->
410
+			<div class="t-shade lyxz">
411
+				<div class="shade_k">
412
+					<div class="shade_title">
413
+						<span>录音播放与下载<srong class="cknum"></srong></span>
414
+						<span class="setwin gbly"><a>x</a></span>
415
+					</div>
416
+					<div class="shade_content">
417
+						<div class="Ly_box audiojs">
418
+						</div>
419
+					</div>
420
+				</div>
421
+			</div>
400 422
 			<input type="hidden" id="PID" />
401 423
 			<input type="hidden" id="Dpment" />
402 424
 		</div>
@@ -419,6 +441,11 @@
419 441
 					event: 'focus'
420 442
 				});
421 443
 			});
444
+			//关闭录音弹出
445
+			$(".gbly").click(function() {
446
+				$(".lyxz").removeClass("cx");
447
+				$('audio')[0].pause();
448
+			});
422 449
 
423 450
 			$("#orderlist").on("click-row.bs.table", function(e, row, ele) {
424 451
 				$('.success').removeClass('success'); //去除之前选中的行的,选中样式
@@ -732,12 +759,12 @@
732 759
 					area: ['60%', '80%'], //宽高
733 760
 				});
734 761
 			}
735
-			//诉求单结案
762
+			//强制结案
736 763
 			function StrongLawsuit(str) {
737 764
 				layer.open({
738 765
 					type: 2,
739 766
 					content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
740
-					title: '诉求单结案',
767
+					title: '强制结案',
741 768
 					area: ['60%', '80%'], //宽高
742 769
 				});
743 770
 			}
@@ -983,10 +1010,12 @@
983 1010
 					}
984 1011
 				};
985 1012
 				function zTreeOnClick(event, treeId, treeNode) {
986
-					$('.inps').val(treeNode.F_DeptName);
987
-					$("#PID").val(treeNode.F_DeptId);
988
-					$("#Dpment").val(treeNode.F_DeptName);
989
-					$(".Cleans").show();
1013
+					if(treeNode.level >= 2) {
1014
+						$('.inps').val(treeNode.F_DeptName);
1015
+						$("#PID").val(treeNode.F_DeptId);
1016
+						$("#Dpment").val(treeNode.F_DeptName);
1017
+						$(".Cleans").show();
1018
+					}
990 1019
 
991 1020
 				};
992 1021
 		</script>

+ 41 - 16
WebUI/CallCenterWeb.UI/Business/LeaderYTH.html

@@ -284,9 +284,9 @@
284 284
 						<div class="box_content">
285 285
 							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
286 286
 								<tr>
287
-									<th>关键字:</th>
287
+									<th>诉求标题:</th>
288 288
 									<td>
289
-										<input type="text" placeholder="输入关键字" id="key" class="Min-width" />
289
+										<input type="text" placeholder="输入诉求标题" id="key" class="Min-width" />
290 290
 									</td>
291 291
 									<th>工单号:</th>
292 292
 									<td>
@@ -307,6 +307,7 @@
307 307
 									<td>
308 308
 										<select name="" id="state" class="select">
309 309
 											<option selected="selected" value="">请选择</option>
310
+											<option value="0">新工单</option>
310 311
 											<option value="1">待交办</option>
311 312
 											<option value="2">待查收</option>
312 313
 											<option value="3">退回审核中</option>
@@ -338,20 +339,26 @@
338 339
 									<td>
339 340
 										<input type="text" id="tel"  class="Min-width" />
340 341
 									</td>
341
-									<th>姓名:</th>
342
+									<th>投诉人:</th>
342 343
 									<td>
343 344
 										<input type="text" id="name"  class="Min-width"/>
344 345
 									</td>
345 346
 									
346 347
 								</tr>
347 348
 								<tr>
349
+									<th>坐席:</th>
350
+	                                <td>
351
+	                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
352
+											<option value="">请选择坐席</option>
353
+										</select>
354
+	                                </td>
348 355
 	                                <th>调度员:</th>
349 356
 	                                <td>
350 357
 	                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
351 358
 											<option value="">请选择调度员</option>
352 359
 										</select>
353 360
 	                                </td>
354
-									<th>办单位:</th>
361
+									<th>办单位:</th>
355 362
 									<td style="position: relative;">
356 363
 	                                    <div class="inpBox">
357 364
 	                                        <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -384,10 +391,12 @@
384 391
 										<th data-checkbox="true"></th>
385 392
 										<th data-field="F_WorkOrderId" data-align="center">工单单号</th>
386 393
 										<th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
387
-										<th data-field="DeptName" data-align="center">承办单位</th>
394
+										<th data-field="DeptName" data-align="center">主办单位</th>
395
+										<th data-field="OtherDeptName" data-align="center">协办单位</th>
388 396
 										<th data-field="UserName" data-align="center">受理人</th>
389 397
 										<th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
390
-										<th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
398
+										<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
399
+										<th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
391 400
 										<th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
392 401
 										<th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
393 402
 									</tr>
@@ -399,7 +408,19 @@
399 408
 				</div>
400 409
 			</div>
401 410
 
402
-
411
+			<!--下载框-->
412
+			<div class="t-shade lyxz">
413
+				<div class="shade_k">
414
+					<div class="shade_title">
415
+						<span>录音播放与下载<srong class="cknum"></srong></span>
416
+						<span class="setwin gbly"><a>x</a></span>
417
+					</div>
418
+					<div class="shade_content">
419
+						<div class="Ly_box audiojs">
420
+						</div>
421
+					</div>
422
+				</div>
423
+			</div>
403 424
 			<input type="hidden" id="PID" />
404 425
 			<input type="hidden" id="Dpment" />
405 426
 		</div>
@@ -421,6 +442,11 @@
421 442
 					event: 'focus'
422 443
 				});
423 444
 			});
445
+			//关闭录音弹出
446
+			$(".gbly").click(function() {
447
+				$(".lyxz").removeClass("cx");
448
+				$('audio')[0].pause();
449
+			});
424 450
 
425 451
 			$("#orderlist").on("click-row.bs.table", function(e, row, ele) {
426 452
 				$('.success').removeClass('success'); //去除之前选中的行的,选中样式
@@ -556,9 +582,6 @@
556 582
                 case '13':
557 583
                     html = '重办驳回';
558 584
                     break;
559
-                case '14':
560
-                    html = '已结案';
561
-                    break;
562 585
             }
563 586
             return html;
564 587
         }
@@ -737,12 +760,12 @@
737 760
 					area: ['60%', '80%'], //宽高
738 761
 				});
739 762
 			}
740
-			//诉求单结案
763
+			//强制结案
741 764
 			function StrongLawsuit(str) {
742 765
 				layer.open({
743 766
 					type: 2,
744 767
 					content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
745
-					title: '诉求单结案',
768
+					title: '强制结案',
746 769
 					area: ['60%', '80%'], //宽高
747 770
 				});
748 771
 			}
@@ -987,10 +1010,12 @@
987 1010
 					}
988 1011
 				};
989 1012
 				function zTreeOnClick(event, treeId, treeNode) {
990
-					$('.inps').val(treeNode.F_DeptName);
991
-					$("#PID").val(treeNode.F_DeptId);
992
-					$("#Dpment").val(treeNode.F_DeptName);
993
-					$(".Cleans").show();
1013
+					if(treeNode.level >= 2) {
1014
+						$('.inps').val(treeNode.F_DeptName);
1015
+						$("#PID").val(treeNode.F_DeptId);
1016
+						$("#Dpment").val(treeNode.F_DeptName);
1017
+						$(".Cleans").show();
1018
+					}
994 1019
 
995 1020
 				};
996 1021
 		</script>

+ 40 - 14
WebUI/CallCenterWeb.UI/Business/LeaderYYS.html

@@ -283,7 +283,7 @@
283 283
 						<div class="box_content">
284 284
 							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
285 285
 								<tr>
286
-									<th>关键字:</th>
286
+									<th>诉求标题:</th>
287 287
 									<td>
288 288
 										<input type="text" placeholder="输入关键字" id="key" class="Min-width" />
289 289
 									</td>
@@ -306,6 +306,7 @@
306 306
 									<td>
307 307
 										<select name="" id="state" class="select">
308 308
 											<option selected="selected" value="">请选择</option>
309
+											<option value="0">新工单</option>
309 310
 											<option value="1">待交办</option>
310 311
 											<option value="2">待查收</option>
311 312
 											<option value="3">退回审核中</option>
@@ -337,20 +338,26 @@
337 338
 									<td>
338 339
 										<input type="text" id="tel"  class="Min-width" />
339 340
 									</td>
340
-									<th>姓名:</th>
341
+									<th>投诉人:</th>
341 342
 									<td>
342 343
 										<input type="text" id="name"  class="Min-width"/>
343 344
 									</td>
344 345
 									
345 346
 								</tr>
346 347
 								<tr>
348
+									<th>坐席:</th>
349
+	                                <td>
350
+	                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
351
+											<option value="">请选择坐席</option>
352
+										</select>
353
+	                                </td>
347 354
 	                                <th>调度员:</th>
348 355
 	                                <td>
349 356
 	                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
350 357
 											<option value="">请选择调度员</option>
351 358
 										</select>
352 359
 	                                </td>
353
-									<th>办单位:</th>
360
+									<th>办单位:</th>
354 361
 									<td style="position: relative;">
355 362
 	                                    <div class="inpBox">
356 363
 	                                        <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -382,10 +389,12 @@
382 389
 										<th data-checkbox="true"></th>
383 390
 										<th data-field="F_WorkOrderId" data-align="center">工单单号</th>
384 391
 										<th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
385
-										<th data-field="DeptName" data-align="center">承办单位</th>
392
+										<th data-field="DeptName" data-align="center">主办单位</th>
393
+										<th data-field="OtherDeptName" data-align="center">协办单位</th>
386 394
 										<th data-field="UserName" data-align="center">受理人</th>
387 395
 										<th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
388
-										<th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
396
+										<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
397
+										<th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
389 398
 										<th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
390 399
 										<th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
391 400
 									</tr>
@@ -397,6 +406,19 @@
397 406
 				</div>
398 407
 			</div>
399 408
 
409
+			<!--下载框-->
410
+			<div class="t-shade lyxz">
411
+				<div class="shade_k">
412
+					<div class="shade_title">
413
+						<span>录音播放与下载<srong class="cknum"></srong></span>
414
+						<span class="setwin gbly"><a>x</a></span>
415
+					</div>
416
+					<div class="shade_content">
417
+						<div class="Ly_box audiojs">
418
+						</div>
419
+					</div>
420
+				</div>
421
+			</div>
400 422
 			<input type="hidden" id="PID" />
401 423
 			<input type="hidden" id="Dpment" />
402 424
 		</div>
@@ -445,6 +467,11 @@
445 467
 				}
446 468
 				
447 469
 			}
470
+			//关闭录音弹出
471
+			$(".gbly").click(function() {
472
+				$(".lyxz").removeClass("cx");
473
+				$('audio')[0].pause();
474
+			});
448 475
 
449 476
 			$("#orderlist").on("click-row.bs.table", function(e, row, ele) {
450 477
 				$('.success').removeClass('success'); //去除之前选中的行的,选中样式
@@ -580,9 +607,6 @@
580 607
                 case '13':
581 608
                     html = '重办驳回';
582 609
                     break;
583
-                case '14':
584
-                    html = '已结案';
585
-                    break;
586 610
             }
587 611
             return html;
588 612
         }
@@ -735,12 +759,12 @@
735 759
 					area: ['60%', '80%'], //宽高
736 760
 				});
737 761
 			}
738
-			//诉求单结案
762
+			//强制结案
739 763
 			function StrongLawsuit(str) {
740 764
 				layer.open({
741 765
 					type: 2,
742 766
 					content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
743
-					title: '诉求单结案',
767
+					title: '强制结案',
744 768
 					area: ['60%', '80%'], //宽高
745 769
 				});
746 770
 			}
@@ -986,10 +1010,12 @@
986 1010
 					}
987 1011
 				};
988 1012
 				function zTreeOnClick(event, treeId, treeNode) {
989
-					$('.inps').val(treeNode.F_DeptName);
990
-					$("#PID").val(treeNode.F_DeptId);
991
-					$("#Dpment").val(treeNode.F_DeptName);
992
-					$(".Cleans").show();
1013
+					if(treeNode.level >= 2) {
1014
+						$('.inps').val(treeNode.F_DeptName);
1015
+						$("#PID").val(treeNode.F_DeptId);
1016
+						$("#Dpment").val(treeNode.F_DeptName);
1017
+						$(".Cleans").show();
1018
+					}
993 1019
 
994 1020
 				};
995 1021
 		</script>

+ 41 - 16
WebUI/CallCenterWeb.UI/Business/LeaderYZB.html

@@ -269,7 +269,7 @@
269 269
 						<i class="syIcon"></i>位置:
270 270
 						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
271 271
 						<a href="javaScript:;">工单处理</a>&gt;
272
-						<a class="nowPosition">已重办列表</a>
272
+						<a class="nowPosition">已重办</a>
273 273
 					</sapn>
274 274
 				</div>
275 275
 				<div class="dhRight">
@@ -283,7 +283,7 @@
283 283
 						<div class="box_content">
284 284
 							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
285 285
 								<tr>
286
-									<th>关键字:</th>
286
+									<th>诉求标题:</th>
287 287
 									<td>
288 288
 										<input type="text" placeholder="输入关键字" id="key" class="Min-width" />
289 289
 									</td>
@@ -306,6 +306,7 @@
306 306
 									<td>
307 307
 										<select name="" id="state" class="select">
308 308
 											<option selected="selected" value="">请选择</option>
309
+											<option value="0">新工单</option>
309 310
 											<option value="1">待交办</option>
310 311
 											<option value="2">待查收</option>
311 312
 											<option value="3">退回审核中</option>
@@ -338,19 +339,25 @@
338 339
 									<td>
339 340
 										<input type="text" id="tel"  class="Min-width" />
340 341
 									</td>
341
-									<th>姓名:</th>
342
+									<th>投诉人:</th>
342 343
 									<td>
343 344
 										<input type="text" id="name"  class="Min-width"/>
344 345
 									</td>
345 346
 								</tr>
346 347
 								<tr>
348
+									<th>坐席:</th>
349
+	                                <td>
350
+	                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
351
+											<option value="">请选择坐席</option>
352
+										</select>
353
+	                                </td>
347 354
 	                                <th>调度员:</th>
348 355
 	                                <td>
349 356
 	                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
350 357
 											<option value="">请选择调度员</option>
351 358
 										</select>
352 359
 	                                </td>
353
-									<th>办单位:</th>
360
+									<th>办单位:</th>
354 361
 									<td style="position: relative;">
355 362
 	                                    <div class="inpBox">
356 363
 	                                        <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -382,10 +389,12 @@
382 389
 										<th data-checkbox="true"></th>
383 390
 										<th data-field="F_WorkOrderId" data-align="center">工单单号</th>
384 391
 										<th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
385
-										<th data-field="DeptName" data-align="center">承办单位</th>
392
+										<th data-field="DeptName" data-align="center">主办单位</th>
393
+										<th data-field="OtherDeptName" data-align="center">协办单位</th>
386 394
 										<th data-field="UserName" data-align="center">受理人</th>
387 395
 										<th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
388
-										<th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
396
+										<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
397
+										<th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
389 398
 										<th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
390 399
 										<th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
391 400
 									</tr>
@@ -397,6 +406,19 @@
397 406
 				</div>
398 407
 			</div>
399 408
 
409
+			<!--下载框-->
410
+			<div class="t-shade lyxz">
411
+				<div class="shade_k">
412
+					<div class="shade_title">
413
+						<span>录音播放与下载<srong class="cknum"></srong></span>
414
+						<span class="setwin gbly"><a>x</a></span>
415
+					</div>
416
+					<div class="shade_content">
417
+						<div class="Ly_box audiojs">
418
+						</div>
419
+					</div>
420
+				</div>
421
+			</div>
400 422
 			<input type="hidden" id="PID" />
401 423
 			<input type="hidden" id="Dpment" />
402 424
 		</div>
@@ -419,7 +441,11 @@
419 441
 					event: 'focus'
420 442
 				});
421 443
 			});
422
-
444
+			//关闭录音弹出
445
+			$(".gbly").click(function() {
446
+				$(".lyxz").removeClass("cx");
447
+				$('audio')[0].pause();
448
+			});
423 449
 			//时限
424 450
 			function OverTime(val,row){
425 451
 				if(val==1){
@@ -580,9 +606,6 @@
580 606
                 case '13':
581 607
                     html = '重办驳回';
582 608
                     break;
583
-                case '14':
584
-                    html = '已结案';
585
-                    break;
586 609
             }
587 610
             return html;
588 611
         }
@@ -735,12 +758,12 @@
735 758
 					area: ['60%', '80%'], //宽高
736 759
 				});
737 760
 			}
738
-			//诉求单结案
761
+			//强制结案
739 762
 			function StrongLawsuit(str) {
740 763
 				layer.open({
741 764
 					type: 2,
742 765
 					content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
743
-					title: '诉求单结案',
766
+					title: '强制结案',
744 767
 					area: ['60%', '80%'], //宽高
745 768
 				});
746 769
 			}
@@ -987,10 +1010,12 @@
987 1010
 					}
988 1011
 				};
989 1012
 				function zTreeOnClick(event, treeId, treeNode) {
990
-					$('.inps').val(treeNode.F_DeptName);
991
-					$("#PID").val(treeNode.F_DeptId);
992
-					$("#Dpment").val(treeNode.F_DeptName);
993
-					$(".Cleans").show();
1013
+					if(treeNode.level >= 2) {
1014
+						$('.inps').val(treeNode.F_DeptName);
1015
+						$("#PID").val(treeNode.F_DeptId);
1016
+						$("#Dpment").val(treeNode.F_DeptName);
1017
+						$(".Cleans").show();
1018
+					}
994 1019
 
995 1020
 				};
996 1021
 		</script>

+ 23 - 5
WebUI/CallCenterWeb.UI/Business/NoSatisfy.html

@@ -174,7 +174,7 @@
174 174
 					<div class="box_content">
175 175
 						<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
176 176
 							<tr>
177
-								<th>输入关键字:</th>
177
+								<th>输入诉求标题:</th>
178 178
 								<td>
179 179
 									<input type="text" placeholder="输入关键字" id="key" />
180 180
 								</td>
@@ -271,9 +271,10 @@
271 271
 								<tr>
272 272
 									<th data-checkbox="true"></th>
273 273
 									<th data-field="a" data-align="center">工单单号</th>
274
-									<th data-field="b" data-formatter="GetCont" data-align="center">关键字</th>
274
+									<th data-field="b" data-formatter="GetCont" data-align="center">诉求标题</th>
275 275
 									<th data-field="c" data-align="center">受理人</th>
276 276
 									<th data-field="d" data-align="center">办理状态</th>
277
+									<th data-field="e" data-formatter="setCode" data-align="center">录音</th>
277 278
 									<th data-field="f" data-formatter="Dispose" data-align="center">操作</th>
278 279
 								</tr>
279 280
 							</thead>
@@ -284,6 +285,19 @@
284 285
 			</div>
285 286
 		</div>
286 287
 
288
+		<!--下载框-->
289
+		<div class="t-shade lyxz">
290
+			<div class="shade_k">
291
+				<div class="shade_title">
292
+					<span>录音播放与下载<srong class="cknum"></srong></span>
293
+					<span class="setwin gbly"><a>x</a></span>
294
+				</div>
295
+				<div class="shade_content">
296
+					<div class="Ly_box audiojs">
297
+					</div>
298
+				</div>
299
+			</div>
300
+		</div>
287 301
 		<script src="../css/laydate/laydate.js"></script>
288 302
 		<script src="../My97DatePicker/WdatePicker.js"></script>
289 303
 		<script>
@@ -431,7 +445,11 @@
431 445
 				$(".search").click(function() {
432 446
 					load();
433 447
 				})
434
-
448
+				//关闭录音弹出
449
+				$(".gbly").click(function() {
450
+					$(".lyxz").removeClass("cx");
451
+					$('audio')[0].pause();
452
+				});
435 453
 				var html = '<div >' +
436 454
 					'<ul class="nav nav-tabs">' +
437 455
 					'<li class="active">' +
@@ -649,12 +667,12 @@
649 667
 					area: ['35%', '30%'], //宽高
650 668
 				});
651 669
 			}
652
-			//诉求单结案
670
+			//强制结案
653 671
 			function StrongLawsuit(str) {
654 672
 				layer.open({
655 673
 					type: 2,
656 674
 					content: "StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
657
-					title: '诉求单结案',
675
+					title: '诉求单强制结案',
658 676
 					area: ['35%', '30%'], //宽高
659 677
 				});
660 678
 			}

+ 23 - 5
WebUI/CallCenterWeb.UI/Business/Overdue.html

@@ -174,7 +174,7 @@
174 174
 					<div class="box_content">
175 175
 						<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
176 176
 							<tr>
177
-								<th>输入关键字:</th>
177
+								<th>输入诉求标题:</th>
178 178
 								<td>
179 179
 									<input type="text" placeholder="输入关键字" id="key" />
180 180
 								</td>
@@ -271,9 +271,10 @@
271 271
 								<tr>
272 272
 									<th data-checkbox="true"></th>
273 273
 									<th data-field="a" data-align="center">工单单号</th>
274
-									<th data-field="b" data-formatter="GetCont" data-align="center">关键字</th>
274
+									<th data-field="b" data-formatter="GetCont" data-align="center">诉求标题</th>
275 275
 									<th data-field="c" data-align="center">受理人</th>
276 276
 									<th data-field="d" data-align="center">办理状态</th>
277
+									<th data-field="e" data-formatter="setCode" data-align="center">录音</th>
277 278
 									<th data-field="f" data-formatter="Dispose" data-align="center">操作</th>
278 279
 								</tr>
279 280
 							</thead>
@@ -284,6 +285,19 @@
284 285
 			</div>
285 286
 		</div>
286 287
 
288
+		<!--下载框-->
289
+		<div class="t-shade lyxz">
290
+			<div class="shade_k">
291
+				<div class="shade_title">
292
+					<span>录音播放与下载<srong class="cknum"></srong></span>
293
+					<span class="setwin gbly"><a>x</a></span>
294
+				</div>
295
+				<div class="shade_content">
296
+					<div class="Ly_box audiojs">
297
+					</div>
298
+				</div>
299
+			</div>
300
+		</div>
287 301
 		<script src="../css/laydate/laydate.js"></script>
288 302
 		<script src="../My97DatePicker/WdatePicker.js"></script>
289 303
 		<script>
@@ -431,7 +445,11 @@
431 445
 				$(".search").click(function() {
432 446
 					load();
433 447
 				})
434
-
448
+				//关闭录音弹出
449
+				$(".gbly").click(function() {
450
+					$(".lyxz").removeClass("cx");
451
+					$('audio')[0].pause();
452
+				});
435 453
 				var html = '<div >' +
436 454
 					'<ul class="nav nav-tabs">' +
437 455
 					'<li class="active">' +
@@ -649,12 +667,12 @@
649 667
 					area: ['35%', '30%'], //宽高
650 668
 				});
651 669
 			}
652
-			//诉求单结案
670
+			//强制结案
653 671
 			function StrongLawsuit(str) {
654 672
 				layer.open({
655 673
 					type: 2,
656 674
 					content: "StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
657
-					title: '诉求单结案',
675
+					title: '诉求单强制结案',
658 676
 					area: ['35%', '30%'], //宽高
659 677
 				});
660 678
 			}

+ 23 - 4
WebUI/CallCenterWeb.UI/Business/ReturnVisit.html

@@ -174,7 +174,7 @@
174 174
 					<div class="box_content">
175 175
 						<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
176 176
 							<tr>
177
-								<th>输入关键字:</th>
177
+								<th>输入诉求标题:</th>
178 178
 								<td>
179 179
 									<input type="text" placeholder="输入关键字" id="key" />
180 180
 								</td>
@@ -271,9 +271,10 @@
271 271
 								<tr>
272 272
 									<th data-checkbox="true"></th>
273 273
 									<th data-field="a" data-align="center">工单单号</th>
274
-									<th data-field="b" data-formatter="GetCont" data-align="center">关键字</th>
274
+									<th data-field="b" data-formatter="GetCont" data-align="center">诉求标题</th>
275 275
 									<th data-field="c" data-align="center">受理人</th>
276 276
 									<th data-field="d" data-align="center">办理状态</th>
277
+									<th data-field="e" data-formatter="setCode" data-align="center">录音</th>
277 278
 									<th data-field="f" data-formatter="Dispose" data-align="center">操作</th>
278 279
 								</tr>
279 280
 							</thead>
@@ -284,6 +285,19 @@
284 285
 			</div>
285 286
 		</div>
286 287
 
288
+		<!--下载框-->
289
+		<div class="t-shade lyxz">
290
+			<div class="shade_k">
291
+				<div class="shade_title">
292
+					<span>录音播放与下载<srong class="cknum"></srong></span>
293
+					<span class="setwin gbly"><a>x</a></span>
294
+				</div>
295
+				<div class="shade_content">
296
+					<div class="Ly_box audiojs">
297
+					</div>
298
+				</div>
299
+			</div>
300
+		</div>
287 301
 		<script src="../css/laydate/laydate.js"></script>
288 302
 		<script src="../My97DatePicker/WdatePicker.js"></script>
289 303
 		<script>
@@ -431,6 +445,11 @@
431 445
 				$(".search").click(function() {
432 446
 					load();
433 447
 				})
448
+				//关闭录音弹出
449
+				$(".gbly").click(function() {
450
+					$(".lyxz").removeClass("cx");
451
+					$('audio')[0].pause();
452
+				});
434 453
 				var html = '<div >' +
435 454
 					'<ul class="nav nav-tabs">' +
436 455
 					'<li class="active">' +
@@ -648,12 +667,12 @@
648 667
 					area: ['35%', '30%'], //宽高
649 668
 				});
650 669
 			}
651
-			//诉求单结案
670
+			//强制结案
652 671
 			function StrongLawsuit(str) {
653 672
 				layer.open({
654 673
 					type: 2,
655 674
 					content: "StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
656
-					title: '诉求单结案',
675
+					title: '诉求单强制结案',
657 676
 					area: ['35%', '30%'], //宽高
658 677
 				});
659 678
 			}

+ 23 - 4
WebUI/CallCenterWeb.UI/Business/Sqtuihui.html

@@ -174,7 +174,7 @@
174 174
 					<div class="box_content">
175 175
 						<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
176 176
 							<tr>
177
-								<th>输入关键字:</th>
177
+								<th>输入诉求标题:</th>
178 178
 								<td>
179 179
 									<input type="text" placeholder="输入关键字" id="key" />
180 180
 								</td>
@@ -272,9 +272,10 @@
272 272
 								<tr>
273 273
 									<th data-checkbox="true"></th>
274 274
 									<th data-field="a" data-align="center">工单单号</th>
275
-									<th data-field="b" data-formatter="GetCont" data-align="center">关键字</th>
275
+									<th data-field="b" data-formatter="GetCont" data-align="center">诉求标题</th>
276 276
 									<th data-field="c" data-align="center">受理人</th>
277 277
 									<th data-field="d" data-align="center">办理状态</th>
278
+									<th data-field="e" data-formatter="setCode" data-align="center">录音</th>
278 279
 									<th data-field="f" data-formatter="Dispose" data-align="center">操作</th>
279 280
 								</tr>
280 281
 							</thead>
@@ -285,6 +286,19 @@
285 286
 			</div>
286 287
 		</div>
287 288
 
289
+		<!--下载框-->
290
+		<div class="t-shade lyxz">
291
+			<div class="shade_k">
292
+				<div class="shade_title">
293
+					<span>录音播放与下载<srong class="cknum"></srong></span>
294
+					<span class="setwin gbly"><a>x</a></span>
295
+				</div>
296
+				<div class="shade_content">
297
+					<div class="Ly_box audiojs">
298
+					</div>
299
+				</div>
300
+			</div>
301
+		</div>
288 302
 		<script src="../css/laydate/laydate.js"></script>
289 303
 		<script src="../My97DatePicker/WdatePicker.js"></script>
290 304
 		<script>
@@ -432,6 +446,11 @@
432 446
 				$(".search").click(function() {
433 447
 					load();
434 448
 				})
449
+				//关闭录音弹出
450
+				$(".gbly").click(function() {
451
+					$(".lyxz").removeClass("cx");
452
+					$('audio')[0].pause();
453
+				});
435 454
 				var html = '<div >' +
436 455
 					'<ul class="nav nav-tabs">' +
437 456
 					'<li class="active">' +
@@ -649,12 +668,12 @@
649 668
 					area: ['35%', '30%'], //宽高
650 669
 				});
651 670
 			}
652
-			//诉求单结案
671
+			//强制结案
653 672
 			function StrongLawsuit(str) {
654 673
 				layer.open({
655 674
 					type: 2,
656 675
 					content: "StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
657
-					title: '诉求单结案',
676
+					title: '诉求单强制结案',
658 677
 					area: ['35%', '30%'], //宽高
659 678
 				});
660 679
 			}

+ 22 - 4
WebUI/CallCenterWeb.UI/Business/UnfinishedAppea.html

@@ -272,9 +272,10 @@
272 272
 								<tr>
273 273
 									<th data-checkbox="true"></th>
274 274
 									<th data-field="a" data-align="center">工单单号</th>
275
-									<th data-field="b" data-formatter="GetCont" data-align="center">关键字</th>
275
+									<th data-field="b" data-formatter="GetCont" data-align="center">诉求标题</th>
276 276
 									<th data-field="c" data-align="center">受理人</th>
277 277
 									<th data-field="d" data-align="center">办理状态</th>
278
+									<th data-field="e" data-formatter="setCode" data-align="center">录音</th>
278 279
 									<th data-field="f" data-formatter="Dispose" data-align="center">操作</th>
279 280
 								</tr>
280 281
 							</thead>
@@ -285,6 +286,19 @@
285 286
 			</div>
286 287
 		</div>
287 288
 
289
+		<!--下载框-->
290
+		<div class="t-shade lyxz">
291
+			<div class="shade_k">
292
+				<div class="shade_title">
293
+					<span>录音播放与下载<srong class="cknum"></srong></span>
294
+					<span class="setwin gbly"><a>x</a></span>
295
+				</div>
296
+				<div class="shade_content">
297
+					<div class="Ly_box audiojs">
298
+					</div>
299
+				</div>
300
+			</div>
301
+		</div>
288 302
 		<script src="../css/laydate/laydate.js"></script>
289 303
 		<script src="../My97DatePicker/WdatePicker.js"></script>
290 304
 		<script>
@@ -432,7 +446,11 @@
432 446
 				$(".search").click(function() {
433 447
 					load();
434 448
 				})
435
-
449
+				//关闭录音弹出
450
+				$(".gbly").click(function() {
451
+					$(".lyxz").removeClass("cx");
452
+					$('audio')[0].pause();
453
+				});
436 454
 				var html = '<div >' +
437 455
 					'<ul class="nav nav-tabs">' +
438 456
 					'<li class="active">' +
@@ -650,12 +668,12 @@
650 668
 					area: ['35%', '30%'], //宽高
651 669
 				});
652 670
 			}
653
-			//诉求单结案
671
+			//强制结案
654 672
 			function StrongLawsuit(str) {
655 673
 				layer.open({
656 674
 					type: 2,
657 675
 					content: "StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
658
-					title: '诉求单结案',
676
+					title: '诉求单强制结案',
659 677
 					area: ['35%', '30%'], //宽高
660 678
 				});
661 679
 			}

+ 23 - 4
WebUI/CallCenterWeb.UI/Business/WaitFinish.html

@@ -174,7 +174,7 @@
174 174
 					<div class="box_content">
175 175
 						<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
176 176
 							<tr>
177
-								<th>输入关键字:</th>
177
+								<th>输入诉求标题:</th>
178 178
 								<td>
179 179
 									<input type="text" placeholder="输入关键字" id="key" />
180 180
 								</td>
@@ -272,9 +272,10 @@
272 272
 								<tr>
273 273
 									<th data-checkbox="true"></th>
274 274
 									<th data-field="a" data-align="center">工单单号</th>
275
-									<th data-field="b" data-formatter="GetCont" data-align="center">关键字</th>
275
+									<th data-field="b" data-formatter="GetCont" data-align="center">诉求标题</th>
276 276
 									<th data-field="c" data-align="center">受理人</th>
277 277
 									<th data-field="d" data-align="center">办理状态</th>
278
+									<th data-field="e" data-formatter="setCode" data-align="center">录音</th>
278 279
 									<th data-field="f" data-formatter="Dispose" data-align="center">操作</th>
279 280
 								</tr>
280 281
 							</thead>
@@ -285,6 +286,19 @@
285 286
 			</div>
286 287
 		</div>
287 288
 
289
+		<!--下载框-->
290
+		<div class="t-shade lyxz">
291
+			<div class="shade_k">
292
+				<div class="shade_title">
293
+					<span>录音播放与下载<srong class="cknum"></srong></span>
294
+					<span class="setwin gbly"><a>x</a></span>
295
+				</div>
296
+				<div class="shade_content">
297
+					<div class="Ly_box audiojs">
298
+					</div>
299
+				</div>
300
+			</div>
301
+		</div>
288 302
 		<script src="../css/laydate/laydate.js"></script>
289 303
 		<script src="../My97DatePicker/WdatePicker.js"></script>
290 304
 		<script>
@@ -432,6 +446,11 @@
432 446
 				$(".search").click(function() {
433 447
 					load();
434 448
 				})
449
+				//关闭录音弹出
450
+				$(".gbly").click(function() {
451
+					$(".lyxz").removeClass("cx");
452
+					$('audio')[0].pause();
453
+				});
435 454
 				var html = '<div >' +
436 455
 					'<ul class="nav nav-tabs">' +
437 456
 					'<li class="active">' +
@@ -649,12 +668,12 @@
649 668
 					area: ['35%', '30%'], //宽高
650 669
 				});
651 670
 			}
652
-			//诉求单结案
671
+			//强制结案
653 672
 			function StrongLawsuit(str) {
654 673
 				layer.open({
655 674
 					type: 2,
656 675
 					content: "StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
657
-					title: '诉求单结案',
676
+					title: '诉求单强制结案',
658 677
 					area: ['35%', '30%'], //宽高
659 678
 				});
660 679
 			}

+ 133 - 126
WebUI/CallCenterWeb.UI/Business/WorkDC.html

@@ -3,7 +3,7 @@
3 3
 
4 4
 <head>
5 5
     <meta charset="UTF-8">
6
-    <title>待处理工单</title>
6
+    <title>主办待处理工单</title>
7 7
     <script src="../Script/Common/huayi.load.js"></script>
8 8
     <link rel="stylesheet" href="../css/bootstrap-select.css">
9 9
     <script src="../Script/Common/huayi.config.js"></script>
@@ -135,13 +135,13 @@
135 135
             line-height: initial;
136 136
         }
137 137
 
138
-        .setwin a {
139
-            position: relative;
140
-            width: 16px;
141
-            height: 16px;
142
-            font-size: 20px;
143
-            color: #fff;
144
-        }
138
+            .setwin a {
139
+                position: relative;
140
+                width: 16px;
141
+                height: 16px;
142
+                font-size: 20px;
143
+                color: #fff;
144
+            }
145 145
 
146 146
         .xg i {
147 147
             font-size: 16px;
@@ -160,8 +160,8 @@
160 160
         }
161 161
 
162 162
         .inpBox {
163
-            border: 1px solid #cccccc;
164
-            height: 31px;
163
+           border: 1px solid #cccccc;
164
+    		height: 31px;
165 165
             width: 220px;
166 166
             display: inline-block;
167 167
             position: relative;
@@ -171,9 +171,8 @@
171 171
             top: 0px;
172 172
             z-index: 111;
173 173
         }
174
-
175
-        .selDpart1 {
176
-            position: absolute;
174
+		.selDpart1{
175
+			position: absolute;
177 176
             left: 0px;
178 177
             top: 30px;
179 178
             z-index: 11111;
@@ -181,32 +180,28 @@
181 180
             line-height: 30px;
182 181
             background: #FFFFFF;
183 182
             display: none;
184
-        }
185
-
186
-        #sponsor {
187
-            width: 218px;
188
-            border: 1px solid #00a1cb;
189
-            margin: 0;
190
-            padding: 0;
191
-            list-style: none;
192
-            max-height: 212px;
193
-            overflow-x: hidden;
194
-            overflow-y: scroll;
195
-        }
196
-
197
-        #sponsor li {
198
-            margin: 0;
199
-            padding-left: 10px;
200
-            width: 220px;
201
-            height: 30px;
202
-            line-height: 30px;
203
-            list-style: none;
204
-        }
205
-
206
-        #sponsor li:hover {
207
-            background: #00a1cb;
208
-        }
209
-
183
+		}
184
+		#sponsor{
185
+			width: 218px;
186
+			border: 1px solid #00a1cb;
187
+			margin: 0;
188
+			padding: 0;
189
+			list-style: none;
190
+			max-height: 212px;
191
+			overflow-x: hidden;
192
+			overflow-y: scroll;
193
+		}
194
+		#sponsor li{
195
+			margin: 0;
196
+			padding-left: 10px;
197
+			width: 220px;
198
+			height: 30px;
199
+			line-height: 30px;
200
+			list-style: none;
201
+		}
202
+		#sponsor li:hover{
203
+			background: #00a1cb;
204
+		}
210 205
         .addTree {
211 206
             background: #fff;
212 207
             position: absolute;
@@ -277,8 +272,8 @@
277 272
                 <sapn>
278 273
                     <i class="syIcon"></i>位置:
279 274
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
280
-                    <a href="javaScript:;">业务协同</a>&gt;
281
-                    <a href="" class="nowPosition">待处理工单</a>
275
+                    <a href="javaScript:;">业务监督</a>&gt;
276
+                    <a class="nowPosition">主办待处理工单</a>
282 277
                 </sapn>
283 278
             </div>
284 279
             <div class="dhRight">
@@ -292,7 +287,7 @@
292 287
                     <div class="box_content">
293 288
                         <table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
294 289
                             <tr>
295
-                                <th>关键字:</th>
290
+                                <th>诉求标题:</th>
296 291
                                 <td>
297 292
                                     <input type="text" placeholder="输入关键字" id="key" class="Min-width" />
298 293
                                 </td>
@@ -302,13 +297,11 @@
302 297
                                 </td>
303 298
                                 <th>时间:</th>
304 299
                                 <td>
305
-                                    <input type="text" id="starttime" class="laydate-icon Min-width"
306
-                                        style="height: 32px;" />&nbsp;——&nbsp;<input type="text" id="endtime"
307
-                                        class="laydate-icon Min-width" style="height: 32px;" />
300
+                                    <input type="text" id="starttime" class="laydate-icon Min-width" style="height: 32px;" />&nbsp;——&nbsp;<input type="text" id="endtime" class="laydate-icon Min-width" style="height: 32px;" />
308 301
                                 </td>
309
-                                <th>区域:</th>
310
-                                <td>
311
-                                    <select name="" id="sourceAreas" class="select">
302
+                                 <th>区域:</th>
303
+                                <td >
304
+                                	  <select name="" id="sourceAreas" class="select">
312 305
                                     </select>
313 306
                                 </td>
314 307
                             </tr>
@@ -343,23 +336,28 @@
343 336
                                 <td>
344 337
                                     <input type="text" id="tel" class="Min-width" />
345 338
                                 </td>
346
-                                <th>姓名:</th>
339
+                                <th>投诉人:</th>
347 340
                                 <td>
348 341
                                     <input type="text" id="name" class="Min-width" />
349 342
                                 </td>
350 343
                             </tr>
351
-                            <tr>
344
+                             <tr>
345
+                            	<th>坐席:</th>
346
+                                <td>
347
+                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
348
+										<option value="">请选择坐席</option>
349
+									</select>
350
+                                </td>
352 351
                                 <th>调度员:</th>
353 352
                                 <td>
354
-                                    <select id="yardman" name="select" class="selectpicker show-tick form-control"
355
-                                        multiple data-live-search="true">
356
-                                        <option value="">请选择调度员</option>
357
-                                    </select>
353
+                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
354
+										<option value="">请选择调度员</option>
355
+									</select>
358 356
                                 </td>
359
-                                <th>办单位:</th>
357
+                                <th>办单位:</th>
360 358
                                 <td style="position: relative;">
361 359
                                     <div class="inpBox">
362
-                                        <input type="text" class="inps" onkeyup="darptSearch()" />
360
+                                        <input type="text" class="inps" onkeyup="darptSearch()"/>
363 361
                                         <i class="Cleans  fa fa-close"></i>
364 362
                                         <i class="xl xl_one"></i>
365 363
                                         <div class="addTree xlAdd">
@@ -367,35 +365,34 @@
367 365
                                         </div>
368 366
                                     </div>
369 367
                                     <div class="selDpart1">
370
-                                        <ul id="sponsor">
371
-                                        </ul>
368
+                                    	<ul id="sponsor">
369
+										</ul>
372 370
                                     </div>
373 371
                                 </td>
374 372
                                 <th></th>
375 373
                                 <td style="text-align: center;">
376 374
                                     <botton class="btns Seach">搜索</botton>
377 375
                                     <!--<botton class="btns ">导出</botton>-->
378
-                                </td>
376
+                                </td>                               	
379 377
                             </tr>
380 378
                         </table>
381 379
                     </div>
382 380
                 </div>
383 381
                 <div>
384 382
                     <div style="width: 100%;padding: 10px;">
385
-                        <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams"
386
-                            data-pagination="true">
383
+                        <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
387 384
                             <thead>
388 385
                                 <tr>
389 386
 
390 387
                                     <th data-field="F_WorkOrderId" data-align="center">工单单号</th>
391 388
                                     <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
392
-                                    <th data-field="DeptName" data-align="center">承办单位</th>
389
+                                    <th data-field="DeptName" data-align="center">主办单位</th>
390
+                                    <th data-field="OtherDeptName" data-align="center">协办单位</th>
393 391
                                     <th data-field="UserName" data-align="center">受理人</th>
394 392
                                     <th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
395
-                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
393
+                                    <th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
394
+                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
396 395
                                     <th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
397
-                                    <th data-field="F_Scanning" data-formatter="BanTime" data-align="center">扫描件时效</th>
398
-                                    <th data-field="IsFiles" data-formatter="isFilesFormatter" data-align="center">扫描件是否上传</th>
399 396
                                     <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
400 397
                                 </tr>
401 398
                             </thead>
@@ -406,6 +403,19 @@
406 403
             </div>
407 404
         </div>
408 405
 
406
+        <!--下载框-->
407
+        <div class="t-shade lyxz">
408
+            <div class="shade_k">
409
+                <div class="shade_title">
410
+                    <span>录音播放与下载<srong class="cknum"></srong></span>
411
+                    <span class="setwin gbly"><a>x</a></span>
412
+                </div>
413
+                <div class="shade_content">
414
+                    <div class="Ly_box audiojs">
415
+                    </div>
416
+                </div>
417
+            </div>
418
+        </div>
409 419
         <input type="hidden" id="PID" />
410 420
         <input type="hidden" id="Dpment" />
411 421
     </div>
@@ -431,6 +441,12 @@
431 441
                 event: 'focus'
432 442
             });
433 443
         });
444
+        //关闭录音弹出
445
+        $(".gbly").click(function () {
446
+            $(".lyxz").removeClass("cx");
447
+            $('audio')[0].pause();
448
+        });
449
+
434 450
         $("#orderlist").on("click-row.bs.table", function (e, row, ele) {
435 451
             $('.success').removeClass('success'); //去除之前选中的行的,选中样式
436 452
             $(ele).addClass('success'); //添加当前选中的 success样式用于区别
@@ -438,30 +454,30 @@
438 454
 
439 455
         //获取查询信息
440 456
         function load() {
441
-            //坐席
442
-            var usercodeID = "";
443
-            var usercode_ = $("#ZX").val(); //坐席
444
-            if (usercode_ != null) {
445
-                $(usercode_).each(function (i, n) {
446
-                    var obj1 = '';
447
-                    obj1 = n + ",";
448
-                    usercodeID += obj1;
449
-                })
450
-            } else {
451
-                usercodeID = ""
452
-            }
453
-            //      	调度员
454
-            var ddusercodeID = "";
455
-            var ddusercode_ = $("#yardman").val(); //坐席
456
-            if (ddusercode_ != null) {
457
-                $(ddusercode_).each(function (i, n) {
458
-                    var obj2 = '';
459
-                    obj2 = n + ",";
460
-                    ddusercodeID += obj2;
461
-                })
462
-            } else {
463
-                ddusercodeID = ""
464
-            }
457
+        	//坐席
458
+        	var usercodeID="";
459
+        	var usercode_=$("#ZX").val(); //坐席
460
+        	if (usercode_!=null) {
461
+        		$(usercode_).each(function (i, n) {
462
+        			var obj1='';
463
+                    obj1= n+",";
464
+                    usercodeID +=obj1;
465
+	            })
466
+        	}else{
467
+        		usercodeID=""
468
+        	}
469
+//      	调度员
470
+        	var ddusercodeID="";
471
+        	var ddusercode_=$("#yardman").val(); //坐席
472
+        	if (ddusercode_!=null) {
473
+        		$(ddusercode_).each(function (i, n) {
474
+        			var obj2='';
475
+                    obj2= n+",";
476
+                    ddusercodeID +=obj2;
477
+	            })
478
+        	}else{
479
+        		ddusercodeID=""
480
+        	}
465 481
             //先销毁表格
466 482
             $('#orderlist').bootstrapTable('destroy');
467 483
             //初始化表格,动态从服务器加载数据
@@ -501,8 +517,8 @@
501 517
                         endtime: $("#endtime").val(), //=结束时间
502 518
                         deptid: $("#PID").val(),
503 519
                         type: $("#type").val(),
504
-                        tab: 0, //待处理
505
-                        sourcearea: $('#sourceAreas').val(), //区域
520
+                        tab: 0,//待处理
521
+                        sourcearea:$('#sourceAreas').val(),//区域
506 522
                         token: $.cookie("token")
507 523
                     };
508 524
                     return param;
@@ -556,7 +572,7 @@
556 572
                 case '10':
557 573
                     html = '待审核';
558 574
                     break;
559
-                case '11':
575
+               	case '11':
560 576
                     html = '重办待交办';
561 577
                     break;
562 578
                 case '12':
@@ -604,6 +620,7 @@
604 620
                 return '';
605 621
             }
606 622
         }
623
+
607 624
         function GetCont(val) {
608 625
             if (val) {
609 626
                 var str = '<div '
@@ -616,10 +633,6 @@
616 633
                 return '';
617 634
             }
618 635
         }
619
-        function isFilesFormatter(val) {
620
-            isFilesArr = ["未上传", "已上传"]
621
-            return isFilesArr[val]
622
-        }
623 636
         //操作
624 637
         function Dispose(val, row) {
625 638
             var Rows = row.Buttons;
@@ -630,7 +643,6 @@
630 643
                 if (html1) {
631 644
                     html1 = html1.replace("data", val);
632 645
                     html1 = html1.replace("isProtect", row.F_IsProtect);
633
-                    html1 = html1.replace("row", row.F_MainDeptId);
634 646
                 }
635 647
                 html += html1;
636 648
 
@@ -723,8 +735,7 @@
723 735
         function bl(str, isProtect) {
724 736
             layer.open({
725 737
                 type: 2,
726
-                content: "../CommonHtml/banli.html?wid=" + str + "&isProtect=" +
727
-                isProtect, //iframe的url,no代表不显示滚动条
738
+                content: "../CommonHtml/banli.html?wid=" + str + "&isProtect=" + isProtect, //iframe的url,no代表不显示滚动条
728 739
                 title: '办理工单',
729 740
                 area: ['60%', '80%'], //宽高
730 741
             });
@@ -758,12 +769,12 @@
758 769
                 area: ['60%', '80%'], //宽高
759 770
             });
760 771
         }
761
-        //诉求单结案
772
+        //强制结案
762 773
         function StrongLawsuit(str) {
763 774
             layer.open({
764 775
                 type: 2,
765 776
                 content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
766
-                title: '诉求单结案',
777
+                title: '强制结案',
767 778
                 area: ['60%', '80%'], //宽高
768 779
             });
769 780
         }
@@ -870,17 +881,17 @@
870 881
                 btn: ['是', '否'] //按钮
871 882
             }, function () {
872 883
                 $.post(huayi.config.callcenter_url + 'WorkOrder/RemindWorkOrder', {
873
-                    workorderid: str,
874
-                    type: 1,
875
-                    state: 0,
876
-                    "token": $.cookie("token")
877
-                }, function (result) {
878
-                    result = JSON.parse(result);
879
-                    if (result.state.toLowerCase() == "success") {
880
-                        layer.msg("操作成功");
881
-                        load();
882
-                    }
883
-                })
884
+					workorderid: str,
885
+					type: 1,
886
+					state:0,
887
+					"token": $.cookie("token")
888
+				}, function(result) {
889
+					result = JSON.parse(result);
890
+					if(result.state.toLowerCase() == "success") {
891
+						layer.msg("操作成功");
892
+						load();
893
+					}
894
+				})
884 895
             });
885 896
         }
886 897
         //申请延时
@@ -957,8 +968,7 @@
957 968
                      */
958 969
                     processData: false,
959 970
                     success: function (result) {
960
-                        document.getElementById("upFile").outerHTML = document.getElementById("upFile")
961
-                            .outerHTML;
971
+                        document.getElementById("upFile").outerHTML = document.getElementById("upFile").outerHTML;
962 972
                         $("#upFile").change(function () {
963 973
                             upload();
964 974
                         });
@@ -986,8 +996,7 @@
986 996
                 if (data.state.toLowerCase() == "success") {
987 997
                     var content = data.data;
988 998
                     $(content).each(function (i, n) {
989
-                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(
990
-                            obj);
999
+                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
991 1000
                     })
992 1001
                 }
993 1002
             })
@@ -1003,8 +1012,7 @@
1003 1012
                 if (data.state.toLowerCase() == "success") {
1004 1013
                     var content = data.data;
1005 1014
                     $(content).each(function (i, n) {
1006
-                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(
1007
-                            obj);
1015
+                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
1008 1016
                     })
1009 1017
                 }
1010 1018
             })
@@ -1020,13 +1028,11 @@
1020 1028
                 if (data.state.toLowerCase() == "success") {
1021 1029
                     var content = data.data;
1022 1030
                     $(content).each(function (i, n) {
1023
-                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(
1024
-                            obj);
1031
+                        $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
1025 1032
                     })
1026 1033
                 }
1027 1034
             })
1028 1035
         }
1029
-
1030 1036
         function tree() {
1031 1037
             $.get(huayi.config.callcenter_url + 'Department/GetDeptList', {
1032 1038
                 "token": $.cookie("token"),
@@ -1052,12 +1058,13 @@
1052 1058
                 onClick: zTreeOnClick
1053 1059
             }
1054 1060
         };
1055
-
1056 1061
         function zTreeOnClick(event, treeId, treeNode) {
1057
-            $('.inps').val(treeNode.F_DeptName);
1058
-            $("#PID").val(treeNode.F_DeptId);
1059
-            $("#Dpment").val(treeNode.F_DeptName);
1060
-            $(".Cleans").show();
1062
+            if (treeNode.level >= 2) {
1063
+                $('.inps').val(treeNode.F_DeptName);
1064
+                $("#PID").val(treeNode.F_DeptId);
1065
+                $("#Dpment").val(treeNode.F_DeptName);
1066
+                $(".Cleans").show();
1067
+            }
1061 1068
 
1062 1069
         };
1063 1070
     </script>

+ 33 - 8
WebUI/CallCenterWeb.UI/Business/WorkDCCO.html

@@ -241,7 +241,7 @@
241 241
 					<sapn>
242 242
 						<i class="syIcon"></i>位置:
243 243
 						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
244
-						<a href="javaScript:;">业务协同</a>&gt;
244
+						<a href="javaScript:;">业务监督</a>&gt;
245 245
 						<a class="nowPosition">协办待处理工单</a>
246 246
 					</sapn>
247 247
 				</div>
@@ -256,7 +256,7 @@
256 256
 						<div class="box_content">
257 257
 							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
258 258
 								<tr>
259
-									<th>关键字:</th>
259
+									<th>诉求标题:</th>
260 260
 									<td>
261 261
 										<input type="text" placeholder="输入关键字" id="key" class="Min-width" />
262 262
 									</td>
@@ -296,13 +296,19 @@
296 296
 									</td>
297 297
 								</tr>
298 298
 								<tr>
299
+									<th>坐席:</th>
300
+	                                <td>
301
+	                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
302
+											<option value="">请选择坐席</option>
303
+										</select>
304
+	                                </td>
299 305
 	                                <th>调度员:</th>
300 306
 	                                <td>
301 307
 	                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
302 308
 											<option value="">请选择调度员</option>
303 309
 										</select>
304 310
 	                                </td>
305
-									<th>姓名:</th>
311
+									<th>投诉人:</th>
306 312
 									<td>
307 313
 										<input type="text" id="name"  class="Min-width"/>
308 314
 									</td>
@@ -324,10 +330,12 @@
324 330
 									
325 331
 										<th data-field="F_WorkOrderId" data-align="center">工单单号</th>
326 332
 										<th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
327
-										<th data-field="DeptName" data-align="center">承办单位</th>
333
+										<th data-field="DeptName" data-align="center">主办单位</th>
334
+										<th data-field="OtherDeptName" data-align="center">协办单位</th>
328 335
 										<th data-field="UserName" data-align="center">受理人</th>
329 336
 										<th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
330
-										<th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
337
+										<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
338
+										<th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
331 339
 										<th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
332 340
 										<th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
333 341
 									</tr>
@@ -339,6 +347,19 @@
339 347
 				</div>
340 348
 			</div>
341 349
 
350
+			<!--下载框-->
351
+			<div class="t-shade lyxz">
352
+				<div class="shade_k">
353
+					<div class="shade_title">
354
+						<span>录音播放与下载<srong class="cknum"></srong></span>
355
+						<span class="setwin gbly"><a>x</a></span>
356
+					</div>
357
+					<div class="shade_content">
358
+						<div class="Ly_box audiojs">
359
+						</div>
360
+					</div>
361
+				</div>
362
+			</div>
342 363
 			<input type="hidden" id="PID" />
343 364
 			<input type="hidden" id="Dpment" />
344 365
 		</div>
@@ -372,6 +393,11 @@
372 393
 					load();
373 394
 				});
374 395
 			});
396
+			//关闭录音弹出
397
+			$(".gbly").click(function() {
398
+				$(".lyxz").removeClass("cx");
399
+				$('audio')[0].pause();
400
+			});
375 401
 
376 402
 			$("#orderlist").on("click-row.bs.table", function(e, row, ele) {
377 403
 				$('.success').removeClass('success'); //去除之前选中的行的,选中样式
@@ -569,7 +595,6 @@
569 595
 					if(html1) {
570 596
 						html1 = html1.replace("data", val);
571 597
 	                    html1 = html1.replace("isProtect", row.F_IsProtect);
572
-	                    html1 = html1.replace("row", row.F_MainDeptId);
573 598
 					}
574 599
 					html += html1;
575 600
 
@@ -687,12 +712,12 @@
687 712
 					area: ['60%', '80%'], //宽高
688 713
 				});
689 714
 			}
690
-			//诉求单结案
715
+			//强制结案
691 716
 			function StrongLawsuit(str) {
692 717
 				layer.open({
693 718
 					type: 2,
694 719
 					content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
695
-					title: '诉求单结案',
720
+					title: '强制结案',
696 721
 					area: ['60%', '80%'], //宽高
697 722
 				});
698 723
 			}

+ 42 - 14
WebUI/CallCenterWeb.UI/Business/WorkDC_EJ.html

@@ -272,8 +272,8 @@
272 272
                 <sapn>
273 273
                     <i class="syIcon"></i>位置:
274 274
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
275
-                    <a href="javaScript:;">业务协同</a>&gt;
276
-                   <a href="" class="nowPosition">待处理工单</a>
275
+                    <a href="javaScript:;">业务监督</a>&gt;
276
+                    <a class="nowPosition">待处理工单</a>
277 277
                 </sapn>
278 278
             </div>
279 279
             <div class="dhRight">
@@ -287,7 +287,7 @@
287 287
                     <div class="box_content">
288 288
                         <table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
289 289
                             <tr>
290
-                                <th>关键字:</th>
290
+                                <th>诉求标题:</th>
291 291
                                 <td>
292 292
                                     <input type="text" placeholder="输入关键字" id="key" class="Min-width" />
293 293
                                 </td>
@@ -336,19 +336,25 @@
336 336
                                 <td>
337 337
                                     <input type="text" id="tel" class="Min-width" />
338 338
                                 </td>
339
-                                <th>姓名:</th>
339
+                                <th>投诉人:</th>
340 340
                                 <td>
341 341
                                     <input type="text" id="name" class="Min-width" />
342 342
                                 </td>
343 343
                             </tr>
344 344
                              <tr>
345
+                            	<th>坐席:</th>
346
+                                <td>
347
+                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
348
+										<option value="">请选择坐席</option>
349
+									</select>
350
+                                </td>
345 351
                                 <th>调度员:</th>
346 352
                                 <td>
347 353
                                 	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
348 354
 										<option value="">请选择调度员</option>
349 355
 									</select>
350 356
                                 </td>
351
-                                <th>办单位:</th>
357
+                                <th>办单位:</th>
352 358
                                 <td style="position: relative;">
353 359
                                     <div class="inpBox">
354 360
                                         <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -380,10 +386,12 @@
380 386
 
381 387
                                     <th data-field="F_WorkOrderId" data-align="center">工单单号</th>
382 388
                                     <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
383
-                                    <th data-field="DeptName" data-align="center">承办单位</th>
389
+                                    <th data-field="DeptName" data-align="center">主办单位</th>
390
+                                    <th data-field="OtherDeptName" data-align="center">协办单位</th>
384 391
                                     <th data-field="UserName" data-align="center">受理人</th>
385 392
                                     <th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
386
-                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
393
+                                    <th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
394
+                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
387 395
                                     <th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
388 396
                                     <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
389 397
                                 </tr>
@@ -395,6 +403,19 @@
395 403
             </div>
396 404
         </div>
397 405
 
406
+        <!--下载框-->
407
+        <div class="t-shade lyxz">
408
+            <div class="shade_k">
409
+                <div class="shade_title">
410
+                    <span>录音播放与下载<srong class="cknum"></srong></span>
411
+                    <span class="setwin gbly"><a>x</a></span>
412
+                </div>
413
+                <div class="shade_content">
414
+                    <div class="Ly_box audiojs">
415
+                    </div>
416
+                </div>
417
+            </div>
418
+        </div>
398 419
         <input type="hidden" id="PID" />
399 420
         <input type="hidden" id="Dpment" />
400 421
     </div>
@@ -421,6 +442,11 @@
421 442
                 event: 'focus'
422 443
             });
423 444
         });
445
+        //关闭录音弹出
446
+        $(".gbly").click(function () {
447
+            $(".lyxz").removeClass("cx");
448
+            $('audio')[0].pause();
449
+        });
424 450
 
425 451
         $("#orderlist").on("click-row.bs.table", function (e, row, ele) {
426 452
             $('.success').removeClass('success'); //去除之前选中的行的,选中样式
@@ -711,7 +737,7 @@
711 737
                 type: 2,
712 738
                 content: "../CommonHtml/banli_zilei.html?wid=" + str + "&isProtect=" + isProtect, //iframe的url,no代表不显示滚动条
713 739
                 title: '办理工单',
714
-                area: ['90%', '80%'], //宽高
740
+                area: ['80%', '80%'], //宽高
715 741
             });
716 742
         }
717 743
         //派单
@@ -743,12 +769,12 @@
743 769
                 area: ['60%', '80%'], //宽高
744 770
             });
745 771
         }
746
-        //诉求单结案
772
+        //强制结案
747 773
         function StrongLawsuit(str) {
748 774
             layer.open({
749 775
                 type: 2,
750 776
                 content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
751
-                title: '诉求单结案',
777
+                title: '强制结案',
752 778
                 area: ['60%', '80%'], //宽高
753 779
             });
754 780
         }
@@ -1021,10 +1047,12 @@
1021 1047
             }
1022 1048
         };
1023 1049
         function zTreeOnClick(event, treeId, treeNode) {
1024
-            $('.inps').val(treeNode.F_DeptName);
1025
-            $("#PID").val(treeNode.F_DeptId);
1026
-            $("#Dpment").val(treeNode.F_DeptName);
1027
-            $(".Cleans").show();
1050
+            if (treeNode.level >= 2) {
1051
+                $('.inps').val(treeNode.F_DeptName);
1052
+                $("#PID").val(treeNode.F_DeptId);
1053
+                $("#Dpment").val(treeNode.F_DeptName);
1054
+                $(".Cleans").show();
1055
+            }
1028 1056
 
1029 1057
         };
1030 1058
     </script>

+ 43 - 15
WebUI/CallCenterWeb.UI/Business/WorkDC_Three.html

@@ -272,8 +272,8 @@
272 272
                 <sapn>
273 273
                     <i class="syIcon"></i>位置:
274 274
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
275
-                    <a href="javaScript:;">业务协同</a>&gt;
276
-                   <a href="" class="nowPosition">待处理工单</a>
275
+                    <a href="javaScript:;">业务监督</a>&gt;
276
+                    <a class="nowPosition">待处理工单</a>
277 277
                 </sapn>
278 278
             </div>
279 279
             <div class="dhRight">
@@ -287,7 +287,7 @@
287 287
                     <div class="box_content">
288 288
                         <table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
289 289
                             <tr>
290
-                                <th>关键字:</th>
290
+                                <th>诉求标题:</th>
291 291
                                 <td>
292 292
                                     <input type="text" placeholder="输入关键字" id="key" class="Min-width" />
293 293
                                 </td>
@@ -336,19 +336,25 @@
336 336
                                 <td>
337 337
                                     <input type="text" id="tel" class="Min-width" />
338 338
                                 </td>
339
-                                <th>姓名:</th>
339
+                                <th>投诉人:</th>
340 340
                                 <td>
341 341
                                     <input type="text" id="name" class="Min-width" />
342 342
                                 </td>
343 343
                             </tr>
344 344
                              <tr>
345
+                            	<th>坐席:</th>
346
+                                <td>
347
+                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
348
+										<option value="">请选择坐席</option>
349
+									</select>
350
+                                </td>
345 351
                                 <th>调度员:</th>
346 352
                                 <td>
347 353
                                 	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
348 354
 										<option value="">请选择调度员</option>
349 355
 									</select>
350 356
                                 </td>
351
-                                <th>办单位:</th>
357
+                                <th>办单位:</th>
352 358
                                 <td style="position: relative;">
353 359
                                     <div class="inpBox">
354 360
                                         <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -380,10 +386,12 @@
380 386
 
381 387
                                     <th data-field="F_WorkOrderId" data-align="center">工单单号</th>
382 388
                                     <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
383
-                                    <th data-field="DeptName" data-align="center">承办单位</th>
389
+                                    <th data-field="DeptName" data-align="center">主办单位</th>
390
+                                    <th data-field="OtherDeptName" data-align="center">协办单位</th>
384 391
                                     <th data-field="UserName" data-align="center">受理人</th>
385 392
                                     <th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
386
-                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
393
+                                    <th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
394
+                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
387 395
                                     <th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
388 396
                                     <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
389 397
                                 </tr>
@@ -395,6 +403,19 @@
395 403
             </div>
396 404
         </div>
397 405
 
406
+        <!--下载框-->
407
+        <div class="t-shade lyxz">
408
+            <div class="shade_k">
409
+                <div class="shade_title">
410
+                    <span>录音播放与下载<srong class="cknum"></srong></span>
411
+                    <span class="setwin gbly"><a>x</a></span>
412
+                </div>
413
+                <div class="shade_content">
414
+                    <div class="Ly_box audiojs">
415
+                    </div>
416
+                </div>
417
+            </div>
418
+        </div>
398 419
         <input type="hidden" id="PID" />
399 420
         <input type="hidden" id="Dpment" />
400 421
     </div>
@@ -421,6 +442,12 @@
421 442
                 event: 'focus'
422 443
             });
423 444
         });
445
+        //关闭录音弹出
446
+        $(".gbly").click(function () {
447
+            $(".lyxz").removeClass("cx");
448
+            $('audio')[0].pause();
449
+        });
450
+
424 451
         $("#orderlist").on("click-row.bs.table", function (e, row, ele) {
425 452
             $('.success').removeClass('success'); //去除之前选中的行的,选中样式
426 453
             $(ele).addClass('success'); //添加当前选中的 success样式用于区别
@@ -616,7 +643,6 @@
616 643
                 if (html1) {
617 644
                     html1 = html1.replace("data", val);
618 645
                     html1 = html1.replace("isProtect", row.F_IsProtect);
619
-                    html1 = html1.replace("row", row.F_MainDeptId);
620 646
                 }
621 647
                 html += html1;
622 648
 
@@ -711,7 +737,7 @@
711 737
                 type: 2,
712 738
                 content: "../CommonHtml/banli_zilei.html?wid=" + str + "&isProtect=" + isProtect, //iframe的url,no代表不显示滚动条
713 739
                 title: '办理工单',
714
-                area: ['90%', '80%'], //宽高
740
+                area: ['80%', '80%'], //宽高
715 741
             });
716 742
         }
717 743
         //派单
@@ -743,12 +769,12 @@
743 769
                 area: ['60%', '80%'], //宽高
744 770
             });
745 771
         }
746
-        //诉求单结案
772
+        //强制结案
747 773
         function StrongLawsuit(str) {
748 774
             layer.open({
749 775
                 type: 2,
750 776
                 content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
751
-                title: '诉求单结案',
777
+                title: '强制结案',
752 778
                 area: ['60%', '80%'], //宽高
753 779
             });
754 780
         }
@@ -1044,10 +1070,12 @@
1044 1070
             }
1045 1071
         };
1046 1072
         function zTreeOnClick(event, treeId, treeNode) {
1047
-            $('.inps').val(treeNode.F_DeptName);
1048
-            $("#PID").val(treeNode.F_DeptId);
1049
-            $("#Dpment").val(treeNode.F_DeptName);
1050
-            $(".Cleans").show();
1073
+            if (treeNode.level >= 2) {
1074
+                $('.inps').val(treeNode.F_DeptName);
1075
+                $("#PID").val(treeNode.F_DeptId);
1076
+                $("#Dpment").val(treeNode.F_DeptName);
1077
+                $(".Cleans").show();
1078
+            }
1051 1079
 
1052 1080
         };
1053 1081
     </script>

+ 10 - 4
WebUI/CallCenterWeb.UI/Business/WorkDatil.html

@@ -186,7 +186,7 @@
186 186
 								<td>
187 187
 									<span>网络转办</span>
188 188
 								</td>
189
-								<th>办单位:</th>
189
+								<th>办单位:</th>
190 190
 								<td>
191 191
 									<span>二级承办单位</span>
192 192
 								</td>
@@ -267,7 +267,7 @@
267 267
 									<td class="text-center">次数</td>
268 268
 									<td class="text-center">回访人</td>
269 269
 									<td class="text-center">回访方式</td>
270
-									<td class="text-center">回访内容</td>
270
+									<td class="text-center">回访信息</td>
271 271
 									<td class="text-center">回访结果</td>
272 272
 									<td class="text-center">操作时间</td>
273 273
 								</tr>
@@ -370,9 +370,15 @@
370 370
 								</span>
371 371
 							</li>
372 372
 							<li>
373
-								办单位:
373
+								办单位:
374 374
 								<span>
375
-									二级承办单位
375
+									二级主办单位
376
+								</span>
377
+							</li>
378
+							<li>
379
+								协办单位:
380
+								<span>
381
+									已结束
376 382
 								</span>
377 383
 							</li>
378 384
 							<li>

File diff suppressed because it is too large
+ 963 - 969
WebUI/CallCenterWeb.UI/Business/WorkYBL.html


+ 43 - 14
WebUI/CallCenterWeb.UI/Business/WorkYBL_zlei.html

@@ -272,8 +272,8 @@
272 272
                 <sapn>
273 273
                     <i class="syIcon"></i>位置:
274 274
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
275
-                    <a href="javaScript:;">业务协同</a>&gt;
276
-                   <a href="" class="nowPosition">待处理工单</a>
275
+                    <a href="javaScript:;">业务监督</a>&gt;
276
+                    <a class="nowPosition">主办待处理工单</a>
277 277
                 </sapn>
278 278
             </div>
279 279
             <div class="dhRight">
@@ -287,7 +287,7 @@
287 287
                     <div class="box_content">
288 288
                         <table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
289 289
                             <tr>
290
-                                <th>关键字:</th>
290
+                                <th>诉求标题:</th>
291 291
                                 <td>
292 292
                                     <input type="text" placeholder="输入关键字" id="key" class="Min-width" />
293 293
                                 </td>
@@ -331,19 +331,25 @@
331 331
                                 <td>
332 332
                                     <input type="text" id="tel" class="Min-width" />
333 333
                                 </td>
334
-                                <th>姓名:</th>
334
+                                <th>投诉人:</th>
335 335
                                 <td>
336 336
                                     <input type="text" id="name" class="Min-width" />
337 337
                                 </td>
338 338
                             </tr>
339 339
                             <tr>
340
+=                               <th>坐席:</th>
341
+                                <td>
342
+                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
343
+										<option value="">请选择坐席</option>
344
+									</select>
345
+                                </td>
340 346
                                 <th>调度员:</th>
341 347
                                 <td>
342 348
                                 	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
343 349
 										<option value="">请选择调度员</option>
344 350
 									</select>
345 351
                                 </td>
346
-                                <th>办单位:</th>
352
+                                <th>办单位:</th>
347 353
                                 <td style="position: relative;">
348 354
                                     <div class="inpBox">
349 355
                                         <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -375,10 +381,12 @@
375 381
 
376 382
                                     <th data-field="F_WorkOrderId" data-align="center">工单单号</th>
377 383
                                     <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
378
-                                    <th data-field="DeptName" data-align="center">承办单位</th>
384
+                                    <th data-field="DeptName" data-align="center">主办单位</th>
385
+                                    <th data-field="OtherDeptName" data-align="center">协办单位</th>
379 386
                                     <th data-field="UserName" data-align="center">受理人</th>
380 387
                                     <th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
381
-                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
388
+                                    <th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
389
+                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
382 390
                                     <th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
383 391
                                     <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
384 392
                                 </tr>
@@ -390,6 +398,19 @@
390 398
             </div>
391 399
         </div>
392 400
 
401
+        <!--下载框-->
402
+        <div class="t-shade lyxz">
403
+            <div class="shade_k">
404
+                <div class="shade_title">
405
+                    <span>录音播放与下载<srong class="cknum"></srong></span>
406
+                    <span class="setwin gbly"><a>x</a></span>
407
+                </div>
408
+                <div class="shade_content">
409
+                    <div class="Ly_box audiojs">
410
+                    </div>
411
+                </div>
412
+            </div>
413
+        </div>
393 414
         <input type="hidden" id="PID" />
394 415
         <input type="hidden" id="Dpment" />
395 416
     </div>
@@ -416,6 +437,12 @@
416 437
                 event: 'focus'
417 438
             });
418 439
         });
440
+        //关闭录音弹出
441
+        $(".gbly").click(function () {
442
+            $(".lyxz").removeClass("cx");
443
+            $('audio')[0].pause();
444
+        });
445
+
419 446
         $("#orderlist").on("click-row.bs.table", function (e, row, ele) {
420 447
             $('.success').removeClass('success'); //去除之前选中的行的,选中样式
421 448
             $(ele).addClass('success'); //添加当前选中的 success样式用于区别
@@ -705,7 +732,7 @@
705 732
                 type: 2,
706 733
                 content: "../CommonHtml/banli_zilei.html?wid=" + str + "&isProtect=" + isProtect, //iframe的url,no代表不显示滚动条
707 734
                 title: '办理工单',
708
-                area: ['90%', '80%'], //宽高
735
+                area: ['80%', '80%'], //宽高
709 736
             });
710 737
         }
711 738
         //派单
@@ -737,12 +764,12 @@
737 764
                 area: ['60%', '80%'], //宽高
738 765
             });
739 766
         }
740
-        //诉求单结案
767
+        //强制结案
741 768
         function StrongLawsuit(str) {
742 769
             layer.open({
743 770
                 type: 2,
744 771
                 content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
745
-                title: '诉求单结案',
772
+                title: '强制结案',
746 773
                 area: ['60%', '80%'], //宽高
747 774
             });
748 775
         }
@@ -987,10 +1014,12 @@
987 1014
             }
988 1015
         };
989 1016
         function zTreeOnClick(event, treeId, treeNode) {
990
-            $('.inps').val(treeNode.F_DeptName);
991
-            $("#PID").val(treeNode.F_DeptId);
992
-            $("#Dpment").val(treeNode.F_DeptName);
993
-            $(".Cleans").show();
1017
+            if (treeNode.level >= 2) {
1018
+                $('.inps').val(treeNode.F_DeptName);
1019
+                $("#PID").val(treeNode.F_DeptId);
1020
+                $("#Dpment").val(treeNode.F_DeptName);
1021
+                $(".Cleans").show();
1022
+            }
994 1023
 
995 1024
         };
996 1025
     </script>

+ 43 - 14
WebUI/CallCenterWeb.UI/Business/WorkYCS.html

@@ -3,7 +3,7 @@
3 3
 
4 4
 	<head>
5 5
 		<meta charset="UTF-8">
6
-		<title>已查收</title>
6
+		<title>已查收工单</title>
7 7
 		<script src="../Script/Common/huayi.load.js"></script>
8 8
 		<link rel="stylesheet" href="../css/bootstrap-select.css">
9 9
 		<script src="../Script/Common/huayi.config.js"></script>
@@ -269,8 +269,8 @@
269 269
 					<sapn>
270 270
 						<i class="syIcon"></i>位置:
271 271
 						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
272
-						<a href="javaScript:;">业务协同</a>&gt;
273
-						<a class="nowPosition">已查收</a>
272
+						<a href="javaScript:;">业务监督</a>&gt;
273
+						<a class="nowPosition">已查收工单</a>
274 274
 					</sapn>
275 275
 				</div>
276 276
 				<div class="dhRight">
@@ -284,7 +284,7 @@
284 284
 						<div class="box_content">
285 285
 							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
286 286
 								<tr>
287
-									<th>关键字:</th>
287
+									<th>诉求标题:</th>
288 288
 									<td>
289 289
 										<input type="text" placeholder="输入关键字" id="key" class="Min-width" />
290 290
 									</td>
@@ -307,6 +307,7 @@
307 307
 									<td>
308 308
 										<select name="" id="state" class="select">
309 309
 											<option selected="selected" value="">请选择</option>
310
+											<option value="0">新工单</option>
310 311
 											<option value="1">待交办</option>
311 312
 											<option value="2">待查收</option>
312 313
 											<option value="3">退回审核中</option>
@@ -338,20 +339,26 @@
338 339
 									<td>
339 340
 										<input type="text" id="tel"  class="Min-width" />
340 341
 									</td>
341
-									<th>姓名:</th>
342
+									<th>投诉人:</th>
342 343
 									<td>
343 344
 										<input type="text" id="name"  class="Min-width"/>
344 345
 									</td>
345 346
 									
346 347
 								</tr>
347 348
 								<tr>
349
+									<th>坐席:</th>
350
+	                                <td>
351
+	                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
352
+											<option value="">请选择坐席</option>
353
+										</select>
354
+	                                </td>
348 355
 	                                <th>调度员:</th>
349 356
 	                                <td>
350 357
 	                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
351 358
 											<option value="">请选择调度员</option>
352 359
 										</select>
353 360
 	                                </td>
354
-									<th>办单位:</th>
361
+									<th>办单位:</th>
355 362
 									<td style="position: relative;">
356 363
 	                                    <div class="inpBox">
357 364
 	                                        <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -383,10 +390,12 @@
383 390
 										<th data-checkbox="true"></th>
384 391
 										<th data-field="F_WorkOrderId" data-align="center">工单单号</th>
385 392
 										<th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
386
-										<th data-field="DeptName" data-align="center">承办单位</th>
393
+										<th data-field="DeptName" data-align="center">主办单位</th>
394
+										<th data-field="OtherDeptName" data-align="center">协办单位</th>
387 395
 										<th data-field="UserName" data-align="center">受理人</th>
388 396
 										<th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
389
-										<th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
397
+										<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
398
+										<th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
390 399
 										<th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
391 400
 										<th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
392 401
 									</tr>
@@ -398,6 +407,19 @@
398 407
 				</div>
399 408
 			</div>
400 409
 
410
+			<!--下载框-->
411
+			<div class="t-shade lyxz">
412
+				<div class="shade_k">
413
+					<div class="shade_title">
414
+						<span>录音播放与下载<srong class="cknum"></srong></span>
415
+						<span class="setwin gbly"><a>x</a></span>
416
+					</div>
417
+					<div class="shade_content">
418
+						<div class="Ly_box audiojs">
419
+						</div>
420
+					</div>
421
+				</div>
422
+			</div>
401 423
 			<input type="hidden" id="PID" />
402 424
 			<input type="hidden" id="Dpment" />
403 425
 		</div>
@@ -419,6 +441,11 @@
419 441
 					event: 'focus'
420 442
 				});
421 443
 			});
444
+			//关闭录音弹出
445
+			$(".gbly").click(function() {
446
+				$(".lyxz").removeClass("cx");
447
+				$('audio')[0].pause();
448
+			});
422 449
 
423 450
 			$("#orderlist").on("click-row.bs.table", function(e, row, ele) {
424 451
 				$('.success').removeClass('success'); //去除之前选中的行的,选中样式
@@ -731,12 +758,12 @@
731 758
 					area: ['60%', '80%'], //宽高
732 759
 				});
733 760
 			}
734
-			//诉求单结案
761
+			//强制结案
735 762
 			function StrongLawsuit(str) {
736 763
 				layer.open({
737 764
 					type: 2,
738 765
 					content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
739
-					title: '诉求单结案',
766
+					title: '强制结案',
740 767
 					area: ['60%', '80%'], //宽高
741 768
 				});
742 769
 			}
@@ -982,10 +1009,12 @@
982 1009
 					}
983 1010
 				};
984 1011
 				function zTreeOnClick(event, treeId, treeNode) {
985
-					$('.inps').val(treeNode.F_DeptName);
986
-					$("#PID").val(treeNode.F_DeptId);
987
-					$("#Dpment").val(treeNode.F_DeptName);
988
-					$(".Cleans").show();
1012
+					if(treeNode.level >= 2) {
1013
+						$('.inps').val(treeNode.F_DeptName);
1014
+						$("#PID").val(treeNode.F_DeptId);
1015
+						$("#Dpment").val(treeNode.F_DeptName);
1016
+						$(".Cleans").show();
1017
+					}
989 1018
 
990 1019
 				};
991 1020
 		</script>

+ 42 - 12
WebUI/CallCenterWeb.UI/Business/WorkYSQTH.html

@@ -268,7 +268,7 @@
268 268
 					<sapn>
269 269
 						<i class="syIcon"></i>位置:
270 270
 						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
271
-						<a href="javaScript:;">业务协同</a>&gt;
271
+						<a href="javaScript:;">业务监督</a>&gt;
272 272
 						<a class="nowPosition">已申请退回</a>
273 273
 					</sapn>
274 274
 				</div>
@@ -283,7 +283,7 @@
283 283
 						<div class="box_content">
284 284
 							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
285 285
 								<tr>
286
-									<th>关键字:</th>
286
+									<th>诉求标题:</th>
287 287
 									<td>
288 288
 										<input type="text" placeholder="输入关键字" id="key" class="Min-width" />
289 289
 									</td>
@@ -306,6 +306,7 @@
306 306
 									<td>
307 307
 										<select name="" id="state" class="select">
308 308
 											<option selected="selected" value="">请选择</option>
309
+											<option value="0">新工单</option>
309 310
 											<option value="1">待交办</option>
310 311
 											<option value="2">待查收</option>
311 312
 											<option value="3">退回审核中</option>
@@ -337,20 +338,26 @@
337 338
 									<td>
338 339
 										<input type="text" id="tel"  class="Min-width" />
339 340
 									</td>
340
-									<th>姓名:</th>
341
+									<th>投诉人:</th>
341 342
 									<td>
342 343
 										<input type="text" id="name"  class="Min-width"/>
343 344
 									</td>
344 345
 									
345 346
 								</tr>
346 347
 								<tr>
348
+									<th>坐席:</th>
349
+	                                <td>
350
+	                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
351
+											<option value="">请选择坐席</option>
352
+										</select>
353
+	                                </td>
347 354
 	                                <th>调度员:</th>
348 355
 	                                <td>
349 356
 	                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
350 357
 											<option value="">请选择调度员</option>
351 358
 										</select>
352 359
 	                                </td>
353
-									<th>办单位:</th>
360
+									<th>办单位:</th>
354 361
 									<td style="position: relative;">
355 362
 	                                    <div class="inpBox">
356 363
 	                                        <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -381,10 +388,12 @@
381 388
 										<th data-checkbox="true"></th>
382 389
 										<th data-field="F_WorkOrderId" data-align="center">工单单号</th>
383 390
 										<th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
384
-										<th data-field="DeptName" data-align="center">承办单位</th>
391
+										<th data-field="DeptName" data-align="center">主办单位</th>
392
+										<th data-field="OtherDeptName" data-align="center">协办单位</th>
385 393
 										<th data-field="UserName" data-align="center">受理人</th>
386 394
 										<th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
387
-										<th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
395
+										<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
396
+										<th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
388 397
 										<th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
389 398
 										<th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
390 399
 									</tr>
@@ -396,6 +405,19 @@
396 405
 				</div>
397 406
 			</div>
398 407
 
408
+			<!--下载框-->
409
+			<div class="t-shade lyxz">
410
+				<div class="shade_k">
411
+					<div class="shade_title">
412
+						<span>录音播放与下载<srong class="cknum"></srong></span>
413
+						<span class="setwin gbly"><a>x</a></span>
414
+					</div>
415
+					<div class="shade_content">
416
+						<div class="Ly_box audiojs">
417
+						</div>
418
+					</div>
419
+				</div>
420
+			</div>
399 421
 			<input type="hidden" id="PID" />
400 422
 			<input type="hidden" id="Dpment" />
401 423
 		</div>
@@ -419,6 +441,12 @@
419 441
 					event: 'focus'
420 442
 				});
421 443
 			});
444
+			//关闭录音弹出
445
+			$(".gbly").click(function() {
446
+				$(".lyxz").removeClass("cx");
447
+				$('audio')[0].pause();
448
+			});
449
+
422 450
 			$("#orderlist").on("click-row.bs.table", function(e, row, ele) {
423 451
 				$('.success').removeClass('success'); //去除之前选中的行的,选中样式
424 452
 				$(ele).addClass('success'); //添加当前选中的 success样式用于区别
@@ -731,12 +759,12 @@
731 759
 					area: ['60%', '80%'], //宽高
732 760
 				});
733 761
 			}
734
-			//诉求单结案
762
+			//强制结案
735 763
 			function StrongLawsuit(str) {
736 764
 				layer.open({
737 765
 					type: 2,
738 766
 					content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
739
-					title: '诉求单结案',
767
+					title: '强制结案',
740 768
 					area: ['60%', '80%'], //宽高
741 769
 				});
742 770
 			}
@@ -982,10 +1010,12 @@
982 1010
 					}
983 1011
 				};
984 1012
 				function zTreeOnClick(event, treeId, treeNode) {
985
-					$('.inps').val(treeNode.F_DeptName);
986
-					$("#PID").val(treeNode.F_DeptId);
987
-					$("#Dpment").val(treeNode.F_DeptName);
988
-					$(".Cleans").show();
1013
+					if(treeNode.level >= 2) {
1014
+						$('.inps').val(treeNode.F_DeptName);
1015
+						$("#PID").val(treeNode.F_DeptId);
1016
+						$("#Dpment").val(treeNode.F_DeptName);
1017
+						$(".Cleans").show();
1018
+					}
989 1019
 
990 1020
 				};
991 1021
 		</script>

+ 41 - 13
WebUI/CallCenterWeb.UI/Business/WorkYSQYS.html

@@ -268,7 +268,7 @@
268 268
 					<sapn>
269 269
 						<i class="syIcon"></i>位置:
270 270
 						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
271
-						<a href="javaScript:;">业务协同</a>&gt;
271
+						<a href="javaScript:;">业务监督</a>&gt;
272 272
 						<a class="nowPosition">已申请延时</a>
273 273
 					</sapn>
274 274
 				</div>
@@ -283,7 +283,7 @@
283 283
 						<div class="box_content">
284 284
 							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
285 285
 								<tr>
286
-									<th>关键字:</th>
286
+									<th>诉求标题:</th>
287 287
 									<td>
288 288
 										<input type="text" placeholder="输入关键字" id="key" class="Min-width" />
289 289
 									</td>
@@ -306,6 +306,7 @@
306 306
 									<td>
307 307
 										<select name="" id="state" class="select">
308 308
 											<option selected="selected" value="">请选择</option>
309
+											<option value="0">新工单</option>
309 310
 											<option value="1">待交办</option>
310 311
 											<option value="2">待查收</option>
311 312
 											<option value="3">退回审核中</option>
@@ -337,20 +338,26 @@
337 338
 									<td>
338 339
 										<input type="text" id="tel"  class="Min-width" />
339 340
 									</td>
340
-									<th>姓名:</th>
341
+									<th>投诉人:</th>
341 342
 									<td>
342 343
 										<input type="text" id="name"  class="Min-width"/>
343 344
 									</td>
344 345
 									
345 346
 								</tr>
346 347
 								<tr>
348
+									<th>坐席:</th>
349
+	                                <td>
350
+	                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
351
+											<option value="">请选择坐席</option>
352
+										</select>
353
+	                                </td>
347 354
 	                                <th>调度员:</th>
348 355
 	                                <td>
349 356
 	                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
350 357
 											<option value="">请选择调度员</option>
351 358
 										</select>
352 359
 	                                </td>
353
-									<th>办单位:</th>
360
+									<th>办单位:</th>
354 361
 									<td style="position: relative;">
355 362
 	                                    <div class="inpBox">
356 363
 	                                        <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -382,10 +389,12 @@
382 389
 										<th data-checkbox="true"></th>
383 390
 										<th data-field="F_WorkOrderId" data-align="center">工单单号</th>
384 391
 										<th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
385
-										<th data-field="DeptName" data-align="center">承办单位</th>
392
+										<th data-field="DeptName" data-align="center">主办单位</th>
393
+										<th data-field="OtherDeptName" data-align="center">协办单位</th>
386 394
 										<th data-field="UserName" data-align="center">受理人</th>
387 395
 										<th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
388
-										<th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
396
+										<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
397
+										<th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
389 398
 										<th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
390 399
 										<th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
391 400
 									</tr>
@@ -397,6 +406,19 @@
397 406
 				</div>
398 407
 			</div>
399 408
 
409
+			<!--下载框-->
410
+			<div class="t-shade lyxz">
411
+				<div class="shade_k">
412
+					<div class="shade_title">
413
+						<span>录音播放与下载<srong class="cknum"></srong></span>
414
+						<span class="setwin gbly"><a>x</a></span>
415
+					</div>
416
+					<div class="shade_content">
417
+						<div class="Ly_box audiojs">
418
+						</div>
419
+					</div>
420
+				</div>
421
+			</div>
400 422
 			<input type="hidden" id="PID" />
401 423
 			<input type="hidden" id="Dpment" />
402 424
 		</div>
@@ -420,7 +442,11 @@
420 442
 					event: 'focus'
421 443
 				});
422 444
 			});
423
-
445
+			//关闭录音弹出
446
+			$(".gbly").click(function() {
447
+				$(".lyxz").removeClass("cx");
448
+				$('audio')[0].pause();
449
+			});
424 450
 			$("#orderlist").on("click-row.bs.table", function(e, row, ele) {
425 451
 				$('.success').removeClass('success'); //去除之前选中的行的,选中样式
426 452
 				$(ele).addClass('success'); //添加当前选中的 success样式用于区别
@@ -732,12 +758,12 @@
732 758
 					area: ['60%', '80%'], //宽高
733 759
 				});
734 760
 			}
735
-			//诉求单结案
761
+			//强制结案
736 762
 			function StrongLawsuit(str) {
737 763
 				layer.open({
738 764
 					type: 2,
739 765
 					content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
740
-					title: '诉求单结案',
766
+					title: '强制结案',
741 767
 					area: ['60%', '80%'], //宽高
742 768
 				});
743 769
 			}
@@ -984,10 +1010,12 @@
984 1010
 					}
985 1011
 				};
986 1012
 				function zTreeOnClick(event, treeId, treeNode) {
987
-					$('.inps').val(treeNode.F_DeptName);
988
-					$("#PID").val(treeNode.F_DeptId);
989
-					$("#Dpment").val(treeNode.F_DeptName);
990
-					$(".Cleans").show();
1013
+					if(treeNode.level >= 2) {
1014
+						$('.inps').val(treeNode.F_DeptName);
1015
+						$("#PID").val(treeNode.F_DeptId);
1016
+						$("#Dpment").val(treeNode.F_DeptName);
1017
+						$(".Cleans").show();
1018
+					}
991 1019
 
992 1020
 				};
993 1021
 		</script>

File diff suppressed because it is too large
+ 977 - 972
WebUI/CallCenterWeb.UI/Business/WorkYSSH.html


+ 40 - 12
WebUI/CallCenterWeb.UI/Business/ZXDCL.html

@@ -268,7 +268,7 @@
268 268
 					<sapn>
269 269
 						<i class="syIcon"></i>位置:
270 270
 						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
271
-						<a href="javaScript:;">业务协同</a>&gt;
271
+						<a href="javaScript:;">业务监督</a>&gt;
272 272
 						<a class="nowPosition">坐席待处理</a>
273 273
 					</sapn>
274 274
 				</div>
@@ -283,7 +283,7 @@
283 283
 						<div class="box_content">
284 284
 							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
285 285
 								<tr>
286
-									<th>关键字:</th>
286
+									<th>诉求标题:</th>
287 287
 									<td>
288 288
 										<input type="text" placeholder="输入关键字" id="key" class="Min-width" />
289 289
 									</td>
@@ -332,20 +332,26 @@
332 332
 									<td>
333 333
 										<input type="text" id="tel"  class="Min-width" />
334 334
 									</td>
335
-									<th>姓名:</th>
335
+									<th>投诉人:</th>
336 336
 									<td>
337 337
 										<input type="text" id="name"  class="Min-width"/>
338 338
 									</td>
339 339
 									
340 340
 								</tr>
341 341
 								<tr>
342
+									<th>坐席:</th>
343
+	                                <td>
344
+	                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
345
+											<option value="">请选择坐席</option>
346
+										</select>
347
+	                                </td>
342 348
 	                                <th>调度员:</th>
343 349
 	                                <td>
344 350
 	                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
345 351
 											<option value="">请选择调度员</option>
346 352
 										</select>
347 353
 	                                </td>
348
-									<th>办单位:</th>
354
+									<th>办单位:</th>
349 355
 									<td style="position: relative;">
350 356
 	                                    <div class="inpBox">
351 357
 	                                        <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -378,10 +384,12 @@
378 384
 										<th data-checkbox="true"></th>
379 385
 										<th data-field="F_WorkOrderId" data-align="center">工单单号</th>
380 386
 										<th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
381
-										<th data-field="DeptName" data-align="center">承办单位</th>
387
+										<th data-field="DeptName" data-align="center">主办单位</th>
388
+										<th data-field="OtherDeptName" data-align="center">协办单位</th>
382 389
 										<th data-field="UserName" data-align="center">受理人</th>
383 390
 										<th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
384
-										<th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
391
+										<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
392
+										<th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
385 393
 										<th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
386 394
 										<th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
387 395
 									</tr>
@@ -393,6 +401,19 @@
393 401
 				</div>
394 402
 			</div>
395 403
 
404
+			<!--下载框-->
405
+			<div class="t-shade lyxz">
406
+				<div class="shade_k">
407
+					<div class="shade_title">
408
+						<span>录音播放与下载<srong class="cknum"></srong></span>
409
+						<span class="setwin gbly"><a>x</a></span>
410
+					</div>
411
+					<div class="shade_content">
412
+						<div class="Ly_box audiojs">
413
+						</div>
414
+					</div>
415
+				</div>
416
+			</div>
396 417
 			<input type="hidden" id="PID" />
397 418
 			<input type="hidden" id="Dpment" />
398 419
 		</div>
@@ -418,6 +439,11 @@
418 439
 					event: 'focus'
419 440
 				});
420 441
 			});
442
+			//关闭录音弹出
443
+			$(".gbly").click(function() {
444
+				$(".lyxz").removeClass("cx");
445
+				$('audio')[0].pause();
446
+			});
421 447
 			$("#orderlist").on("click-row.bs.table", function(e, row, ele) {
422 448
 				$('.success').removeClass('success'); //去除之前选中的行的,选中样式
423 449
 				$(ele).addClass('success'); //添加当前选中的 success样式用于区别
@@ -729,12 +755,12 @@
729 755
 					area: ['35%', '30%'], //宽高
730 756
 				});
731 757
 			}
732
-			//诉求单结案
758
+			//强制结案
733 759
 			function StrongLawsuit(str) {
734 760
 				layer.open({
735 761
 					type: 2,
736 762
 					content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
737
-					title: '诉求单结案',
763
+					title: '强制结案',
738 764
 					area: ['45%', '52%'], //宽高
739 765
 				});
740 766
 			}
@@ -981,10 +1007,12 @@
981 1007
 					}
982 1008
 				};
983 1009
 				function zTreeOnClick(event, treeId, treeNode) {
984
-					$('.inps').val(treeNode.F_DeptName);
985
-					$("#PID").val(treeNode.F_DeptId);
986
-					$("#Dpment").val(treeNode.F_DeptName);
987
-					$(".Cleans").show();
1010
+					if(treeNode.level >= 2) {
1011
+						$('.inps').val(treeNode.F_DeptName);
1012
+						$("#PID").val(treeNode.F_DeptId);
1013
+						$("#Dpment").val(treeNode.F_DeptName);
1014
+						$(".Cleans").show();
1015
+					}
988 1016
 
989 1017
 				};
990 1018
 		</script>

+ 43 - 12
WebUI/CallCenterWeb.UI/Business/ZXDCLs.html

@@ -267,7 +267,7 @@
267 267
 					<sapn>
268 268
 						<i class="syIcon"></i>位置:
269 269
 						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
270
-						<a href="javaScript:;">业务协同</a>&gt;
270
+						<a href="javaScript:;">业务监督</a>&gt;
271 271
 						<a class="nowPosition">其他来源待处理</a>
272 272
 					</sapn>
273 273
 				</div>
@@ -282,7 +282,7 @@
282 282
 						<div class="box_content">
283 283
 							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
284 284
 								<tr>
285
-									<th>关键字:</th>
285
+									<th>诉求标题:</th>
286 286
 									<td>
287 287
 										<input type="text" placeholder="输入关键字" id="key" class="Min-width" />
288 288
 									</td>
@@ -305,6 +305,7 @@
305 305
 									<td>
306 306
 										<select name="" id="state" class="select">
307 307
 											<option selected="selected" value="">请选择</option>
308
+											<option value="0">新工单</option>
308 309
 											<option value="1">待交办</option>
309 310
 											<option value="2">待查收</option>
310 311
 											<option value="3">退回审核中</option>
@@ -336,19 +337,25 @@
336 337
 									<td>
337 338
 										<input type="text" id="tel"  class="Min-width" />
338 339
 									</td>
339
-									<th>姓名:</th>
340
+									<th>投诉人:</th>
340 341
 									<td>
341 342
 										<input type="text" id="name"  class="Min-width"/>
342 343
 									</td>
343
-								</tr>
344
+=								</tr>
344 345
 								<tr>
346
+									<th>坐席:</th>
347
+	                                <td>
348
+	                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
349
+											<option value="">请选择坐席</option>
350
+										</select>
351
+	                                </td>
345 352
 	                                <th>调度员:</th>
346 353
 	                                <td>
347 354
 	                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
348 355
 											<option value="">请选择调度员</option>
349 356
 										</select>
350 357
 	                                </td>
351
-									<th>办单位:</th>
358
+									<th>办单位:</th>
352 359
 									<td style="position: relative;">
353 360
 	                                    <div class="inpBox">
354 361
 	                                        <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -380,10 +387,14 @@
380 387
 										<th data-checkbox="true"></th>
381 388
 										<th data-field="F_WorkOrderId" data-align="center">工单单号</th>
382 389
 										<th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
383
-										<th data-field="DeptName" data-align="center">承办单位</th>
390
+										<th data-field="DeptName" data-align="center">主办单位</th>
391
+										<th data-field="OtherDeptName" data-align="center">协办单位</th>
384 392
 										<th data-field="UserName" data-align="center">受理人</th>
385 393
 										<th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
394
+										<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
386 395
 										<th data-field="SourceName" data-align="center">来源</th>
396
+										<!--<th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
397
+										<th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>-->
387 398
 										<th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
388 399
 									</tr>
389 400
 								</thead>
@@ -394,6 +405,19 @@
394 405
 				</div>
395 406
 			</div>
396 407
 
408
+			<!--下载框-->
409
+			<div class="t-shade lyxz">
410
+				<div class="shade_k">
411
+					<div class="shade_title">
412
+						<span>录音播放与下载<srong class="cknum"></srong></span>
413
+						<span class="setwin gbly"><a>x</a></span>
414
+					</div>
415
+					<div class="shade_content">
416
+						<div class="Ly_box audiojs">
417
+						</div>
418
+					</div>
419
+				</div>
420
+			</div>
397 421
 			<input type="hidden" id="PID" />
398 422
 			<input type="hidden" id="Dpment" />
399 423
 		</div>
@@ -415,6 +439,11 @@
415 439
 					event: 'focus'
416 440
 				});
417 441
 			});
442
+			//关闭录音弹出
443
+			$(".gbly").click(function() {
444
+				$(".lyxz").removeClass("cx");
445
+				$('audio')[0].pause();
446
+			});
418 447
 
419 448
 			$("#orderlist").on("click-row.bs.table", function(e, row, ele) {
420 449
 				$('.success').removeClass('success'); //去除之前选中的行的,选中样式
@@ -728,12 +757,12 @@
728 757
 					area: ['35%', '30%'], //宽高
729 758
 				});
730 759
 			}
731
-			//诉求单结案
760
+			//强制结案
732 761
 			function StrongLawsuit(str) {
733 762
 				layer.open({
734 763
 					type: 2,
735 764
 					content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
736
-					title: '诉求单结案',
765
+					title: '强制结案',
737 766
 					area: ['45%', '52%'], //宽高
738 767
 				});
739 768
 			}
@@ -980,10 +1009,12 @@
980 1009
 					}
981 1010
 				};
982 1011
 				function zTreeOnClick(event, treeId, treeNode) {
983
-					$('.inps').val(treeNode.F_DeptName);
984
-					$("#PID").val(treeNode.F_DeptId);
985
-					$("#Dpment").val(treeNode.F_DeptName);
986
-					$(".Cleans").show();
1012
+					if(treeNode.level >= 2) {
1013
+						$('.inps').val(treeNode.F_DeptName);
1014
+						$("#PID").val(treeNode.F_DeptId);
1015
+						$("#Dpment").val(treeNode.F_DeptName);
1016
+						$(".Cleans").show();
1017
+					}
987 1018
 
988 1019
 				};
989 1020
 		</script>

+ 42 - 11
WebUI/CallCenterWeb.UI/Business/ZXYHF.html

@@ -269,7 +269,7 @@
269 269
 					<sapn>
270 270
 						<i class="syIcon"></i>位置:
271 271
 						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
272
-						<a href="javaScript:;">业务协同</a>&gt;
272
+						<a href="javaScript:;">业务监督</a>&gt;
273 273
 						<a class="nowPosition">坐席已回访</a>
274 274
 					</sapn>
275 275
 				</div>
@@ -284,7 +284,7 @@
284 284
 						<div class="box_content">
285 285
 							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
286 286
 								<tr>
287
-									<th>关键字:</th>
287
+									<th>诉求标题:</th>
288 288
 									<td>
289 289
 										<input type="text" placeholder="请输入关键字" id="key" class="Min-width" />
290 290
 									</td>
@@ -307,6 +307,7 @@
307 307
 									<td>
308 308
 										<select name="" id="state" class="select">
309 309
 											<option selected="selected" value="">请选择</option>
310
+											<option value="0">新工单</option>
310 311
 											<option value="1">待交办</option>
311 312
 											<option value="2">待查收</option>
312 313
 											<option value="3">退回审核中</option>
@@ -338,19 +339,25 @@
338 339
 									<td>
339 340
 										<input type="text" id="tel"  class="Min-width" />
340 341
 									</td>
341
-									<th>姓名:</th>
342
+									<th>投诉人:</th>
342 343
 									<td>
343 344
 										<input type="text" id="name"  class="Min-width"/>
344 345
 									</td>
345 346
 								</tr>
346 347
 								<tr>
348
+									<th>坐席:</th>
349
+	                                <td>
350
+	                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
351
+											<option value="">请选择坐席</option>
352
+										</select>
353
+	                                </td>
347 354
 	                                <th>调度员:</th>
348 355
 	                                <td>
349 356
 	                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
350 357
 											<option value="">请选择调度员</option>
351 358
 										</select>
352 359
 	                                </td>
353
-									<th>办单位:</th>
360
+									<th>办单位:</th>
354 361
 									<td style="position: relative;">
355 362
 	                                    <div class="inpBox">
356 363
 	                                        <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -382,9 +389,12 @@
382 389
 										<th data-checkbox="true"></th>
383 390
 										<th data-field="F_WorkOrderId" data-align="center">工单单号</th>
384 391
 										<th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
385
-										<th data-field="DeptName" data-align="center">承办单位</th>
392
+										<th data-field="DeptName" data-align="center">主办单位</th>
393
+										<th data-field="OtherDeptName" data-align="center">协办单位</th>
386 394
 										<th data-field="UserName" data-align="center">受理人</th>
387 395
 										<th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
396
+										<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
397
+										<th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
388 398
 										<th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
389 399
 										<th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
390 400
 									</tr>
@@ -396,6 +406,19 @@
396 406
 				</div>
397 407
 			</div>
398 408
 
409
+			<!--下载框-->
410
+			<div class="t-shade lyxz">
411
+				<div class="shade_k">
412
+					<div class="shade_title">
413
+						<span>录音播放与下载<srong class="cknum"></srong></span>
414
+						<span class="setwin gbly"><a>x</a></span>
415
+					</div>
416
+					<div class="shade_content">
417
+						<div class="Ly_box audiojs">
418
+						</div>
419
+					</div>
420
+				</div>
421
+			</div>
399 422
 			<input type="hidden" id="PID" />
400 423
 			<input type="hidden" id="Dpment" />
401 424
 		</div>
@@ -417,6 +440,12 @@
417 440
 					event: 'focus'
418 441
 				});
419 442
 			});
443
+			//关闭录音弹出
444
+			$(".gbly").click(function() {
445
+				$(".lyxz").removeClass("cx");
446
+				$('audio')[0].pause();
447
+			});
448
+
420 449
 			$("#orderlist").on("click-row.bs.table", function(e, row, ele) {
421 450
 				$('.success').removeClass('success'); //去除之前选中的行的,选中样式
422 451
 				$(ele).addClass('success'); //添加当前选中的 success样式用于区别
@@ -729,12 +758,12 @@
729 758
 					area: ['35%', '30%'], //宽高
730 759
 				});
731 760
 			}
732
-			//诉求单结案
761
+			//强制结案
733 762
 			function StrongLawsuit(str) {
734 763
 				layer.open({
735 764
 					type: 2,
736 765
 					content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
737
-					title: '诉求单结案',
766
+					title: '强制结案',
738 767
 					area: ['45%', '52%'], //宽高
739 768
 				});
740 769
 			}
@@ -981,10 +1010,12 @@
981 1010
 					}
982 1011
 				};
983 1012
 				function zTreeOnClick(event, treeId, treeNode) {
984
-					$('.inps').val(treeNode.F_DeptName);
985
-					$("#PID").val(treeNode.F_DeptId);
986
-					$("#Dpment").val(treeNode.F_DeptName);
987
-					$(".Cleans").show();
1013
+					if(treeNode.level >= 2) {
1014
+						$('.inps').val(treeNode.F_DeptName);
1015
+						$("#PID").val(treeNode.F_DeptId);
1016
+						$("#Dpment").val(treeNode.F_DeptName);
1017
+						$(".Cleans").show();
1018
+					}
988 1019
 
989 1020
 				};
990 1021
 		</script>

+ 23 - 3
WebUI/CallCenterWeb.UI/Business/ZXYHFs.html

@@ -175,7 +175,7 @@
175 175
 						<div class="box_content">
176 176
 							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
177 177
 								<tr>
178
-									<th>关键字:</th>
178
+									<th>诉求标题:</th>
179 179
 									<td>
180 180
 										<input type="text" placeholder="输入关键字" id="key" />
181 181
 									</td>
@@ -201,6 +201,7 @@
201 201
 										<th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
202 202
 										<th data-field="UserName" data-align="center">受理人</th>
203 203
 										<th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
204
+										<th data-field="e" data-formatter="setCode" data-align="center">录音</th>
204 205
 										<th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
205 206
 									</tr>
206 207
 								</thead>
@@ -211,6 +212,19 @@
211 212
 				</div>
212 213
 			</div>
213 214
 
215
+			<!--下载框-->
216
+			<div class="t-shade lyxz">
217
+				<div class="shade_k">
218
+					<div class="shade_title">
219
+						<span>录音播放与下载<srong class="cknum"></srong></span>
220
+						<span class="setwin gbly"><a>x</a></span>
221
+					</div>
222
+					<div class="shade_content">
223
+						<div class="Ly_box audiojs">
224
+						</div>
225
+					</div>
226
+				</div>
227
+			</div>
214 228
 		</div>
215 229
 		<script src="../css/laydate/laydate.js"></script>
216 230
 		<script src="../My97DatePicker/WdatePicker.js"></script>
@@ -268,6 +282,12 @@
268 282
 				})
269 283
 
270 284
 			});
285
+			//关闭录音弹出
286
+			$(".gbly").click(function() {
287
+				$(".lyxz").removeClass("cx");
288
+				$('audio')[0].pause();
289
+			});
290
+
271 291
 			$("#orderlist").on("click-row.bs.table", function(e, row, ele) {
272 292
 				$('.success').removeClass('success'); //去除之前选中的行的,选中样式
273 293
 				$(ele).addClass('success'); //添加当前选中的 success样式用于区别
@@ -511,12 +531,12 @@
511 531
 					area: ['35%', '30%'], //宽高
512 532
 				});
513 533
 			}
514
-			//诉求单结案
534
+			//强制结案
515 535
 			function StrongLawsuit(str) {
516 536
 				layer.open({
517 537
 					type: 2,
518 538
 					content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
519
-					title: '诉求单结案',
539
+					title: '诉求单强制结案',
520 540
 					area: ['35%', '30%'], //宽高
521 541
 				});
522 542
 			}

+ 43 - 13
WebUI/CallCenterWeb.UI/Business/ZXYTJ.html

@@ -267,7 +267,7 @@
267 267
 					<sapn>
268 268
 						<i class="syIcon"></i>位置:
269 269
 						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
270
-						<a href="javaScript:;">业务协同</a>&gt;
270
+						<a href="javaScript:;">业务监督</a>&gt;
271 271
 						<a class="nowPosition">坐席已提交</a>
272 272
 					</sapn>
273 273
 				</div>
@@ -282,9 +282,9 @@
282 282
 						<div class="box_content">
283 283
 							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
284 284
 								<tr>
285
-									<th>关键字:</th>
285
+									<th>诉求标题:</th>
286 286
 									<td>
287
-										<input type="text" placeholder="输入关键字" id="key" class="Min-width" />
287
+										<input type="text" placeholder="输入诉求标题" id="key" class="Min-width" />
288 288
 									</td>
289 289
 									<th>工单号:</th>
290 290
 									<td>
@@ -305,6 +305,7 @@
305 305
 									<td>
306 306
 										<select name="" id="state" class="select">
307 307
 											<option selected="selected" value="">请选择</option>
308
+											<option value="0">新工单</option>
308 309
 											<option value="1">待交办</option>
309 310
 											<option value="2">待查收</option>
310 311
 											<option value="3">退回审核中</option>
@@ -337,19 +338,25 @@
337 338
 									<td>
338 339
 										<input type="text" id="tel"  class="Min-width" />
339 340
 									</td>
340
-									<th>姓名:</th>
341
+									<th>投诉人:</th>
341 342
 									<td>
342 343
 										<input type="text" id="name"  class="Min-width"/>
343 344
 									</td>
344 345
 								</tr>
345 346
 								<tr>
347
+									<th>坐席:</th>
348
+	                                <td>
349
+	                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
350
+											<option value="">请选择坐席</option>
351
+										</select>
352
+	                                </td>
346 353
 	                                <th>调度员:</th>
347 354
 	                                <td>
348 355
 	                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
349 356
 											<option value="">请选择调度员</option>
350 357
 										</select>
351 358
 	                                </td>
352
-									<th>办单位:</th>
359
+									<th>办单位:</th>
353 360
 									<td style="position: relative;">
354 361
 	                                    <div class="inpBox">
355 362
 	                                        <input type="text" class="inps" onkeyup="darptSearch()"/>
@@ -381,10 +388,12 @@
381 388
 										<th data-checkbox="true"></th>
382 389
 										<th data-field="F_WorkOrderId" data-align="center">工单单号</th>
383 390
 										<th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
384
-										<th data-field="DeptName" data-align="center">承办单位</th>
391
+										<th data-field="DeptName" data-align="center">主办单位</th>
392
+										<th data-field="OtherDeptName" data-align="center">协办单位</th>
385 393
 										<th data-field="UserName" data-align="center">受理人</th>
386 394
 										<th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
387
-										<th data-field="OverState" data-formatter="OverTime" data-align="center">预警时效</th>
395
+										<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
396
+										<th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
388 397
 										<th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
389 398
 										<th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
390 399
 									</tr>
@@ -396,6 +405,19 @@
396 405
 				</div>
397 406
 			</div>
398 407
 
408
+			<!--下载框-->
409
+			<div class="t-shade lyxz">
410
+				<div class="shade_k">
411
+					<div class="shade_title">
412
+						<span>录音播放与下载<srong class="cknum"></srong></span>
413
+						<span class="setwin gbly"><a>x</a></span>
414
+					</div>
415
+					<div class="shade_content">
416
+						<div class="Ly_box audiojs">
417
+						</div>
418
+					</div>
419
+				</div>
420
+			</div>
399 421
 			<input type="hidden" id="PID" />
400 422
 			<input type="hidden" id="Dpment" />
401 423
 		</div>
@@ -439,6 +461,12 @@
439 461
                	$("#Dpment").val("");
440 462
                })
441 463
 			});
464
+			//关闭录音弹出
465
+			$(".gbly").click(function() {
466
+				$(".lyxz").removeClass("cx");
467
+				$('audio')[0].pause();
468
+			});
469
+
442 470
 			$("#orderlist").on("click-row.bs.table", function(e, row, ele) {
443 471
 				$('.success').removeClass('success'); //去除之前选中的行的,选中样式
444 472
 				$(ele).addClass('success'); //添加当前选中的 success样式用于区别
@@ -751,12 +779,12 @@
751 779
 					area: ['35%', '30%'], //宽高
752 780
 				});
753 781
 			}
754
-			//诉求单结案
782
+			//强制结案
755 783
 			function StrongLawsuit(str) {
756 784
 				layer.open({
757 785
 					type: 2,
758 786
 					content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
759
-					title: '诉求单结案',
787
+					title: '强制结案',
760 788
 					area: ['45%', '52%'], //宽高
761 789
 				});
762 790
 			}
@@ -1003,10 +1031,12 @@
1003 1031
 					}
1004 1032
 				};
1005 1033
 				function zTreeOnClick(event, treeId, treeNode) {
1006
-					$('.inps').val(treeNode.F_DeptName);
1007
-					$("#PID").val(treeNode.F_DeptId);
1008
-					$("#Dpment").val(treeNode.F_DeptName);
1009
-					$(".Cleans").show();
1034
+					if(treeNode.level >= 2) {
1035
+						$('.inps').val(treeNode.F_DeptName);
1036
+						$("#PID").val(treeNode.F_DeptId);
1037
+						$("#Dpment").val(treeNode.F_DeptName);
1038
+						$(".Cleans").show();
1039
+					}
1010 1040
 
1011 1041
 				};
1012 1042
 		</script>

+ 22 - 3
WebUI/CallCenterWeb.UI/Business/ZXYTJs.html

@@ -175,7 +175,7 @@
175 175
 						<div class="box_content">
176 176
 							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
177 177
 								<tr>
178
-									<th>关键字:</th>
178
+									<th>诉求标题:</th>
179 179
 									<td>
180 180
 										<input type="text" placeholder="输入关键字" id="key" />
181 181
 									</td>
@@ -206,6 +206,7 @@
206 206
 										<th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
207 207
 										<th data-field="UserName" data-align="center">受理人</th>
208 208
 										<th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
209
+										<th data-field="e" data-formatter="setCode" data-align="center">录音</th>
209 210
 										<th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
210 211
 									</tr>
211 212
 								</thead>
@@ -216,6 +217,19 @@
216 217
 				</div>
217 218
 			</div>
218 219
 
220
+			<!--下载框-->
221
+			<div class="t-shade lyxz">
222
+				<div class="shade_k">
223
+					<div class="shade_title">
224
+						<span>录音播放与下载<srong class="cknum"></srong></span>
225
+						<span class="setwin gbly"><a>x</a></span>
226
+					</div>
227
+					<div class="shade_content">
228
+						<div class="Ly_box audiojs">
229
+						</div>
230
+					</div>
231
+				</div>
232
+			</div>
219 233
 		</div>
220 234
 		<script src="../css/laydate/laydate.js"></script>
221 235
 		<script src="../My97DatePicker/WdatePicker.js"></script>
@@ -273,6 +287,11 @@
273 287
 				})
274 288
 
275 289
 			});
290
+			//关闭录音弹出
291
+			$(".gbly").click(function() {
292
+				$(".lyxz").removeClass("cx");
293
+				$('audio')[0].pause();
294
+			});
276 295
 
277 296
 			$("#orderlist").on("click-row.bs.table", function(e, row, ele) {
278 297
 				$('.success').removeClass('success'); //去除之前选中的行的,选中样式
@@ -517,12 +536,12 @@
517 536
 					area: ['35%', '30%'], //宽高
518 537
 				});
519 538
 			}
520
-			//诉求单结案
539
+			//强制结案
521 540
 			function StrongLawsuit(str) {
522 541
 				layer.open({
523 542
 					type: 2,
524 543
 					content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
525
-					title: '诉求单结案',
544
+					title: '诉求单强制结案',
526 545
 					area: ['35%', '30%'], //宽高
527 546
 				});
528 547
 			}

+ 28 - 8
WebUI/CallCenterWeb.UI/Business/notifiedList.html

@@ -167,7 +167,7 @@
167 167
 					<sapn>
168 168
 						<i class="syIcon"></i>位置:
169 169
 						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
170
-						<a href="javaScript:;">业务协同</a>&gt;
170
+						<a href="javaScript:;">业务监督</a>&gt;
171 171
 						<a href="" class="nowPosition">已通报列表</a>
172 172
 					</sapn>
173 173
 				</div>
@@ -182,9 +182,9 @@
182 182
 						<div class="box_content">
183 183
 							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
184 184
 								<tr>
185
-									<th>关键字:</th>
185
+									<th>诉求标题:</th>
186 186
 									<td>
187
-										<input type="text" placeholder="输入关键字" id="key" class="Min-width" />
187
+										<input type="text" placeholder="输入诉求标题" id="key" class="Min-width" />
188 188
 									</td>
189 189
 									<th>工单号:</th>
190 190
 									<td>
@@ -221,13 +221,19 @@
221 221
 									</td>
222 222
 								</tr>
223 223
 								<tr>
224
+									<th>坐席:</th>
225
+	                                <td>
226
+	                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
227
+											<option value="">请选择坐席</option>
228
+										</select>
229
+	                                </td>
224 230
 	                                <th>调度员:</th>
225 231
 	                                <td>
226 232
 	                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
227 233
 											<option value="">请选择调度员</option>
228 234
 										</select>
229 235
 	                                </td>
230
-	                                <th>姓名:</th>
236
+	                                <th>投诉人:</th>
231 237
 									<td colspan="3">
232 238
 										<input type="text" id="name"  class="Min-width"/>
233 239
 									</td>
@@ -245,9 +251,11 @@
245 251
 									<tr>
246 252
 										<th data-field="F_WorkOrderId" data-align="center">工单单号</th>
247 253
 										<th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
248
-										<th data-field="DeptName" data-align="center">承办单位</th>
254
+										<th data-field="DeptName" data-align="center">主办单位</th>
255
+										<th data-field="OtherDeptName" data-align="center">协办单位</th>
249 256
 										<th data-field="NoticeDeptName" data-align="center">通报单位</th>
250 257
 										<th data-field="NoticeReson" data-formatter="GetCont" data-align="center">通报原因</th>
258
+										<th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
251 259
 										<th data-formatter="Dispose" data-align="center" data-width="10%">操作</th>
252 260
 									</tr>
253 261
 								</thead>
@@ -257,7 +265,19 @@
257 265
 					</div>
258 266
 				</div>
259 267
 			</div>
260
-
268
+			<!--下载框-->
269
+			<div class="t-shade lyxz">
270
+				<div class="shade_k">
271
+					<div class="shade_title">
272
+						<span>录音播放与下载<srong class="cknum"></srong></span>
273
+						<span class="setwin gbly"><a>x</a></span>
274
+					</div>
275
+					<div class="shade_content">
276
+						<div class="Ly_box audiojs">
277
+						</div>
278
+					</div>
279
+				</div>
280
+			</div>
261 281
 		</div>
262 282
 		<script src="../js/bootstrap-select.js"></script>
263 283
 	    <script src="../css/laydate/laydate.js"></script>
@@ -358,8 +378,8 @@
358 378
                         ddusercode: ddusercodeID,
359 379
         				keyid: $('#keyid').val(),//关键词id
360 380
         				source: $("#source").val(),//来源
361
-        				// usercode: $("#ZX").val(), //=坐席工号
362
-                        // ddusercode: $("#yardman").val(),
381
+        				usercode: $("#ZX").val(), //=坐席工号
382
+                        ddusercode: $("#yardman").val(),
363 383
         				sourcearea:$('#sourceAreas').val(),//区域
364 384
 						token: $.cookie("token")
365 385
 					};

+ 3 - 3
WebUI/CallCenterWeb.UI/Business/spotDist.html

@@ -210,7 +210,7 @@
210 210
 						<i class="syIcon"></i>位置:
211 211
 						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
212 212
 						<a href="javaScript:;">业务统计</a>&gt;
213
-						<a class="nowPosition">工单热点分布</a>
213
+						<a class="nowPosition">工单报表</a>
214 214
 					</sapn>
215 215
 				</div>
216 216
 				<div class="dhRight">
@@ -226,7 +226,7 @@
226 226
 								<div class="toolLeft">
227 227
 									<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
228 228
 	                           	 		<tr>
229
-	                           	 			<th>关键字:</th>
229
+	                           	 			<th>诉求标题:</th>
230 230
 			                                <td>
231 231
 			                                    <input type="text" placeholder="输入关键字" id="key" class="Min-width" />
232 232
 			                                </td>
@@ -243,7 +243,7 @@
243 243
 			                                <td >
244 244
 			                                    <input type="text" id="starttime" placeholder="请选择7天内的时间" style="height: 32px; width: 200px;" />
245 245
 			                                </td>
246
-			                                <th>办单位:</th>
246
+			                                <th>办单位:</th>
247 247
 			                                <td style="position: relative; width: 220px;">
248 248
 			                                    <div class="inpBox">
249 249
 			                                        <input type="text" class="inps" onkeyup="darptSearch()"/>

+ 19 - 12
WebUI/CallCenterWeb.UI/CommonHtml/AddAppeal.html

@@ -52,13 +52,20 @@
52 52
                         <td>
53 53
                             <select class="select_" id="source"></select>
54 54
                         </td>
55
-                        <!-- <th class="Importent">投诉电话:</th>
55
+                        <th class="Importent">投诉电话:</th>
56 56
                         <td>
57 57
                             <input type="text" id="cusphone" />
58
-                        </td> -->
58
+                        </td>
59 59
                     </tr>
60 60
                     <tr>
61
-                        
61
+                        <th>邮箱:</th>
62
+                        <td>
63
+                            <input type="text" id="email" />
64
+                        </td>
65
+                        <th>邮编:</th>
66
+                        <td>
67
+                            <input type="text" id="zipcode" />
68
+                        </td>
62 69
                         <th>联系电话:</th>
63 70
                         <td>
64 71
                             <input type="text" id="conphone" />
@@ -88,7 +95,7 @@
88 95
                         	<input id="sourceaddress" type="text" placeholder="输入详细地址" style="width:50%; padding-left: 15px;" />
89 96
                     	</td>
90 97
                     </tr>
91
-                    <!--<tr>
98
+                    <tr>
92 99
                         <th class="Importent"></th>
93 100
                         <td colspan="7">
94 101
                         	<div style="width:710px">
@@ -97,7 +104,7 @@
97 104
         						<input type="hidden" class="store_Lat" value="34.395449"/>
98 105
 				            </div>
99 106
                     	</td>
100
-                    </tr>-->
107
+                    </tr>
101 108
                     <tr>
102 109
                         <th>附件上传:</th>
103 110
                         <td colspan="7">
@@ -228,10 +235,10 @@
228 235
 	                        $('#email').val(Data[0].F_Email);
229 236
 	                        $("#zipcode").val(Data[0].F_ZipCode);
230 237
 	                        $("#result").val(Data[0].F_Result);
231
-//	                        if (Data[0].F_Longitude) {
232
-//	                        	$(".store_Lng").val(Data[0].F_Longitude);
233
-//	                        	$(".store_Lat").val(Data[0].F_Latitude);
234
-//	                        }
238
+	                        if (Data[0].F_Longitude) {
239
+	                        	$(".store_Lng").val(Data[0].F_Longitude);
240
+	                        	$(".store_Lat").val(Data[0].F_Latitude);
241
+	                        }
235 242
 	                        //x性别
236 243
 	                        $("#SEX option:selected").val(Data[0].F_CusSex + '');
237 244
 	                        if (Data[0].F_CusSex=="0") {
@@ -289,8 +296,8 @@
289 296
             var content = $("#content").val();
290 297
             if (!$("#cusname").val()) {
291 298
                 layer.msg("请输入姓名");
292
-            // } else if (!$("#cusphone").val()) {
293
-            //     layer.msg("请输入投诉电话");
299
+            } else if (!$("#cusphone").val()) {
300
+                layer.msg("请输入投诉电话");
294 301
             } else if (!$("#title").val()) {
295 302
                 layer.msg("请输入标题");
296 303
             } else if (!$("#content").val()) {
@@ -445,7 +452,7 @@
445 452
             		if (data.state.toLowerCase() == "success") {
446 453
 	                    var content = data.data;
447 454
 	                    $(content).each(function (i, n) {
448
-	                        if (n.F_AreaName != '巩义市') {
455
+	                        if (n.F_AreaName != '商丘市') {
449 456
 	                            $("<option value='" + n.F_AreaId + "'>" + n.F_AreaName + "</option>").appendTo(obj);
450 457
 	                        }
451 458
 	                    })

+ 1 - 1
WebUI/CallCenterWeb.UI/CommonHtml/AddAppeals.html

@@ -381,7 +381,7 @@
381 381
                 if (data.state.toLowerCase() == "success") {
382 382
                     var content = data.data;
383 383
                     $(content).each(function (i, n) {
384
-                        if (n.F_AreaName != '巩义市') {
384
+                        if (n.F_AreaName != '商丘市') {
385 385
                             $("<option value='" + n.F_AreaId + "'>" + n.F_AreaName + "</option>").appendTo(obj);
386 386
                         }
387 387
                     })

+ 1 - 1
WebUI/CallCenterWeb.UI/CommonHtml/AppealDeal.html

@@ -19,7 +19,7 @@
19 19
 				</td>
20 20
 			</tr>
21 21
 			<tr>
22
-				<th class="Importent">办单位:</th>
22
+				<th class="Importent">办单位:</th>
23 23
 				<td colspan="2"><textarea data-adaptheight name="" rows="" cols=""></textarea></td>
24 24
 			</tr>
25 25
 			<tr>

+ 14 - 90
WebUI/CallCenterWeb.UI/CommonHtml/Back.html

@@ -6,37 +6,6 @@
6 6
     <script src="../Script/Common/huayi.config.js"></script>
7 7
     <link rel="stylesheet" href="../css/init.css" />
8 8
     <title>工单回访</title>
9
-    <style type="text/css">
10
-    	#msg1,
11
-    	#msg2,
12
-    	#msg3,
13
-    	#phone{
14
-    		border:none;
15
-    		border-bottom: 1px solid #ccc;
16
-    		margin-bottom: 20px;
17
-    		background-color: #FFFFFF;
18
-    		color: #00a1cb;
19
-    	}
20
-    	#msg4{
21
-    		width: 250px;
22
-    		height: 50px;
23
-    		border: none;
24
-    		border-bottom: 1px solid #ccc;
25
-    		margin-bottom: 20px;
26
-    		vertical-align: top;
27
-    	}
28
-    	#msg2{
29
-    		vertical-align: top;
30
-    		height: 25px;
31
-    	}
32
-    	#msg1:focus,
33
-    	#msg2:focus,
34
-    	#msg3:focus,
35
-    	#msg4:focus,
36
-    	#phone:focus{
37
-    		outline: none;
38
-    	}
39
-    </style>
40 9
 	</head>
41 10
 	<body>
42 11
 		<div class="Common">
@@ -49,11 +18,7 @@
49 18
 	                <th>
50 19
 	                    联系号码:
51 20
 	                </th>
52
-	                <td>
53
-	                	<a class="CallOut1" id="CallOut1">
54
-	                		<span class="F_ConPhone"></span>
55
-	                		<img class="copImg" style="vertical-align: text-bottom;margin-left: 5px;" src="../img/Phones.png" /></a>
56
-	                </td>
21
+	                <td><a class="CallOut1" id="CallOut1"><span class="F_ConPhone"></span><img class="copImg" style="vertical-align: text-bottom;margin-left: 5px;" src="../img/Phones.png" /></a></td>
57 22
 					
58 23
 				</tr>
59 24
 				<tr>
@@ -65,13 +30,11 @@
65 30
 	                    回访方式:
66 31
 	                </th>
67 32
 					  <td>
33
+					  	
34
+	                    
68 35
 					  	<select class="select_" id="type">
69 36
 					  		<option value="0">电话</option>
70 37
 					  		<option value="1">微信</option>
71
-					  		<option value="2">APP</option>
72
-					  		<option value="3">网站</option>
73
-					  		<option value="4">微博</option>
74
-					  		<option value="5">信箱</option>
75 38
 					  	</select>
76 39
 					  </td>
77 40
 				</tr>
@@ -87,25 +50,20 @@
87 50
 					<th class="Importent">回访内容:</th>
88 51
 						<td colspan="7"><textarea data-adaptheight id="result" name="" rows="" cols=""></textarea></td>
89 52
 				</tr>
90
-				<tr class=" hfBtn">
53
+				<tr>
91 54
 					<th class="Importent">重办原因:</th>
92
-					<td colspan="7"><textarea data-adaptheight id="replace" name="" rows="" cols=""></textarea></td>
55
+						<td colspan="7"><textarea data-adaptheight id="replace" name="" rows="" cols=""></textarea></td>
93 56
 				</tr>
94 57
 			</table>
95
-			<!--<div class="" style="margin: 20px 0 0 0;">
96
-					尊敬的市民,您于<input id="msg1" type="text" disabled/>反映的<textarea id="msg2" type="text" ></textarea>问题,工单号:<input id="msg3" type="text" disabled/>,<br />
97
-					处理结果如下:<textarea id="msg4" type="text"></textarea>如有异议,请您再次致电12345,感谢您的支持。<br />
98
-					通知号码:<input id="phone" type="text"/>
99
-					<button class="btns sendMsg">发送短信</button>
100
-			</div>-->
101 58
 			<div class="btn_box">
102 59
 	            <input type="hidden" id="F_guid" value="" />
103
-				<button class="btns Submit">提交回访</button>
104
-				<button class="btns CB hfBtn">提交重办</button>
105
-				<button class="btns Closure hfBtn">结案</button>
60
+				<button class="btns BC">保存</button>
61
+				<button class="btns CB">提交重办</button>
62
+				<button class="btns Closure">结案</button>
106 63
 			</div>
107 64
 		</div>
108 65
 		
66
+        <!--<script src="../js/main.js?v=1.5"></script>-->
109 67
 		<script src="../js/adjustHeight.js"></script>
110 68
         <script src="../js/guid.js"></script>
111 69
 		<script>
@@ -115,9 +73,6 @@
115 73
 				loadTEL();
116 74
 					Detail();	
117 75
 			$(document).ready(function() {
118
-				if ($.cookie("code")=="WLDW") {
119
-					$(".hfBtn").hide()
120
-				}
121 76
 				$('.BC').click(function() {
122 77
 					State = 0;
123 78
 					JA();
@@ -130,10 +85,10 @@
130 85
 					State = 1;
131 86
 					CB();
132 87
 				})
133
-				$('.Submit').click(function() {
134
-					State = 1;
135
-					JA();
136
-				})
88
+//				$('.Submit').click(function() {
89
+//					State = 1;
90
+//					JA();
91
+//				})
137 92
 				$(".CallOut").click(function (event) {
138 93
 				    if ($(".F_CusPhone").text()) {
139 94
 				        calloutopt($(".F_CusPhone").text());
@@ -197,38 +152,7 @@
197 152
 					}
198 153
 				})
199 154
 			}
200
-			//发送短信
201
-			$('.sendMsg').click(function(){
202
-				if(!$('#msg4').val()){
203
-					layer.msg('请填写结果')
204
-					return
205
-				}
206
-				if(!$('#phone').val()){
207
-					layer.msg('请填写通知号码')
208
-					return
209
-				}
210
-				$.ajax({
211
-					type:"post",
212
-					url:huayi.config.callcenter_url+'WorkOrder/SmsHand',
213
-					async:true,
214
-					data:{
215
-						msg1:$('#msg1').val(),
216
-						msg2:$('#msg2').val(),
217
-						msg3:$('#msg3').val(),
218
-						msg4:$('#msg4').val(),
219
-						mobile:$('#phone').val(),
220
-						token: $.cookie("token")
221
-					},
222
-					success:function(res){
223
-						res=JSON.parse(res)
224
-						if(res.state.toLowerCase()=='success'){
225
-							layer.msg('短信发送成功')
226
-						}else{
227
-							layer.msg('短信发送失败')
228
-						}
229
-					}
230
-				});
231
-			})
155
+			
232 156
 			//结案
233 157
 			function Closure(){
234 158
 				$.post(huayi.config.callcenter_url + 'WorkOrder/VisitWorkOrder', {

File diff suppressed because it is too large
+ 460 - 547
WebUI/CallCenterWeb.UI/CommonHtml/Cb.html


+ 1 - 1
WebUI/CallCenterWeb.UI/CommonHtml/ExamineList.html

@@ -31,7 +31,7 @@
31 31
 					<thead>
32 32
 						<tr>
33 33
 							<th data-field="id" data-align="center" >诉求编号</th>
34
-							<th data-field="usercode" data-align="center">关键字</th>
34
+							<th data-field="usercode" data-align="center">诉求标题</th>
35 35
 							<th data-field="addtime" data-align="center">诉求时间</th>
36 36
 							<th data-field="acceptname" data-align="center">办理状态</th>
37 37
 							<th data-field="zuoxi" data-align="center">督查意见</th>

+ 1 - 1
WebUI/CallCenterWeb.UI/CommonHtml/LeaderAdd.html

@@ -333,7 +333,7 @@
333 333
 					if(data.state.toLowerCase() == "success") {
334 334
 						var content = data.data;
335 335
 						$(content).each(function(i, n) {
336
-                            if (n.F_AreaName != '巩义市') {
336
+                            if (n.F_AreaName != '商丘市') {
337 337
                                 $("<option value='" + n.F_AreaId + "'>" + n.F_AreaName + "</option>").appendTo(obj);
338 338
                             }
339 339
 						})

+ 463 - 466
WebUI/CallCenterWeb.UI/CommonHtml/PrintPreview-1.html

@@ -1,477 +1,474 @@
1 1
 <!DOCTYPE html>
2 2
 <html>
3 3
 
4
-<head>
5
-    <meta charset="UTF-8">
6
-    <title>打印预览</title>
7
-    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1">
8
-    <script src="../js/jquery.min.js?v=2.1.4"></script>
9
-    <script src="../Script/Common/huayi.load.js"></script>
10
-    <script src="../Script/Common/huayi.config.js"></script>
11
-    <script src="../js/jquery.cookie.js"></script>
12
-
13
-    <style>
14
-        #main {
15
-            width: 100%;
16
-            /*margin: 0 auto;*/
17
-            -webkit-box-shadow: 1px 1px 9px 2px #D2D2D2;
18
-            box-shadow: 1px 1px 9px 2px #D2D2D2;
19
-            background-color: #fff;
20
-            padding: 30px 60px 80px 60px;
21
-        }
22
-
23
-        .alignC {
24
-            text-align: center;
25
-        }
26
-
27
-        .alignC h2 {
28
-            font-family: "宋体";
29
-            font-weight: bold;
30
-            font-size: 22pt;
31
-            letter-spacing: -1px;
32
-        }
33
-
34
-        .headerAlign h3 div:nth-of-type(1) {
35
-            font-size: 14pt;
36
-            padding-top: 20px;
37
-            text-align: left;
38
-            font-weight: normal;
39
-            margin-left: 38px;
40
-            position: relative;
41
-        }
42
-
43
-        .headerAlign h3 {
44
-            width: 646px;
45
-        }
46
-
47
-        .headerAlign .textCb {
48
-            position: absolute;
49
-            padding: 5px 12px;
50
-            right: 32px;
51
-            top: 30px;
52
-            font-size: 16px;
53
-            color: #e84545;
54
-            border: 1px solid #e84545;
55
-            display: none;
56
-        }
57
-
58
-        #main table {
59
-            margin: 0 auto;
60
-            width: 100%;
61
-            border-collapse: collapse;
62
-            font-size: 13pt;
63
-            font-family: "仿宋";
64
-        }
65
-
66
-        tbody td {
67
-            min-width: 10%;
68
-            padding: 6px 0 6px 0;
69
-        }
70
-
71
-        .btn {
72
-            margin-top: 4px;
73
-            margin-bottom: 4px;
74
-            background: #00a1cb;
75
-            color: #fff;
76
-        }
77
-
78
-        .lxr,
79
-        .mmdj,
80
-        .jbyj,
81
-        .cbyj,
82
-        .ldps,
83
-        .bljg {
84
-            white-space: normal;
85
-            word-break: break-all;
86
-        }
87
-
88
-        /*		.mmdj,.lxr,.cbyj,.ldps,.bljg{
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<title>打印预览</title>
7
+		<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1">
8
+		<script src="../js/jquery.min.js?v=2.1.4"></script>
9
+		<script src="../Script/Common/huayi.load.js"></script>
10
+		<script src="../Script/Common/huayi.config.js"></script>
11
+		<script src="../js/jquery.cookie.js"></script>
12
+		<!--</METAHTTP-EQUIV="Pragma" CONTENT="no-cache">
13
+    </METAHTTP-EQUIV="Cache-Control" CONTENT="no-cache">
14
+    </METAHTTP-EQUIV="Expires" CONTENT="0">-->
15
+		<style>
16
+			#main {
17
+				width: 100%;
18
+				/*margin: 0 auto;*/
19
+				-webkit-box-shadow: 1px 1px 9px 2px #D2D2D2;
20
+				box-shadow: 1px 1px 9px 2px #D2D2D2;
21
+				background-color: #fff;
22
+				padding: 30px 60px 80px 60px;
23
+			}
24
+			
25
+			.alignC {
26
+				text-align: center;
27
+			}
28
+			
29
+			.alignC h2 {
30
+				font-family: "宋体";
31
+				font-weight: bold;
32
+				font-size: 22pt;
33
+				letter-spacing: -1px;
34
+			}
35
+			
36
+			.headerAlign h3 div:nth-of-type(1) {
37
+				font-size: 14pt;
38
+				padding-top: 20px;
39
+				text-align: left;
40
+				font-weight: normal;
41
+				margin-left: 38px;
42
+				position: relative;
43
+			}
44
+			
45
+			.headerAlign h3 {
46
+				width: 646px;
47
+			}
48
+			.headerAlign .textCb{
49
+				position: absolute;
50
+				padding: 5px 12px;
51
+				right: 32px;
52
+				top: 30px;
53
+				font-size: 16px;
54
+				color: #e84545;
55
+				border: 1px solid #e84545;
56
+				display: none;
57
+			}
58
+			#main table {
59
+				margin: 0 auto;
60
+				width: 100%;
61
+				border-collapse: collapse;
62
+				font-size: 13pt;
63
+				font-family: "仿宋";
64
+			}
65
+			
66
+			tbody td {
67
+				min-width: 10%;
68
+				padding: 6px 0 6px 0;
69
+			}
70
+			
71
+			.btn {
72
+				margin-top: 4px;
73
+				margin-bottom: 4px;
74
+				background: #00a1cb;
75
+				color: #fff;
76
+			}
77
+			
78
+			.lxr,
79
+			.mmdj,
80
+			.jbyj,
81
+			.cbyj,
82
+			.ldps,
83
+			.bljg {
84
+				white-space: normal;
85
+				word-break: break-all;
86
+			}
87
+			/*		.mmdj,.lxr,.cbyj,.ldps,.bljg{
89 88
 			width: 539px;
90 89
 			display: inline-block;
91 90
 		} */
92
-
93
-        .jbyj {
94
-            width: 558px;
95
-            display: inline-block;
96
-        }
97
-
98
-        .printdz {
99
-            text-align: left;
100
-            text-indent: .3em;
101
-            padding: 4px;
102
-        }
103
-
104
-        .printdd {
105
-            text-align: justify;
106
-            padding: 4px 2px 4px 4px;
107
-        }
108
-
109
-        .printnr,
110
-        .printcb,
111
-        .printldps,
112
-        .printcljg {
113
-            text-align: justify;
114
-            padding: 4px;
115
-            text-indent: 2em;
116
-        }
117
-
118
-        #inputs {
119
-            width: 0;
120
-            height: 0;
121
-        }
122
-    </style>
123
-
124
-    <style media="print">
125
-        /*设置打印样式 标题宋体加黑二号*/
126
-
127
-        .headerAlign h2 {
128
-            font-family: "宋体" !important;
129
-            font-weight: bold !important;
130
-            font-size: 22pt !important;
131
-            letter-spacing: -1px !important;
132
-        }
133
-
134
-        .textCb {
135
-            color: #e84545 !important;
136
-        }
137
-
138
-        .headerAlign h3 div:nth-of-type(1) {
139
-            font-size: 14pt !important;
140
-            font-family: "宋体" !important;
141
-            font-weight: normal !important;
142
-            margin-left: 98px !important;
143
-        }
144
-
145
-        .headerAlign h3 {
146
-            width: 690px !important;
147
-        }
148
-
149
-        #main {
150
-            padding: 40px 0 0 0 !important;
151
-        }
152
-
153
-        #main table {
154
-            font-size: 13pt !important;
155
-            font-family: "仿宋" !important;
156
-            border-color: #000;
157
-            color: #000;
158
-            width: 621px !important;
159
-            /*page-break-after:avoid !important;*/
160
-        }
161
-
162
-        tbody td {
163
-            padding: 6px 0 6px 0 !important;
164
-        }
165
-
166
-        .printdz {
167
-            text-align: left;
168
-            text-indent: .3em;
169
-            padding: 4px;
170
-        }
171
-
172
-        .printdd {
173
-            text-align: justify !important;
174
-            padding: 4px 2px 4px 4px !important;
175
-        }
176
-
177
-        .printnr,
178
-        .printcb,
179
-        .printldps,
180
-        .printcljg {
181
-            text-align: justify !important;
182
-            padding: 4px !important;
183
-            text-indent: 2em !important;
184
-        }
185
-
186
-        @page {
187
-            size: A4 portrait;
188
-        }
189
-
190
-        #inputs {
191
-            width: 0;
192
-            height: 0;
193
-        }
194
-    </style>
195
-
196
-</head>
197
-
198
-<body>
199
-    <div id="main">
200
-
201
-        <div class="alignC headerAlign">
202
-
203
-            <h2 style="margin-bottom: 15px; margin-top: 0;">
204
-                巩义市12345政务服务热线办公室工作交办单
205
-            </h2>
206
-            <span class="textCb">重办</span>
207
-
208
-        </div>
209
-        <table class="alignC" border="1" cellpadding="4" cellspacing="0" bordercolor="#cbcbcb">
210
-            <tbody>
211
-                <tr style="min-height: 49px;">
212
-                    <td>
213
-                        承办<br />单位
214
-                    </td>
215
-                    <td colspan="5" style="text-align: left;">
216
-                        <span class="cbdw" style="padding-left: 5px;display: inline-block;"></span>
217
-                    </td>
218
-                </tr>
219
-
220
-                <tr style="min-height: 49px;">
221
-                    <td rowspan="2" width="60px">编号
222
-                    </td>
223
-                    <td rowspan="2" width="154px">
224
-                        <span class="gdbhs copyBtn"></span>
225
-                    </td>
226
-
227
-                    <td colspan="2" width="95px">受理时间</td>
228
-                    <td colspan="2" width="98px">
229
-                        <span class="tssj"></span>
230
-                    </td>
231
-                    <!--<td width="95px">签收时间
91
+			
92
+			.jbyj {
93
+				width: 558px;
94
+				display: inline-block;
95
+			}
96
+			
97
+			.printdz {
98
+				text-align: left;
99
+				text-indent: .3em;
100
+				padding: 4px;
101
+			}
102
+			
103
+			.printdd {
104
+				text-align: justify;
105
+				padding: 4px 2px 4px 4px;
106
+			}
107
+			
108
+			.printnr,
109
+			.printcb,
110
+			.printldps,
111
+			.printcljg {
112
+				text-align: justify;
113
+				padding: 4px;
114
+				text-indent: 2em;
115
+			}
116
+		</style>
117
+
118
+		<style media="print">
119
+			/*设置打印样式 标题宋体加黑二号*/
120
+			
121
+			.headerAlign h2 {
122
+				font-family: "宋体" !important;
123
+				font-weight: bold !important;
124
+				font-size: 22pt !important;
125
+				letter-spacing: -1px !important;
126
+			}
127
+			.textCb{
128
+				color: #e84545 !important;
129
+			}
130
+			.headerAlign h3 div:nth-of-type(1) {
131
+				font-size: 14pt !important;
132
+				font-family: "宋体" !important;
133
+				font-weight: normal !important;
134
+				margin-left: 98px !important;
135
+			}
136
+			
137
+			.headerAlign h3 {
138
+				width: 690px !important;
139
+			}
140
+			
141
+			#main {
142
+				padding: 40px 0 0 0 !important;
143
+			}
144
+			
145
+			#main table {
146
+				font-size: 13pt !important;
147
+				font-family: "仿宋" !important;
148
+				border-color: #000;
149
+				color: #000;
150
+				width: 621px !important;
151
+				/*page-break-after:avoid !important;*/
152
+			}
153
+			
154
+			tbody td {
155
+				padding: 6px 0 6px 0 !important;
156
+			}
157
+			
158
+			.printdz {
159
+				text-align: left;
160
+				text-indent: .3em;
161
+				padding: 4px;
162
+			}
163
+			
164
+			.printdd {
165
+				text-align: justify !important;
166
+				padding: 4px 2px 4px 4px !important;
167
+			}
168
+			
169
+			.printnr,
170
+			.printcb,
171
+			.printldps,
172
+			.printcljg {
173
+				text-align: justify !important;
174
+				padding: 4px !important;
175
+				text-indent: 2em !important;
176
+			}
177
+			
178
+			@page {
179
+				size: A4 portrait;
180
+			}
181
+		</style>
182
+
183
+	</head>
184
+
185
+	<body>
186
+		<!--startprint1-->
187
+		<div id="main">
188
+
189
+			<div class="alignC headerAlign">
190
+				<!--<br />-->
191
+				<h2 style="margin-bottom: 15px; margin-top: 0;">
192
+                  	商丘市12345政务服务热线办公室工作交办单
193
+            	</h2>
194
+            	<span class="textCb">重办</span>
195
+				<!--<h3>
196
+            	<div>主办单位: <span class="cbdw"></span></div>
197
+            </h3>-->
198
+				<!--<h3 id="xbdws" style="display: none; width: 646px;">
199
+            	<div style="padding-top: 0;">协办单位: <span class="xbdw"></span></div>
200
+            </h3>-->
201
+			</div>
202
+			<table class="alignC" border="1" cellpadding="4" cellspacing="0" bordercolor="#cbcbcb">
203
+				<tbody>
204
+					<tr style="min-height: 49px;">
205
+						<td>
206
+							主办<br/>单位
207
+						</td>
208
+						<td colspan="5" style="text-align: left;">
209
+							<span class="cbdw" style="padding-left: 5px;display: inline-block;"></span>
210
+						</td>
211
+					</tr>
212
+					<tr style="min-height: 49px;">
213
+						<td>
214
+							协办<br/>单位
215
+						</td>
216
+						<td colspan="5" style="text-align: left;">
217
+							<span class="xbdw" style="padding-left: 5px;display: inline-block;"></span>
218
+						</td>
219
+					</tr>
220
+					<tr style="min-height: 49px;">
221
+						<td rowspan="2" width="60px">编号
222
+						</td>
223
+						<td rowspan="2" width="154px">
224
+							<span class="gdbhs"></span>
225
+						</td>
226
+						<!--						<td rowspan="2" width="95px">受理时间
227
+						</td>
228
+						<td rowspan="2" width="98px">
229
+							<span class="tssj"></span>
230
+						</td>-->
231
+						<td width="95px">受理时间</td>
232
+						<td width="98px">
233
+							<span class="tssj"></span>
234
+						</td>
235
+						<td width="95px">签收时间
232 236
 						</td>
233 237
 						<td width="98px">
234 238
 							<span class="QSHJ"></span>
235
-						</td>-->
236
-                </tr>
237
-                <tr style="min-height: 49px;">
238
-                    <td>工单来源</td>
239
-                    <td>
240
-                        <span id="sourceName"></span>
241
-                    </td>
242
-                    <td>
243
-                        办理时限
244
-                    </td>
245
-                    <td>
246
-                        <span class="BLSX"></span>
247
-                    </td>
248
-                </tr>
249
-                <tr style="min-height: 49px;">
250
-                    <td>
251
-                        投诉人
252
-                    </td>
253
-                    <td>
254
-                        <span class="gdbh"></span>
255
-                    </td>
256
-                    <td>
257
-                        联系电话
258
-                    </td>
259
-                    <td>
260
-                        <span class="lxdh"></span>
261
-                    </td>
262
-                    <td>
263
-                        秘密等级
264
-                    </td>
265
-                    <td>
266
-                        <span class="MJ"></span>
267
-                    </td>
268
-                </tr>
269
-                <tr style="min-height: 49px;">
270
-                    <td>
271
-                        地址
272
-                    </td>
273
-                    <td class="printdz" colspan="5">
274
-                        <span class="mmdj"></span>
275
-                    </td>
276
-                </tr>
277
-                <tr style="height: 200px;">
278
-                    <td class="style1">内容<br />摘要
279
-                    </td>
280
-                    <td class="printnr" colspan="5">
281
-                        <span class="lxr"></span>
282
-                    </td>
283
-                </tr>
284
-                <tr style="height: 130px;" class="printdd-wrapper">
285
-                    <td>
286
-                        <span>调度<br />意见</span>
287
-                    </td>
288
-                    <td class="printdd" colspan="5">
289
-                        <span class="jbyj"></span>
290
-                    </td>
291
-                </tr>
292
-                <tr style="height: 130px;" class="printcb-wrapper">
293
-                    <td>
294
-                        <span>拟办<br />意见</span>
295
-                    </td>
296
-                    <td class="printcb" colspan="5">
297
-                        <span class="cbyj "></span>
298
-                    </td>
299
-                </tr>
300
-                <tr style="height: 100px;">
301
-                    <td>
302
-                        单位处理结果
303
-                    </td>
304
-                    <td class="printcljg" colspan="5">
305
-                        <span class="bljg copyBtn"></span>
306
-                    </td>
307
-                </tr>
308
-            </tbody>
309
-        </table>
310
-        <span class="F_Remarks">★以上登记信息仅供市长热线平台及承办人员查阅,未经许可不得向外提供</span>
311
-
312
-
313
-    </div>
314
-    <!--endprint1-->
315
-
316
-    <div class="alignC">
317
-        <input type="button" value="导出Word" class="btn" id="btn-html2canvas" />
318
-        <input type="button" value="打印" class="btn" onclick="preview(1)" />
319
-    </div>
320
-    <textarea id="inputs" type="hidden"></textarea>
321
-    <script src="../js/plugins/html2pdf/jspdf.debug.js"></script>
322
-    <script src="../js/plugins/html2pdf/html2canvas.js"></script>
323
-    <script src="../js/plugins/html2pdf/canvas2image.js"></script>
324
-    <script src="../js/plugins/html2pdf/FileSaver.js"></script>
325
-    <script src="../js/plugins/html2pdf/jquery.wordexport.js"></script>
326
-    <script type="text/javascript">
327
-        var wid = helper.request.queryString("wid");
328
-        var printType = helper.request.queryString("printType");
329
-        $(document).ready(function () {
330
-            $(".printdd-wrapper").hide()
331
-            $(".printcb-wrapper").hide()
332
-            if (printType == "DCL") {
333
-                $(".printdd-wrapper").hide()
334
-                $(".printcb-wrapper").show()
335
-            } else {
336
-                $(".printdd-wrapper").show()
337
-                $(".printcb-wrapper").hide()
338
-            }
339
-            if (wid) {
340
-                $.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetWorkOrder', {
341
-                    workorderid: wid,
342
-                    "token": $.cookie("token")
343
-                }, function (result) {
344
-                    if (result.state.toLowerCase() == "success") {
345
-                        var content = result.data;
346
-                        //console.log( content);
347
-                        if (content.data[0].F_OldWorkOrderId) {
348
-                            $(".gdbhs").text(content.data[0].F_OldWorkOrderId); //工单
349
-                        } else {
350
-                            $(".gdbhs").text(content.data[0].F_WorkOrderId); //工单
351
-                        }
352
-                        $(".F_Remarks").text(content.data[0].F_Remarks)
353
-                        $(".tsfs").text(content.data[0].SourceName);
354
-                        $(".lxr").text(content.data[0].F_CusName); //内容摘要
355
-                        $('.lxdh').text(content.data[0].F_ConPhone); //联系电话
356
-                        //$('.dz').text(content.data[0].F_CusAddress);
357
-                        //$('.lxrphone').text(content.data[0].F_ConPhone);
358
-                        $(".lxr").text(content.data[0].F_ComContent); //内容
359
-                        $(".cbyj").text(content.data[0].F_ResultRemarks); //内容
360
-
361
-                        if (content.data[0].F_IsReload > 0) {
362
-                            $(".textCb").show();
363
-                        } else {
364
-                            $(".textCb").remove();
365
-                        }
366
-                        var T = content.data[0].F_CreateTime; //受理时间
367
-                        if (T) {
368
-                            var S = T.substring(0, T.indexOf(' '));
369
-                            $('.tssj').text(S);
370
-                        }
371
-                        var sourceName = content.data[0].SourceName; //工单来源 20180524 by fanlongfei 
372
-                        if (sourceName) {
373
-                            $('#sourceName').text(sourceName);
374
-                        }
375
-                        if (content.jbdata.length > 0) {
376
-                            var qst = content.jbdata[content.jbdata.length - 1].F_SureTime; //签收时间
377
-                            if (qst) {
378
-                                var qs = qst.substring(0, qst.indexOf(' '));
379
-                                $('.QSHJ').text(qs);
380
-                            }
381
-                            var qst0 = content.jbdata[content.jbdata.length - 1].F_LimitTime; //办理时限
382
-                            if (qst0) {
383
-                                var qs0 = qst0.substring(0, qst0.indexOf(' '));
384
-                                $('.BLSX').html(qs0);
385
-                            }
386
-                        }
387
-                        $(".gdbh").text(content.data[0].F_CusName); //投诉人
388
-                        $(".mmdj").text(content.data[0].F_SourceAddress); //地址
389
-                        $(".tslx").text(content.data[0].TypeName1); //偶投诉类型
390
-                        // 6 || 7 || 9显示办理结果
391
-                        if (content.data[0].F_WorkState == '6' || content.data[0].F_WorkState == '7' ||
392
-                            content.data[0].F_WorkState == '9') {
393
-                            $(".bljg").text(content.data[0].F_NewResult); //单位处理结果                    		
394
-                        }
395
-
396
-                        //密级程度
397
-                        if (content.data[0].F_IsProtect == 0) {
398
-                            $('.MJ').text("普通");
399
-                        } else {
400
-                            $('.MJ').text("保密");
401
-                        }
402
-                        //调度意见
403
-                        var m = content.jbdata.length;
404
-                        if (m > 0) {
405
-                            $('.cbdw').text(content.jbdata[m - 1].DeptName); //承办单位
406
-                            if (content.jbdata[m - 1].OtherDeptName) {
407
-                                $('#xbdws').show();
408
-                            } else {
409
-                                $('#xbdws').hide();
410
-                            }
411
-                            var jbyjs = content.jbdata[m - 1].F_AssignedOpinion;
412
-
413
-                            if (jbyjs) {
414
-                                jbyjs = jbyjs.replace(/[ ]/g, "&nbsp;").replace(/\ +/g, "&nbsp;")
415
-                                    .replace(/\r\n/g, "<br />").replace(/\n/g, "<br />");
416
-                                $(".jbyj").html(jbyjs);
417
-                            } else {
418
-                                $(".jbyj").html("");
419
-                            }
420
-                        }
421
-                    }
422
-                })
423
-            }
424
-            $("#btn-html2canvas").on("click", function () {
425
-                $("#main").wordExport();
426
-                //				    parent.parent.layer.closeAll();
427
-                //					parent.parent.$('#orderlist').bootstrapTable('refresh');
428
-                //					parent.parent.layer.msg("操作成功!");
429
-            });
430
-
431
-        })
432
-        $(".copyBtn").on("click", function () {
433
-            var texts = $(this).text();
434
-            var inputs = document.getElementById("inputs");
435
-            inputs.value = texts; // 修改文本框的内容(赋值内容)
436
-            inputs.select(); // 选中文本
437
-            document.execCommand("copy"); // 执行浏览器复制命令
438
-            layer.msg("复制成功")
439
-        });
440
-
441
-
442
-        function preview(oper) {
443
-            //debugger;
444
-            if (oper < 5) {
445
-                bdhtml = window.document.body.innerHTML; //获取当前页的html代码
446
-                sprnstr = "<!--startprint" + oper + "-->"; //设置打印开始区域
447
-                eprnstr = "<!--endprint" + oper + "-->"; //设置打印结束区域
448
-                prnhtml = bdhtml.substring(bdhtml.indexOf(sprnstr) + 18); //从开始代码向后取html
449
-                print.portrait = true; //纵向打印
450
-                prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr)); //从结束代码向前取html
451
-                window.document.body.innerHTML = prnhtml;
452
-                window.print();
453
-                window.document.body.innerHTML = bdhtml;
454
-                //					parent.parent.layer.closeAll();
455
-                //					parent.parent.$('#orderlist').bootstrapTable('refresh');
456
-                //					parent.parent.layer.msg("操作成功!");
457
-            } else {
458
-                window.print();
459
-            }
460
-        }
461
-
462
-        GetData();
463
-
464
-        function GetData() {
465
-            var date = new Date;
466
-            var year = date.getFullYear();
467
-            var month = date.getMonth() + 1;
468
-            var strDate = date.getDate();
469
-            month = (month <= 9 ? "0" + month : month);
470
-            strDate = (strDate <= 9 ? "0" + strDate : strDate)
471
-            var mydate = (year.toString() + '年' + month.toString() + '月' + strDate.toString() + '日');
472
-            $(".Data").text(mydate);
473
-        }
474
-    </script>
475
-</body>
239
+						</td>
240
+					</tr>
241
+					<tr style="min-height: 49px;">
242
+						<td>工单来源</td>
243
+						<td>
244
+							<span id="sourceName"></span>
245
+						</td>
246
+						<td>
247
+							办理时限
248
+						</td>
249
+						<td>
250
+							<span class="BLSX"></span>
251
+						</td>
252
+					</tr>
253
+					<tr style="min-height: 49px;">
254
+						<td>
255
+							投诉人
256
+						</td>
257
+						<td>
258
+							<span class="gdbh"></span>
259
+						</td>
260
+						<td>
261
+							联系电话
262
+						</td>
263
+						<td>
264
+							<span class="lxdh"></span>
265
+						</td>
266
+						<td>
267
+							秘密等级
268
+						</td>
269
+						<td>
270
+							<span class="MJ"></span>
271
+						</td>
272
+					</tr>
273
+					<tr style="min-height: 49px;">
274
+						<td>
275
+							地址
276
+						</td>
277
+						<td class="printdz" colspan="5">
278
+							<span class="mmdj"></span>
279
+						</td>
280
+					</tr>
281
+					<tr style="height: 200px;">
282
+						<td class="style1">内容<br/>摘要
283
+						</td>
284
+						<td class="printnr" colspan="5">
285
+							<span class="lxr"></span>
286
+						</td>
287
+					</tr>
288
+					<tr style="height: 130px;">
289
+						<td>
290
+							<span>调度<br/>意见</span>
291
+						</td>
292
+						<td class="printdd" colspan="5">
293
+							<span class="jbyj"></span>
294
+						</td>
295
+					</tr>
296
+					<tr style="height: 130px;">
297
+						<td>
298
+							<span>承办<br/>意见</span>
299
+						</td>
300
+						<td class="printcb" colspan="5">
301
+							<span class="cbyj"></span>
302
+						</td>
303
+					</tr>
304
+					<tr style="height: 130px;">
305
+						<td>
306
+							<span>单位领导批示</span>
307
+						</td>
308
+						<td class="printldps" colspan="5">
309
+							<span class="ldps"></span>
310
+						</td>
311
+					</tr>
312
+					<tr style="height: 130px;">
313
+						<td>
314
+							单位处理结果
315
+						</td>
316
+						<td class="printcljg" colspan="5">
317
+							<span class="bljg"></span>
318
+						</td>
319
+					</tr>
320
+				</tbody>
321
+			</table>
322
+		</div>
323
+		<!--endprint1-->
324
+
325
+		<div class="alignC">
326
+			<input type="button" value="导出Word" class="btn" id="btn-html2canvas" />
327
+			<input type="button" value="打印" class="btn" onclick="preview(1)" />
328
+		</div>
329
+
330
+		<script src="../js/plugins/html2pdf/jspdf.debug.js"></script>
331
+		<script src="../js/plugins/html2pdf/html2canvas.js"></script>
332
+		<script src="../js/plugins/html2pdf/canvas2image.js"></script>
333
+		<script src="../js/plugins/html2pdf/FileSaver.js"></script>
334
+		<script src="../js/plugins/html2pdf/jquery.wordexport.js"></script>
335
+		<script type="text/javascript">
336
+			var wid = helper.request.queryString("wid");
337
+			$(document).ready(function() {
338
+				if(wid) {
339
+					$.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetWorkOrder', {
340
+						workorderid: wid,
341
+						"token": $.cookie("token")
342
+					}, function(result) {
343
+						if(result.state.toLowerCase() == "success") {
344
+							var content = result.data;
345
+							//console.log( content);
346
+							$(".gdbhs").text(content.data[0].F_WorkOrderId); //工单
347
+							$(".tsfs").text(content.data[0].SourceName);
348
+							$(".lxr").text(content.data[0].F_CusName); //内容摘要
349
+							$('.lxdh').text(content.data[0].F_CusPhone); //联系电话
350
+							//$('.dz').text(content.data[0].F_CusAddress);
351
+							//$('.lxrphone').text(content.data[0].F_ConPhone);
352
+							$(".lxr ").text(content.data[0].F_ComContent); //内容
353
+							if (content.data[0].F_IsReload>0) {
354
+								$(".textCb").show();
355
+							}else{
356
+								$(".textCb").remove();
357
+							}
358
+							var T = content.data[0].F_CreateTime; //受理时间
359
+							if(T) {
360
+								var S = T.substring(0, T.indexOf(' '));
361
+								$('.tssj').text(S);
362
+							}
363
+							var sourceName = content.data[0].SourceName; //工单来源 20180524 by fanlongfei 
364
+							if(sourceName) {
365
+								$('#sourceName').text(sourceName);
366
+							}
367
+							if(content.jbdata.length > 0) {
368
+								var qst = content.jbdata[content.jbdata.length - 1].F_SureTime; //签收时间
369
+								if(qst) {
370
+									var qs = qst.substring(0, qst.indexOf(' '));
371
+									$('.QSHJ').text(qs);
372
+								}
373
+								var qst0 = content.jbdata[content.jbdata.length - 1].F_LimitTime; //办理时限
374
+								if(qst0) {
375
+									var qs0 = qst0.substring(0, qst0.indexOf(' '));
376
+									$('.BLSX').html(qs0);
377
+								}
378
+							}
379
+							$(".gdbh").text(content.data[0].F_CusName); //投诉人
380
+							$(".mmdj").text(content.data[0].F_SourceAddress); //地址
381
+							$(".tslx").text(content.data[0].TypeName1); //偶投诉类型
382
+							// 6 || 7 || 9显示办理结果
383
+							if(content.data[0].F_WorkState == '6' || content.data[0].F_WorkState == '7' || content.data[0].F_WorkState == '9') {
384
+								$(".bljg").text(content.data[0].F_Result); //单位处理结果                    		
385
+							}
386
+
387
+							//密级程度
388
+							if(content.data[0].F_IsProtect == 0) {
389
+								$('.MJ').text("普通");
390
+							} else {
391
+								$('.MJ').text("保密");
392
+							}
393
+							//                  if (content.data[0].F_Result) {
394
+							//                      var rt = content.data[0].F_Result.replace(/[ ]/g, "&nbsp;").replace(/\ +/g, "&nbsp;").replace(/\r\n/g, "<br />").replace(/\n/g, "<br />");
395
+							//                      $(".cljg").html(rt);
396
+							//                  }
397
+							//                  else {
398
+							//                      $(".cljg").html("");
399
+							//                  }
400
+							//单位领导批示
401
+							//var n=content.psdata.length;
402
+							//if (n > 0) {
403
+							//  	var ldps = content.psdata[n - 1].F_SuperOpinion;
404
+							//  	//if (ldps) { ldps = ldps.replace(/[ ]/g, "&nbsp;").replace(/\ +/g, "&nbsp;").replace(/\r\n/g, "<br />").replace(/\n/g, "<br />"); }
405
+
406
+							// 	$(".ldps").html(ldps);
407
+							//}
408
+							//调度意见
409
+							var m = content.jbdata.length;
410
+							if(m > 0) {
411
+								$('.cbdw').text(content.jbdata[m - 1].DeptName); //主办单位
412
+								if(content.jbdata[m - 1].OtherDeptName) {
413
+									$('#xbdws').show();
414
+									$('.xbdw').text(content.jbdata[m - 1].OtherDeptName); //协办单位	                    	
415
+								} else {
416
+									$('#xbdws').hide();
417
+								}
418
+								var jbyjs = content.jbdata[m - 1].F_AssignedOpinion;
419
+
420
+								if(jbyjs) {
421
+									jbyjs = jbyjs.replace(/[ ]/g, "&nbsp;").replace(/\ +/g, "&nbsp;").replace(/\r\n/g, "<br />").replace(/\n/g, "<br />");
422
+									$(".jbyj").html(jbyjs);
423
+								} else {
424
+									$(".jbyj").html("");
425
+								}
426
+							}
427
+						}
428
+					})
429
+				}
430
+				$("#btn-html2canvas").on("click",function(){
431
+				    $("#main").wordExport();
432
+//				    parent.parent.layer.closeAll();
433
+//					parent.parent.$('#orderlist').bootstrapTable('refresh');
434
+//					parent.parent.layer.msg("操作成功!");
435
+				});
436
+				
437
+			})
438
+
439
+			function preview(oper) {
440
+				//debugger;
441
+				if(oper < 5) {
442
+					bdhtml = window.document.body.innerHTML; //获取当前页的html代码
443
+					sprnstr = "<!--startprint" + oper + "-->"; //设置打印开始区域
444
+					eprnstr = "<!--endprint" + oper + "-->"; //设置打印结束区域
445
+					prnhtml = bdhtml.substring(bdhtml.indexOf(sprnstr) + 18); //从开始代码向后取html
446
+					print.portrait = true; //纵向打印
447
+					prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr)); //从结束代码向前取html
448
+					window.document.body.innerHTML = prnhtml;
449
+					window.print();
450
+					window.document.body.innerHTML = bdhtml;
451
+//					parent.parent.layer.closeAll();
452
+//					parent.parent.$('#orderlist').bootstrapTable('refresh');
453
+//					parent.parent.layer.msg("操作成功!");
454
+				} else {
455
+					window.print();
456
+				}
457
+			}
458
+
459
+			GetData();
460
+
461
+			function GetData() {
462
+				var date = new Date;
463
+				var year = date.getFullYear();
464
+				var month = date.getMonth() + 1;
465
+				var strDate = date.getDate();
466
+				month = (month <= 9 ? "0" + month : month);
467
+				strDate = (strDate <= 9 ? "0" + strDate : strDate)
468
+				var mydate = (year.toString() + '年' + month.toString() + '月' + strDate.toString() + '日');
469
+				$(".Data").text(mydate);
470
+			}
471
+		</script>
472
+	</body>
476 473
 
477 474
 </html>

+ 1 - 1
WebUI/CallCenterWeb.UI/CommonHtml/PrintPreviewKeyWords.html

@@ -113,7 +113,7 @@
113 113
         <div class="alignC headerAlign">
114 114
 <br />
115 115
             <h2 style="margin-bottom: 15px;">
116
-                                        巩义市12345政务服务热线关键词统计
116
+                                        商丘市12345政务服务热线关键词统计
117 117
             </h2>
118 118
             <h3>
119 119
                 <div>时间: 

+ 38 - 123
WebUI/CallCenterWeb.UI/CommonHtml/StrongLawsuit.html

@@ -8,7 +8,6 @@
8 8
     <link rel="stylesheet" href="../css/init.css" />
9 9
    	<title>强制结案</title>
10 10
 	<style type="text/css">
11
-		.isStandard,
12 11
 		.bulletUnit{
13 12
 			display: none;
14 13
 		}
@@ -35,35 +34,28 @@
35 34
 			padding: 2px 10px;
36 35
 			cursor: pointer;
37 36
 		}
38
-		/* .bulletUnit li label:hover{
39
-			border-color: #fe6604;
40
-		} */
37
+		.bulletUnit li label:hover{
38
+			/*border-color: #fe6604;*/
39
+		}
41 40
 		.bulletUnit .checkedDept{
42 41
 			border-color: #fe6604;
43 42
 		}
44 43
 		select:disabled{
45 44
 			background-color: #eee;
46 45
 		}
47
-		.reasons{
48
-			display: none;
49
-			height: 160px;
50
-		}
51
-		#reasons{
52
-			height: 160px;
53
-		}
54 46
 	</style>
55 47
 	</head>
56 48
 	<body>
57 49
 		<div class="Common">
58 50
 			<table >
59
-				<!--<tr>
51
+				<tr>
60 52
 					<th class="Importent">满意度:</th>
61 53
 					<td>
62 54
 						<input checked="true" type="radio" value="1" name="huifang" />满意	
63 55
 						<input type="radio" value="0" name="huifang"/>不满意
64 56
 					</td>
65
-				</tr>-->
66
-				<!--<tr>
57
+				</tr>
58
+				<tr>
67 59
 					<th class="Importent">是否通报:</th>
68 60
 					<td>
69 61
 						<select class="select_" id='isBulletin'>
@@ -79,56 +71,32 @@
79 71
 							
80 72
 						</ul>
81 73
 					</td>
82
-				</tr>-->
83
-				<tr class="bulletUnit">
84
-					<th>通报原因:</th>
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 74
 				</tr>
92
-				<tr class="reasons">
93
-					<th>其他原因:</th>
94
-					<td colspan="2"><textarea data-adaptheight id="reasons" name="" rows="6" cols=""></textarea></td>
75
+				<tr class="bulletUnit">
76
+					<th class="Importent">通报原因:</th>
77
+					<td><textarea name="" rows="4" cols="" id="bulletinReason"></textarea></td>
95 78
 				</tr>
96
-				<!--<tr>
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
-				
106 79
 				<tr>
107
-					<th>备注:</th>
80
+					<th class="Importent">结案意见:</th>
108 81
 					<td><textarea name="" rows="4" cols="" id="finalopinion"></textarea></td>
109 82
 				</tr>
110
-				<!-- <tr>
111
-					<th>处理结果:</th>
83
+				<tr>
84
+					<th class="Importent">处理结果:</th>
112 85
 					<td><textarea data-adaptheight name="" rows="4" cols="" id="result"></textarea></td>
113 86
 				</tr>
114
-				 -->
87
+				
115 88
 			</table>
116 89
 			<div class="btn_box">
117 90
 				<button class="btns BC ">保存</button>
118 91
 			</div>
119 92
 		</div>
120
-		<input type="hidden" name="depid" id="depID" value="" />
121 93
 		<script src="../js/adjustHeight.js"></script>
122 94
 		<script>
123 95
 			var wid = helper.request.queryString("wid");
124 96
 			var bulletinUnits = '';//通报单位
125 97
 			$(document).ready(function() {
126
-				//通报原因
127
-				getOrderType();
128 98
 				//获取单位
129 99
 				getUnit();
130
-				//不规范原因
131
-				getIsStandard();
132 100
 				//是否通报
133 101
 				$('#isBulletin').change(function(){
134 102
 					if($('#isBulletin').val() == '0'){
@@ -139,63 +107,43 @@
139 107
 						$('.bulletUnit').show();
140 108
 					}
141 109
 				});
142
-				//是否规范
143
-				$('#isStandard').change(function(){
144
-					if($('#isStandard').val() == '0'){
145
-						//默认规范
146
-						$('.isStandard').hide();
147
-					}else if($('#isStandard').val()== '1'){
148
-						$('.isStandard').show();
149
-					}
150
-				});
110
+				
151 111
 				//保存
152 112
 				$('.BC').click(function() {
153
-					JA();
154
-//                  if($('#isBulletin').val() == 0){
155
-//                  	if(!$("#result").val()){
156
-//	                    	layer.msg("处理结果不能为空");
157
-//	                    }else{
158
-//	                    	JA(bulletinUnits);
159
-//	                    }
160
-//                  }else if($('#isBulletin').val() == 1){
161
-//                  	if(!$(".orderType").val() || $('.orderType').val()==0){
162
-//                  		layer.msg("通报原因没有填写。");
163
-//                  		return
164
-//                  	}else if ($(".orderType").val()==76&& !$('#reasons').val()){
165
-//                  		layer.msg('其他通报原因没有填写');
166
-//                  		return
167
-//                  	}else {
168
-//	                    	$("input[name='checkbox']:checkbox:checked").each(function(){
169
-//								bulletinUnits += $(this).val() + ','; 
170
-//	                    	});
171
-//	                    	bulletinUnits = bulletinUnits.substring(0,bulletinUnits.length-1);
172
-//	                    	JA(bulletinUnits);
173
-//	                    }
174
-//                  }
113
+                    if($('#isBulletin').val() == 0){
114
+                    	if(!$("#result").val()){
115
+	                    	layer.msg("处理结果不能为空");
116
+	                    }else{
117
+	                    	JA(bulletinUnits);
118
+	                    }
119
+                    }else if($('#isBulletin').val() == 1){
120
+                    	if($("input[name='checkbox']:checkbox:checked").length <= 0){
121
+                    		layer.msg("您没有选择通报单位。");
122
+                    	}else if(!$("#bulletinReason").val()){
123
+                    		layer.msg("通报原因没有填写。");
124
+                    	}else if(!$("#result").val()){
125
+	                    	layer.msg("处理结果不能为空");
126
+	                    }else{
127
+	                    	$("input[name='checkbox']:checkbox:checked").each(function(){
128
+								bulletinUnits += $(this).val() + ','; 
129
+	                    	});
130
+	                    	bulletinUnits = bulletinUnits.substring(0,bulletinUnits.length-1); 
131
+	                    	JA(bulletinUnits);
132
+	                    }
133
+                    }
175 134
 				});
176 135
 
177 136
 			});
178 137
 			//回退
179
-			function JA() {
180
-//				if($('#finalopinion').val()==""){
181
-//					layer.msg('请输入结案意见');
182
-//					return
183
-//				}else if($('#result').val()=="") {
184
-//					layer.msg('请输入处理结果');
185
-//					return
186
-//				}
138
+			function JA(bUnits) {
187 139
 				$.post(huayi.config.callcenter_url + 'WorkOrder/ForceFinishWorkOrder', {
188 140
 					workorderid: wid,
189 141
 					finalopinion:$("#finalopinion").val(),
190 142
 					result:$("#result").val(),//处理结果
191 143
 					issatisfie:$('input[name="huifang"]:checked ').val(),
192 144
 					isnotice: $('#isBulletin').val(),//0不通告1通告
193
-					deptids: $('#depID').val(),//通报单位
194
-//					noticereson: $('#bulletinReason').val(),//通报原因
195
-					noticeid:$('.orderType').val(),//通报id
196
-					noticeinfo:$('.orderType').find("option:selected").text(),
197
-					noticereson:$('#reasons').val(),//其他通报原因
198
-					isstandard:$('#isStandard').val(),//是否规范0是1否
145
+					deptids: bUnits,//通报单位
146
+					noticereson: $('#bulletinReason').val(),//通报原因
199 147
 					token: $.cookie("token")
200 148
 				}, function(result) {
201 149
 					//debugger;
@@ -216,7 +164,6 @@
216 164
 					token: $.cookie("token")
217 165
 				}, function(result) {
218 166
 					if(result.state.toLowerCase() == "success") {
219
-						$('#depID').val(result.data[0].F_DeptId)
220 167
 						if(result.data.length > 0) {
221 168
 							$('#isBulletin').removeAttr("disabled");
222 169
 							for(var i = 0; i < result.data.length; i++){							
@@ -252,38 +199,6 @@
252 199
 					}
253 200
 				})
254 201
 			}
255
-			function getOrderType() {
256
-				$.get(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByParentId', {
257
-					"token": $.cookie("token"),
258
-					pid: 62
259
-				}, function(result) {
260
-					result = $.parseJSON(result);
261
-					var Count = result.data;
262
-					$(Count).each(function(i, n) {
263
-			            $('<option value="' + n.F_ValueId + '">' + n.F_Value + '</option>').appendTo($(".orderType"));
264
-					})
265
-				});
266
-			}
267
-			//不规范原因
268
-			function getIsStandard() {
269
-				$.get(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByParentId', {
270
-					"token": $.cookie("token"),
271
-					pid: 78
272
-				}, function(result) {
273
-					result = $.parseJSON(result);
274
-					var Count = result.data;
275
-					$(Count).each(function(i, n) {
276
-			            $('<option value="' + n.F_ValueId + '">' + n.F_Value + '</option>').appendTo($(".standard"));
277
-					})
278
-				});
279
-			}
280
-			$('.orderType').change(()=>{
281
-				if($('.orderType').val()==76){
282
-					$('.reasons').show()
283
-				}else{
284
-					$('.reasons').hide()
285
-				}
286
-			})
287 202
 		</script>
288 203
 	</body>
289 204
 </html>

+ 1 - 1
WebUI/CallCenterWeb.UI/CommonHtml/SupervList.html

@@ -31,7 +31,7 @@
31 31
 					<thead>
32 32
 						<tr>
33 33
 							<th data-field="id" data-align="center" >诉求编号</th>
34
-							<th data-field="usercode" data-align="center">关键字</th>
34
+							<th data-field="usercode" data-align="center">诉求标题</th>
35 35
 							<th data-field="addtime" data-align="center">诉求时间</th>
36 36
 							<th data-field="acceptname" data-align="center">办理状态</th>
37 37
 							<th data-field="zuoxi" data-align="center">督办意见</th>

+ 32 - 75
WebUI/CallCenterWeb.UI/CommonHtml/Supervision_.html

@@ -8,7 +8,7 @@
8 8
 		<link href="../css/layer/need/layer.css" />
9 9
 		<link rel="stylesheet" href="../css/init.css" />
10 10
 		<title>监察</title>
11
-		<style>
11
+			<style>
12 12
 			.input {
13 13
 				background-color: #FFF;
14 14
 				background-image: none;
@@ -22,10 +22,6 @@
22 22
 				padding: 0!important;
23 23
 				border: none!important;
24 24
 			}
25
-			
26
-			#message {
27
-				display: none;
28
-			}
29 25
 		</style>
30 26
 	</head>
31 27
 
@@ -41,7 +37,7 @@
41 37
 					<td colspan="7">
42 38
 						<!--<span class="fjnr"></span>-->
43 39
 						<div class="fileBox">
44
-							<!--<span class="files">文件1<i class="fa fa-remove"></i></span>-->
40
+									<!--<span class="files">文件1<i class="fa fa-remove"></i></span>-->
45 41
 						</div>
46 42
 						<input class="input" type="file" name="upFile" id="upFile" multiple="multiple" style="display: none;">
47 43
 						<input class="input" type="button" value="上传" id="scwj" />
@@ -53,11 +49,6 @@
53 49
 					</td>
54 50
 				</tr>
55 51
 			</table>
56
-			<!--<div id="message" style="margin: 20px 0 0 130px;text-align: left;">
57
-				是否发送短信
58
-				<input type="radio" name="message" id="" value="0" />否
59
-				<input type="radio" name="message" id="" value="1" />是
60
-			</div>-->
61 52
 			<div class="btn_box">
62 53
 				<button class="btns DB">保存</button>
63 54
 				<button class="btns JC">保存</button>
@@ -68,34 +59,17 @@
68 59
 			var wid = helper.request.queryString("wid");
69 60
 			var type = helper.request.queryString("type");
70 61
 			var state = helper.request.queryString("state");
71
-			var depId = helper.request.queryString("depId");
62
+			
72 63
 			$(document).ready(function() {
73
-				if(wid) {
74
-					$.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetWorkOrder', {
75
-						workorderid: wid,
76
-						"token": $.cookie("token")
77
-					}, function(result) {
78
-						if(result.state.toLowerCase() == "success") {
79
-							var content = result.data;
80
-							if(content.data[0].F_DeptIdIsSms == 1) {
81
-								$('#message input[value="1"]').attr('checked', true)
82
-							} else {
83
-								$('#message input[value="0"]').attr('checked', true)
84
-							}
85
-						}
86
-					})
87
-				}
88 64
 				if(type == 1) {
89
-					if(state == 1) {
65
+					if (state==1) {
90 66
 						$(".title").text("督办意见");
91 67
 						$(".JC").hide();
92
-						$('#message').show();
93
-					} else {
68
+					}else{
94 69
 						$(".title").text("不督办意见");
95 70
 						$(".JC").hide();
96
-						$('#message').hide()
97 71
 					}
98
-
72
+					
99 73
 				} else {
100 74
 					$(".title").text("监察意见")
101 75
 					$(".DB").hide();
@@ -106,9 +80,6 @@
106 80
 					} else {
107 81
 						type = 1;
108 82
 						JA();
109
-						if($('#message input[type="radio"]:checked').val() == 1) {
110
-							sendMessage();
111
-						}
112 83
 					}
113 84
 				})
114 85
 				$(".JC").click(function() {
@@ -126,33 +97,19 @@
126 97
 				$("#upFile").change(function() {
127 98
 					upload();
128 99
 				})
129
-				//				$("#scfj").click(function() {
130
-				//					$(".fjnr").text("");
131
-				//					$("#scfj").hide();
132
-				//				})
100
+//				$("#scfj").click(function() {
101
+//					$(".fjnr").text("");
102
+//					$("#scfj").hide();
103
+//				})
133 104
 			})
134
-			//发送短信
135
-			function sendMessage() {
136
-				$.post(huayi.config.callcenter_url + 'WorkOrder/SendSms', {
137
-					workordercode: wid,
138
-					deptid: depId, //承办单位
139
-					type: 1,
140
-					token: $.cookie("token")
141
-				}, function(result) {
142
-					result = JSON.parse(result);
143
-					if(result.state.toLowerCase() == 'success') {
144
-						layer.msg('发送短信成功')
145
-					}
146
-				})
147
-			}
148 105
 			//督察
149 106
 			function JA() {
150 107
 				$.post(huayi.config.callcenter_url + 'WorkOrder/RemindWorkOrder', {
151 108
 					workorderid: wid,
152 109
 					overseeopinion: $("#overseeopinion").val(),
153 110
 					type: type,
154
-					state: state,
155
-					files: $("#file").val(),
111
+					state:state,
112
+					files:$("#file").val(),
156 113
 					"token": $.cookie("token")
157 114
 				}, function(result) {
158 115
 					result = JSON.parse(result);
@@ -162,7 +119,7 @@
162 119
 						parent.layer.close(index); //再执行关闭
163 120
 						parent.$('#orderlist').bootstrapTable('refresh');
164 121
 						parent.layer.msg("操作成功");
165
-						$('.fileBox').html('');
122
+							$('.fileBox').html('');
166 123
 					}
167 124
 				})
168 125
 			}
@@ -175,8 +132,8 @@
175 132
 						formData.append('file' + i, Files[i]);
176 133
 					}
177 134
 					formData.append("token", $.cookie("token"));
178
-					var typeName = Files[0].name.split('.')[1];
179
-					if(typeName == "png" || typeName == 'jpg' || typeName == 'mp4' || typeName == 'mp3' || typeName == 'pdf' || typeName == 'doc' || typeName == 'docx' || typeName == 'xls' || typeName == 'xlsx') {
135
+					var typeName=Files[0].name.split('.')[1];
136
+                	if (typeName=="png"||typeName=='jpg'||typeName=='mp4'||typeName=='mp3'||typeName=='pdf'||typeName=='doc'||typeName=='docx'||typeName=='xls'||typeName=='xlsx') {
180 137
 						$.ajax({
181 138
 							url: huayi.config.callcenter_url + "/WorkOrder/UploadFile",
182 139
 							type: "POST",
@@ -199,42 +156,42 @@
199 156
 								if(r.state.toLowerCase() == "success") {
200 157
 									$(".fjnr").text(r.data[0].F_FileName);
201 158
 									var a = r.data;
202
-									//								var str = '';
203
-									//								var Str;
204
-
159
+	//								var str = '';
160
+	//								var Str;
161
+	
205 162
 									$(a).each(function(i, n) {
206
-										var strs = '<span class="files" fiel-num="' + n.F_FileId + '">' + n.F_FileName.substring(19) + '<i class="fa fa-remove del_file"></i></span>'
207
-										$(strs).appendTo($('.fileBox')).find('.del_file').click(function(event) {
208
-											event.stopPropagation();
209
-											$(this).parent().remove();
163
+										var strs='<span class="files" fiel-num="'+ n.F_FileId +'">'+ n.F_FileName.substring(19) +'<i class="fa fa-remove del_file"></i></span>'
164
+									$(strs).appendTo($('.fileBox')).find('.del_file').click(function(event){
165
+										event.stopPropagation();
166
+										$(this).parent().remove();
210 167
 											file_num();
211
-										})
168
+									})
212 169
 									})
213 170
 									file_num();
214 171
 								}
215 172
 							}
216 173
 						});
217
-					} else {
218
-						layer.msg("格式不正确");
219
-					}
174
+					}else{
175
+			    		layer.msg("格式不正确");
176
+			    	}
220 177
 				} else {
221 178
 					layer.confirm('请上传文件!', {
222 179
 						btn: ['确定']
223 180
 					});
224 181
 				}
225 182
 			}
226
-
227
-			//上传文件隐藏域值
228
-			function file_num() {
183
+			
184
+				//上传文件隐藏域值
185
+			function file_num(){
229 186
 				var str = '';
230 187
 				var Str;
231
-				$('.fileBox .files').each(function(j, m) {
232
-					var aa = $(m).attr("fiel-num")
188
+				$('.fileBox .files').each(function(j,m){
189
+					var aa=$(m).attr("fiel-num")
233 190
 					console.log(aa);
234 191
 					str += aa + ",";
235 192
 					Str = (str.substring(str.length - 1) == ',') ? str.substring(0, str.length - 1) : str;
236 193
 				})
237
-				$("#file").val(Str);
194
+				$("#file").val(Str);	
238 195
 			}
239 196
 		</script>
240 197
 	</body>

+ 60 - 142
WebUI/CallCenterWeb.UI/CommonHtml/Timesq.html

@@ -1,153 +1,71 @@
1 1
 <!DOCTYPE html>
2 2
 <html>
3
-
4
-<head>
5
-    <meta charset="UTF-8">
3
+	<head>
4
+		<meta charset="UTF-8">
6 5
     <script src="../Script/Common/huayi.load.js"></script>
7 6
     <script src="../Script/Common/huayi.config.js"></script>
8 7
     <link href="../css/layer/need/layer.css" />
9 8
     <link rel="stylesheet" href="../css/init.css" />
10
-    <title>延时申请</title>
11
-</head>
12
-
13
-<body>
14
-    <div class="Common">
15
-        <table>
16
-            <tr>
17
-                <th class="Importent">延时类型:</th>
18
-                <td>
19
-                    <select id="delayType" class="" style="width: 192px; height: 32px;">
20
-                        <option value="1" selected="selected">办理时限</option>
21
-                        <option value="2">扫描件时效</option>
22
-                    </select>
23
-                </td>
24
-            </tr>
25
-            <tr>
26
-                <th class="Importent">申请延时时间:</th>
27
-                <td> <input type="text" id="startTime" class="laydate-icon" style="height: 32px;" autocomplete="off">
28
-                </td>
29
-            </tr>
30
-            <tr>
31
-                <th class="Importent">申请延时原因:</th>
32
-                <td colspan="2">
33
-                    <textarea data-adaptheight id="reason" name="" rows="" cols=""></textarea>
34
-                </td>
35
-            </tr>
36
-        </table>
37
-        <div class="btn_box">
38
-            <button class="btns">保存</button>
39
-        </div>
40
-    </div>
41
-    <script src="../css/laydate/laydate.js"></script>
42
-    <script src="../js/adjustHeight.js"></script>
43
-    <script>
44
-        var wid = helper.request.queryString("wid");
45
-        // var limitTime = "";
46
-        $(document).ready(function () {
47
-            getDetail()
48
-
49
-            $(".btns").click(function () {
50
-                if ($("#reason").val() == '') {
51
-                    layer.msg("申请原因不为空");
52
-                } else {
53
-                    if ($("#delayType").val() == '1') {
54
-                        JA();
55
-                    } else if ($("#delayType").val() == '2') {
56
-                        scanningDelay()
57
-                    }
58
-                }
59
-
60
-            })
61
-        })
62
-        //批示
63
-        function JA() {
64
-            // $("#startTime").val()
65
-            $.post(huayi.config.callcenter_url + 'WorkOrder/DelayWorkOrder', {
66
-                workorderid: wid,
67
-                reason: $("#reason").val(),
68
-                newlimittime: $("#startTime").val(),
69
-                "token": $.cookie("token")
70
-            }, function (result) {
71
-                result = JSON.parse(result);
72
-                if (result.state.toLowerCase() == "success") {
73
-
74
-                    var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
75
-                    parent.layer.close(index); //再执行关闭
76
-                    parent.$('#orderlist').bootstrapTable('refresh');
77
-                    parent.layer.msg("申请延时成功");
9
+    		   <title>延时申请</title>
10
+	</head>
11
+	<body>
12
+		<div class="Common">
13
+		<table >
14
+			<tr>
15
+				<th class="Importent">申请超时时间:</th>
16
+				<td > <input type="text" id="startTime" class="laydate-icon" style="height: 32px;"></td>
17
+			</tr>
18
+			<tr>
19
+				<th class="Importent">申请延时原因:</th>
20
+				<td colspan="2">
21
+					<textarea data-adaptheight  id="reason" name="" rows="" cols=""></textarea>
22
+				</td>
23
+			</tr>
24
+		</table>
25
+		<div class="btn_box">
26
+			<button class="btns">保存</button>
27
+		</div>
28
+		</div>
29
+		   <script src="../css/laydate/laydate.js"></script>
30
+		   <script src="../js/adjustHeight.js"></script>
31
+		   <script >
32
+		   	laydate.skin('blue');
78 33
 
79
-                }
80
-            })
81
-        }
82
-        // 扫描件延时
83
-        function scanningDelay() {
84
-            $.post(huayi.config.callcenter_url + 'WorkOrder/DelayScanning', {
85
-                workorderid: wid,
86
-                reason: $("#reason").val(),
87
-                newlimittime: $("#startTime").val(),
88
-                "token": $.cookie("token")
89
-            }, function (result) {
90
-                result = JSON.parse(result);
91
-                if (result.state.toLowerCase() == "success") {
92
-                    var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
93
-                    parent.layer.close(index); //再执行关闭
94
-                    parent.$('#orderlist').bootstrapTable('refresh');
95
-                    parent.layer.msg("申请延时成功");
96
-                }
97
-            })
98
-        }
99
-
100
-        // 时间组件
101
-        function timeComponent(limitTime) {
102
-            var date = (new Date(limitTime)).getTime();
103
-            date = date + (3 * 3600 * 24 * 1000);
104
-            date = new Date(date)
105
-            var year = date.getFullYear();
106
-            var month = date.getMonth();
107
-            var day = date.getDate();
108
-            var hour = date.getHours();
109
-            var minutes = date.getMinutes();
110
-            var seconds = date.getSeconds();
111
-            month = month + 1;
112
-            if (month >= 1 && month <= 9) {
113
-                month = "0" + month
114
-            }
115
-            if (day >= 1 && day <= 9) {
116
-                day = "0" + day
117
-            }
118
-            var threeDaysTime = year + "-" + month + "-" + day + " " + hour + ":" + minutes + ":" + seconds 
119
-            console.log("threeDaysTime", threeDaysTime)
120
-            laydate.skin('blue');
121 34
             laydate({
122 35
                 elem: '#startTime',
123
-                event: 'focus',
124
-                min: limitTime,
125
-                max: threeDaysTime,
36
+                event: 'focus'
126 37
             });
127
-        }
128
-
129
-        // 获取详情
130
-        function getDetail() {
131
-            $.ajax({
132
-                type: "get",
133
-                url: huayi.config.callcenter_url + "WorkOrder/GetWorkOrder",
134
-                async: true,
135
-                dataType: 'json',
136
-                data: {
137
-                    token: $.cookie("token"),
138
-                    workorderid: wid,
139
-                },
140
-                success: function (data) {
141
-                    if (data.state.toLowerCase() == "success") {
142
-                        var data = data.data.data[0]
143
-                        var limitTime = data.F_LimitTime
144
-                        console.log("limitTime", limitTime)
145
-                        timeComponent(limitTime)
146
-                    }
147
-                }
148
-            });
149
-        }
150
-    </script>
151
-</body>
38
+            var wid = helper.request.queryString("wid");
39
+			$(document).ready(function() {
40
+				$(".btns").click(function(){
41
+					if($("#reason").val()==''){
42
+						layer.msg("申请原因不为空");
43
+					}else {
44
+					  JA();	
45
+					}
46
+					
47
+				})
48
+			})
49
+			//批示
50
+			function JA() {
51
+				$.post(huayi.config.callcenter_url + 'WorkOrder/DelayWorkOrder', {
52
+					workorderid: wid,
53
+					reason:$("#reason").val(),
54
+					newlimittime:$("#startTime").val(),
55
+					"token": $.cookie("token")
56
+				}, function(result) {
57
+					result = JSON.parse(result);
58
+					if(result.state.toLowerCase() == "success") {
59
+						
60
+					var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
61
+                    parent.layer.close(index); //再执行关闭
62
+						  parent.$('#orderlist').bootstrapTable('refresh');
63
+						  parent.layer.msg("申请延时成功");
64
+                  	
65
+					}
66
+				})
67
+			}
68
+		   </script>
69
+	</body>
70
+</html>
152 71
 
153
-</html>

File diff suppressed because it is too large
+ 1247 - 1144
WebUI/CallCenterWeb.UI/CommonHtml/WorkDatil.html


+ 0 - 4
WebUI/CallCenterWeb.UI/CommonHtml/XGHF.html

@@ -23,10 +23,6 @@
23 23
 				  	<select class="select_" id="type">
24 24
 				  		<option value="0">电话</option>
25 25
 				  		<option value="1">微信</option>
26
-				  		<option value="2">APP</option>
27
-				  		<option value="3">网站</option>
28
-				  		<option value="4">微博</option>
29
-				  		<option value="5">信箱</option>
30 26
 				  	</select>
31 27
 				  </td>
32 28
 				</th>

+ 10 - 5
WebUI/CallCenterWeb.UI/CommonHtml/XGjiaoban1.html

@@ -70,13 +70,17 @@
70 70
         <div class="alignC headerAlign">
71 71
 <br />
72 72
             <h2 style="margin-bottom: 15px;">
73
-                  	巩义市12345政务服务热线办公室工作交办单
73
+                  	商丘市12345政务服务热线办公室工作交办单
74 74
             </h2>
75 75
             <div class="company">
76
-            	<span>办单位:</span>
76
+            	<span>办单位:</span>
77 77
             	<span class="inpBox"></span>
78 78
             </div>
79 79
          
80
+            <div class="company" id="xbdw" style="display: none;">
81
+            	<span>协办单位:</span>
82
+            	<span class="xinpBox"></span>
83
+            </div>
80 84
         </div>
81 85
         <table class="alignC" border="1" cellpadding="4" cellspacing="0" bordercolor="#cbcbcb">          
82 86
             <tbody>
@@ -91,11 +95,11 @@
91 95
                     <td rowspan="2" width="16%">
92 96
                         <span class="tssj"></span>
93 97
                     </td>
94
-                    <!--<td width="16%">签收时间
98
+                    <td width="16%">签收时间
95 99
                     </td>
96 100
                     <td width="20%">
97 101
                         <span class="QSHJ"></span>
98
-                    </td>-->
102
+                    </td>
99 103
                 </tr>
100 104
                 <tr style="min-height: 49px;">
101 105
                     <td>
@@ -189,9 +193,10 @@
189 193
 		                var m = content.jbdata.length;
190 194
 		                if (m > 0) {
191 195
 		                	
192
-	                	  	$('.inpBox').text(content.jbdata[m-1].DeptName);//办单位
196
+	                	  	$('.inpBox').text(content.jbdata[m-1].DeptName);//办单位
193 197
 	                	  	if(content.jbdata[m-1].OtherDeptName){
194 198
 	                	  		$('#xbdw').show();
199
+	                	  		$('.xinpBox').text(content.jbdata[m-1].OtherDeptName);//协办单位
195 200
 	                	  	}else{
196 201
 	                	  		$('#xbdw').hide();
197 202
 	                	  	}

+ 1 - 1
WebUI/CallCenterWeb.UI/CommonHtml/XGwordel.html

@@ -423,7 +423,7 @@
423 423
 	            		if (data.state.toLowerCase() == "success") {
424 424
 		                    var content = data.data;
425 425
 		                    $(content).each(function (i, n) {
426
-		                        if (n.F_AreaName != '巩义市') {
426
+		                        if (n.F_AreaName != '商丘市') {
427 427
 		                            $("<option value='" + n.F_AreaId + "'>" + n.F_AreaName + "</option>").appendTo(obj);
428 428
 		                        }
429 429
 		                    })

+ 213 - 247
WebUI/CallCenterWeb.UI/CommonHtml/banli.html

@@ -5,7 +5,6 @@
5 5
     <meta charset="UTF-8">
6 6
     <script src="../Script/Common/huayi.load.js"></script>
7 7
     <script src="../Script/Common/huayi.config.js"></script>
8
-    <link rel="stylesheet" href="../css/bootstrap-select.css" />
9 8
     <link href="../css/layer/need/layer.css" />
10 9
     <link rel="stylesheet" href="../css/init.css" />
11 10
     <title>办理工单</title>
@@ -18,148 +17,144 @@
18 17
             color: inherit;
19 18
             padding: 6px 12px
20 19
         }
21
-
22
-        .fjnr {
20
+	    .fjnr {
23 21
             padding: 0 !important;
24 22
             border: none !important;
25 23
         }
26
-
27
-        .ishf {
28
-            display: none;
29
-        }
30
-
31
-        /*.Common span{
32
-        	border: none;
33
-        	padding: 0;
34
-        	color: #000000;
35
-        }*/
36 24
     </style>
37 25
 </head>
38 26
 
39 27
 <body>
40 28
     <div class="Common">
41 29
         <table>
42
-            <tr class="blBtn">
43
-                <th class="Importent">承办单位:</th>
44
-                <td colspan="2" style="width: 200px;">
45
-                    <select id="jbSelect" name="select" class="selectpicker show-tick  form-control"
46
-                        data-live-search="true">
47
-                    </select>
48
-                </td>
49
-            </tr>
50 30
             <tr>
51
-                <th class="Importent">办理责任人:</th>
52
-                <td>
53
-                    <input id="dealman" type="text" style="height: 32px;">
54
-                </td>
55
-                <th class="Importent">联系方式:</th>
31
+                <th class="Importent">承办人:</th>
56 32
                 <td>
57
-                    <input type="text" id="dealcontact">
58
-                </td>
59
-                <th class="Importent">职务:</th>
60
-                <td>
61
-                    <input type="text" id="duties">
33
+                	<input id="dealman" type="text" style="height: 32px;">
62 34
                 </td>
35
+            	<th class="Importent">联系方式:</th>
36
+            	<td>
37
+            		<input type="text" id="dealcontact">
38
+            	</td>
39
+            	<th class="Importent">职务:</th>
40
+            	<td>
41
+            		<input type="text" id="duties">
42
+            	</td>
63 43
             </tr>
64 44
             <tr>
65
-                <th class="Importent">处理结果:</th>
45
+                <th class="Importent">处理情况:</th>
66 46
                 <td colspan="5">
67
-                    <textarea data-adaptheight id="situation" name="" rows="6" cols=""></textarea>
47
+                	<textarea data-adaptheight id="result" name="" rows="6" cols=""></textarea>
48
+                
49
+					       <!--20   年       月      日,               政务                  街道/        单位             部门
50
+					        接到12345热线工单(编号:                            ) 来电人反映的                            。经落实,具体情况回复如下:
51
+				        
52
+				        
53
+				              办理结果:        
54
+					      承办人:
55
+					      职务:
56
+					      联系电话:-->
57
+                
68 58
                 </td>
59
+                <input type="hidden" id="ID" />
60
+            </tr>
61
+            <tr>
62
+            	<th class="Importent">是否有处理结果:</th>
63
+            	<td id="isProResultRadio" style="font-size: 12px">
64
+					<label style="margin-right: 10px">
65
+                    	<input type="radio" value="1" name="isDisposeResult" style="vertical-align: -2px;" />是
66
+					</label>
67
+            		<label>
68
+                    	<input type="radio" value="2" name="isDisposeResult" style="vertical-align: -2px;" />否
69
+            		</label>
70
+            	</td>
71
+            </tr>
72
+            <tr class="prosituation-wrapper">
73
+            	<th>处理方案/进程:</th>
74
+            	<td colspan="5">
75
+                	<textarea data-adaptheight id="prosituation" name="" rows="6" cols="" ></textarea>
76
+            	</td>
77
+            </tr>
78
+            <tr class="annotation-wrapper">
79
+            	<th style="color:#FF0000;">注释:</th>
80
+            	<td style="color:#FF0000" colspan="5">请提交加盖单位公章的相关说明文件,不添加文件说明将被扣考核分</td>
81
+            </tr>
82
+            <tr class="connecttime-wrapper">
83
+            	<th>沟通时间:</th>
84
+            	<td>
85
+            		<input type="text" class="laydate-icon" id="connecttime" style="width: 172px; height: 32px; border-color: rgb(158, 158, 158);">
86
+            	</td>
87
+            </tr>
88
+            <tr class="connectmode-wrapper">
89
+            	<th>沟通方式:</th>
90
+            	<td>
91
+            		<input type="text" id="connectmode">
92
+            	</td>
93
+            </tr>
94
+            <tr class="replycontent-wrapper">
95
+            	<th>答复内容:</th>
96
+            	<td colspan="5">
97
+                	<textarea id="replycontent" name="" rows="6" cols="" ></textarea>
98
+            	</td>
99
+            </tr>
100
+            <tr class="isstaisfied-wrapper">
101
+            	<th>是否满意:</th>
102
+            	<td id="isStaisfiedRadio" style="font-size: 12px" colspan="5">
103
+					<label style="margin-right: 10px;">
104
+                    	<input type="radio" value="1" name="isstaisfied" style="vertical-align: -2px;" />满意
105
+					</label>
106
+            		<label style="margin-right: 10px;">
107
+                    	<input type="radio" value="2" name="isstaisfied" style="vertical-align: -2px;" />基本满意
108
+            		</label>
109
+            		<label style="margin-right: 10px;">
110
+                    	<input type="radio" value="3" name="isstaisfied" style="vertical-align: -2px;" />不满意
111
+            		</label>
112
+            	</td>
69 113
             </tr>
70
-
71 114
             <tr class="files-wrappper">
72 115
                 <th class="Importent">附件:</th>
73 116
                 <td colspan="5">
74 117
                     <div class="fileBox">
75 118
                     </div>
76 119
                     <!--<span class="fjnr"></span>-->
77
-                    <input class="input" type="file" name="upFile" id="upFile" multiple="multiple"
78
-                        style="display: none;">
120
+                    <input class="input" type="file" name="upFile" id="upFile" multiple="multiple" style="display: none;">
79 121
                     <input class="input" type="button" value="上传" id="scwj" />
80 122
                     <!--<input class="input" type="button" value="删除附件" id="scfj" style="display:none;" />-->
81 123
                     <input type="hidden" id="file" />
82
-                    <span style="color:#FF0000; border: none;">
83
-                        (文件格式为png,jpg,mp4,mp3,pdf,doc,docx,xls,xlsx)
124
+                	<span style="color:#FF0000; border: none;">
125
+                    	(文件格式为png,jpg,mp4,mp3,pdf,doc,docx,xls,xlsx)
84 126
                     </span>
85 127
                 </td>
86 128
             </tr>
87
-            <tr class="ishf">
88
-                <!-- <th>
89
-	                    来电号码:
90
-	                </th>
91
-					  <td><a class="CallOut" id="CallOut"><span class="F_CusPhone"></span><img class="cupImg" style="vertical-align: text-bottom;margin-left: 5px;" src="../img/Phones.png" /></a></td> -->
92
-                <th>
93
-                    联系号码:
94
-                </th>
95
-                <td><a class="CallOut1" id="CallOut1"><span class="F_ConPhone"></span><img class="copImg"
96
-                            style="vertical-align: text-bottom;margin-left: 5px;" src="../img/Phones.png" /></a></td>
97
-
98
-            </tr>
99
-            <tr class="ishf">
100
-                <th class="Importent">
101
-                    回访人:
102
-                </th>
103
-                <td><input type="text" id="visituser" /></td>
104
-                <th>
105
-                    回访方式:
106
-                </th>
107
-                <td>
108
-                    <select class="select_" id="hfType">
109
-                        <option value="0">电话</option>
110
-                        <!-- <option value="1">微信</option>
111
-                        <option value="2">APP</option>
112
-                        <option value="3">网站</option>
113
-                        <option value="4">微博</option>
114
-                        <option value="5">信箱</option> -->
115
-                    </select>
116
-                </td>
117
-            </tr>
118
-            <tr class="ishf">
119
-                <th class="Importent">回访结果:</th>
120
-                <td>
121
-                    <input checked="true" type="radio" value="1" name="huifang" />满意
122
-                    <input type="radio" value="0" name="huifang" />不满意
123
-                </td>
124
-            </tr>
125
-            <tr class="ishf">
126
-                <th class="Importent">回访内容:</th>
127
-                <td colspan="7"><textarea data-adaptheight id="result" name="" rows=""
128
-                        style="height: 150px; overflow-y: auto;"></textarea></td>
129
-            </tr>
130
-
131
-            <input type="hidden" id="ID" />
132 129
         </table>
133 130
         <div class="btn_box">
134
-            <button class="btns  Submit">办理</button>
131
+            <button class="btns BC">保存</button>
132
+            <button class="btns  Submit">保存并办理</button>
135 133
         </div>
136 134
     </div>
137 135
     <script src="../css/laydate/laydate.js"></script>
138
-    <script src="../js/bootstrap-select.js"></script>
139 136
     <script src="../js/adjustHeight.js"></script>
140 137
     <script>
141 138
         var wid = helper.request.queryString("wid");
142 139
         var isProtect = helper.request.queryString("isProtect");
143 140
         var State;
144
-        var a = $("#ID").val();
145
-        var simpleDetailStrStart = "";
146
-        var simpleDetailStrEnd = "";
147
-        var simpleDetailStr = "";
148
-        var ishf;
141
+        var a = $("#ID").val()
149 142
         Detail();
150
-        loadTEL();
151 143
         $(document).ready(function () {
144
+	    	laydate.skin('blue');
145
+            laydate({
146
+                elem: '#connecttime',
147
+                event: 'focus',
148
+		        istoday: true,
149
+		        istime: true,
150
+		        type: 'datetime',
151
+		        format: 'YYYY-MM-DD hh:mm:ss',
152
+            });
152 153
 
153
-            laydate.skin('blue');
154
-            simpleDetail();
155
-            jbSelect($("#jbSelect"));
156 154
             //上传附件
157 155
             $("#scwj").click(function () {
158 156
                 $("#upFile").trigger("click");
159 157
             })
160
-            if ($.cookie("code") == "WLDW") {
161
-                $(".blBtn").hide()
162
-            }
163 158
             $("#upFile").change(function () {
164 159
                 upload();
165 160
             })
@@ -168,20 +163,17 @@
168 163
                 $("#scfj").hide();
169 164
             })
170 165
             $('.BC').click(function () {
171
-
172
-                if ($.cookie("code") != "WLDW") {
173
-                    if ($("#jbSelect").val() == "") {
174
-                        layer.msg("办理单位不能为空");
175
-                    }
176
-                } else if ($("#dealman").val() == "") {
166
+                if ($("#dealman").val() == "") {
177 167
                     layer.msg("办理人不能为空");
178
-                } else if ($("#situation").val() == "") {
168
+                } else if ($("#result").val() == "") {
169
+                    layer.msg("办理内容不能为空");
170
+                } else if ($('#isProResultRadio input[name="isDisposeResult"]:checked').val() == null) {
179 171
                     layer.msg("处理结果不能为空");
180 172
                 } else if ($("#dealcontact").val() == "") {
181
-                    layer.msg("联系方式不能为空")
173
+                	layer.msg("联系方式不能为空")
182 174
                 } else if ($("#duties").val() == "") {
183
-                    layer.msg("职务不能为空")
184
-                } else {
175
+                	layer.msg("职务不能为空")
176
+                } else  {
185 177
                     State = 0;
186 178
                     JA();
187 179
                 }
@@ -190,50 +182,65 @@
190 182
             $('.Submit').click(function () {
191 183
                 if ($("#dealman").val() == "") {
192 184
                     layer.msg("办理人不能为空");
193
-                } else if ($("#situation").val() == "") {
194
-                    layer.msg("处理情况不能为空");
185
+                } else if ($("#result").val() == "") {
186
+                    layer.msg("办理内容不能为空");
187
+                } else if ($('#isProResultRadio input[name="isDisposeResult"]:checked').val() == null) {
188
+                    layer.msg("处理结果不能为空");
195 189
                 } else if ($("#dealcontact").val() == "") {
196
-                    layer.msg("联系方式不能为空")
190
+                	layer.msg("联系方式不能为空")
197 191
                 } else if ($("#duties").val() == "") {
198
-                    layer.msg("职务不能为空")
199
-                } else if ($("#visituser").val() == "") {
200
-                    layer.msg("回访人不能为空");
201
-                } else if ($(' input[name="huifang"]:checked ').val() == "") {
202
-                    layer.msg("回访满意度不能为空");
203
-                } else if ($("#result").val() == '') {
204
-                    layer.msg("回访内容不能为空");
192
+                	layer.msg("职务不能为空")
205 193
                 } else {
206 194
                     State = 1;
207 195
                     JA();
208 196
                 }
209 197
             })
210
-
198
+            
199
+			$(".prosituation-wrapper").hide(); //处理方案/进程
200
+			$(".annotation-wrapper").hide(); //注释
201
+			$(".connecttime-wrapper").hide(); //沟通时间
202
+			$(".connectmode-wrapper").hide(); //沟通方式
203
+			$(".replycontent-wrapper").hide(); //答复内容
204
+			$(".isstaisfied-wrapper").hide();  //是否满意
205
+			
206
+            /*
207
+             * 处理结果
208
+             * 默认 0
209
+             * 是 1
210
+             * 否 2
211
+             */
212
+			$('#isProResultRadio').find('input[type="radio"]').on('change', function() {
213
+					$("#prosituation").val(""); //处理方案/进程
214
+					$("#connecttime").val(""); //沟通时间
215
+					$("#connectmode").val(""); //沟通方式
216
+					$("#replycontent").val(""); //答复内容
217
+					$('#isStaisfiedRadio input[name="isstaisfied"]:checked').prop("checked", false);  //是否满意
218
+					isProResultJudge($(this).val())
219
+			});
220
+            
211 221
         });
212 222
         //交办
213 223
         function JA() {
214
-
215 224
             $.post(huayi.config.callcenter_url + 'WorkOrder/FeedBackWorkOrder', {
216 225
                 workorderid: wid,
217 226
                 dealman: $("#dealman").val(), //承办人
218
-                maindeptid: $("#jbSelect").val(), //承办单位
219 227
                 dealcontact: $("#dealcontact").val(), //联系方式
220 228
                 duties: $("#duties").val(), //职务
221
-                situation: $("#situation").val(), //处理情况
229
+                result: $("#result").val(), //办理情况
230
+                isproresult: $('#isProResultRadio input[name="isDisposeResult"]:checked').val(), //处理结果
231
+                prosituation: $("#prosituation").val(), //处理方案/进程
232
+                connecttime: $("#connecttime").val(), //沟通时间
233
+                connectmode: $("#connectmode").val(), //沟通方式
234
+                replycontent: $("#replycontent").val(), //答复内容
235
+                isstaisfied: $('#isStaisfiedRadio input[name="isstaisfied"]:checked').val(), //是否满意
222 236
                 state: State,
223 237
                 feedbackid: a,
224 238
                 files: $("#file").val(),
225
-                ishf: ishf,
226
-                states: 1,
227
-                visituser: $("#visituser").val(), //回访人
228
-                result: $("#result").val(), //回访内容
229
-                type: $("#hfType").val(),
230
-                issatisfie: $(' input[name="huifang"]:checked ').val(),
231
-                visitid: a,
232 239
                 token: $.cookie("token")
233 240
             }, function (result) {
234 241
                 result = JSON.parse(result);
235 242
                 if (result.state.toLowerCase() == "success") {
236
-                    debugger
243
+
237 244
                     var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
238 245
                     parent.layer.close(index); //再执行关闭
239 246
                     parent.$('#orderlist').bootstrapTable('refresh');
@@ -252,13 +259,20 @@
252 259
                 if (result.state.toLowerCase() == "success") {
253 260
                     if (result.data.length > 0) {
254 261
                         var IsProResultValue = result.data[0].F_IsProResult + "";
255
-                        isProResultJudge(IsProResultValue);
262
+						isProResultJudge(IsProResultValue);
256 263
                         $("#dealman").val(result.data[0].F_DealUser); //承办人
257
-                        $("#situation").val(result.data[0].F_Situation); //处理情况
264
+                        $("#result").val(result.data[0].F_Result); //处理情况
258 265
                         $("#duties").val(result.data[0].F_Duties); //职务
259
-                        $("#dealcontact").val(result.data[0].F_DealUserContact); //联系方式
266
+                        $('#isProResultRadio input[name="isDisposeResult"][value="' + result.data[0].F_IsProResult +'"]').prop("checked", true);//是否有处理结果
267
+                        $("#prosituation").val(result.data[0].F_ProSituation); //处理方案/进程
268
+						$("#dealcontact").val(result.data[0].F_DealUserContact); //联系方式
269
+						$("#connecttime").val(result.data[0].F_ConnectTime); //沟通时间
270
+						$("#connectmode").val(result.data[0].F_ConnectMode); //沟通方式
271
+						$("#replycontent").val(result.data[0].F_ReplyContent); //答复内容
272
+						$('#isStaisfiedRadio input[name="isstaisfied"][value="' + result.data[0].F_IsSatisfied +'"]').prop("checked", true);  //是否满意
260 273
                         a = result.data[0].F_Id;
261 274
                     };
275
+
262 276
                 }
263 277
             })
264 278
         }
@@ -276,50 +290,45 @@
276 290
                     formData.append('file' + i, Files[i]);
277 291
                 }
278 292
                 formData.append("token", $.cookie("token"));
279
-                var typeName = Files[0].name.split('.')[1];
280
-                if (typeName == "png" || typeName == 'jpg' || typeName == 'mp4' || typeName == 'mp3' || typeName ==
281
-                    'pdf' || typeName == 'doc' || typeName == 'docx' || typeName == 'xls' || typeName == 'xlsx') {
282
-                    $.ajax({
283
-                        url: huayi.config.callcenter_url + "/WorkOrder/UploadFile",
284
-                        type: "POST",
285
-                        data: formData,
286
-                        /**
287
-                         *必须false才会自动加上正确的Content-Type
288
-                         */
289
-                        contentType: false,
290
-                        /**
291
-                         * 必须false才会避开jQuery对 formdata 的默认处理
292
-                         * XMLHttpRequest会对 formdata 进行正确的处理
293
-                         */
294
-                        processData: false,
295
-                        success: function (result) {
296
-                            document.getElementById("upFile").outerHTML = document.getElementById("upFile")
297
-                                .outerHTML;
298
-                            $("#upFile").change(function () {
299
-                                upload();
300
-                            });
301
-                            var r = $.parseJSON(result);
302
-                            if (r.state.toLowerCase() == "success") {
303
-                                $(".fjnr").text(r.data[0].F_FileName);
304
-                                var a = r.data;
305
-                                $(a).each(function (i, n) {
306
-                                    var strs = '<span class="files" fiel-num="' + n.F_FileId +
307
-                                        '">' + n.F_FileName.substring(19) +
308
-                                        '<i class="fa fa-remove del_file"></i></span>'
309
-                                    $(strs).appendTo($('.fileBox')).find('.del_file').click(
310
-                                        function (event) {
311
-                                            event.stopPropagation();
312
-                                            $(this).parent().remove();
313
-                                            file_num()
314
-                                        })
315
-                                })
316
-                                file_num();
317
-                            }
318
-                        }
319
-                    });
320
-                } else {
321
-                    layer.msg("格式不正确");
322
-                }
293
+                var typeName=Files[0].name.split('.')[1];
294
+                if (typeName=="png"||typeName=='jpg'||typeName=='mp4'||typeName=='mp3'||typeName=='pdf'||typeName=='doc'||typeName=='docx'||typeName=='xls'||typeName=='xlsx') {
295
+	                $.ajax({
296
+	                    url: huayi.config.callcenter_url + "/WorkOrder/UploadFile",
297
+	                    type: "POST",
298
+	                    data: formData,
299
+	                    /**
300
+	                     *必须false才会自动加上正确的Content-Type
301
+	                     */
302
+	                    contentType: false,
303
+	                    /**
304
+	                     * 必须false才会避开jQuery对 formdata 的默认处理
305
+	                     * XMLHttpRequest会对 formdata 进行正确的处理
306
+	                     */
307
+	                    processData: false,
308
+	                    success: function (result) {
309
+	                        document.getElementById("upFile").outerHTML = document.getElementById("upFile").outerHTML;
310
+	                        $("#upFile").change(function () {
311
+	                            upload();
312
+	                        });
313
+	                        var r = $.parseJSON(result);
314
+	                        if (r.state.toLowerCase() == "success") {
315
+	                            $(".fjnr").text(r.data[0].F_FileName);
316
+	                            var a = r.data;
317
+	                            $(a).each(function (i, n) {
318
+	                                var strs = '<span class="files" fiel-num="' + n.F_FileId + '">' + n.F_FileName.substring(19) + '<i class="fa fa-remove del_file"></i></span>'
319
+	                                $(strs).appendTo($('.fileBox')).find('.del_file').click(function (event) {
320
+	                                    event.stopPropagation();
321
+	                                    $(this).parent().remove();
322
+	                                    file_num()
323
+	                                })
324
+	                            })
325
+	                            file_num();
326
+	                        }
327
+	                    }
328
+	                });
329
+	            }else{
330
+		    		layer.msg("格式不正确");
331
+		    	}
323 332
             } else {
324 333
                 layer.confirm('请上传文件!', {
325 334
                     btn: ['确定']
@@ -332,82 +341,39 @@
332 341
             var Str;
333 342
             $('.fileBox .files').each(function (j, m) {
334 343
                 var aa = $(m).attr("fiel-num")
344
+                console.log(aa);
335 345
                 str += aa + ",";
336 346
                 Str = (str.substring(str.length - 1) == ',') ? str.substring(0, str.length - 1) : str;
337 347
             })
338 348
             $("#file").val(Str);
339 349
         }
340
-
341
-        //简易版工单详情
342
-        function simpleDetail() {
343
-            $.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetWorkorderSimp', {
344
-                workorderid: wid,
345
-                token: $.cookie("token")
346
-            }, function (result) {
347
-                if (result.state.toLowerCase() == "success") {
348
-                    var data = result.data[0];
349
-                    simpleDetailStrStart = data.F_CreateTime + " " + data.deptname + "部门接到" + data.SourceName +
350
-                        "来源工单(编号:" + data.F_WorkOrderId + ")反映" + data.F_ComTitle + "问题,"
351
-                }
352
-            })
353
-        }
354
-
355
-        function jbSelect(obj) {
356
-            obj.empty();
357
-            $.getJSON(huayi.config.callcenter_url + "Department/GetDeptList", {
358
-                "token": $.cookie("token"),
359
-            }, function (data) {
360
-                if (data.state.toLowerCase() == "success") {
361
-
362
-                    var content = data.data;
363
-                    $("<option value=''>请选择</option>").appendTo(obj);
364
-                    $(content).each(function (i, n) {
365
-                        $("<option value='" + n.F_DeptId + "'>" + n.F_DeptName + "</option>").appendTo(
366
-                            obj);
367
-
368
-                    })
369
-                    obj.selectpicker({
370
-                        noneSelectedText: '请选择' //默认显示内容
371
-                    });
372
-                    obj.selectpicker('refresh');
373
-
374
-                }
375
-            })
376
-        }
377
-        //加载用户电话
378
-        function loadTEL() {
379
-            $.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetWorkOrder', {
380
-                workorderid: wid,
381
-                "token": $.cookie("token")
382
-            }, function (result) {
383
-                if (result.state.toLowerCase() == "success") {
384
-                    var Data = result.data.data;
385
-                    if (Data[0].F_CusPhone) {
386
-                        $(".F_CusPhone").text(Data[0].F_CusPhone);
387
-                        $('.cupImg').css('display', 'inline-block')
388
-                    } else {
389
-                        $(".F_CusPhone").css('display', 'none');
390
-                        $('.cupImg').css('display', 'none');
391
-                    }
392
-                    if (Data[0].F_ConPhone) {
393
-                        //$(".F_ConPhone").text("***");
394
-                        $(".F_ConPhone").text(Data[0].F_ConPhone);
395
-                        $('.copImg').css('display', 'inline-block')
396
-                    } else {
397
-                        $(".F_ConPhone").css('display', 'none');
398
-                        $('.copImg').css('display', 'none');
399
-                    }
400
-
401
-                    if ($(".F_ConPhone").text() > 1) {
402
-                        ishf = 1
403
-                        $(".ishf").show()
404
-                    } else {
405
-                        ishf = 0
406
-                        $(".ishf").hide()
407
-                    }
408
-
409
-                }
410
-            })
350
+        
351
+        // 处理结果判断
352
+        function isProResultJudge (isProResultdata) {
353
+			if(isProResultdata === '1') {
354
+				if (isProtect === "1" ) {
355
+					$(".prosituation-wrapper").hide(); //处理方案/进程
356
+					$(".annotation-wrapper").hide(); //注释
357
+					$(".connecttime-wrapper").hide(); //沟通时间
358
+					$(".connectmode-wrapper").hide(); //沟通方式
359
+					$(".replycontent-wrapper").hide(); //答复内容
360
+					$(".isstaisfied-wrapper").hide();  //是否满意
361
+				} else if (isProtect === "0") {
362
+					$(".prosituation-wrapper").hide(); //处理方案/进程
363
+					$(".annotation-wrapper").hide(); //注释
364
+					$(".connecttime-wrapper").show(); //沟通时间
365
+					$(".connectmode-wrapper").show(); //沟通方式
366
+					$(".replycontent-wrapper").show(); //答复内容
367
+					$(".isstaisfied-wrapper").show();  //是否满意
368
+				}
369
+			} else if (isProResultdata === '2') {
370
+				$(".prosituation-wrapper").show(); //处理方案/进程
371
+				$(".annotation-wrapper").show(); //注释
372
+				$(".connecttime-wrapper").hide(); //沟通时间
373
+				$(".connectmode-wrapper").hide(); //沟通方式
374
+				$(".replycontent-wrapper").hide(); //答复内容
375
+				$(".isstaisfied-wrapper").hide();  //是否满意
376
+			}
411 377
         }
412 378
     </script>
413 379
 </body>

+ 44 - 119
WebUI/CallCenterWeb.UI/CommonHtml/banli_zilei.html

@@ -48,23 +48,23 @@
48 48
         <table class="table" border="" cellspacing="0" cellpadding="0" style="border: 1px solid #e7eaec;">
49 49
             <theard>
50 50
                 <tr>
51
-                    <td class="text-center" style="min-width:70px;">序号</td>
52
-					<td class="text-center" style="min-width:70px;">承办人</td>
53
-					<td class="text-center" style="min-width:70px;">联系方式</td>
54
-					<td class="text-center" style="min-width:70px;">职务</td>
55
-					<td class="text-center" style="min-width:70px;">处理结果</td>
56
-                    <td class="text-center" style="min-width:70px;">办理时间</td>
57
-                    <td class="text-center" style="min-width:70px;">办理结果</td>
58
-                    <td class="text-center" style="min-width:70px;">审批时间</td>
59
-                    <td class="text-center" style="min-width:70px;">审批内容</td>
60
-                    <td class="text-center" style="min-width:70px;">审批意见</td>
61
-					<td class="text-center" style="min-width:70px;">类型</td>
62
-					<td class="text-center" style="min-width:70px;">是否有处理结果</td>
63
-					<td class="text-center" style="min-width:70px;">处理方案/进程</td>
64
-					<td class="text-center" style="min-width:70px;">沟通时间</td>
65
-					<td class="text-center" style="min-width:70px;">沟通方式</td>
66
-					<td class="text-center" style="min-width:70px;">是否满意</td>
67
-                    <td class="text-center" style="min-width:70px;">附件</td>
51
+                    <td class="text-center" style="min-width:50px;">序号</td>
52
+					<td class="text-center" style="min-width:50px;">承办人</td>
53
+					<td class="text-center" style="min-width:50px;">联系方式</td>
54
+					<td class="text-center" style="min-width:50px;">职务</td>
55
+                    <td class="text-center" style="min-width:50px;">办理时间</td>
56
+                    <td class="text-center" style="min-width:50px;">办理情况</td>
57
+                    <td class="text-center" style="min-width:50px;">审批时间</td>
58
+                    <td class="text-center" style="min-width:50px;">审批内容</td>
59
+                    <td class="text-center" style="min-width:50px;">审批意见</td>
60
+					<td class="text-center" style="min-width:50px;">类型</td>
61
+					<td class="text-center" style="min-width:50px;">是否有处理结果</td>
62
+					<td class="text-center" style="min-width:50px;">处理方案/进程</td>
63
+					<td class="text-center" style="min-width:50px;">沟通时间</td>
64
+					<td class="text-center" style="min-width:50px;">沟通方式</td>
65
+					<td class="text-center" style="min-width:50px;">答复内容</td>
66
+					<td class="text-center" style="min-width:50px;">是否满意</td>
67
+                    <td class="text-center" style="min-width:50px;">附件</td>
68 68
                 </tr>
69 69
             </theard>
70 70
             <tbody class="HGXX" style="border-top: none; padding: 8px;"></tbody>
@@ -89,8 +89,9 @@
89 89
             	</td>
90 90
             </tr>
91 91
             <tr>
92
-                <th class="Importent">处理结果:</th>
93
-                <td colspan="5"><textarea data-adaptheight id="situation" name="" rows="6" cols=""></textarea></td>
92
+                <th class="Importent">处理情况:</th>
93
+                <td colspan="5"><textarea data-adaptheight id="result" name="" rows="" cols=""></textarea></td>
94
+                <input type="hidden" id="ID" />
94 95
             </tr>
95 96
             <tr>
96 97
             	<th class="Importent">是否有处理结果:</th>
@@ -125,12 +126,12 @@
125 126
             		<input type="text" id="connectmode">
126 127
             	</td>
127 128
             </tr>
128
-            <!--<tr class="replycontent-wrapper">
129
+            <tr class="replycontent-wrapper">
129 130
             	<th>答复内容:</th>
130 131
             	<td colspan="5">
131 132
                 	<textarea id="replycontent" name="" rows="6" cols="" ></textarea>
132 133
             	</td>
133
-            </tr>-->
134
+            </tr>
134 135
             <tr class="isstaisfied-wrapper">
135 136
             	<th>是否满意:</th>
136 137
             	<td id="isStaisfiedRadio" style="font-size: 12px" colspan="5">
@@ -145,6 +146,7 @@
145 146
             		</label>
146 147
             	</td>
147 148
             </tr>
149
+
148 150
             <tr>
149 151
                 <th class="Importent">附件:</th>
150 152
                 <td colspan="5">
@@ -160,13 +162,6 @@
160 162
                     </span>
161 163
                 </td>
162 164
             </tr>
163
-	        <tr>
164
-	        	<td style="text-align: right"><button class="btns handleBtn">查看办理结果</button></td>
165
-                <td colspan="5">
166
-                	<textarea data-adaptheight id="result" name="" rows="4" cols=""></textarea>
167
-                </td>
168
-                <input type="hidden" id="ID" />
169
-            </tr>
170 165
         </table>
171 166
         <div class="btn_box">
172 167
             <button class="btns  Submit">保存并办理</button>
@@ -178,10 +173,7 @@
178 173
         var wid = helper.request.queryString("wid");
179 174
         var isProtect = helper.request.queryString("isProtect");
180 175
         var State;
181
-        var a = $("#ID").val();
182
-        var simpleDetailStrStart = "";
183
-        var simpleDetailStrEnd = "";
184
-        var simpleDetailStr = "";
176
+        var a = $("#ID").val()
185 177
         Detail();
186 178
         $(document).ready(function () {
187 179
         	laydate.skin('blue');
@@ -193,7 +185,6 @@
193 185
 		        type: 'datetime',
194 186
 		        format: 'YYYY-MM-DD hh:mm:ss',
195 187
             });
196
-        	simpleDetail();
197 188
             HGXX();
198 189
             BLNR();
199 190
             //				Hove();
@@ -224,17 +215,15 @@
224 215
             $('.Submit').click(function () {
225 216
                 if ($("#dealman").val() == "") {
226 217
                     layer.msg("办理人不能为空");
227
-                } else if ($("#situation").val() == "") {
228
-                    layer.msg("处理结果不能为空");
218
+                } else if ($("#result").val() == "") {
219
+                    layer.msg("办理内容不能为空");
229 220
                 } else if ($('#isProResultRadio input[name="isDisposeResult"]:checked').val() == null) {
230 221
                     layer.msg("处理结果不能为空");
231 222
                 } else if ($("#dealcontact").val() == "") {
232 223
                 	layer.msg("联系方式不能为空")
233 224
                 } else if ($("#duties").val() == "") {
234 225
                 	layer.msg("职务不能为空")
235
-                } else if ($("#result").val() == "") {
236
-                	layer.msg("请生成办理结果")
237
-                }   else {
226
+                } else {
238 227
                     State = 1;
239 228
                     JA();
240 229
                 }
@@ -244,7 +233,7 @@
244 233
 			$(".annotation-wrapper").hide(); //注释
245 234
 			$(".connecttime-wrapper").hide(); //沟通时间
246 235
 			$(".connectmode-wrapper").hide(); //沟通方式
247
-//			$(".replycontent-wrapper").hide(); //答复内容
236
+			$(".replycontent-wrapper").hide(); //答复内容
248 237
 			$(".isstaisfied-wrapper").hide();  //是否满意
249 238
             
250 239
             /*
@@ -256,46 +245,10 @@
256 245
 				$("#prosituation").val(""); //处理方案/进程
257 246
 				$("#connecttime").val(""); //沟通时间
258 247
 				$("#connectmode").val(""); //沟通方式
259
-				$("#result").val(""); //办理结果
260
-//				$("#replycontent").val(""); //答复内容
248
+				$("#replycontent").val(""); //答复内容
261 249
 				$('#isStaisfiedRadio input[name="isstaisfied"]:checked').prop("checked", false);  //是否满意
262 250
 				isProResultJudge($(this).val());
263 251
 			});
264
-			
265
-			
266
-			//办理结果
267
-            $('.handleBtn').click(function() {
268
-				if($('#isProResultRadio input[name="isDisposeResult"]:checked').val() === '1') {
269
-					if (isProtect === "1" ) {
270
-            			simpleDetailStrEnd = "经落实,具体情况回复如下:" + $("#situation").val() + " 办理结果:" + "已办理 承办人:" + $("#dealman").val() + " 职务:" + $("#duties").val() + " 联系电话:" + $("#dealcontact").val()
271
-            			simpleDetailStr = simpleDetailStrStart + simpleDetailStrEnd;
272
-            			$("#result").val(simpleDetailStr);
273
-					} else if (isProtect === "0") {
274
-						if ($('#isStaisfiedRadio input[name="isstaisfied"]:checked').val() === "0") {
275
-							var isStaisfiedRadioData = "未评价";
276
-						} else if ($('#isStaisfiedRadio input[name="isstaisfied"]:checked').val() === "1") {
277
-							var isStaisfiedRadioData = "满意";
278
-						} else if ($('#isStaisfiedRadio input[name="isstaisfied"]:checked').val() === "2") {
279
-							var isStaisfiedRadioData = "基本满意";
280
-						} else if ($('#isStaisfiedRadio input[name="isstaisfied"]:checked').val() === "3") {
281
-							var isStaisfiedRadioData = "不满意";
282
-						} else {
283
-							var isStaisfiedRadioData = "未评价";
284
-						}
285
-						simpleDetailStrEnd = "经落实,具体情况回复如下:" + $("#situation").val() + " 办理结果:" + "已办理 承办人:" + $("#dealman").val() + " 职务:" + $("#duties").val() + " 联系电话:" + $("#dealcontact").val() + "; " + $("#dealman").val() + "用" + $("#connectmode").val() + "方式在" + $("#connecttime").val() + "对反映人进行了回复,反映人对结果表示" + isStaisfiedRadioData
286
-            			simpleDetailStr = simpleDetailStrStart + simpleDetailStrEnd;
287
-            			$("#result").val(simpleDetailStr);
288
-					}
289
-				} else if ($('#isProResultRadio input[name="isDisposeResult"]:checked').val() === '2') {
290
-        			simpleDetailStrEnd = "经落实,具体情况回复如下:" + $("#situation").val() + " 办理结果:" + "未办理 承办人:" + $("#dealman").val() + " 职务:" + $("#duties").val() + " 联系电话:" + $("#dealcontact").val() + "; 处理方案/进程:" + $("#prosituation").val();
291
-        			simpleDetailStr = simpleDetailStrStart + simpleDetailStrEnd;
292
-        			$("#result").val(simpleDetailStr);
293
-				} else {
294
-        			simpleDetailStr = simpleDetailStrStart + simpleDetailStrEnd;
295
-        			$("#result").val(simpleDetailStr);
296
-				}
297
-            })
298
-
299 252
         });
300 253
         //交办
301 254
         function JA() {
@@ -303,14 +256,13 @@
303 256
                 workorderid: wid,
304 257
                 dealman: $("#dealman").val(), //承办人
305 258
                 result: $('#result').val(), //处理情况
306
-                situation: $("#situation").val(), //办理结果
307 259
                 isproresult: $('#isProResultRadio input[name="isDisposeResult"]:checked').val(), //处理结果
308 260
                 prosituation: $("#prosituation").val(), //处理方案/进程
309 261
                 dealcontact: $("#dealcontact").val(), //联系方式
310 262
                 duties: $("#duties").val(), //职务
311 263
                 connecttime: $("#connecttime").val(), //沟通时间
312 264
                 connectmode: $("#connectmode").val(), //沟通方式
313
-//              replycontent: $("#replycontent").val(), //答复内容
265
+                replycontent: $("#replycontent").val(), //答复内容
314 266
                 isstaisfied: $('#isStaisfiedRadio input[name="isstaisfied"]:checked').val(), //是否满意
315 267
                 state: State,
316 268
                 feedbackid: a,
@@ -438,26 +390,12 @@
438 390
 								dutiesValue = n.F_Duties
439 391
 								break;
440 392
 						}
441
-						//处理情况
442
-						var situationValue
443
-						switch (n.F_Situation) {
444
-							case "":
445
-								situationValue = ""
446
-								break;
447
-							case null:
448
-								situationValue = ""
449
-								break;
450
-							default:
451
-								situationValue = n.F_Situation
452
-								break;
453
-						}
454 393
 
455 394
                         temp = '<tr>' +
456 395
                         	'<td class="text-center">' + (i + 1) + '</td>' +
457 396
 							'<td class="text-center">' + n.F_DealUser + '</td>' +
458 397
 							'<td class="text-center">' + n.F_DealUserContact + '</td>' +
459 398
 							'<td class="text-center">' + dutiesValue + '</td>' +
460
-							'<td class="text-center">' + situationValue + '</td>' +
461 399
                         	'<td class="text-center">' + n.F_CreateTime + '</td>' + 
462 400
                         	'<td class="text-center">' + n.F_Result + '</td>' +
463 401
                            	'<td class="text-center">' + auditTimeValue + '</td>' + 
@@ -468,19 +406,20 @@
468 406
 							'<td class="text-center">' + n.F_ProSituation + '</td>' +
469 407
 							'<td class="text-center">' + connectTimeValue + '</td>' +
470 408
 							'<td class="text-center">' + n.F_ConnectMode + '</td>' +
409
+							'<td class="text-center">' + n.F_ReplyContent + '</td>' +
471 410
 							'<td class="text-center">' + isSatisfiedValue + '</td>' +
472 411
                            	'<td class="text-center FJ" style="color:#00a1cb;"></td>' + 
473 412
                            	'</tr>';
474 413
 
475
-                        var tmp = '';
476
-                        if (n.File) {
477
-                            $.each(n.File, function (d, f) {
478
-                                tmp += '<a style="margin-right:5px;" href="' + f.F_FileUrl + '" download="' + f.F_FileUrl + '">' + f.F_FileName.substring(19) + '</a>';
479
-                            })
480
-                        }
414
+//                      var tmp = '';
415
+//                      if (n.File) {
416
+//                          $.each(n.File, function (d, f) {
417
+//                              tmp += '<a style="margin-right:5px;" href="' + f.F_FileUrl + '" download="' + f.F_FileUrl + '">' + f.F_FileName.substring(19) + '</a>';
418
+//                          })
419
+//                      }
481 420
                         $(temp).appendTo($('.HGXX'))
482
-                        .find('.FJ')
483
-                        .append(tmp);
421
+//                      .find('.FJ')
422
+//                      .append(tmp);
484 423
 
485 424
                     });
486 425
 
@@ -561,14 +500,13 @@
561 500
 						isProResultJudge(IsProResultValue);
562 501
                         $("#dealman").val(result.data[0].F_DealUser); //承办人
563 502
                         $("#duties").val(result.data[0].F_Duties); //职务
564
-//                      $("#result").text(result.data[0].F_Result); //处理结果
565
-                        $("#situation").val(result.data[0].F_Situation); //处理情况
503
+                        $("#result").val(result.data[0].F_Result); //处理情况
566 504
                         $('#isProResultRadio input[name="isDisposeResult"][value="' + result.data[0].F_IsProResult +'"]').prop("checked", true);//是否有处理结果
567 505
                         $("#prosituation").val(result.data[0].F_ProSituation); //处理方案/进程
568 506
 						$("#dealcontact").val(result.data[0].F_DealUserContact); //联系方式
569 507
 						$("#connecttime").val(result.data[0].F_ConnectTime); //沟通时间
570 508
 						$("#connectmode").val(result.data[0].F_ConnectMode); //沟通方式
571
-//						$("#replycontent").val(result.data[0].F_ReplyContent); //答复内容
509
+						$("#replycontent").val(result.data[0].F_ReplyContent); //答复内容
572 510
 						$('#isStaisfiedRadio input[name="isstaisfied"][value="' + result.data[0].F_IsSatisfied +'"]').prop("checked", true);  //是否满意
573 511
                         a = result.data[0].F_Id;
574 512
                     };
@@ -655,14 +593,14 @@
655 593
 					$(".annotation-wrapper").hide(); //注释
656 594
 					$(".connecttime-wrapper").hide(); //沟通时间
657 595
 					$(".connectmode-wrapper").hide(); //沟通方式
658
-//					$(".replycontent-wrapper").hide(); //答复内容
596
+					$(".replycontent-wrapper").hide(); //答复内容
659 597
 					$(".isstaisfied-wrapper").hide();  //是否满意
660 598
 				} else if (isProtect === "0") {
661 599
 					$(".prosituation-wrapper").hide(); //处理方案/进程
662 600
 					$(".annotation-wrapper").hide(); //注释
663 601
 					$(".connecttime-wrapper").show(); //沟通时间
664 602
 					$(".connectmode-wrapper").show(); //沟通方式
665
-//					$(".replycontent-wrapper").show(); //答复内容
603
+					$(".replycontent-wrapper").show(); //答复内容
666 604
 					$(".isstaisfied-wrapper").show();  //是否满意
667 605
 				}
668 606
 			} else if (isProResultdata === '2') {
@@ -670,23 +608,10 @@
670 608
 				$(".annotation-wrapper").show(); //注释
671 609
 				$(".connecttime-wrapper").hide(); //沟通时间
672 610
 				$(".connectmode-wrapper").hide(); //沟通方式
673
-//				$(".replycontent-wrapper").hide(); //答复内容
611
+				$(".replycontent-wrapper").hide(); //答复内容
674 612
 				$(".isstaisfied-wrapper").hide();  //是否满意
675 613
 			}
676 614
         }
677
-        
678
-		//简易版工单详情
679
-        function simpleDetail() {
680
-            $.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetWorkorderSimp', {
681
-                workorderid: wid,
682
-                token: $.cookie("token")
683
-            }, function (result) {
684
-                if (result.state.toLowerCase() == "success") {
685
-                	var data = result.data[0];
686
-                	simpleDetailStrStart = data.F_CreateTime + " " + data.deptname +  "部门接到" +  data.SourceName + "来源工单(编号:" + data.F_WorkOrderId + ")反映" + data.F_ComTitle + "问题,"
687
-            	}
688
-        	})
689
-        }
690 615
 
691 616
     </script>
692 617
 </body>

+ 1 - 0
WebUI/CallCenterWeb.UI/CommonHtml/elasticFrame.html

@@ -39,6 +39,7 @@
39 39
 			</ul>
40 40
 		</div>
41 41
 		
42
+        <!--<script src="../js/main.js?v=1.5"></script>-->
42 43
 		<script src="../js/adjustHeight.js"></script>
43 44
         <script src="../js/guid.js"></script>
44 45
 		<script>

+ 8 - 6
WebUI/CallCenterWeb.UI/CommonHtml/handle.html

@@ -158,10 +158,10 @@
158 158
         <div class="alignC headerAlign">
159 159
 <br />
160 160
             <h2 style="margin-bottom: 15px;">
161
-                  	巩义市12345政务服务热线办公室工作交办单
161
+                  	商丘市12345政务服务热线办公室工作交办单
162 162
             </h2>
163 163
             <div class="company">
164
-            	<span>办单位:</span>
164
+            	<span>办单位:</span>
165 165
             	<div class="inpBox">
166 166
 					<input type="text" class="inps" id="inpts" readonly/>
167 167
 					<i class="xl xl_one" id="xls"></i>
@@ -186,11 +186,11 @@
186 186
                     <td rowspan="2" width="16%">
187 187
                         <span class="tssj"></span>
188 188
                     </td>
189
-                    <!--<td width="16%">签收时间
189
+                    <td width="16%">签收时间
190 190
                     </td>
191 191
                     <td>
192 192
                         <span class="QSHJ"></span>
193
-                    </td>-->
193
+                    </td>
194 194
                 </tr>
195 195
                 <tr style="min-height: 49px;">
196 196
                     <td>
@@ -316,7 +316,7 @@
316 316
 			//保存
317 317
 			$('.Submit').click(function() {
318 318
 				if($("#PID").val() == ""){
319
-					layer.msg("办单位不能为空");
319
+					layer.msg("办单位不能为空");
320 320
 				}else if($("#startTime").val() == ""){
321 321
 					layer.msg("办理时限不能为空");
322 322
 				}else if($("#assignedopinion").val() == "") {
@@ -452,7 +452,8 @@
452 452
 				
453 453
 				$.post(huayi.config.callcenter_url + 'WorkOrder/SplitWorkOrder', {
454 454
 					workorderid: wid,
455
-					maindeptid: $("#PID").val(), //承办单位
455
+					maindeptid: $("#PID").val(), //主办单位
456
+//					otherdeptids: $('#OPID').val(),//协办单位
456 457
 					limittime: $("#startTime").val(), //办理时限
457 458
 					assignedopinion: $('#assignedopinion').val(), //交办意见
458 459
 					state: State,
@@ -512,6 +513,7 @@
512 513
 							
513 514
 							if(result.data[0].OtherDeptName){
514 515
 								$("#citySel").val(result.data[0].OtherDeptName);
516
+								$('#OPID').val(result.data[0].F_OtherDeptIds);//协办单位
515 517
 								var arrs1 = result.data[0].F_OtherDeptIds.split(',');
516 518
 								tree(arrs1);
517 519
 							}

File diff suppressed because it is too large
+ 574 - 412
WebUI/CallCenterWeb.UI/CommonHtml/jiaoban.html


+ 169 - 373
WebUI/CallCenterWeb.UI/CommonHtml/lawsuits.html

@@ -1,113 +1,63 @@
1 1
 <!DOCTYPE html>
2 2
 <html>
3 3
 
4
-<head>
5
-    <meta charset="UTF-8">
6
-    <script src="../Script/Common/huayi.load.js"></script>
7
-    <script src="../Script/Common/huayi.config.js"></script>
8
-    <link href="../css/layer/need/layer.css" />
9
-    <link rel="stylesheet" href="../css/init.css" />
10
-    <title>诉求单结案</title>
11
-    <style type="text/css">
12
-        .isStandard,
13
-        .bulletUnit {
14
-            display: none;
15
-        }
16
-
17
-        .bulletUnit ul {
18
-            list-style: none;
19
-            margin: 0;
20
-            padding: 0;
21
-        }
22
-
23
-        .bulletUnit ul li {
24
-            float: left;
25
-            margin-right: 20px;
26
-            text-align: center;
27
-            padding: 6px 0;
28
-        }
29
-
30
-        .bulletUnit li input {
31
-            display: none;
32
-        }
33
-
34
-        .bulletUnit li label {
35
-            margin: 0;
36
-            font-weight: normal;
37
-            display: block;
38
-            width: 100%;
39
-            border: 1px solid #ccc;
40
-            padding: 2px 10px;
41
-            cursor: pointer;
42
-        }
43
-
44
-        .bulletUnit li label:hover {
45
-            /*border-color: #fe6604;*/
46
-        }
47
-
48
-        .bulletUnit .checkedDept {
49
-            border-color: #fe6604;
50
-        }
51
-
52
-        select:disabled {
53
-            background-color: #eee;
54
-        }
55
-
56
-        .reasons {
57
-            display: none;
58
-            height: 160px;
59
-        }
60
-
61
-        #reasons {
62
-            height: 160px;
63
-        }
64
-
65
-        #msg1,
66
-        #msg2,
67
-        #msg3,
68
-        #phone {
69
-            border: none;
70
-            border-bottom: 1px solid #ccc;
71
-            margin-bottom: 20px;
72
-            background-color: #FFFFFF;
73
-            color: #00a1cb;
74
-        }
75
-
76
-        #msg4 {
77
-            width: 250px;
78
-            height: 50px;
79
-            border: none;
80
-            border-bottom: 1px solid #ccc;
81
-            margin-bottom: 20px;
82
-            vertical-align: top;
83
-        }
84
-
85
-        #msg2 {
86
-            vertical-align: top;
87
-            height: 25px;
88
-        }
89
-
90
-        #msg1:focus,
91
-        #msg2:focus,
92
-        #msg3:focus,
93
-        #msg4:focus,
94
-        #phone:focus {
95
-            outline: none;
96
-        }
97
-    </style>
98
-</head>
99
-
100
-<body>
101
-    <div class="Common">
102
-        <table>
103
-            <tr>
104
-                <th class="Importent">回访结果:</th>
105
-                <td>
106
-                    <input checked="true" type="radio" value="1" name="huifang" />满意
107
-                    <input type="radio" value="0" name="huifang" />不满意
108
-                </td>
109
-            </tr>
110
-            <!--<tr>
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<script src="../Script/Common/huayi.load.js"></script>
7
+		<script src="../Script/Common/huayi.config.js"></script>
8
+		<link href="../css/layer/need/layer.css" />
9
+		<link rel="stylesheet" href="../css/init.css" />
10
+		<title>诉求单结案</title>
11
+		<style type="text/css">
12
+			.bulletUnit{
13
+				display: none;
14
+			}
15
+			.bulletUnit ul{
16
+				list-style: none;
17
+				margin: 0;
18
+				padding: 0;
19
+			}
20
+			.bulletUnit ul li{
21
+				float: left;
22
+				margin-right: 20px;
23
+				text-align: center;
24
+				padding: 6px 0;
25
+			}
26
+			.bulletUnit li input{
27
+				display: none;
28
+			}
29
+			.bulletUnit li label{
30
+				margin: 0;
31
+				font-weight: normal;
32
+				display: block;
33
+				width: 100%;
34
+				border: 1px solid #ccc;
35
+				padding: 2px 10px;
36
+				cursor: pointer;
37
+			}
38
+			.bulletUnit li label:hover{
39
+				/*border-color: #fe6604;*/
40
+			}
41
+			.bulletUnit .checkedDept{
42
+				border-color: #fe6604;
43
+			}
44
+			select:disabled{
45
+				background-color: #eee;
46
+			}
47
+		</style>
48
+	</head>
49
+
50
+	<body>
51
+		<div class="Common">
52
+			<table>
53
+				<tr>
54
+					<th class="Importent">回访结果:</th>
55
+					<td>
56
+						<input checked="true" type="radio" value="1" name="huifang" />满意	
57
+						<input type="radio" value="0" name="huifang"/>不满意
58
+					</td>
59
+				</tr>
60
+				<tr>
111 61
 					<th class="Importent">是否通报:</th>
112 62
 					<td>
113 63
 						<select class="select_" id='isBulletin'>
@@ -123,274 +73,120 @@
123 73
 							
124 74
 						</ul>
125 75
 					</td>
126
-				</tr>-->
127
-            <tr class="bulletUnit">
128
-                <th class="Importent">通报原因:</th>
129
-                <td>
130
-                    <select name="" class="form-control orderType">
131
-                        <option value="0">请选择通报原因</option>
132
-                    </select>
133
-                </td>
134
-                <!--<td><textarea name="" rows="4" cols="" id="bulletinReason"></textarea></td>-->
135
-            </tr>
136
-            <tr class="reasons">
137
-                <th class="Importent">其他原因:</th>
138
-                <td colspan="2"><textarea data-adaptheight id="reasons" name="" rows="6" cols=""></textarea></td>
139
-            </tr>
140
-            <tr>
141
-                <th class="Importent">是否规范:</th>
142
-                <td>
143
-                    <select class="select_" id='isStandard'>
144
-                        <option value="0">是</option>
145
-                        <option value="1">否</option>
146
-                    </select>
147
-                </td>
148
-            </tr>
149
-            <tr class="isStandard">
150
-                <th class="Importent">不规范原因:</th>
151
-                <td>
152
-                    <select name="" class="form-control standard">
153
-                        <option value="0">请选择不规范原因</option>
154
-                    </select>
155
-                </td>
156
-            </tr>
157
-            <tr>
158
-                <th class="Importent">备注:</th>
159
-                <td colspan="2"><textarea data-adaptheight id="finalopinion" name="" rows="6" cols=""></textarea></td>
160
-            </tr>
76
+				</tr>
77
+				<tr class="bulletUnit">
78
+					<th class="Importent">通报原因:</th>
79
+					<td><textarea name="" rows="4" cols="" id="bulletinReason"></textarea></td>
80
+				</tr>
81
+				<tr>
82
+					<th class="Importent">结案意见:</th>
83
+					<td colspan="2"><textarea data-adaptheight id="finalopinion" name="" rows="6" cols=""></textarea></td>
84
+				</tr>
161 85
 
162
-        </table>
163
-        <div class="" style="margin: 20px 0 0 10px;">
164
-            尊敬的市民,您于<input id="msg1" type="text" disabled />反映的<textarea id="msg2" type="text"></textarea>问题,工单号:<input
165
-                id="msg3" type="text" disabled />,<br />
166
-            处理结果如下:<textarea id="msg4" type="text"></textarea>如有异议,请您再次致电12345,感谢您的支持。<br />
167
-            通知号码:<input id="phone" type="text" />
168
-            <button class="btns sendMsg">发送短信</button>
169
-        </div>
170
-        <div class="btn_box">
171
-            <button class="btns_save">保存</button>
172
-        </div>
173
-    </div>
174
-    <input type="hidden" name="depID" id="depID" value="" />
175
-    <script src="../js/adjustHeight.js"></script>
176
-    <script>
177
-        var wid = helper.request.queryString("wid");
178
-        var bulletinUnits = ''; //通报单位
179
-        $(document).ready(function () {
180
-            //获取工单信息
181
-            loadTEL();
182
-            //通报原因
183
-            getOrderType();
184
-            //获取单位
185
-            getUnit();
186
-            //不规范原因
187
-            getIsStandard();
188
-            //是否通报
189
-            $('#isBulletin').change(function () {
190
-                if ($('#isBulletin').val() == '0') {
191
-                    //默认不通报,通报单位通报原因不显示
192
-                    $('.bulletUnit').hide();
193
-                } else if ($('#isBulletin').val() == '1') {
194
-                    //选择是 ,显示通报单位通报原因;
195
-                    $('.bulletUnit').show();
196
-                }
197
-            });
198
-            //是否规范
199
-            $('#isStandard').change(function () {
200
-                if ($('#isStandard').val() == '0') {
201
-                    //默认规范
202
-                    $('.isStandard').hide();
203
-                } else if ($('#isStandard').val() == '1') {
204
-                    $('.isStandard').show();
205
-                }
206
-            });
207
-            $(".btns_save").click(function () {
208
-                debugger
209
-                if ($('#isBulletin').val() == 0) {
210
-                    JA(bulletinUnits);
211
-                } else if ($('#isBulletin').val() == 1) {
212
-                    debugger
213
-                    //                  	if($("input[name='checkbox']:checkbox:checked").length <= 0){
214
-                    //                  		layer.msg("您没有选择通报单位。");
215
-                    //                  	}else 
216
-                    if (!$(".orderType").val() || $('.orderType').val() == 0) {
217
-                        layer.msg("通报原因没有填写。");
218
-                        return
219
-                    } else if ($(".orderType").val() == 76 && !$('#reasons').val()) {
220
-                        layer.msg('其他通报原因没有填写');
221
-                        return
222
-                    } else {
223
-                        $("input[name='checkbox']:checkbox:checked").each(function () {
224
-                            bulletinUnits += $(this).val() + ',';
225
-                        });
226
-                        bulletinUnits = bulletinUnits.substring(0, bulletinUnits.length - 1);
227
-                        JA(bulletinUnits);
86
+			</table>
87
+			<div class="btn_box">
88
+				<button class="btns">保存</button>
89
+			</div>
90
+		</div>
91
+		<script src="../js/adjustHeight.js"></script>
92
+		<script>
93
+			var wid = helper.request.queryString("wid");
94
+			var bulletinUnits = '';//通报单位
95
+			$(document).ready(function() {
96
+				//获取单位
97
+				getUnit();
98
+				//是否通报
99
+				$('#isBulletin').change(function(){
100
+					if($('#isBulletin').val() == '0'){
101
+						//默认不通报,通报单位通报原因不显示
102
+						$('.bulletUnit').hide();
103
+					}else if($('#isBulletin').val()== '1'){
104
+						//选择是 ,显示通报单位通报原因;
105
+						$('.bulletUnit').show();
106
+					}
107
+				});
108
+				
109
+				$(".btns").click(function(){
110
+					if($('#isBulletin').val() == 0){
111
+                    	JA(bulletinUnits);
112
+                    }else if($('#isBulletin').val() == 1){
113
+                    	if($("input[name='checkbox']:checkbox:checked").length <= 0){
114
+                    		layer.msg("您没有选择通报单位。");
115
+                    	}else if(!$("#bulletinReason").val()){
116
+                    		layer.msg("通报原因没有填写。");
117
+                    	}else {
118
+	                    	$("input[name='checkbox']:checkbox:checked").each(function(){
119
+								bulletinUnits += $(this).val() + ','; 
120
+	                    	});
121
+	                    	bulletinUnits = bulletinUnits.substring(0,bulletinUnits.length-1); 
122
+	                    	JA(bulletinUnits);
123
+	                    }
228 124
                     }
229
-                }
230
-            });
231
-        })
232
-
233
-        function JA(bUnits) {
234
-            var standardID = $('.standard').val()
235
-            if ($('#isStandard').val() == 1 && standardID == 0) {
236
-                layer.msg('请选择不规范原因');
237
-                return
238
-            } else if ($('#isStandard').val() == 0) {
239
-                standardID = ''
240
-            }
241
-            $.post(huayi.config.callcenter_url + 'WorkOrder/FinishWorkOrder', {
242
-                workorderid: wid,
243
-                issatisfie: $('input[name="huifang"]:checked ').val(),
244
-                finalopinion: $("#finalopinion").val(),
245
-                isnotice: $('#isBulletin').val(), //0不通告1通告
246
-                deptids: $('#depID').val(), //通报单位
247
-                //					noticereson: $('#bulletinReason').val(),//通报原因
248
-                noticeid: $('.orderType').val(), //通报id
249
-                noticeinfo: $('.orderType').find("option:selected").text(),
250
-                noticereson: $('#reasons').val(), //其他通报原因
251
-                isstandard: $('#isStandard').val(), //是否规范0是1否
252
-                standardids: standardID, //不规范id
253
-                "token": $.cookie("token")
254
-            }, function (result) {
255
-                result = JSON.parse(result);
256
-                if (result.state.toLowerCase() == "success") {
257
-                    var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
125
+				});
126
+			})
127
+			
128
+			function JA(bUnits) {
129
+				$.post(huayi.config.callcenter_url + 'WorkOrder/FinishWorkOrder', {
130
+					workorderid: wid,
131
+					issatisfie:$('input[name="huifang"]:checked ').val(),
132
+					finalopinion: $("#finalopinion").val(),
133
+					isnotice: $('#isBulletin').val(),//0不通告1通告
134
+					deptids: bUnits,//通报单位
135
+					noticereson: $('#bulletinReason').val(),//通报原因
136
+					"token": $.cookie("token")
137
+				}, function(result) {
138
+					result = JSON.parse(result);
139
+					if(result.state.toLowerCase() == "success") {
140
+					var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
258 141
                     parent.layer.close(index); //再执行关闭
259
-                    parent.$('#orderlist').bootstrapTable('refresh');
260
-                    parent.layer.msg("结案成功");
261
-                }
262
-            })
263
-        }
264
-        //获取工单信息
265
-        function loadTEL() {
266
-            $.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetWorkOrder', {
267
-                workorderid: wid,
268
-                "token": $.cookie("token")
269
-            }, function (result) {
270
-                if (result.state.toLowerCase() == "success") {
271
-                    var Data = result.data.data;
272
-                    $('#msg3').val(Data[0].F_WorkOrderId)
273
-                    $('#msg1').val(Data[0].F_CreateTime)
274
-                    $('#msg2').text(Data[0].F_ComTitle)
275
-                    $('#msg4').val(result.data.bldata && result.data.bldata[result.data.bldata.length - 1]
276
-                        .F_Situation)
277
-                    $("#phone").val(Data[0].F_ConPhone)
278
-                }
279
-            })
280
-        }
281
-        //发送短信
282
-        $('.sendMsg').click(function () {
283
-            if (!$('#msg4').val()) {
284
-                layer.msg('请填写结果')
285
-                return
286
-            }
287
-            if (!$('#phone').val()) {
288
-                layer.msg('请填写通知号码')
289
-                return
290
-            }
291
-            $.ajax({
292
-                type: "post",
293
-                url: huayi.config.callcenter_url + 'WorkOrder/SmsHand',
294
-                async: true,
295
-                data: {
296
-                    msg1: $('#msg1').val(),
297
-                    msg2: $('#msg2').val(),
298
-                    msg3: $('#msg3').val(),
299
-                    msg4: $('#msg4').val(),
300
-                    mobile: $('#phone').val(),
301
-                    token: $.cookie("token")
302
-                },
303
-                success: function (res) {
304
-                    res = JSON.parse(res)
305
-                    if (res.state.toLowerCase() == 'success') {
306
-                        layer.msg('短信发送成功')
307
-                    } else {
308
-                        layer.msg('短信发送失败')
309
-                    }
310
-                }
311
-            });
312
-        })
313
-        //获取单位
314
-        function getUnit() {
315
-            $.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetAllAssignDept', {
316
-                workorderid: wid,
317
-                token: $.cookie("token")
318
-            }, function (result) {
319
-                if (result.state.toLowerCase() == "success") {
320
-                    $('#depID').val(result.data[0].F_DeptId)
321
-                    if (result.data.length > 0) {
322
-                        $('#isBulletin').removeAttr("disabled");
323
-                        for (var i = 0; i < result.data.length; i++) {
324
-                            $('#bulletinUnit ul').append('<li><input type="checkbox" name="checkbox" id="unit' +
325
-                                i + '" value=""/>' +
326
-                                '<label for="unit' + i + '">' + result.data[i].F_DeptName + '</label></li>');
327
-                        }
328
-                        if (('#bulletinUnit input').length > 0) {
329
-                            $('#bulletinUnit input').each(function (index) {
330
-                                if ($(this).is('[type=checkbox]')) {
331
-                                    var cinput = $(this);
332
-                                    var label = $('label[for=' + cinput.attr('id') + ']');
333
-                                    cinput.bind('updateState', function () {
334
-                                            if (cinput.is(':checked')) {
335
-                                                label.addClass('checkedDept');
336
-                                                cinput.val(result.data[index].F_DeptId);
337
-                                            } else {
338
-                                                label.removeClass('checkedDept');
339
-                                                cinput.val('');
340
-                                            }
341
-
342
-                                        })
343
-                                        .trigger('updateState')
344
-                                        .click(function () {
345
-                                            $('input[name=' + $(this).attr('name') + ']').trigger(
346
-                                                'updateState');
347
-                                        });
348
-                                }
349
-
350
-                            });
351
-                        }
352
-                    } else {
353
-                        $('#isBulletin').attr("disabled", "disabled");
354
-                    }
355
-                }
356
-            })
357
-        }
358
-
359
-        function getOrderType() {
360
-            $.get(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByParentId', {
361
-                "token": $.cookie("token"),
362
-                pid: 62
363
-            }, function (result) {
364
-                result = $.parseJSON(result);
365
-                var Count = result.data;
366
-                $(Count).each(function (i, n) {
367
-                    $('<option value="' + n.F_ValueId + '">' + n.F_Value + '</option>').appendTo($(
368
-                        ".orderType"));
369
-                })
370
-            });
371
-        }
372
-        //不规范原因
373
-        function getIsStandard() {
374
-            $.get(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByParentId', {
375
-                "token": $.cookie("token"),
376
-                pid: 78
377
-            }, function (result) {
378
-                result = $.parseJSON(result);
379
-                var Count = result.data;
380
-                $(Count).each(function (i, n) {
381
-                    $('<option value="' + n.F_ValueId + '">' + n.F_Value + '</option>').appendTo($(
382
-                        ".standard"));
383
-                })
384
-            });
385
-        }
386
-        $('.orderType').change(() => {
387
-            if ($('.orderType').val() == 76) {
388
-                $('.reasons').show()
389
-            } else {
390
-                $('.reasons').hide()
391
-            }
392
-        })
393
-    </script>
394
-</body>
142
+						  parent.$('#orderlist').bootstrapTable('refresh');
143
+						  parent.layer.msg("结案成功");
144
+					}
145
+				})
146
+			}
147
+			//获取单位
148
+			function getUnit() {
149
+				$.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetAllAssignDept', {
150
+					workorderid: wid,
151
+					token: $.cookie("token")
152
+				}, function(result) {
153
+					if(result.state.toLowerCase() == "success") {
154
+						if(result.data.length > 0) {
155
+							$('#isBulletin').removeAttr("disabled");
156
+							for(var i = 0; i < result.data.length; i++){							
157
+								$('#bulletinUnit ul').append('<li><input type="checkbox" name="checkbox" id="unit'+i+'" value=""/>'+
158
+		                									'<label for="unit'+i+'">'+ result.data[i].F_DeptName +'</label></li>');								
159
+							}
160
+							if(('#bulletinUnit input').length>0){
161
+								$('#bulletinUnit input').each(function(index){ 
162
+							        if($(this).is('[type=checkbox]')){
163
+							            var cinput = $(this);
164
+							            var label = $('label[for='+cinput.attr('id')+']');          
165
+							            cinput.bind('updateState', function(){   
166
+							                if(cinput.is(':checked')){
167
+							                	label.addClass('checkedDept');
168
+							                	cinput.val(result.data[index].F_DeptId);
169
+							                }else{
170
+							                	label.removeClass('checkedDept');
171
+							                	cinput.val('');
172
+							                }
173
+							            	
174
+							            })
175
+							            .trigger('updateState')
176
+							            .click(function(){ 
177
+							                $('input[name='+ $(this).attr('name') +']').trigger('updateState'); 
178
+							            });
179
+							        }
180
+							        
181
+							    });
182
+							}
183
+						}else{
184
+							$('#isBulletin').attr("disabled","disabled");
185
+						}
186
+					}
187
+				})
188
+			}
189
+		</script>
190
+	</body>
395 191
 
396 192
 </html>

+ 15 - 27
WebUI/CallCenterWeb.UI/CommonHtml/processing_audit.html

@@ -33,19 +33,19 @@
33 33
 			<table class="table" border="" cellspacing="0" cellpadding="0" style="border: 1px solid #e7eaec; text-align: center;">
34 34
 				<theard>
35 35
 					<tr>
36
-						<td class="text-center" style="min-width:80px;">承办人</td>
37
-						<td class="text-center" style="min-width:80px;">联系方式</td>
38
-						<td class="text-center" style="min-width:80px;">职务</td>
39
-						<td class="text-center" style="min-width:80px;">处理结果</td>
40
-						<td class="text-center" style="min-width:80px;">办理时间</td>
41
-						<td class="text-center" style="min-width:80px;">办理结果</td>
42
-						<td class="text-center" style="min-width:80px;">类型</td>
43
-						<td class="text-center" style="min-width:80px;">是否有处理结果</td>
44
-						<td class="text-center" style="min-width:80px;">处理方案/进程</td>
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
-						<td class="text-center" style="min-width:80px;">附件</td>
36
+						<td class="text-center" style="min-width:50px;">承办人</td>
37
+						<td class="text-center" style="min-width:50px;">联系方式</td>
38
+						<td class="text-center" style="min-width:50px;">职务</td>
39
+						<td class="text-center" style="min-width:50px;">办理时间</td>
40
+						<td class="text-center" style="min-width:50px;">办理情况</td>
41
+						<td class="text-center" style="min-width:50px;">类型</td>
42
+						<td class="text-center" style="min-width:50px;">是否有处理结果</td>
43
+						<td class="text-center" style="min-width:50px;">处理方案/进程</td>
44
+						<td class="text-center" style="min-width:50px;">沟通时间</td>
45
+						<td class="text-center" style="min-width:50px;">沟通方式</td>
46
+						<td class="text-center" style="min-width:50px;">答复内容</td>
47
+						<td class="text-center" style="min-width:50px;">是否满意</td>
48
+						<td class="text-center" style="min-width: 50px;">附件</td>
49 49
 					</tr>
50 50
 				</theard> 
51 51
 				<tbody class="BLNR" style="border-top: none; padding: 8px;">
@@ -219,25 +219,12 @@
219 219
 									dutiesValue = n.F_Duties
220 220
 									break;
221 221
 							}
222
-							//处理情况
223
-							var situationValue
224
-							switch (n.F_Situation) {
225
-								case "":
226
-									situationValue = ""
227
-									break;
228
-								case null:
229
-									situationValue = ""
230
-									break;
231
-								default:
232
-									situationValue = n.F_Situation
233
-									break;
234
-							}
222
+
235 223
 
236 224
                             temp1 = temp1 + 
237 225
                             		'<td class="text-center">' + n.F_DealUser + '</td>' + 
238 226
 									'<td class="text-center">' + n.F_DealUserContact + '</td>' +
239 227
 									'<td class="text-center">' + dutiesValue + '</td>' +
240
-									'<td class="text-center">' + situationValue + '</td>' +
241 228
                             		'<td class="text-center">' + n.F_CreateTime + '</td>' + 
242 229
                             		'<td class="text-center">' + n.F_Result + '</td>' +
243 230
 									'<td class="text-center" data-formatter="shtype">' + bval + '</td>' +
@@ -245,6 +232,7 @@
245 232
 									'<td class="text-center">' + n.F_ProSituation + '</td>' +
246 233
 									'<td class="text-center">' + connectTimeValue + '</td>' +
247 234
 									'<td class="text-center">' + n.F_ConnectMode + '</td>' +
235
+									'<td class="text-center">' + n.F_ReplyContent + '</td>' +
248 236
 									'<td class="text-center">' + isSatisfiedValue + '</td>' +
249 237
                             		'<td class="text-center FJ" style="color:#00a1cb;"></td>';
250 238
                             ccc = n.F_Id;

+ 1 - 0
WebUI/CallCenterWeb.UI/CommonHtml/reasonCB.html

@@ -21,6 +21,7 @@
21 21
 			</div>
22 22
 		</div>
23 23
 		
24
+        <!--<script src="../js/main.js?v=1.5"></script>-->
24 25
 		<script src="../js/adjustHeight.js"></script>
25 26
         <script src="../js/guid.js"></script>
26 27
 		<script>

+ 1 - 38
WebUI/CallCenterWeb.UI/CommonHtml/reminder.html

@@ -29,11 +29,6 @@
29 29
 					<td colspan="2"><textarea data-adaptheight id="reminderOpinion" name="" rows="6" cols=""></textarea></td>
30 30
 				</tr>
31 31
 			</table>
32
-			<!--<div id="message" style="text-align: left;padding: 2% 0 0 19%;">
33
-	        	是否发送短信
34
-	        	<input type="radio" name="message" id="" value="0" />否
35
-	        	<input type="radio" name="message" id="" value="1" />是
36
-	        </div>-->
37 32
 			<div class="btn_box">
38 33
 				<button class="reminderBtn btns">保存</button>
39 34
 			</div>
@@ -43,44 +38,12 @@
43 38
 		<script>
44 39
 			var wid = helper.request.queryString("wid");
45 40
 			var callid = helper.request.queryString("callid");
46
-			var depId = helper.request.queryString("depId");
47 41
 			$(document).ready(function() {
48
-				if(wid) {
49
-					$.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetWorkOrder', {
50
-						workorderid: wid,
51
-						"token": $.cookie("token")
52
-					}, function(result) {
53
-						if(result.state.toLowerCase() == "success") {
54
-							var content = result.data;
55
-							if(content.data[0].F_DeptIdIsSms == 1) {
56
-								$('#message input[value="1"]').attr('checked', true)
57
-							} else {
58
-								$('#message input[value="0"]').attr('checked', true)
59
-							}
60
-						}
61
-					})
62
-				}
42
+				
63 43
 				$(".reminderBtn").click(function(){
64 44
 					reminderhande();
65
-					if($('#message input[type="radio"]:checked').val()==1){
66
-						sendMessage();
67
-					}
68 45
 				})
69 46
 			})
70
-			//发送短信
71
-			function sendMessage(){
72
-				$.post(huayi.config.callcenter_url + 'WorkOrder/SendSms',{
73
-					workordercode:wid,
74
-					deptid: depId, //承办单位
75
-					type:2,
76
-					token: $.cookie("token")
77
-				},function(result){
78
-					result=JSON.parse(result);
79
-					if(result.state.toLowerCase()=='success'){
80
-						layer.msg('发送短信成功')
81
-					}
82
-				})
83
-			}
84 47
 			//催单
85 48
 			function reminderhande() {
86 49
 				$.post(huayi.config.callcenter_url + 'WorkOrder/AdditionalWorkOrder', {

+ 9 - 50
WebUI/CallCenterWeb.UI/CommonHtml/shTime.html

@@ -19,12 +19,8 @@
19 19
 		<div class="Common">
20 20
 		<table >
21 21
 			<tr>
22
-				<th class="Importent">原时时间:</th>
22
+				<th class="Importent">原时时间:</th>
23 23
 				<td > <input type="text" id="startTime"  readonly="readonly" style="height: 32px;"></td>
24
-            </tr>
25
-            <tr>
26
-				<th class="Importent">申请延时类型:</th>
27
-				<td > <span id="delayType"></span></td>
28 24
 			</tr>
29 25
 			<tr>
30 26
 				<th class="Importent">申请延时原因:</th>
@@ -32,7 +28,7 @@
32 28
 			</tr>
33 29
 			<tr>
34 30
 				
35
-				<th class="Importent">申请时时间:</th>
31
+				<th class="Importent">申请时时间:</th>
36 32
 				<td > <input type="text" id="endtime" class="laydate-icon" style="height: 32px;"></td>
37 33
 			</tr>
38 34
 			<tr>
@@ -58,25 +54,16 @@
58 54
                 event: 'focus'
59 55
             });
60 56
             var wid = helper.request.queryString("wid");
61
-            var type;
62
-            var delayType;
57
+             var type;
63 58
 			$(document).ready(function() {
64 59
 				HQ();
65 60
 				$(".Agree").click(function(){
66
-                    type=1;
67
-                    if (delayType === 1) {
68
-                        JA();
69
-                    } else if (delayType === 2) {
70
-                        reviewScanningDelay()
71
-                    }
61
+					type=1;
62
+					JA();
72 63
 				})
73 64
 				$(".Noagree").click(function(){
74
-                    type=2;
75
-                    if (delayType === 1) {
76
-                        JA();
77
-                    } else if (delayType === 2) {
78
-                        reviewScanningDelay()
79
-                    }
65
+					type=2;	
66
+					JA();
80 67
 				})
81 68
 			})
82 69
 			//批示
@@ -98,26 +85,6 @@
98 85
                   	
99 86
 					}
100 87
 				})
101
-            }
102
-            //审核扫描件延时
103
-			function reviewScanningDelay() {
104
-				$.post(huayi.config.callcenter_url + 'WorkOrder/AuditDelayScanning', {
105
-					workorderid: wid,
106
-					reason:$("#reason").val(),
107
-					newlimittime:$("#endtime").val(),
108
-					state:type,
109
-					delayid:$("#delayid").val(),
110
-					"token": $.cookie("token")
111
-				}, function(result) {
112
-					result = JSON.parse(result);
113
-					if(result.state.toLowerCase() == "success") {
114
-					var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
115
-                    	parent.layer.close(index); //再执行关闭
116
-						parent.$('#orderlist').bootstrapTable('refresh');
117
-						parent.layer.msg("审核延时成功");
118
-                  	
119
-					}
120
-				})
121 88
 			}
122 89
 			//获取数据
123 90
 			function HQ(){
@@ -139,16 +106,8 @@
139 106
 					 }
140 107
 													
141 108
 						$("#delayid").val(result.data[0].F_Id);				
142
-                        $(".SQtime").text(result.data[0].F_Reason);
143
-                        if (result.data[0].F_State) {
144
-                            if (result.data[0].F_State === 1) {
145
-                                $("#delayType").text("办理时限")
146
-                                delayType = 1
147
-                            } else if (result.data[0].F_State === 2) {
148
-                                $("#delayType").text("扫描件时效")
149
-                                delayType = 2
150
-                            }
151
-                        }
109
+						$(".SQtime").text(result.data[0].F_Reason);
110
+                  	
152 111
 					}
153 112
 				})
154 113
 			}

+ 1 - 1
WebUI/CallCenterWeb.UI/CommonHtml/shplTime.html

@@ -19,7 +19,7 @@
19 19
 		<div class="Common">
20 20
 		<table >
21 21
 			<tr>
22
-				<th class="Importent">申请时时间:</th>
22
+				<th class="Importent">申请时时间:</th>
23 23
 				<td > <input type="text" id="endtime" class="laydate-icon" style="height: 32px;"></td>
24 24
 			</tr>
25 25
 			<tr>

+ 5 - 5
WebUI/CallCenterWeb.UI/CommonHtml/zhuanpai.html

@@ -169,7 +169,7 @@
169 169
         <div class="alignC headerAlign">
170 170
 <br />
171 171
             <h2 style="margin-bottom: 15px;">
172
-                  	巩义市12345政务服务热线办公室工作转派单
172
+                  	商丘市12345政务服务热线办公室工作转派单
173 173
             </h2>
174 174
             <div class="company">
175 175
             	<span>转派单位:</span>
@@ -198,11 +198,11 @@
198 198
                     <td rowspan="2" width="16%">
199 199
                         <span class="tssj"></span>
200 200
                     </td>
201
-                    <!--<td width="16%">签收时间
201
+                    <td width="16%">签收时间
202 202
                     </td>
203 203
                     <td>
204 204
                         <span class="QSHJ"></span>
205
-                    </td>-->
205
+                    </td>
206 206
                 </tr>
207 207
                 <tr style="min-height: 49px;">
208 208
                     <td>
@@ -344,7 +344,7 @@
344 344
 				alert(xianCode);
345 345
 				
346 346
 				if(xianCode == ""){
347
-					layer.msg("办单位不能为空");
347
+					layer.msg("办单位不能为空");
348 348
 				}else if($("#startTime").val() == ""){
349 349
 					layer.msg("办理时限不能为空");
350 350
 				}else if($("#assignedopinion").val() == "") {
@@ -358,7 +358,7 @@
358 358
 			function JA() {
359 359
 				$.post(huayi.config.callcenter_url + '/WorkOrder/TurnWorkOrder', {
360 360
 					workorderid: wid,
361
-					citycode: xianCode, //办单位
361
+					citycode: xianCode, //办单位
362 362
 					token: $.cookie("token")
363 363
 				}, function(result) {
364 364
 					result = JSON.parse(result);

+ 18 - 6
WebUI/CallCenterWeb.UI/InstantMessage/InstantMessage.html

@@ -63,8 +63,8 @@
63 63
 				<sapn>
64 64
 					<i class="syIcon"></i>位置:
65 65
 					<a id="ReIndex" href="javaScript:;">首页</a>&gt;
66
-					<a href="javaScript:;">信息管理</a>&gt;
67
-					<a href=" " class="now_position" style="color: #01a1cb!important;">聊天记录</a>
66
+					<a href="javaScript:;">即时通讯</a>&gt;
67
+					<a href=" " class="now_position">即时通讯列表</a>
68 68
 				</sapn>
69 69
 			</div>
70 70
 		</div>
@@ -81,18 +81,18 @@
81 81
 								
82 82
 							</select>
83 83
 						</div>
84
-						<!--<div class="form-group">
84
+						<div class="form-group">
85 85
 							<select name="" id="roleid" class="form-control">
86 86
 								<option value="1">中心话务员</option>
87 87
 								<option value="5">坐席班长</option>
88 88
 								<option value="9">导播话务员</option>
89 89
 							</select>
90
-						</div>-->
91
-						<!--<div class="form-group">
90
+						</div>
91
+						<div class="form-group">
92 92
 							<select name="" id="userCode" class="form-control">
93 93
 
94 94
 							</select>
95
-						</div>-->
95
+						</div>
96 96
 						<div class="form-group time-box">
97 97
 							<i class="tub fa fa-calendar"></i>
98 98
 							<input class="form-control" type="text" id="strTime" placeholder="请选择开始时间">
@@ -125,11 +125,23 @@
125 125
 							<!--<th data-field="callee" data-align="center">主叫号码</th>-->
126 126
 							<th data-field="Content" data-align="center">内容</th>
127 127
 							<th data-field="CreateDate" data-align="center">时间</th>
128
+							<!--<th data-align="center" data-formatter="audio" data-events="audioFiel">录音</th>-->
128 129
 						</tr>
129 130
 					</thead>
130 131
 				</table>
131 132
 			</div>
133
+			<div class="model audioCon">
134
+				<div class="box">
135
+					<div class="btop clearfix">
136
+						<p class="btl">录音文件播放</p>
137
+						<p class="btr adbtr"><i class="fa fa-remove"></i></p>
138
+					</div>
139
+					<div class="boxCon" style="min-height: 120px;">
140
+						<audio controls="controls" class="aud"></audio>
141
+					</div>
142
+				</div>
132 143
 
144
+			</div>
133 145
 		</div>
134 146
 		<script src="../js/jquery-ui.js"></script>
135 147
 		<script src="../js/laydate/laydate.js"></script>

+ 6 - 2
WebUI/CallCenterWeb.UI/Media/CitizenAppeal.html

@@ -182,7 +182,7 @@
182 182
 						<div class="box_content">
183 183
 							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
184 184
 								<tr>
185
-									<th>关键字:</th>
185
+									<th>诉求标题:</th>
186 186
 									<td>
187 187
 										<input type="text" placeholder="输入关键字" id="key" class="Min-width" />
188 188
 									</td>
@@ -210,13 +210,17 @@
210 210
 									<td>
211 211
 										<select id="keyid" name="" class="select"></select>
212 212
 									</td>
213
+									<!--<th>坐席:</th>
214
+									<td>
215
+										<select id="ZX" name="" class="select"></select>
216
+									</td>-->
213 217
 								</tr>
214 218
 								<tr>
215 219
 									<th>投诉电话:</th>
216 220
 									<td>
217 221
 										<input type="text" id="tel"  class="Min-width" />
218 222
 									</td>
219
-									<th>姓名:</th>
223
+									<th>投诉人:</th>
220 224
 									<td>
221 225
 										<input type="text" id="name"  class="Min-width"/>
222 226
 									</td>

+ 309 - 330
WebUI/CallCenterWeb.UI/ReportForm/callTime.html

@@ -1,11 +1,10 @@
1 1
 <!DOCTYPE html>
2 2
 <html>
3
-
4 3
 	<head>
5 4
 		<meta charset="utf-8">
6 5
 		<meta name="viewport" content="width=device-width, initial-scale=1.0">
7 6
 		<script src="../Script/Common/huayi.load.js"></script>
8
-		<script src="../Script/Common/huayi.config.js"></script>
7
+        <script src="../Script/Common/huayi.config.js"></script>
9 8
 		<title>通话时长</title>
10 9
 		<!--[if lt IE 9]>
11 10
     <meta http-equiv="refresh" content="0;ie.html" />
@@ -16,69 +15,60 @@
16 15
 		<link href="../css/style.min862f.css?v=4.1.0" rel="stylesheet">
17 16
 		<link rel="stylesheet" href="../css/laydate/need/laydate.css" />
18 17
 		<!--<link rel="stylesheet" href="./css/huTotal.css" />-->
19
-		<link rel="stylesheet" href="../css/init.css" />
18
+    	<link rel="stylesheet" href="../css/init.css" />
20 19
 		<style>
21 20
 			.clearfix:after {
22
-				content: "";
23
-				display: block;
24
-				clear: both;
21
+			    content: "";
22
+			    display: block;
23
+			    clear: both;
25 24
 			}
26
-			
27
-			.th-top {
28
-				background: #f3f3f4;
29
-				height: 60px;
30
-				padding: 10px 20px;
25
+			.th-top{
26
+				    background: #f3f3f4;
27
+			     	height: 60px; 
28
+			    	padding: 10px 20px;
31 29
 			}
32
-			
33
-			.topCon {
30
+			.topCon{
34 31
 				float: right;
35 32
 				margin-right: 45px;
36 33
 			}
37
-			
38
-			.th-content h2 {
39
-				font-size: 22px;
40
-				/*margin-bottom: 20px;*/
41
-			}
42
-			
43
-			.topCon input {
34
+			.th-content h2{
35
+			font-size: 22px;
36
+			/*margin-bottom: 20px;*/
37
+		}
38
+			.topCon input{
44 39
 				width: 128px;
45
-				padding: 2px 2PX 2PX 10PX;
46
-				height: 28px;
47
-				border: 1px solid #ebebeb;
48
-				color: #1ab394;
49
-				outline: none;
50
-				vertical-align: middle;
51
-			}
52
-			
53
-			.th-content {
54
-				width: 90%;
55
-				margin: 0 auto;
40
+				    padding: 2px 2PX 2PX 10PX;
41
+				    height: 28px;
42
+				    border: 1px solid #ebebeb;
43
+				    color: #1ab394;
44
+				    outline: none;
45
+				    vertical-align: middle;
56 46
 			}
57
-			
58
-			.th-table table thead tr td {
59
-				background: #00a1cb;
60
-				color: #fff;
47
+				.th-content{
48
+					width: 90%;
49
+					margin: 0 auto;
50
+				}
51
+		.th-table table thead tr td {
52
+				    background: #00a1cb;
53
+				    color: #fff;
61 54
 			}
62
-			
63
-			.th-table {
55
+			.th-table{
64 56
 				display: none;
65 57
 			}
66 58
 			
67
-			#thead thead th {
68
-				background: #00a0cd;
69
-				color: #fff;
70
-			}
71
-			
72
-			table thead,
73
-			tbody tr {
74
-				display: table;
75
-				width: 100%;
76
-				table-layout: fixed;
77
-			}
59
+		#thead thead th{
60
+			background: #00a0cd;
61
+    		color: #fff;
62
+		}
63
+		table thead, tbody tr {
64
+            display:table;
65
+            width:100%;
66
+            table-layout:fixed;
67
+        }
68
+        .table{
69
+        	margin-bottom: 0;
70
+        }
78 71
 			
79
-			.table {
80
-				margin-bottom: 0;
81
-			}
82 72
 		</style>
83 73
 	</head>
84 74
 
@@ -86,33 +76,24 @@
86 76
 		<div class="thTime wrapper wrapper-content animated fadeInRight">
87 77
 			<div class="daoHang clearfix">
88 78
 				<div class="dhLeft">
89
-					<sapn><i class="syIcon"></i>位置:
90
-						<a id="ReIndex" href="javaScript:;">首页</a>&gt;
91
-						<a href="javaScript:;">报表管理</a>&gt;
92
-						<a href="" class="nowPosition">通话时长统计</a>
93
-					</sapn>
94
-				</div>
95
-				<div class="dhRight">
96
-					<a href="" title="刷新"><i class="fa fa-refresh"></i></a>
79
+					<sapn><i class="syIcon"></i>位置:<a id="ReIndex" href="javaScript:;">首页</a>&gt;<a href="javaScript:;">报表管理</a>&gt;<a href="" class="nowPosition">通话时长统计</a></sapn>
97 80
 				</div>
81
+				<div class="dhRight"><a href="" title="刷新"><i class="fa fa-refresh"></i></a></div>
98 82
 			</div>
99 83
 			<div class="toolBar clearfix">
100
-				<div class="toolRight">
101
-					开始时间:
102
-					<input type="text" class="laydate-icon" id="startTime" /> 结束时间:
103
-					<input type="text" class="laydate-icon" id="endTime" />
84
+            <div class="toolRight">
85
+               	开始时间:
86
+				    <input type="text" class="laydate-icon" id="startTime"/>
87
+					结束时间:
88
+					<input type="text" class="laydate-icon" id="endTime"/>
104 89
 					<button class="btns sear">搜索</button>
105 90
 					<a class="btns export">导出</a>
106
-				</div>
91
+            </div>
107 92
 
108
-			</div>
93
+        </div>
109 94
 			<ul class="nav nav-tabs th-tab">
110
-				<li role="presentation" class="active">
111
-					<a href="javascript:;">图形</a>
112
-				</li>
113
-				<li role="presentation">
114
-					<a href="javascript:;">表格</a>
115
-				</li>
95
+			  <li role="presentation" class="active"><a href="javascript:;">图形</a></li>
96
+			  <li role="presentation"><a href="javascript:;">表格</a></li>
116 97
 			</ul>
117 98
 			<div class="th-content">
118 99
 				<div class="th-tu" style="width: 100%;">
@@ -120,36 +101,39 @@
120 101
 					<div id="tabtu" style="width: 100%; height: 600px;"></div>
121 102
 				</div>
122 103
 				<div class="th-table">
123
-					<h2 style="text-align: center;">热线坐席通话时长统计</h2>
124
-					<div style="width: 100%;padding: 10px;">
125
-						<div class="table-head">
126
-							<table id="thead" class="table table-hover table-striped table-bordered table-condensed">
127
-								<colgroup>
128
-									<col style="width: 80px;" />
129
-									<col/>
130
-								</colgroup>
104
+						<h2 style="text-align: center;">热线坐席通话时长统计</h2>
105
+						<div style="width: 100%;padding: 10px;">
106
+							<div class="table-head">
107
+								<table id="thead" class="table table-hover table-striped table-bordered table-condensed">
108
+								 <colgroup>
109
+					                <col style="width: 80px;"/>
110
+					                <col/>
111
+					            </colgroup>
131 112
 								<thead>
132 113
 									<tr>
133
-
114
+									
134 115
 									</tr>
135 116
 								</thead>
136 117
 							</table>
118
+							</div>
119
+							<div class="table-body">
120
+								 <table class="thTable table table-hover table-striped table-bordered table-condensed">
121
+						            <colgroup>
122
+						                <col style="width: 80px;"/>
123
+						                <col/>
124
+						            </colgroup>
125
+						            <tbody>
126
+						          
127
+						            </tbody>
128
+						        </table>
129
+							</div>
137 130
 						</div>
138
-						<div class="table-body">
139
-							<table class="thTable table table-hover table-striped table-bordered table-condensed">
140
-								<colgroup>
141
-									<col style="width: 80px;" />
142
-									<col/>
143
-								</colgroup>
144
-								<tbody>
145
-
146
-								</tbody>
147
-							</table>
148
-						</div>
149
-					</div>
150
-
131
+						
132
+		
133
+	          	
151 134
 				</div>
152
-
135
+				
136
+				
153 137
 			</div>
154 138
 		</div>
155 139
 
@@ -160,282 +144,277 @@
160 144
 		<script src="../js/echarts.common.min.js"></script>
161 145
 		<!--<script src="http://cdn.hcharts.cn/highcharts/highcharts.js"></script>-->
162 146
 		<script>
163
-			$(function() {
147
+			$(function(){
164 148
 				var token = $.cookie("token");
165 149
 				laydate.skin('blue');
166 150
 				laydate({
167 151
 					elem: '#startTime',
168 152
 					event: 'focus',
169 153
 					format: 'YYYY-MM-DD', // 分隔符可以任意定义,该例子表示只显示年月
170
-					//				  	festival: true, //显示节日
171
-					choose: function(datas) { //选择日期完毕的回调
172
-						//				    alert('得到:'+datas);
173
-					}
154
+//				  	festival: true, //显示节日
155
+				  	choose: function(datas){ //选择日期完毕的回调
156
+//				    alert('得到:'+datas);
157
+				  }
174 158
 				});
175 159
 				laydate({
176 160
 					elem: '#endTime',
177
-					event: 'focus',
161
+     				event: 'focus',
178 162
 					format: 'YYYY-MM-DD', // 分隔符可以任意定义,该例子表示只显示年月
179 163
 				});
180
-				var stime, //开始时间
181
-					endtime, //结束时间
182
-					aa = true,
164
+				var stime,//开始时间
165
+					endtime,//结束时间
166
+					aa=true,
183 167
 					tabtu,
184
-					legend = [], //图例
185
-					zxn, //坐席名称
186
-					callIn, //呼入次数
187
-					callInTime, //呼入时长
188
-					callOut, //呼出次数
189
-					callOutTime, //呼出时长
190
-					hcNoCount, //呼出未接通次数
191
-					zhenLing, //振铃时长
192
-					total, //通话总时长
193
-					pingjun; //平均通话时长
194
-				//tab切换
195
-				$('.th-tab li').click(function() {
168
+					legend=[],//图例
169
+					zxn,//坐席名称
170
+		        	callIn,//呼入次数
171
+		        	callInTime,//呼入时长
172
+		        	callOut,//呼出次数
173
+		        	callOutTime,//呼出时长
174
+		        	hcNoCount,//呼出未接通次数
175
+		        	zhenLing,//振铃时长
176
+		        	total,//通话总时长
177
+		        	pingjun;//平均通话时长
178
+					//tab切换
179
+				$('.th-tab li').click(function(){
196 180
 					$(this).addClass('active')
197
-						.siblings().removeClass('active');
198
-
199
-					var index = $(this).index();
181
+							.siblings().removeClass('active');
182
+					
183
+					var index=$(this).index();
200 184
 					$('.th-content >div').eq(index).show()
201
-						.siblings().hide();
185
+					                .siblings().hide();
202 186
 				})
203
-
204
-				$(document).ready(function() {
205
-					//图形
206
-					tabtu = echarts.init(document.getElementById('tabtu'));
207
-
187
+				
188
+				$(document).ready(function(){
189
+				//图形
190
+				tabtu = echarts.init(document.getElementById('tabtu'));
191
+				
208 192
 					option = {
209
-						tooltip: {
210
-							trigger: 'axis',
211
-
212
-						},
193
+					tooltip: {
194
+						trigger: 'axis',
213 195
 
214
-						legend: {
215
-							data: legend,
216
-							bottom: 0
196
+					},
197
+				
198
+					legend: {
199
+					    data: legend,
200
+						bottom: 0
201
+					},
202
+					xAxis: [{
203
+						type: 'category',
204
+						data: zxn,
205
+						axisPointer: {
206
+							type: ''
217 207
 						},
218
-						xAxis: [{
219
-							type: 'category',
220
-							data: zxn,
221
-							axisPointer: {
222
-								type: ''
223
-							},
208
+						axisLabel: {
209
+						    interval: 0,
210
+						    rotate: 40
211
+						    //formatter: function (value) {
212
+						    //    return value.split("").join("\n");
213
+						    //}
214
+						}
215
+					}],
216
+					yAxis: [{
217
+							type: 'value',
218
+							name: '通话次数(通)',
219
+							nameLocation:'middle',
220
+							nameGap:50,
221
+//							min: 0,
222
+//							max:200,
223
+//							interval: 20,
224 224
 							axisLabel: {
225
-								
226
-								interval: 0,
227
-								//rotate: 40
228
-								//formatter: function (value) {
229
-								//    return value.split("").join("\n");
230
-								//}
225
+								formatter: '{value} '
231 226
 							}
232
-						}],
233
-						dataZoom: {
234
-						    show: true,
235
-						    realtime: true,
236
-						    y: 36,
237
-						    height: 20,
238
-						    start: 43,
239
-						    end: 57
240
-						},
241
-						yAxis: [{
242
-								type: 'value',
243
-								name: '通话次数(通)',
244
-								nameLocation: 'middle',
245
-								nameGap: 50,
246
-								//							min: 0,
247
-								//							max:200,
248
-								//							interval: 20,
249
-								axisLabel: {
250
-									formatter: '{value} '
251
-								}
252 227
 
253
-							},
254
-							{
255
-								type: 'value',
256
-								name: '通话时长(分)',
257
-								nameLocation: 'middle',
258
-								nameGap: 50,
259
-								//							min: 0,
260
-								//							max: 100000,
261
-								//							interval: 5000,
262
-								axisLabel: {
263
-									rotate: -50,
264
-									formatter: '{value} '
265
-								}
228
+						},
229
+						{
230
+							type: 'value',
231
+							name: '通话时长(分)',
232
+							nameLocation:'middle',
233
+							nameGap:50,
234
+//							min: 0,
235
+//							max: 100000,
236
+//							interval: 5000,
237
+							axisLabel: {
238
+							    rotate: -50,
239
+								formatter: '{value} '
266 240
 							}
267
-						],
268
-						series: [{
269
-								type: 'bar',
241
+						}
242
+					],
243
+					series: [
244
+                        {
245
+							    type: 'bar',
270 246
 								name: '呼入次数',
271
-								data: callIn
272
-							}, {
273
-								type: 'line',
247
+						        data: callIn
248
+						},{
249
+							    type: 'line',
274 250
 								name: '呼入时长',
275 251
 								yAxisIndex: 1,
276
-								data: callInTime
277
-							},
278
-							{
279
-								type: 'bar',
280
-								name: '呼出次数',
281
-								data: callOut
282
-							}, {
283
-								type: 'line',
252
+						        data: callInTime
253
+						},
254
+						{
255
+							type: 'bar',
256
+							name: '呼出次数',
257
+							data: callOut
258
+						},{
259
+							    type: 'line',
284 260
 								name: '呼出时长',
285 261
 								yAxisIndex: 1,
286
-								data: callOutTime
287
-							}, {
288
-								type: 'bar',
262
+						        data: callOutTime
263
+						},{
264
+							    type: 'bar',
289 265
 								name: '呼出未接通次数',
290
-								data: hcNoCount
291
-							}, {
292
-								type: 'line',
266
+						        data: hcNoCount
267
+						},{
268
+							    type: 'line',
293 269
 								name: '振铃时长',
294
-								yAxisIndex: 1,
295
-								data: zhenLing
296
-							},
297
-							{
298
-								type: 'line',
299
-								name: '通话总时长',
300
-								yAxisIndex: 1,
301
-								data: total
302
-							},
303
-							{
304
-								type: 'line',
305
-								name: '平均通话时长',
306
-								yAxisIndex: 1,
307
-								data: pingjun
308
-							}
309
-						],
310
-						color: ['#1ab394', '#fbbe5b', '#88ebc4', '#fa957f', '#cddc39', '#ff5722', '#e91e63', '#673ab7']
311
-					};
312
-					Ajax();
313
-					tabtu.setOption(option);
270
+								 yAxisIndex: 1,
271
+						        data: zhenLing
272
+						},
273
+						{
274
+							type: 'line',
275
+							name: '通话总时长',
276
+						     yAxisIndex: 1,
277
+							data: total
278
+						},
279
+						{
280
+							type: 'line',
281
+							name: '平均通话时长',
282
+							  yAxisIndex: 1,
283
+						    data: pingjun
284
+						}
285
+					],
286
+					color: ['#1ab394', '#fbbe5b', '#88ebc4', '#fa957f','#cddc39','#ff5722','#e91e63','#673ab7']
287
+				};
288
+				    Ajax();
289
+			        tabtu.setOption(option);
314 290
 				})
315 291
 				//表头数据
316 292
 				var con;
317 293
 				$.ajax({
318
-					type: "get",
319
-					url: huayi.config.callcenter_url + "TalkTime/GetColumnList",
320
-					async: false,
321
-					dataType: 'json',
322
-					data: {
323
-						token: token
294
+					type:"get",
295
+					url:huayi.config.callcenter_url+"TalkTime/GetColumnList",
296
+					async:false,
297
+					dataType:'json',
298
+					data:{
299
+						token:token
324 300
 					},
325
-					success: function(res) {
326
-						con = res.data;
301
+					success:function(res){
302
+						con=res.data;
327 303
 						$('#thead thead tr').html('');
328
-						for(var i = 0; i < con.length; i++) {
329
-							$('<th>' + con[i] + '</th>').appendTo('#thead thead tr')
304
+						for(var i=0;i<con.length;i++){
305
+							$('<th>' + con[i]+ '</th>').appendTo('#thead thead tr')
330 306
 						}
331 307
 						return con
332 308
 					}
333
-
309
+					
334 310
 				});
335
-				legend = con;
336
-				//搜索事件
337
-				$(".sear").click(function() {
338
-					$('.thTable tbody').html('');
339
-					stime = $("#startTime").val();
340
-					endtime = $("#endTime").val();
341
-					Ajax(stime, endtime);
342
-					tabtu.setOption(option);
343
-				});
344
-
345
-				//导出功能
346
-				$('.export').click(function() {
347
-					dcexcel(this);
348
-				})
349
-
350
-				function dcexcel(obj) {
351
-					var url = huayi.config.callcenter_url + "TalkTime/ExptList?token=" + $.cookie("token");
352
-					url += "&stime=" + $("#startTime").val() + "&endtime=" + $("#endTime").val();
353
-					obj.href = url;
354
-				}
355
-				//表格数据
356
-				function Ajax(stime, endtime) {
357
-
358
-					var zx_name = [],
359
-						huru = [],
360
-						huruTime = [],
361
-						huchu = [],
362
-						huchuTime = [],
363
-						hcNo = [],
364
-						zlTime = [],
365
-						allCall = [],
366
-						averange = [];
367
-
368
-					$.ajax({
369
-						type: 'get',
370
-						url: huayi.config.callcenter_url + 'TalkTime/GetDataList',
371
-						async: false,
372
-						dataType: 'json',
373
-						data: {
374
-							token: token,
375
-							stime: stime,
376
-							endtime: endtime
377
-						},
378
-						success: function(data) {
379
-							var tbodyCon = data.data;
380
-							$('.thTable tbody').html('');
381
-							for(var j = 0; j < tbodyCon.length; j++) {
382
-								$('<tr><td>' + tbodyCon[j].坐席名称 + '</td><td>' + tbodyCon[j].呼入次数 + '</td><td>' + studyTime(tbodyCon[j].呼入时长) + '</td><td>' + tbodyCon[j].呼出次数 + '</td><td>' + studyTime(tbodyCon[j].呼出时长) + '</td><td>' + tbodyCon[j].呼出未接通次数 + '</td><td>' + studyTime(tbodyCon[j].振铃时长) + '</td><td>' + studyTime(tbodyCon[j].通话总时长) + '</td><td>' + studyTime(tbodyCon[j].平均通话总时长) + '</td></tr>').appendTo('.thTable tbody')
383
-								zx_name.push(tbodyCon[j].坐席名称);
384
-								huru.push(tbodyCon[j].呼入次数)
385
-								huruTime.push(((tbodyCon[j].呼入时长 / 60).toFixed(2)) * 1)
386
-								huchu.push(tbodyCon[j].呼出次数)
387
-								huchuTime.push(((tbodyCon[j].呼出时长 / 60).toFixed(2)) * 1)
388
-								hcNo.push(tbodyCon[j].呼出未接通次数)
389
-								zlTime.push(((tbodyCon[j].振铃时长 / 60).toFixed(2)) * 1)
390
-								allCall.push(((tbodyCon[j].通话总时长 / 60).toFixed(2)) * 1)
391
-								averange.push(((tbodyCon[j].平均通话总时长 / 60).toFixed(2)) * 1)
392
-							}
393
-						}
394
-					});
395
-					//			        	console.log(leg);
396
-					//			        	legend=leg;//图例
397
-					zxn = zx_name;
398
-					callIn = huru; //呼入次数
399
-					callInTime = huruTime; //呼入时长
400
-					callOut = huchu; //呼出次数
401
-					callOutTime = huchuTime; //呼出时长
402
-					hcNoCount = hcNo; //呼出未接通次数
403
-					zhenLing = zlTime; //振铃时长
404
-					total = allCall; //通话总时长
405
-					pingjun = averange; //平均通话时长
406
-					//console.log(zxn);
407
-					option.xAxis[0].data = zxn;
408
-					option.series[0].data = callIn;
409
-					option.series[1].data = callInTime;
410
-					option.series[2].data = callOut;
411
-					option.series[3].data = callOutTime;
412
-					option.series[4].data = hcNoCount;
413
-					option.series[5].data = zhenLing;
414
-					option.series[6].data = total;
415
-					option.series[7].data = pingjun;
416
-				}
311
+				legend=con;
312
+				   //搜索事件
313
+			        $(".sear").click(function(){
314
+			        	$('.thTable tbody').html('');
315
+				        	stime=$("#startTime").val();
316
+				        	endtime=$("#endTime").val();
317
+				      	    Ajax(stime,endtime);
318
+				      	    tabtu.setOption(option);
319
+			        });
320
+			        
321
+				        //导出功能
322
+	              	$('.export').click(function() {
323
+						dcexcel(this);
324
+					})
325
+			   function dcexcel(obj) {
326
+	            var url = huayi.config.callcenter_url + "TalkTime/ExptList?token=" + $.cookie("token");
327
+	                url += "&stime=" + $("#startTime").val() + "&endtime=" + $("#endTime").val();
328
+	                obj.href = url;
329
+	       		 }
330
+			        //表格数据
331
+			        function Ajax(stime,endtime){
332
+			        	
333
+			        	var zx_name=[],
334
+			        	    huru=[],
335
+			        	    huruTime=[],
336
+			        	    huchu=[],
337
+			        	    huchuTime=[],
338
+			        	    hcNo=[],
339
+			        	    zlTime=[],
340
+			        	    allCall=[],
341
+			        	    averange=[];
342
+			        	    
343
+			        	$.ajax({
344
+			        		type:'get',
345
+			        		url:huayi.config.callcenter_url+'TalkTime/GetDataList',
346
+			        		async:false,
347
+			        		dataType:'json',
348
+			        		data:{
349
+			        			token:token,
350
+			        			stime:stime,
351
+			        			endtime:endtime
352
+			        		},
353
+			        		success:function(data) {
354
+			        			var tbodyCon=data.data;
355
+			        			$('.thTable tbody').html('');
356
+			        			for(var j=0;j<tbodyCon.length;j++){
357
+			        				$('<tr><td>' + tbodyCon[j].坐席名称+ '</td><td>' + tbodyCon[j].呼入次数+ '</td><td>' +  studyTime(tbodyCon[j].呼入时长)+ '</td><td>' + tbodyCon[j].呼出次数+ '</td><td>' + studyTime(tbodyCon[j].呼出时长)+ '</td><td>' + tbodyCon[j].呼出未接通次数+ '</td><td>' + studyTime(tbodyCon[j].振铃时长) + '</td><td>' + studyTime(tbodyCon[j].通话总时长)+ '</td><td>' + studyTime(tbodyCon[j].平均通话总时长)+ '</td></tr>').appendTo('.thTable tbody')
358
+			        			    zx_name.push(tbodyCon[j].坐席名称);
359
+			        			    huru.push(tbodyCon[j].呼入次数)
360
+			        			    huruTime.push(((tbodyCon[j].呼入时长/60).toFixed(2))*1)
361
+			        			    huchu.push(tbodyCon[j].呼出次数)
362
+			        			    huchuTime.push(((tbodyCon[j].呼出时长/60).toFixed(2))*1)
363
+			        			    hcNo.push(tbodyCon[j].呼出未接通次数)
364
+			        			    zlTime.push(((tbodyCon[j].振铃时长/60).toFixed(2))*1)
365
+			        			    allCall.push(((tbodyCon[j].通话总时长/60).toFixed(2))*1)
366
+			        			    averange.push(((tbodyCon[j].平均通话总时长/60).toFixed(2))*1)
367
+			        			}
368
+			        		}
369
+			        	});
370
+//			        	console.log(leg);
371
+//			        	legend=leg;//图例
372
+			        	zxn=zx_name;
373
+			        	callIn=huru;//呼入次数
374
+			        	callInTime= huruTime;//呼入时长
375
+			        	callOut=huchu;//呼出次数
376
+			        	callOutTime=huchuTime;//呼出时长
377
+			        	hcNoCount=hcNo;//呼出未接通次数
378
+			        	zhenLing=zlTime;//振铃时长
379
+			        	total=allCall;//通话总时长
380
+			        	pingjun=averange;//平均通话时长
381
+			        	//console.log(zxn);
382
+			        	option.xAxis[0].data=zxn;
383
+			        	option.series[0].data=callIn;
384
+			        	option.series[1].data=callInTime;
385
+			        	option.series[2].data=callOut;
386
+			        	option.series[3].data=callOutTime;
387
+			        	option.series[4].data=hcNoCount;
388
+			        	option.series[5].data=zhenLing;
389
+			        	option.series[6].data=total;
390
+			        	option.series[7].data=pingjun;
391
+			        }
417 392
 			})
418
-
419
-			var hour = 0,
420
-				minute = 0,
421
-				second = 0;
422
-
423
-			function studyTime(t) {
424
-				console.log(t)
425
-				hour = Math.floor(t / 60 / 60);
426
-				minute = Math.floor(t / 60 % 60);
427
-				second = Math.floor(t % 60);
428
-				if(hour < 10) {
429
-					hour = "0" + hour;
430
-				}
431
-				if(minute < 10) {
432
-					minute = "0" + minute;
433
-				}
434
-				if(second < 10) {
435
-					second = "0" + second;
436
-				}
437
-				return hour + ":" + minute + ":" + second;
438
-			}
393
+			
394
+			
395
+			
396
+			
397
+			
398
+			  var hour = 0,
399
+		        minute = 0,
400
+		        second = 0;
401
+	    function studyTime(t) {
402
+	        console.log(t)
403
+	        hour = Math.floor(t / 60 / 60);
404
+	        minute = Math.floor(t / 60 % 60);
405
+	        second = Math.floor(t % 60);
406
+	        if(hour < 10) {
407
+	            hour = "0" + hour;
408
+	        }
409
+	        if(minute < 10) {
410
+	            minute = "0" + minute;
411
+	        }
412
+	        if(second < 10) {
413
+	            second = "0" + second;
414
+	        }
415
+	      return  hour +":"+ minute +":"+ second;
416
+	    }
417
+			
439 418
 		</script>
440 419
 	</body>
441 420
 

+ 1 - 1
WebUI/CallCenterWeb.UI/ReportForm/chuliliang.html

@@ -70,7 +70,7 @@
70 70
                     <i class="syIcon"></i>位置:
71 71
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
72 72
                     <a href="javaScript:;">业务统计</a>&gt;
73
-                   <a href="" class="nowPosition">处理量统计</a>
73
+                    <a class="nowPosition">处理量统计</a>
74 74
                 </sapn>
75 75
             </div>
76 76
              <div class="dhRight">

+ 1 - 1
WebUI/CallCenterWeb.UI/ReportForm/huTotal.html

@@ -137,7 +137,7 @@
137 137
 					            </colgroup>
138 138
 								<thead>
139 139
 									<tr>
140
-										<th>月份</th>
140
+										<th>月份月份</th>
141 141
 										<th>日期</th>
142 142
 										<th>总量</th>
143 143
 									</tr>

+ 2 - 2
WebUI/CallCenterWeb.UI/ReportForm/riLiuLiang.html

@@ -8,7 +8,7 @@
8 8
 		 <link href="../css/init.css" rel="stylesheet" />
9 9
       <script src="../css/laydate/laydate.js"></script>
10 10
 		<link rel="stylesheet" href="../css/init.css" />
11
-		<title>日流量报表</title>
11
+		<title>日流量统计</title>
12 12
 	</head>
13 13
 	<style>
14 14
 		@font-face {
@@ -80,7 +80,7 @@
80 80
 		<div class="hu-total wrapper wrapper-content animated fadeInRight">
81 81
 			<div class="daoHang clearfix">
82 82
 				<div class="dhLeft">
83
-					<sapn><i class="syIcon"></i>位置:<a id="ReIndex" href="javaScript:;">首页</a>&gt;<a href="javaScript:;">报表管理</a>&gt;<a href="" class="nowPosition">日流量报表</a></sapn>
83
+					<sapn><i class="syIcon"></i>位置:<a id="ReIndex" href="javaScript:;">首页</a>&gt;<a href="javaScript:;">报表管理</a>&gt;<a href="" class="nowPosition">日流量统计</a></sapn>
84 84
 				</div>
85 85
 				<div class="dhRight"><a href="" title="刷新"><i class="fa fa-refresh"></i></a></div>
86 86
 			</div>

+ 2 - 2
WebUI/CallCenterWeb.UI/ReportForm/seaterMY.html

@@ -3,7 +3,7 @@
3 3
 
4 4
 <head>
5 5
     <meta charset="UTF-8">
6
-    <title>坐席接听满意度统计</title>
6
+    <title>满意度统计</title>
7 7
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
8 8
     <script src="../Script/Common/huayi.load.js"></script>
9 9
     <script src="../Script/Common/huayi.config.js"></script>
@@ -70,7 +70,7 @@
70 70
                     <i class="syIcon"></i>位置:
71 71
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
72 72
                     <a href="javaScript:;">报表管理</a>&gt;
73
-                   <a href="" class="nowPosition">坐席接听满意度统计</a>
73
+                    <a class="nowPosition">满意度统计</a>
74 74
                 </sapn>
75 75
             </div>
76 76
              <div class="dhRight">

+ 2 - 2
WebUI/CallCenterWeb.UI/ReportForm/threeworkCLL.html

@@ -70,7 +70,7 @@
70 70
                     <i class="syIcon"></i>位置:
71 71
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
72 72
                     <a href="javaScript:;">业务统计</a>&gt;
73
-                   <a href="" class="nowPosition">处理效率统计</a>
73
+                    <a class="nowPosition">处理效率统计</a>
74 74
                 </sapn>
75 75
             </div>
76 76
              <div class="dhRight">
@@ -106,7 +106,7 @@
106 106
                                 <th data-field="deptname" data-align="center">单位名称</th>
107 107
                                 <th data-field="completedcount" data-align="center">处理总量</th>
108 108
                                 <th data-field="timelycount" data-align="center">及时量</th>
109
-                                <th data-field="timeoutcount" data-align="center">时量</th>
109
+                                <th data-field="timeoutcount" data-align="center">时量</th>
110 110
                                 <th data-field="timelyrate" data-align="center">处理及时率</th>
111 111
                             </tr>
112 112
                         </thead>

+ 1 - 1
WebUI/CallCenterWeb.UI/ReportForm/threeworkMY.html

@@ -70,7 +70,7 @@
70 70
                     <i class="syIcon"></i>位置:
71 71
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
72 72
                     <a href="javaScript:;">业务统计</a>&gt;
73
-                   <a href="" class="nowPosition">坐席接听满意度统计</a>
73
+                    <a class="nowPosition">满意度统计</a>
74 74
                 </sapn>
75 75
             </div>
76 76
              <div class="dhRight">

+ 2 - 2
WebUI/CallCenterWeb.UI/ReportForm/yueLiuLiang.html

@@ -9,7 +9,7 @@
9 9
 		<link href="../css/init.css" rel="stylesheet" />
10 10
 		<script src="../js/laydate/laydate.js"></script>
11 11
 		<link rel="stylesheet" href="../css/init.css" />
12
-		<title>月流量报表</title>
12
+		<title>月流量统计</title>
13 13
 	</head>
14 14
 	<style>
15 15
 		@font-face {
@@ -108,7 +108,7 @@
108 108
 					<sapn><i class="syIcon"></i>位置:
109 109
 						<a id="ReIndex" href="javaScript:;">首页</a>&gt;
110 110
 						<a href="javaScript:;">报表管理</a>&gt;
111
-						<a href="" class="nowPosition">月流量报表</a>
111
+						<a href="" class="nowPosition">月流量统计</a>
112 112
 					</sapn>
113 113
 				</div>
114 114
 				<div class="dhRight">

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

@@ -2,13 +2,17 @@
2 2
     var huayi = {};
3 3
 }
4 4
 huayi.config = {
5
-    callcenter_url: "http://47.92.87.176:8889/",//生产环境
6
-//  callcenter_url: "http://192.168.8.9:1032", //生产环境 
7
-//  callcenter_url: "http://117.160.143.199:10391/",//生产环境
8
-    socket_ip: "121.196.219.217", //ip
9
-    socket_port: "8081", //端口
10
-    menuworktime: 30000, //菜单工单数量刷新间隔
11
-    indextime: 5000, //首页报表刷新间隔
5
+	//callcenter_url: "http://121.196.219.217:8002/",//生产环境
6
+	callcenter_url: "http://139.224.236.21:4025/",//生产环境
7
+    //callcenter_url: "http://192.168.4.18:4010/",//生产环境
8
+    //callcenter_url: "http://192.168.5.7:8011/",//生产环境
9
+    //callcenter_url: "http://12345.shangqiu.gov.cn:8819/",//生产环境
10
+    //callcenter_url: "http://localhost:63660/",//测试环境
11
+    socket_ip: "192.168.5.7",//ip
12
+    socket_port: "8081",//端口
13
+    menuworktime: 30000,//菜单工单数量刷新间隔
14
+    indextime: 30000*60,//首页报表刷新间隔
15
+    messageTime:60000,
12 16
      arr :["<a class='xg' onclick='ckxq(data)' title='查看'>查看</a>",
13 17
 				"<a class='xg' onclick='bj(data)' title='编辑'>编辑</a>",
14 18
 				"<a class='xg' onclick='move(data)' title='删除'>删除</a>",
@@ -16,7 +20,7 @@ huayi.config = {
16 20
 				"<a class='xg' onclick='jb(data)' title='交办'>交办</a>", //交办
17 21
 				"<a class='xg' onclick='lader(data)' title='领导'>领导批示</a>", //领导批示
18 22
 				"<a class='xg' onclick='city(data)' title='市长'>市长批示</a>", //市长指示
19
-				"<a class='xg' onclick='Supervision(data,row)' title='督办'>督办</a>", //督办
23
+				"<a class='xg' onclick='Supervision(data)' title='督办'>督办</a>", //督办
20 24
 				"<a class='xg' onclick='Supervision_(data)' title='督察'>监察</a>", //督察
21 25
 				"<a class='xg' onclick='sh(data)' title='收回'>收回</a>", //收回
22 26
 				"<a class='xg' onclick='cs(data)' title='查收'>查收</a>", //查收
@@ -27,26 +31,20 @@ huayi.config = {
27 31
 				"<a class='xg' onclick='hf(data)' title='回访'>回访</a>", //回访
28 32
 				"<a class='xg' onclick='shys(data)' title='延时审核'>延时审核</a>", //延时审核
29 33
 				"<a class='xg' onclick='cb(data)' title='重办'>重办</a>", //重办
30
-				"<a class='xg' onclick='' title=''></a>", //结案
31
-//				"<a class='xg' onclick='StrongLawsuit(data)' title='结案'>结案</a>", //结案
34
+				"<a class='xg' onclick='Lawsuit(data)' title='结案'>结案</a>", //结案
32 35
 				"<a class='xg'  title='导出'>导出</a>", //导出
33 36
 				"<a class='xg' onclick='BackDtail(data)'   title='回退'>回退</a>", //回退
34
-				"<a class='xg' onclick='StrongLawsuit(data)' title='结案'>结案</a>", //结案
35
-
37
+				"<a class='xg' onclick='StrongLawsuit(data)' title='强制结案'>强制结案</a>", //结案
36 38
                 "<a class='xg' onclick='pd(data)' title='派单'>派单</a>", //派单
37 39
                 "<a class='xg' onclick='auditdeal(data)' title='处理审核'>处理审核</a>", //处理审核
38 40
                 "<a class='xg' onclick='sign(data)' title='签收'>签收</a>", //签收
39 41
                 "<a class='xg' onclick='refuse(data)' title='拒收'>拒收</a>", //拒收
40 42
                 "<a class='xg' onclick='withdraw(data)' title='撤单'>撤单</a>", //撤单
41 43
                 "<a class='xg' onclick='audit(data)' title='审核'>审核</a>", //审核
42
-                "<a class='xg' onclick='zdb(data,row)' title='转督办'>转督办</a>", //转督办
44
+                "<a class='xg' onclick='zdb(data)' title='转督办'>转督办</a>", //转督办
43 45
                 "<a class='xg' onclick='ndb(data)' title='不督办'>不督办</a>", //不督办
44 46
                 "<a class='xg' onclick='tjcb(data)' title='提交重办'>提交重办</a>", //重办
45
-                "<a class='xg' onclick='bhcb(data)' title='驳回重办'>驳回重办</a>" ,//重办
46
-                "<a class='xg' onclick='lzjd(data)' title='履职界定'>履职界定</a>" ,//履职界定
47
-                "<a class='xg' onclick='gdhc(data)' title='回传'>回传</a>", //界定审核
48
-                "<a class='xg' onclick='editProcessingResult(data)' title='编辑办理'>编辑办理</a>", //界定审核
49
-                "<a class='xg' onclick='updatingFiles(data)' title='扫描件上传'>扫描件上传</a>", //附件上传
47
+                "<a class='xg' onclick='bhcb(data)' title='驳回重办'>驳回重办</a>" //重办
50 48
 			],
51 49
 	 kapArr :["<a class='xg' onclick='goDetail(data,data_id)' title='查看'>查看</a>",
52 50
 				"<a class='xg' onclick='goEdit(data,data_id)' title='编辑'>编辑</a>",

+ 1 - 8
WebUI/CallCenterWeb.UI/Script/Common/huayi.http.js

@@ -961,11 +961,4 @@ helper.init = {
961 961
 }
962 962
 
963 963
 helper.init.setajax();
964
-helper.init.setdh();
965
-//$(document).ready(function() {
966
-//			 var btn = document.getElementById("btn");
967
-//// 第一种 通过点击事件
968
-//btn.onclick = function(){
969
-//  window.location.reload();
970
-//}
971
-//})
964
+helper.init.setdh();

+ 1 - 1
WebUI/CallCenterWeb.UI/SystemManager/FunctionManage.html

@@ -29,7 +29,7 @@
29 29
 </head>
30 30
 
31 31
 <body class="gray-bg">
32
-    <div class="container-fluid wrapper-content animated fadeInRight" style="height: 100%;">
32
+    <div class="container-fluid wrapper-content animated fadeInRight">
33 33
         <div class="daoHang clearfix">
34 34
             <div class="dhLeft">
35 35
                 <sapn>

+ 229 - 268
WebUI/CallCenterWeb.UI/SystemManager/buMenEdit.html

@@ -1,296 +1,257 @@
1 1
 <!DOCTYPE html>
2 2
 <html>
3 3
 
4
-	<head>
5
-		<meta charset="UTF-8">
6
-		<title>单位编辑</title>
7
-		<script src="../Script/Common/huayi.load.js"></script>
8
-		<script src="../Script/Common/huayi.config.js"></script>
9
-		<link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
10
-		<link rel="stylesheet" href="../css/init.css" />
11
-		<style>
12
-			th {
13
-				padding: 5px 8px 5px 0;
14
-				text-align: right;
15
-			}
16
-			
17
-			input {
18
-				background-color: #FFF;
19
-				background-image: none;
20
-				border: 1px solid #ccc;
21
-				border-radius: 1px;
22
-				color: inherit;
23
-				padding: 6px 12px;
24
-			}
25
-			
26
-			td {
27
-				padding: 6px 0 5px 10px;
28
-			}
29
-			
30
-			.addts {
31
-				/* background: #1ab394; */
32
-				color: #fff;
33
-				padding: 6px 10px;
34
-				outline: none;
35
-				font-size: 12px;
36
-				margin-left: 15px;
37
-				border: 0;
38
-				border-radius: 3px;
39
-				box-sizing: border-box;
40
-			}
41
-			
42
-			.seldept {
43
-				position: absolute;
44
-				z-index: 100;
45
-				display: none;
46
-			}
47
-			
48
-			ul.ztree {
49
-				border: 1px solid #617775;
50
-				background: #f0f6e4;
51
-				overflow-y: scroll;
52
-				overflow-x: auto;
53
-				height: 150px;
54
-			}
55
-			
56
-			.select {
57
-				width: 190px;
58
-				background-color: #FFF;
59
-				background-image: none;
60
-				border: 1px solid #ccc;
61
-				border-radius: 1px;
62
-				color: inherit;
63
-				padding: 6px 12px;
64
-			}
65
-		</style>
66
-	</head>
4
+<head>
5
+    <meta charset="UTF-8">
6
+    <title>单位编辑</title>
7
+    <script src="../Script/Common/huayi.load.js"></script>
8
+    <script src="../Script/Common/huayi.config.js"></script>
9
+    <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
10
+    <link rel="stylesheet" href="../css/init.css" />
11
+    <style>
12
+        th {
13
+            padding: 5px 8px 5px 0;
14
+            text-align: right;
15
+        }
67 16
 
68
-	<body class="gray-bg">
69
-		<div style="padding: 10px;">
70
-			<div style="padding: 10px;" class="clearFix">
71
-				<div>
72
-					<span>【单位信息】</span>
73
-					<div class="box_content">
74
-						<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
75
-							<tr>
76
-								<th>父级单位:</th>
77
-								<td>
78
-									<input type="text" class="pname" readonly="readonly" /><input type="hidden" class="pid" />
79
-									<div class="seldept">
80
-										<ul id="treeDemo" class="ztree">
81
-											<!--类名为ztree是必须的-->
82
-										</ul>
83
-									</div>
84
-								</td>
85
-							</tr>
86
-							<tr>
87
-								<th>单位名称:</th>
88
-								<td>
89
-									<input type="text" class="name" /><input type="hidden" class="id" />
90
-								</td>
91
-							</tr>
92
-							<tr style="display: none;">
93
-								<th>单位电话:</th>
94
-								<td>
95
-									<input type="text" class="tel" />
96
-								</td>
97
-							</tr>
98
-							<tr style="display: none;">
99
-								<th>关键字:</th>
100
-								<td>
101
-									<select id="keyid" name="" class="select"></select>
102
-								</td>
103
-							</tr>
104
-							<tr style="display: none;">
105
-								<th>单位类型:</th>
106
-								<td style="line-height: 0.5;">
107
-									<label class="radio-inline">
17
+        input {
18
+            background-color: #FFF;
19
+            background-image: none;
20
+            border: 1px solid #ccc;
21
+            border-radius: 1px;
22
+            color: inherit;
23
+            padding: 6px 12px;
24
+        }
25
+
26
+        td {
27
+            padding: 6px 0 5px 10px;
28
+        }
29
+
30
+        .addts {
31
+            background: #1ab394;
32
+            color: #fff;
33
+            padding: 6px 10px;
34
+            outline: none;
35
+            font-size: 12px;
36
+            margin-left: 15px;
37
+            border: 0;
38
+            border-radius: 3px;
39
+            box-sizing: border-box;
40
+        }
41
+
42
+        .seldept {
43
+            position: absolute;
44
+            z-index: 100;
45
+            display: none;
46
+        }
47
+
48
+        ul.ztree {
49
+            border: 1px solid #617775;
50
+            background: #f0f6e4;
51
+            overflow-y: scroll;
52
+            overflow-x: auto;
53
+            height: 150px;
54
+        }
55
+    </style>
56
+</head>
57
+
58
+<body class="gray-bg">
59
+    <div style="padding: 10px;">
60
+        <div style="padding: 10px;" class="clearFix">
61
+            <div>
62
+                <span>【单位信息】</span>
63
+                <div class="box_content">
64
+                    <table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
65
+                        <tr>
66
+                            <th>父级单位:</th>
67
+                            <td>
68
+                                <input type="text" class="pname" readonly="readonly" /><input type="hidden" class="pid" />
69
+                                <div class="seldept">
70
+                                    <ul id="treeDemo" class="ztree">
71
+                                        <!--类名为ztree是必须的-->
72
+                                    </ul>
73
+                                </div>
74
+                            </td>
75
+                        </tr>
76
+                        <tr>
77
+                            <th>单位名称:</th>
78
+                            <td>
79
+                                <input type="text" class="name" /><input type="hidden" class="id" />
80
+                            </td>
81
+                        </tr>
82
+                        <tr>
83
+                            <th>单位电话:</th>
84
+                            <td>
85
+                                <input type="text" class="tel" />
86
+                            </td>
87
+                        </tr>
88
+                        <tr>
89
+                            <th>单位类型:</th>
90
+                            <td style="line-height: 0.5;">
91
+                                <label class="radio-inline">
108 92
                                     <input type="radio" name="isdept" value="0" />
109 93
                                     分类
110 94
                                 </label>
111
-									<label class="radio-inline">
95
+                                <label class="radio-inline">
112 96
                                     <input type="radio" name="isdept" value="1" />
113 97
                                     二级单位
114 98
                                 </label>
115
-									<label class="radio-inline">
99
+                                <label class="radio-inline">
116 100
                                     <input type="radio" name="isdept" value="2" />
117 101
                                     三级单位
118 102
                                 </label>
119
-								</td>
120
-							</tr>
121
-							<tr style="display: none;">
122
-								<th>承办单位:</th>
123
-								<td style="line-height: 0.5;">
124
-									<label class="radio-inline">
103
+                            </td>
104
+                        </tr>
105
+                        <tr>
106
+                            <th>承办单位:</th>
107
+                            <td style="line-height: 0.5;">
108
+                                <label class="radio-inline">
125 109
                                     <input type="radio" name="isdealdept" value="1" checked="checked" />
126 110
127 111
                                 </label>
128
-									<label class="radio-inline">
112
+                                <label class="radio-inline">
129 113
                                     <input type="radio" name="isdealdept" value="0"   />
130 114
131 115
                                 </label>
132
-								</td>
133
-							</tr>
134
-							<tr  style="display: none;">
135
-								<th>排列序号:</th>
136
-								<td>
137
-									<input type="text" class="sort" />
138
-								</td>
139
-							</tr>
140
-						</table>
141
-					</div>
142
-				</div>
143
-				<div class="bton" style="text-align: center; margin-top: 30px;">
144
-					<input class="btns addts" type="button" value="保存" />
145
-				</div>
146
-			</div>
147
-		</div>
148
-		<script src="../js/zTree/jquery.ztree.core.js"></script>
149
-		<script>
150
-			var id = helper.request.queryString("id");
151
-			$(document).ready(function() {
152
-				bind();
153
-				ZT($("#keyid"));
154
-				$(".pname").click(function() {
155
-					if($(".seldept").is(":hidden")) {
156
-						$(".seldept").show();
157
-					} else {
158
-						$(".seldept").hide();
159
-					}
160
-				})
161
-				$(".seldept").mouseleave(function() {
162
-					$(".seldept").hide();
163
-				})
116
+                            </td>
117
+                        </tr>
118
+                        <tr>
119
+                            <th>排列序号:</th>
120
+                            <td>
121
+                                <input type="text" class="sort" />
122
+                            </td>
123
+                        </tr>
124
+                    </table>
125
+                </div>
126
+            </div>
127
+            <div class="bton" style="text-align: center;">
128
+                <input class="addts" type="button" value="保存" />
129
+            </div>
130
+        </div>
131
+    </div>
132
+    <script src="../js/zTree/jquery.ztree.core.js"></script>
133
+    <script>
134
+        var id = helper.request.queryString("id");
135
+        $(document).ready(function () {
136
+            bind();
137
+
138
+            $(".pname").click(function () {
139
+                if ($(".seldept").is(":hidden")) {
140
+                    $(".seldept").show();
141
+                } else {
142
+                    $(".seldept").hide();
143
+                }
144
+            })
145
+            $(".seldept").mouseleave(function () {
146
+                $(".seldept").hide();
147
+            })
148
+
149
+            if (id) {
150
+                $.getJSON(huayi.config.callcenter_url + 'Department/GetDept', {
151
+                    id: id,
152
+                    "token": $.cookie("token")
153
+                }, function (result) {
154
+                    if (result.state.toLowerCase() == "success") {
155
+                        var content = result.data;
156
+                        if (content.F_PartentId && content.F_PartentId != '0') {
157
+                            getpname(content.F_PartentId);
158
+                        }
159
+                        else {
160
+                            $(".pid").val(0);
161
+                            $(".pname").val("无父级单位");
162
+                        }
163
+                        $(".id").val(content.F_DeptId);
164
+                        $(".name").val(content.F_DeptName);
165
+                        $(".tel").val(content.F_DeptPhone);
166
+                        $(".sort").val(content.F_Sort);
167
+                        $("input[name='isdept'][value='" + content.F_IsDept + "']").prop("checked", true);
168
+                        $("input[name='isdealdept'][value='" + content.F_IsDealDept + "']").prop("checked", true);
169
+                    }
170
+                })
171
+            }
172
+        });
164 173
 
165
-				if(id) {
166
-					$.getJSON(huayi.config.callcenter_url + 'Department/GetDept', {
167
-						id: id,
168
-						"token": $.cookie("token")
169
-					}, function(result) {
170
-						if(result.state.toLowerCase() == "success") {
171
-							var content = result.data;
172
-							if(content.F_PartentId && content.F_PartentId != '0') {
173
-								getpname(content.F_PartentId);
174
-							} else {
175
-								$(".pid").val(0);
176
-								$(".pname").val("无父级单位");
177
-							}
178
-							$(".id").val(content.F_DeptId);
179
-							$(".name").val(content.F_DeptName);
180
-							$(".tel").val(content.F_DeptPhone);
181
-							$(".sort").val(content.F_Sort);
182
-							$('#keyid').val(content.F_Valueid)
183
-							$("input[name='isdept'][value='" + content.F_IsDept + "']").prop("checked", true);
184
-							$("input[name='isdealdept'][value='" + content.F_IsDealDept + "']").prop("checked", true);
185
-						}
186
-					})
187
-				}
188
-			});
174
+        function getpname(strpid) {
175
+            $.getJSON(huayi.config.callcenter_url + 'Department/GetDept', {
176
+                id: strpid,
177
+                "token": $.cookie("token")
178
+            }, function (result) {
179
+                if (result.state.toLowerCase() == "success") {
180
+                    var content = result.data;
181
+                    $(".pid").val(content.F_DeptId);
182
+                    $(".pname").val(content.F_DeptName);
183
+                }
184
+            })
185
+        }
189 186
 
190
-			function getpname(strpid) {
191
-				$.getJSON(huayi.config.callcenter_url + 'Department/GetDept', {
192
-					id: strpid,
193
-					"token": $.cookie("token")
194
-				}, function(result) {
195
-					if(result.state.toLowerCase() == "success") {
196
-						var content = result.data;
197
-						$(".pid").val(content.F_DeptId);
198
-						$(".pname").val(content.F_DeptName);
199
-					}
200
-				})
201
-			}
187
+        var setting = {
188
+            data: {
189
+                key: {
190
+                    name: "F_DeptName"
191
+                },
192
+                simpleData: {
193
+                    enable: true,
194
+                    idKey: "F_DeptId",
195
+                    pIdKey: "F_PartentId",
196
+                    rootPId: -1
197
+                }
198
+            },
199
+            callback: {
200
+                onClick: zTreeOnClick
201
+            }
202
+        };
203
+        function zTreeOnClick(event, treeId, treeNode) {
204
+            $(".pid").val(treeNode.F_DeptId);
205
+            $(".pname").val(treeNode.F_DeptName);
206
+            $(".seldept").hide();
207
+        };
202 208
 
203
-			var setting = {
204
-				data: {
205
-					key: {
206
-						name: "F_DeptName"
207
-					},
208
-					simpleData: {
209
-						enable: true,
210
-						idKey: "F_DeptId",
211
-						pIdKey: "F_PartentId",
212
-						rootPId: -1
213
-					}
214
-				},
215
-				callback: {
216
-					onClick: zTreeOnClick
217
-				}
218
-			};
209
+        function bind() {
210
+            $.getJSON(huayi.config.callcenter_url + "Department/GetDeptList", { "token": $.cookie("token") }, function (result) {
211
+                if (result.state.toLowerCase() == "success") {
212
+                    tree = $.fn.zTree.init($("#treeDemo"), setting, result.data);
213
+                    tree.addNodes(null, 0, { "F_DeptId": 0, "F_DeptName": "无父级单位" });
214
+                }
215
+            })
216
+        }
219 217
 
220
-			function zTreeOnClick(event, treeId, treeNode) {
221
-				$(".pid").val(treeNode.F_DeptId);
222
-				$(".pname").val(treeNode.F_DeptName);
223
-				$(".seldept").hide();
224
-			};
218
+        //修改工单
219
+        $(".addts").click(function () {
220
+            var pid = $(".pid").val();
221
+            var id = $(".id").val();
222
+            var name = $(".name").val();
223
+            var tel = $(".tel").val();
224
+            var sort = $(".sort").val();
225
+            var isdept = $('input[name="isdept"]:checked ').val();
226
+            var isdealdept = $('input[name="isdealdept"]:checked ').val();
225 227
 
226
-			function bind() {
227
-				$.getJSON(huayi.config.callcenter_url + "Department/GetDeptList", {
228
-					"token": $.cookie("token")
229
-				}, function(result) {
230
-					if(result.state.toLowerCase() == "success") {
231
-						tree = $.fn.zTree.init($("#treeDemo"), setting, result.data);
232
-						tree.addNodes(null, 0, {
233
-							"F_DeptId": 0,
234
-							"F_DeptName": "无父级单位"
235
-						});
236
-					}
237
-				})
238
-			}
239
-			//关键字
240
-			function ZT(obj) {
241
-				obj.empty();
242
-				obj.append('<option selected="selected" value="">请选择</option>');
243
-				$.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListById", {
244
-					"token": $.cookie("token"),
245
-					id: 3
246
-				}, function(data) {
247
-					if(data.state.toLowerCase() == "success") {
248
-						var content = data.data;
249
-						$(content).each(function(i, n) {
250
-							$("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
251
-						})
252
-					}
253
-				})
254
-			}
255
-			//修改工单
256
-			$(".addts").click(function() {
257
-				var pid = $(".pid").val();
258
-				var id = $(".id").val();
259
-				var name = $(".name").val();
260
-				var tel = $(".tel").val();
261
-				var sort = $(".sort").val();
262
-				var isdealdept = $('input[name="isdealdept"]:checked ').val();
263
-				console.log($('#keyid').val())
264
-				if(!name) {
265
-					layer.confirm('请输入单位名称!', {
266
-						btn: ['确定']
267
-					});
268
-					return;
269
-				}
270
-				
228
+            if (!name) {
229
+                layer.confirm('请输入单位名称!', {
230
+                    btn: ['确定']
231
+                });
232
+                return;
233
+            }
234
+            if (!isdept) {
235
+                layer.confirm('请选择单位类型!', {
236
+                    btn: ['确定']
237
+                });
238
+                return;
239
+            }
271 240
 
272
-				$.post(huayi.config.callcenter_url + 'Department/AddDept', {
273
-					id: id,
274
-					did: pid,
275
-					name: name,
276
-					phone: tel,
277
-					sort: sort,
278
-					isdept: 1,
279
-					isdealdept: isdealdept,
280
-					valueid:$('#keyid').val(),
281
-					"token": $.cookie("token")
282
-				}, function(result) {
283
-					result = $.parseJSON(result);
284
-					if(result.state.toLowerCase() == "success") {
285
-						layer.msg("操作成功");
286
-						var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
287
-						parent.layer.close(index); //再执行关闭
288
-						parent.bind();
289
-					}
290
-				})
241
+            $.post(huayi.config.callcenter_url + 'Department/AddDept', {
242
+                id: id, did: pid, name: name, phone: tel, sort: sort, isdept: isdept, isdealdept: isdealdept, "token": $.cookie("token")
243
+            }, function (result) {
244
+                result = $.parseJSON(result);
245
+                if (result.state.toLowerCase() == "success") {
246
+                    layer.msg("操作成功");
247
+                    var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
248
+                    parent.layer.close(index); //再执行关闭
249
+                    parent.bind();
250
+                }
251
+            })
291 252
 
292
-			});
293
-		</script>
294
-	</body>
253
+        });
254
+    </script>
255
+</body>
295 256
 
296 257
 </html>

+ 4 - 5
WebUI/CallCenterWeb.UI/SystemManager/buMenManger.html

@@ -10,13 +10,11 @@
10 10
     <link rel="stylesheet" href="./css/buMenManger.css" />
11 11
     <title>系统管理-->部门管理</title>
12 12
 </head>
13
-
14 13
 <body class="gray-bg">
15 14
     <div class="container-fluid wrapper-content animated fadeInRight">
16 15
         <div class="daoHang clearfix">
17 16
             <div class="dhLeft">
18
-                <sapn><i class="syIcon"></i>位置:<a id="ReIndex" href="javaScript:;">首页</a>&gt;<a
19
-                        href="javaScript:;">系统管理</a>&gt;<a href="" class="nowPosition">组织机构</a></sapn>
17
+                <sapn><i class="syIcon"></i>位置:<a id="ReIndex" href="javaScript:;">首页</a>&gt;<a href="javaScript:;">系统管理</a>&gt;<a href="" class="nowPosition">组织机构</a></sapn>
20 18
             </div>
21 19
             <div class="dhRight"><a href="" title="刷新"><i class="fa fa-refresh"></i></a></div>
22 20
         </div>
@@ -30,6 +28,7 @@
30 28
                 <!--类名为ztree是必须的-->
31 29
             </ul>
32 30
         </div>
31
+
33 32
     </div>
34 33
     <!--删除弹出内容-->
35 34
     <div class="model delModel">
@@ -39,8 +38,8 @@
39 38
                 <p class="btr delBtr" title="关闭">X</p>
40 39
             </div>
41 40
             <div class="boxCon" style="height: 150px;">
42
-                您确定删除&nbsp;&lfloor;&nbsp;&nbsp;<span class="delName"
43
-                    style="color: red;"></span>&nbsp;&nbsp;&rceil;&nbsp;?
41
+                您确定删除&nbsp;&lfloor;&nbsp;&nbsp;<span class="delName" style="color: red;"></span>&nbsp;&nbsp;&rceil;&nbsp;?
42
+
44 43
                 <p style="margin-top: 30px;">
45 44
                     <button class="btns sure">确定</button>
46 45
                     <button class="btns return">取消</button>

+ 119 - 143
WebUI/CallCenterWeb.UI/SystemManager/css/shuJuZiDian.css

@@ -1,143 +1,119 @@
1
-.box {
2
-	width: 30%;
3
-}
4
-
5
-.delModel .box,
6
-.zdlist_delModel .box {
7
-	width: 23%;
8
-}
9
-/*.boxCon {
10
-	width: 100%;
11
-	background: #fff;
12
-	/*text-align: center;*/
13
-/*padding: 10px 15px;
14
-	height: 340px;
15
-	overflow-y: auto;*/
16
-/*}*/
17
-
18
-.boxCon table {
19
-	width: 100%;
20
-}
21
-
22
-.inpBox {
23
-	border: 1px solid #a9a9a9;
24
-	height: 27px;
25
-	/*width: 37%;*/
26
-	;
27
-	display: inline-block;
28
-	position: relative;
29
-	vertical-align: middle;
30
-}
31
-.inps3,
32
-.inps1,
33
-.inps4 {
34
-	width: 100%;
35
-	height: 24px;
36
-	outline: none;
37
-	border: 0;
38
-	border-image-width: 0;
39
-	padding: 0;
40
-	padding-left: 3px;
41
-}
42
-
43
-.changeCode,
44
-.addzdz,
45
-.addSort {
46
-	width: 55%;
47
-}
48
-.xl3,
49
-.xl {
50
-	display: inline-block;
51
-	background: url(../../img/dropDown.png) no-repeat;
52
-	height: 100%;
53
-	background-position: center center;
54
-	width: 20px;
55
-	position: absolute;
56
-	right: 0;
57
-	top: 0px;
58
-	/*background-color: #f7bc8b;*/
59
-	cursor: pointer;
60
-}
61
-/*.xl:hover {
62
-	background-color: #e6d523;
63
-}*/
64
-.addTree3,
65
-.addTree {
66
-	background: #fff;
67
-	position: absolute;
68
-	width: 100%;
69
-	border: 1px solid darkgrey;
70
-	right: 0;
71
-	top: 26px;
72
-	display: none;
73
-	height: 220px;
74
-	overflow-y: auto;
75
-	z-index: 10000;
76
-}
77
-.treeTable3,
78
-.treeTable {
79
-	height: 400px;
80
-	/*overflow-y: auto;*/
81
-}
82
-
83
-.tree {
84
-	height: 100%;
85
-}
86
-
87
-.trTitle {
88
-	width: 100%;
89
-	height: 34px;
90
-	line-height: 34px;
91
-	border-bottom: 1px solid #ebebeb;
92
-	color: red;
93
-	font-weight: 700;
94
-	margin-bottom: 15px;
95
-}
96
-
97
-.treeCon {
98
-	height: 90%;
99
-	border: 1px solid #ebebeb;
100
-	overflow-y: auto
101
-}
102
-
103
-.rowsss {
104
-	background: darkred;
105
-	color: #fff;
106
-}
107
-
108
-.shanChu,
109
-.xiuGai,
110
-.addZiDian {
111
-	display: inline-block;
112
-	height: 16px;
113
-	width: 16px;
114
-	vertical-align: middle;
115
-}
116
-
117
-.shanChu {
118
-	background: url(../../img/shanChu.png) no-repeat;
119
-}
120
-
121
-.xiuGai {
122
-	background: url(../../img/xiuGai1.png) no-repeat;
123
-}
124
-
125
-.addZiDian {
126
-	background: url(../../img/upUp.png) no-repeat;
127
-}
128
-
129
-.tjzd {
130
-	float: right;
131
-}
132
-.Cleans {
133
-    display: inline-block;
134
-    width: 20px;
135
-    position: absolute;
136
-    right: 21px;
137
-    top: 8px;
138
-    display: none;
139
-}
140
-.addkey,
141
-.editkey{
142
-	display: none;
143
-}
1
+			.box {
2
+				width: 30%;
3
+			}
4
+			.delModel .box,.zdlist_delModel .box{
5
+				    width: 23%;
6
+			}
7
+			/*.boxCon {
8
+				width: 100%;
9
+				background: #fff;
10
+				/*text-align: center;*/
11
+				/*padding: 10px 15px;
12
+				height: 340px;
13
+				overflow-y: auto;*/
14
+			/*}*/
15
+			
16
+			.boxCon table {
17
+				width: 100%;
18
+			}
19
+			
20
+			
21
+			.inpBox {
22
+				border: 1px solid #a9a9a9;
23
+				height: 27px;
24
+				width: 37%;;
25
+				display: inline-block;
26
+				position: relative;
27
+				vertical-align: middle;
28
+			}
29
+			
30
+			.inps1,
31
+			.inps4{
32
+				width: 100%;
33
+				height: 24px;
34
+				outline: none;
35
+				border: 0;
36
+				border-image-width: 0;
37
+				padding: 0;
38
+				padding-left: 3px;
39
+			}
40
+			.changeCode,.addzdz,.addSort{
41
+				width: 55%;
42
+			}
43
+			
44
+			.xl {
45
+				display: inline-block;
46
+				background: url(../../img/dropDown.png) no-repeat;
47
+				height: 100%;
48
+				background-position: center center;
49
+				width: 20px;
50
+				position: absolute;
51
+				right: 0;
52
+				top: 0px;
53
+				/*background-color: #f7bc8b;*/
54
+				cursor: pointer;
55
+			}
56
+			
57
+			/*.xl:hover {
58
+				background-color: #e6d523;
59
+			}*/
60
+			
61
+			.addTree {
62
+				background: #fff;
63
+				position: absolute;
64
+				width: 100%;
65
+				border: 1px solid darkgrey;
66
+				right: 0;
67
+				top: 26px;
68
+				display: none;
69
+				height: 220px;
70
+				overflow-y: auto;
71
+			}
72
+			
73
+			.treeTable {
74
+				height: 400px;
75
+				/*overflow-y: auto;*/
76
+			}
77
+			
78
+			.tree {
79
+				height: 100%;
80
+			}
81
+			
82
+			.trTitle {
83
+				width: 100%;
84
+				height: 34px;
85
+				line-height: 34px;
86
+				border-bottom: 1px solid #ebebeb;
87
+				color: red;
88
+				font-weight: 700;
89
+				margin-bottom: 15px;
90
+			}
91
+			
92
+			.treeCon {
93
+				height: 90%;
94
+				border: 1px solid #ebebeb;
95
+				overflow-y: auto
96
+			}
97
+			
98
+			.rowsss{
99
+				background: darkred;
100
+				color: #fff;
101
+			}
102
+			.shanChu,.xiuGai,.addZiDian{
103
+				display: inline-block;
104
+				height: 16px;
105
+				width: 16px;
106
+				vertical-align: middle;
107
+			}
108
+			.shanChu{
109
+			background: url(../../img/shanChu.png) no-repeat;	
110
+			}
111
+			.xiuGai{
112
+			background: url(../../img/xiuGai1.png) no-repeat;	
113
+			}
114
+			.addZiDian{
115
+				background: url(../../img/upUp.png) no-repeat;	
116
+			}
117
+			.tjzd{
118
+				    float: right;
119
+			}

+ 147 - 186
WebUI/CallCenterWeb.UI/SystemManager/js/CaiDanGuanli.js

@@ -1,164 +1,140 @@
1 1
 var tree;
2 2
 var node;
3 3
 var table = $("#table1");
4
-$(document).ready(function() {
5
-	bindtree();
6
-	initTable(-1);
7
-	$(".add").click(function() {
8
-		$(".parent").hide();
9
-		$(".addModel").css('display', 'block');
10
-		cleanText();
11
-		$(".pid").val(-1);
12
-		$(".btl").text('添加菜单信息');
13
-		
14
-	})
15
-	$(".addcd").click(function() {
16
-		cleanText();
17
-		$(".btl").text('添加菜单信息');
18
-		$(".pid").val('')
19
-		var nodes = tree.getSelectedNodes();
20
-		if(nodes.length != 1) {
21
-			layer.confirm('请选择一条记录!', {
22
-				btn: ['确定']
23
-			});
24
-			return;
25
-		} else {
26
-			node = nodes[0];
27
-			if(node.level == 1) {
28
-				layer.confirm('不能新增菜单!', {
29
-					btn: ['确定']
30
-				});
31
-				return;
32
-			} else {
33
-				$(".parent").show();
34
-				$('.addModel').css('display', 'block');
35
-				$("input[type='text']").val("");
36
-				$("input[type='hidden']").val("");
37
-				$(".pid").val(node.F_FunctionId);
38
-				$(".pname").val(node.F_FunctionName);
39
-			}
40
-		}
41
-	})
42
-
43
-	$(".change").click(function() {
44
-		$(".btl").text('修改菜单信息');
45
-		$(".parent").hide();
46
-		$("input[type='text']").val("");
47
-		$("input[type='hidden']").val("");
48
-		var nodes = tree.getSelectedNodes();
49
-		if(nodes.length != 1) {
50
-			layer.confirm('请选择一条记录!', {
51
-				btn: ['确定']
52
-			});
53
-			return;
54
-		} else {
55
-			node = nodes[0];
56
-			$(".id").val(node.F_FunctionId);
57
-			$(".pid").val(-1);
58
-			if(node.level == 1) {
59
-				var pnode = node.getParentNode();
60
-				$(".pid").val(pnode.F_FunctionId);
61
-				$(".pname").val(pnode.F_FunctionName);
62
-				$(".parent").show();
63
-			}
64
-			$.getJSON(huayi.config.callcenter_url + "Function/GetFunction", {
65
-				id: node.F_FunctionId,
66
-				"token": $.cookie("token"),
67
-			}, function(result) {
68
-				if(result.state.toLowerCase() == "success") {
69
-					$(".id").val(result.data.F_FunctionId);
70
-					$(".name").val(result.data.F_FunctionName);
71
-					$(".code").val(result.data.F_FunctionCode);
72
-					$(".sort").val(result.data.F_Sort);
73
-					$(".url").val(result.data.F_OptUrl);
74
-					$(".img").val(result.data.F_ImgUrl);
75
-					$(".remark").val(result.data.F_Remark);
76
-					$('input[name="state"]').removeAttr("checked");
77
-					$("input[name='state'][value='" + result.data.F_State + "']").prop("checked", "checked");
78
-					$(".addModel").show();
4
+$(document).ready(function () {
5
+    bindtree();
6
+    initTable(-1);
7
+    $(".add").click(function () {
8
+        $(".parent").hide();
9
+        $(".addModel").css('display', 'block');
10
+        $(".pid").val(-1);
11
+    })
12
+    $(".addcd").click(function () {
13
+        var nodes = tree.getSelectedNodes();
14
+        if (nodes.length != 1) {
15
+            layer.confirm('请选择一条记录!', {
16
+                btn: ['确定']
17
+            });
18
+            return;
19
+        }
20
+        else {
21
+            node=nodes[0];
22
+            if (node.level == 1) {
23
+                layer.confirm('不能新增菜单!', {
24
+                    btn: ['确定']
25
+                });
26
+                return;
27
+            }
28
+            else {
29
+                $(".parent").show();
30
+                $('.addModel').css('display', 'block');
31
+                $("input[type='text']").val("");
32
+                $("input[type='hidden']").val("");
33
+                $(".pid").val(node.F_FunctionId);
34
+                $(".pname").val(node.F_FunctionName);
35
+            }
36
+        }
37
+    })
79 38
 
80
-				}
81
-			});
82
-		}
83
-	})
84
-	$(".save").click(function() {
85
-		$.post(huayi.config.callcenter_url + "Function/AddFunction", {
86
-			pid: $(".pid").val(),
87
-			id: $(".id").val(),
88
-			name: $(".name").val(),
89
-			sort: $(".sort").val(),
90
-			url: $(".url").val(),
91
-			img: $(".img").val(),
92
-			code: $(".code").val(),
93
-			remark: $(".remark").val(),
94
-			state: $('input[name="state"]:checked').val(),
95
-			"token": $.cookie("token")
96
-		}, function(result) {
97
-			result = JSON.parse(result);
98
-			if(result.state.toLowerCase() == "success") {
99
-				layer.msg(result.message);
100
-				$('.addModel').css('display', 'none');
101
-				bindtree();
102
-				cleanText();
103
-			}
104
-		})
105
-	})
106
-	$(".del").click(function() {
107
-		var nodes = tree.getSelectedNodes();
108
-		if(nodes.length != 1) {
109
-			layer.confirm('请选择一条记录!', {
110
-				btn: ['确定']
111
-			});
112
-			return;
113
-		} else {
114
-			node = nodes[0];
115
-			$('.delModel').css('display', 'block');
116
-			$('.delName').html(node.F_FunctionName);
117
-		}
118
-	})
39
+    $(".change").click(function () {
40
+        $(".parent").hide();
41
+        $("input[type='text']").val("");
42
+        $("input[type='hidden']").val("");
43
+        var nodes = tree.getSelectedNodes();
44
+        if (nodes.length != 1) {
45
+            layer.confirm('请选择一条记录!', {
46
+                btn: ['确定']
47
+            });
48
+            return;
49
+        }
50
+        else {
51
+            node = nodes[0];
52
+            $(".id").val(node.F_FunctionId);
53
+            $(".pid").val(-1);
54
+            if (node.level == 1) {
55
+                var pnode=node.getParentNode();
56
+                $(".pid").val(pnode.F_FunctionId);
57
+                $(".pname").val(pnode.F_FunctionName);
58
+                $(".parent").show();
59
+            }
60
+            $.getJSON(huayi.config.callcenter_url + "Function/GetFunction", { id: node.F_FunctionId, "token": $.cookie("token"), }, function (result) {
61
+                if (result.state.toLowerCase() == "success") {
62
+                    $(".id").val(result.data.F_FunctionId);
63
+                    $(".name").val(result.data.F_FunctionName);
64
+                    $(".code").val(result.data.F_FunctionCode);
65
+                    $(".sort").val(result.data.F_Sort);
66
+                    $(".url").val(result.data.F_OptUrl);
67
+                    $(".img").val(result.data.F_ImgUrl);
68
+                    $(".remark").val(result.data.F_Remark);
69
+                    $('input[name="state"]').removeAttr("checked");
70
+                    $("input[name='state'][value='" + result.data.F_State + "']").prop("checked", "checked");
71
+                    $(".addModel").show();
72
+                }
73
+            });
74
+        }
75
+    })
76
+    $(".save").click(function () {
77
+        $.post(huayi.config.callcenter_url + "Function/AddFunction", {
78
+            pid: $(".pid").val(), id: $(".id").val(), name: $(".name").val(), sort: $(".sort").val(), url: $(".url").val(),
79
+            img: $(".img").val(), code: $(".code").val(), state: $('input[name="state"]:checked').val(), "token": $.cookie("token")
80
+        }, function (result) {
81
+            result = JSON.parse(result);
82
+            if (result.state.toLowerCase() == "success") {
83
+                layer.msg(result.message);
84
+                $('.addModel').css('display', 'none');
85
+                bindtree();
86
+            }
87
+        })
88
+    })
89
+    $(".del").click(function () {
90
+        var nodes = tree.getSelectedNodes();
91
+        if (nodes.length != 1) {
92
+            layer.confirm('请选择一条记录!', {
93
+                btn: ['确定']
94
+            });
95
+            return;
96
+        }
97
+        else {
98
+            node = nodes[0];
99
+            $('.delModel').css('display', 'block');
100
+            $('.delName').html(node.F_FunctionName);
101
+        }
102
+    })
119 103
 
120
-	//关闭按钮
121
-	$('.addBtr').click(function() {
122
-		$('.addModel').css('display', 'none');
123
-	})
124
-	//关闭按钮
125
-	$('.delBtr').click(function() {
126
-		$('.delModel').css('display', 'none');
127
-	})
128
-	//取消按钮
129
-	$('.return').click(function() {
130
-		$('.delModel').css('display', 'none');
131
-	})
132
-	//确定删除按钮
133
-	$('.sure').click(function() {
104
+    //关闭按钮
105
+    $('.addBtr').click(function () {
106
+        $('.addModel').css('display', 'none');
107
+    })
108
+    //关闭按钮
109
+    $('.delBtr').click(function () {
110
+        $('.delModel').css('display', 'none');
111
+    })
112
+    //取消按钮
113
+    $('.return').click(function () {
114
+        $('.delModel').css('display', 'none');
115
+    })
116
+    //确定删除按钮
117
+    $('.sure').click(function () {
134 118
 
135
-		var ids = [];
136
-		ids.push(node.F_FunctionId);
137
-		$.post(huayi.config.callcenter_url + "Function/DelFunction", {
138
-			ids: ids,
139
-			"token": $.cookie("token")
140
-		}, function(result) {
141
-			result = JSON.parse(result);
142
-			if(result.state.toLowerCase() == "success") {
143
-				layer.msg(result.message);
144
-				$('.delModel').css('display', 'none');
145
-				bindtree();
146
-				initTable();
147
-				cleanText();
148
-			}
149
-		})
150
-	})
119
+        var ids = []; ids.push(node.F_FunctionId);
120
+        $.post(huayi.config.callcenter_url + "Function/DelFunction", { ids: ids, "token": $.cookie("token") }, function (result) {
121
+            result = JSON.parse(result);
122
+            if (result.state.toLowerCase() == "success") {
123
+                layer.msg(result.message);
124
+                $('.delModel').css('display', 'none');
125
+                bindtree();
126
+            }
127
+        })
128
+    })
151 129
 })
152 130
 
153 131
 ///树形图构建
154 132
 function bindtree() {
155
-	$.getJSON(huayi.config.callcenter_url + "Function/GetAllList", {
156
-		"token": $.cookie("token"),
157
-	}, function(result) {
158
-		if(result.state.toLowerCase() == "success") {
159
-			tree = $.fn.zTree.init($("#treeDemo"), setting1, result.data); //实例化树形图
160
-		}
161
-	});
133
+    $.getJSON(huayi.config.callcenter_url + "Function/GetAllList", { "token": $.cookie("token"), }, function (result) {
134
+        if (result.state.toLowerCase() == "success") {
135
+            tree=$.fn.zTree.init($("#treeDemo"), setting1, result.data); //实例化树形图
136
+        }
137
+    });
162 138
 }
163 139
 
164 140
 var setting1 = {
@@ -190,8 +166,7 @@ function initTable(id) {
190 166
 	table.bootstrapTable({
191 167
 		method: "get", //使用get请求到服务器获取数据
192 168
 		url: huayi.config.callcenter_url + "Function/GetList", //获取数据的Servlet地址
193
-		contentType: "application/x-www-form-urlencoded",
194
-		striped: true, //表格显示条纹
169
+		contentType: "application/x-www-form-urlencoded",striped: true, //表格显示条纹
195 170
 		pagination: true, //启动分页
196 171
 		pageSize: 10, //每页显示的记录数
197 172
 		pageNumber: 1, //当前第几页
@@ -205,7 +180,7 @@ function initTable(id) {
205 180
 		queryParamsType: "undefined",
206 181
 		queryParams: function queryParams(params) { //设置查询参数
207 182
 			var param = {
208
-				page: params.pageNumber,
183
+			    page: params.pageNumber,
209 184
 				pagesize: params.pageSize,
210 185
 				token: $.cookie("token"),
211 186
 				pid: id,
@@ -222,40 +197,26 @@ function initTable(id) {
222 197
 }
223 198
 //编号
224 199
 function setCode(val, row, index) {
225
-	//return index + 1;
226
-	var page = table.bootstrapTable("getPageCode");
227
-	return page.pageSize * (page.pageNumber - 1) + index + 1;
200
+    //return index + 1;
201
+    var page = table.bootstrapTable("getPageCode");
202
+    return page.pageSize * (page.pageNumber - 1) + index + 1;
228 203
 }
229 204
 //状态{
230 205
 function States(val) {
231
-	var str = '';
232
-	switch(val + '') {
233
-		case '0':
234
-			str = "未启用";
235
-			break;
236
-		case '1':
237
-			str = "启用";
238
-			break;
239
-	}
240
-	return str;
241
-}
242
-//跳转
243
-document.onkeydown = function(e) {
244
-	var theEvent = window.event || e;
245
-	var code = theEvent.keyCode || theEvent.which;
246
-	if(code == 13) {
247
-		$('#table1').bootstrapTable('selectPage', $(".JumpPage").val());
248
-
249
-	}
206
+    var str = '';
207
+    switch (val + '') {
208
+        case '0': str = "未启用"; break;
209
+        case '1': str = "启用"; break;
210
+    }
211
+    return str;
250 212
 }
213
+ //跳转
214
+      	document.onkeydown = function(e) {
215
+					var theEvent = window.event || e;
216
+					var code = theEvent.keyCode || theEvent.which;
217
+					if(code == 13) {
218
+						$('#table1').bootstrapTable('selectPage', $(".JumpPage").val());
219
+						
220
+					}
221
+				}
251 222
 
252
-function cleanText() {
253
-	$(".name").val('');
254
-	$(".code").val('');
255
-	$(".sort").val('');
256
-	$(".url").val('');
257
-	$(".img").val('');
258
-	$(".remark").val('');
259
-	$(".pid").val('');
260
-	$(".id").val('');
261
-}

+ 43 - 48
WebUI/CallCenterWeb.UI/SystemManager/js/buMenManger.js

@@ -2,91 +2,86 @@ var tree;
2 2
 var setting = {
3 3
     data: {
4 4
         key: {
5
-            name: "F_DeptName",
5
+            name: "F_DeptName"
6 6
         },
7 7
         simpleData: {
8 8
             enable: true,
9 9
             idKey: "F_DeptId",
10 10
             pIdKey: "F_PartentId",
11
-            rootPId: -1,
12
-        },
13
-    },
11
+            rootPId: -1
12
+        }
13
+    }
14 14
 };
15 15
 $(document).ready(function () {
16
+
16 17
     bind();
17 18
     $(".add").click(function () {
18 19
         layer.open({
19 20
             type: 2,
20 21
             content: "buMenEdit.html", //iframe的url,no代表不显示滚动条
21
-            title: "新增部门",
22
-            area: ["30%", "50%"], //宽高
22
+            title: '新增部门',
23
+            area: ['40%', '50%'], //宽高
23 24
         });
24
-    });
25
+    })
25 26
     $(".change").click(function () {
26 27
         var nodes = tree.getSelectedNodes();
27 28
         if (nodes.length != 1) {
28
-            layer.confirm("请选择一条记录!", {
29
-                btn: ["确定"],
29
+            layer.confirm('请选择一条记录!', {
30
+                btn: ['确定']
30 31
             });
31 32
             return;
32
-        } else {
33
+        }
34
+        else {
33 35
             layer.open({
34 36
                 type: 2,
35 37
                 content: "buMenEdit.html?id=" + nodes[0].F_DeptId, //iframe的url,no代表不显示滚动条
36
-                title: "修改部门",
37
-                area: ["40%", "50%"], //宽高
38
+                title: '修改部门',
39
+                area: ['40%', '50%'], //宽高
38 40
             });
39 41
         }
40
-    });
42
+    })
41 43
     $(".del").click(function () {
42 44
         var nodes = tree.getSelectedNodes();
43 45
         if (nodes.length != 1) {
44
-            layer.confirm("请选择一条记录!", {
45
-                btn: ["确定"],
46
+            layer.confirm('请选择一条记录!', {
47
+                btn: ['确定']
46 48
             });
47 49
             return;
48
-        } else {
50
+        }
51
+        else {
49 52
             node = nodes[0];
50
-            $(".delModel").css("display", "block");
51
-            $(".delName").html(node.F_DeptName);
53
+            $('.delModel').css('display', 'block');
54
+            $('.delName').html(node.F_DeptName);
52 55
         }
53
-    });
56
+    })
54 57
 
55 58
     //关闭按钮
56
-    $(".delBtr").click(function () {
57
-        $(".delModel").css("display", "none");
58
-    });
59
+    $('.delBtr').click(function () {
60
+        $('.delModel').css('display', 'none');
61
+    })
59 62
     //取消按钮
60
-    $(".return").click(function () {
61
-        $(".delModel").css("display", "none");
62
-    });
63
+    $('.return').click(function () {
64
+        $('.delModel').css('display', 'none');
65
+    })
63 66
 
64 67
     //确定删除按钮
65
-    $(".sure").click(function () {
68
+    $('.sure').click(function () {
66 69
         var nodes = tree.getSelectedNodes();
67
-        $.post(
68
-            huayi.config.callcenter_url + "Department/DelDepts",
69
-            { id: nodes[0].F_DeptId, token: $.cookie("token") },
70
-            function (result) {
71
-                result = JSON.parse(result);
72
-                if (result.state.toLowerCase() == "success") {
73
-                    layer.msg(result.message);
74
-                    $(".delModel").css("display", "none");
75
-                    bind();
76
-                }
70
+        $.post(huayi.config.callcenter_url + "Department/DelDepts", { id: nodes[0].F_DeptId, "token": $.cookie("token") }, function (result) {
71
+            result = JSON.parse(result);
72
+            if (result.state.toLowerCase() == "success") {
73
+                layer.msg(result.message);
74
+                $('.delModel').css('display', 'none');
75
+                bind();
77 76
             }
78
-        );
79
-    });
80
-});
77
+        })
78
+    })
79
+})
81 80
 
82 81
 function bind() {
83
-    $.getJSON(
84
-        huayi.config.callcenter_url + "Department/GetDeptList",
85
-        { token: $.cookie("token") },
86
-        function (result) {
87
-            if (result.state.toLowerCase() == "success") {
88
-                tree = $.fn.zTree.init($("#treeDemo"), setting, result.data);
89
-            }
82
+    $.getJSON(huayi.config.callcenter_url + "Department/GetDeptList", { "token": $.cookie("token") }, function (result) {
83
+        if (result.state.toLowerCase() == "success") {
84
+            tree = $.fn.zTree.init($("#treeDemo"), setting, result.data);
90 85
         }
91
-    );
92
-}
86
+    })
87
+}

+ 176 - 181
WebUI/CallCenterWeb.UI/SystemManager/js/jiChuShuJu.js

@@ -1,258 +1,253 @@
1 1
 var $table;
2 2
 var token = $.cookie("token");
3
-$(document).ready(function() {
4
-	$table = $('#table');
3
+$(document).ready(function () {
4
+    $table = $('#table');
5 5
 	//搜索功能
6
-	$('.search').click(function() {
6
+	$('.search').click(function () {
7 7
 		initTable(token);
8 8
 	})
9 9
 	//==================添加功能开始================================
10
-	$('.add').click(function() {
10
+	$('.add').click(function () {
11 11
 		$('.addModel').css('display', 'block');
12 12
 	})
13 13
 	//添加关闭按钮
14
-	$('.addBtr').click(function() {
14
+	$('.addBtr').click(function () {
15 15
 		$('.addModel').css('display', 'none');
16 16
 	})
17 17
 	//保存按钮
18
-	$('.addCun').click(function() {
19
-		if($('.add_value').val() == '' && $('.add_code').val() == '') {
20
-			$('.addCode_kong').css('display', 'inline-block');
21
-			$('.addValue_kong').css('display', 'inline-block');
22
-		} else if($('.add_value').val() == '') {
23
-			$('.addCode_kong').css('display', 'none');
24
-			$('.addValue_kong').css('display', 'inline-block');
25
-		} else if($('.add_code').val() == '') {
26
-			$('.addValue_kong').css('display', 'none');
27
-			$('.addCode_kong').css('display', 'inline-block');
18
+	$('.addCun').click(function () {
19
+		if ($('.add_value').val() == '' && $('.add_code').val() == '') {
20
+		    $('.addCode_kong').css('display', 'inline-block');
21
+		    $('.addValue_kong').css('display', 'inline-block');
22
+		} else if ($('.add_value').val() == '') {
23
+		    $('.addCode_kong').css('display', 'none');
24
+		    $('.addValue_kong').css('display', 'inline-block');
25
+		} else if ($('.add_code').val() == '') {
26
+		    $('.addValue_kong').css('display', 'none');
27
+		    $('.addCode_kong').css('display', 'inline-block');
28 28
 		} else {
29
-			$('.addModel').css('display', 'none');
30
-			add();
29
+		    $('.addModel').css('display', 'none');
30
+		    add();
31 31
 		}
32 32
 
33 33
 	})
34 34
 
35
-	$('.change').click(function() {
36
-		var ids = $.map($table.bootstrapTable('getSelections'), function(row) {
37
-			return row.F_ParamId;
35
+	$('.change').click(function () {
36
+		var ids = $.map($table.bootstrapTable('getSelections'), function (row) {
37
+		    return row.F_ParamId;
38 38
 		});
39 39
 		IdsName = ids.toString();
40
-		if(ids.length != 1) {
41
-			layer.confirm('请选择一条数据进行修改!', {
42
-				btn: ['确定']
43
-			});
44
-			return;
40
+		if (ids.length !=1) {
41
+		    layer.confirm('请选择一条数据进行修改!', {
42
+		        btn: ['确定']
43
+		    });
44
+		    return;
45 45
 		} else {
46
-			$('.changeModel').css('display', 'block');
47
-			chanGet(IdsName);
46
+		    $('.changeModel').css('display', 'block');
47
+		    chanGet(IdsName);
48 48
 		}
49 49
 	})
50 50
 	//关闭按钮
51
-	$('.changeBtr').click(function() {
51
+	$('.changeBtr').click(function () {
52 52
 		$('.changeModel').css('display', 'none');
53 53
 	})
54 54
 	//保存按钮
55
-	$('.changeCun').click(function() {
56
-		if($('.change_value').val() == '' && $('.change_code').val() == '') {
57
-			$('.changeCode_kong').css('display', 'inline-block');
58
-			$('.changeValue_kong').css('display', 'inline-block');
59
-		} else if($('.change_value').val() == '') {
60
-			$('.changeCode_kong').css('display', 'none');
61
-			$('.changeValue_kong').css('display', 'inline-block');
62
-		} else if($('.change_code').val() == '') {
63
-			$('.changeValue_kong').css('display', 'none');
64
-			$('.changeCode_kong').css('display', 'inline-block');
55
+	$('.changeCun').click(function () {
56
+		if ($('.change_value').val() == '' && $('.change_code').val() == '') {
57
+		    $('.changeCode_kong').css('display', 'inline-block');
58
+		    $('.changeValue_kong').css('display', 'inline-block');
59
+		} else if ($('.change_value').val() == '') {
60
+		    $('.changeCode_kong').css('display', 'none');
61
+		    $('.changeValue_kong').css('display', 'inline-block');
62
+		} else if ($('.change_code').val() == '') {
63
+		    $('.changeValue_kong').css('display', 'none');
64
+		    $('.changeCode_kong').css('display', 'inline-block');
65 65
 		} else {
66
-			$('.changeModel').css('display', 'none');
67
-			chanSubmit(IdsName);
66
+		    $('.changeModel').css('display', 'none');
67
+		    chanSubmit(IdsName);
68 68
 		}
69 69
 
70 70
 	})
71
-	$('.del').click(function() {
72
-		idd = $.map($table.bootstrapTable('getSelections'), function(row) {
73
-			return row.F_ParamId;
71
+	$('.del').click(function () {
72
+		idd = $.map($table.bootstrapTable('getSelections'), function (row) {
73
+		    return row.F_ParamId;
74 74
 		});
75
-		if(idd.length <= 0) {
76
-			layer.confirm('请选择要删除的行!', {
77
-				btn: ['确定']
78
-			});
79
-			return;
75
+		if (idd.length <= 0) {
76
+		    layer.confirm('请选择要删除的行!', {
77
+		        btn: ['确定']
78
+		    });
79
+		    return;
80 80
 		} else {
81
-			$('.delModel').css('display', 'block');
81
+		    $('.delModel').css('display', 'block');
82 82
 		}
83 83
 
84 84
 	})
85 85
 	//关闭按钮
86
-	$('.delBtr').click(function() {
86
+	$('.delBtr').click(function () {
87 87
 		$('.delModel').css('display', 'none');
88 88
 	})
89 89
 	//确认按钮
90
-	$('.sure').click(function() {
90
+	$('.sure').click(function () {
91 91
 		console.log(idd);
92 92
 		$('.delModel').css('display', 'none');
93 93
 		del(idd);
94 94
 	})
95 95
 	//取消按钮
96
-	$('.return').click(function() {
96
+	$('.return').click(function () {
97 97
 		$('.delModel').css('display', 'none');
98 98
 	})
99
-	/*选中行添加背景颜色*/
100
-	$table.on("click-row.bs.table", function(e, row, ele) {
101
-		$('.success').removeClass('success'); //去除之前选中的行的,选中样式
102
-		$(ele).addClass('success'); //添加当前选中的 success样式用于区别
99
+    /*选中行添加背景颜色*/
100
+	$table.on("click-row.bs.table", function (e, row, ele) {
101
+	    $('.success').removeClass('success'); //去除之前选中的行的,选中样式
102
+	    $(ele).addClass('success'); //添加当前选中的 success样式用于区别
103 103
 	});
104 104
 	//右边表格
105 105
 	initTable(token);
106 106
 })
107
+		 
107 108
 
108 109
 function add() {
109
-	$.ajax({
110
-		type: "post",
111
-		url: huayi.config.callcenter_url + "SysConfig/Add",
112
-		async: true,
113
-		dataType: 'json',
114
-		data: {
115
-			token: token,
116
-			value: $('.add_value').val(), //参数内容
117
-			code: $('.add_code').val(), //参数名称
118
-			des: $('.add_des').val() //参数描述
119
-		},
120
-		success: function(data) {
121
-			if(data.state.toLowerCase() == "success") {
122
-				cleanText()
123
-				layer.msg("添加成功!");
124
-				$table.bootstrapTable('refresh');
125
-			}
126
-		}
127
-	});
110
+    $.ajax({
111
+        type: "post",
112
+        url: huayi.config.callcenter_url + "SysConfig/Add",
113
+        async: true,
114
+        dataType: 'json',
115
+        data: {
116
+            token: token,
117
+            value: $('.add_value').val(), //参数内容
118
+            code: $('.add_code').val(), //参数名称
119
+            des: $('.add_des').val() //参数描述
120
+        },
121
+        success: function (data) {
122
+            if (data.state.toLowerCase() == "success") {
123
+                layer.msg("添加成功!");
124
+                $table.bootstrapTable('refresh');
125
+            }
126
+        }
127
+    });
128 128
 }
129 129
 //******************添加功能结束*****************************
130 130
 var IdsName;
131 131
 //==================修改功能开始================================
132
+		 
132 133
 
133 134
 function chanGet(IdsName) {
134
-	$.ajax({
135
-		type: "get",
136
-		url: huayi.config.callcenter_url + "SysConfig/GetModel",
137
-		async: true,
138
-		dataType: 'json',
139
-		data: {
140
-			token: token,
141
-			id: IdsName,
142
-		},
143
-		success: function(data) {
144
-			var con = data.data;
145
-			if(data.state.toLowerCase() == "success") {
146
-				$('.change_value').val(con.F_ParamValue), //参数内容
147
-					$('.change_code').val(con.F_ParamCode), //参数名称
148
-					$('.change_des').val(con.F_ParamDes) //参数描述
149
-			}
150
-		}
151
-	});
135
+    $.ajax({
136
+        type: "get",
137
+        url: huayi.config.callcenter_url + "SysConfig/GetModel",
138
+        async: true,
139
+        dataType: 'json',
140
+        data: {
141
+            token: token,
142
+            id: IdsName,
143
+        },
144
+        success: function (data) {
145
+            var con = data.data;
146
+            if (data.state.toLowerCase() == "success") {
147
+                $('.change_value').val(con.F_ParamValue), //参数内容
148
+                    $('.change_code').val(con.F_ParamCode), //参数名称
149
+                    $('.change_des').val(con.F_ParamDes) //参数描述
150
+            }
151
+        }
152
+    });
152 153
 }
153 154
 
154 155
 function chanSubmit(IdsName) {
155
-	$.ajax({
156
-		type: "post",
157
-		url: huayi.config.callcenter_url + "SysConfig/Edit",
158
-		async: true,
159
-		dataType: 'json',
160
-		data: {
161
-			token: token,
162
-			id: IdsName, //参数id
163
-			value: $('.change_value').val(), //参数内容
164
-			code: $('.change_code').val(), //参数名称
165
-			des: $('.change_des').val() //参数描述
166
-		},
167
-		success: function(data) {
168
-			if(data.state.toLowerCase() == "success") {
169
-				layer.msg("修改成功");
170
-				$table.bootstrapTable('refresh');
171
-			}
172
-		}
173
-	});
156
+    $.ajax({
157
+        type: "post",
158
+        url: huayi.config.callcenter_url + "SysConfig/Edit",
159
+        async: true,
160
+        dataType: 'json',
161
+        data: {
162
+            token: token,
163
+            id: IdsName, //参数id
164
+            value: $('.change_value').val(), //参数内容
165
+            code: $('.change_code').val(), //参数名称
166
+            des: $('.change_des').val() //参数描述
167
+        },
168
+        success: function (data) {
169
+            if (data.state.toLowerCase() == "success") {
170
+                layer.msg("修改成功");
171
+                $table.bootstrapTable('refresh');
172
+            }
173
+        }
174
+    });
174 175
 }
175 176
 //******************修改功能结束*****************************
176 177
 
177 178
 //==================删除功能开始================================
178 179
 //删除按钮
179 180
 var idd;
180
-
181
+		 
181 182
 function del(idd) {
182
-	console.log(idd)
183
-	$.ajax({
184
-		type: "post",
185
-		url: huayi.config.callcenter_url + "SysConfig/Delete",
186
-		async: true,
187
-		dataType: 'json',
188
-		data: {
189
-			token: token,
190
-			ids: idd
191
-		},
192
-		success: function(data) {
193
-			if(data.state.toLowerCase() == "success") {
194
-				layer.msg("删除成功!");
195
-				$table.bootstrapTable('refresh');
196
-			}
197
-		}
198
-	});
183
+    console.log(idd)
184
+    $.ajax({
185
+        type: "post",
186
+        url: huayi.config.callcenter_url + "SysConfig/Delete",
187
+        async: true,
188
+        dataType: 'json',
189
+        data: {
190
+            token: token,
191
+            ids: idd
192
+        },
193
+        success: function (data) {
194
+            if (data.state.toLowerCase() == "success") {
195
+                layer.msg("删除成功!");
196
+                $table.bootstrapTable('refresh');
197
+            }
198
+        }
199
+    });
199 200
 }
200 201
 //*****************删除功能结束****************************
202
+		 
201 203
 
202 204
 function initTable(token) {
203
-	//先销毁表格
204
-	$table.bootstrapTable('destroy');
205
-	//初始化表格,动态从服务器加载数据
206
-	$table.bootstrapTable({
207
-		method: "get", //使用get请求到服务器获取数据
208
-		url: huayi.config.callcenter_url + "SysConfig/GetList", //获取数据的Servlet地址
209
-		contentType: "application/x-www-form-urlencoded",
210
-		striped: true, //表格显示条纹
211
-		pagination: true, //启动分页
212
-		pageSize: 10, //每页显示的记录数
213
-		pageNumber: 1, //当前第几页
214
-		pageList: [10, 20, 50, 100], //记录数可选列表
215
-		search: false, //是否启用查询
216
-		showColumns: false, //显示下拉框勾选要显示的列
217
-		showRefresh: false, //显示刷新按钮
218
-		sidePagination: "server", //表示服务端请求
219
-		//设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
220
-		//设置为limit可以获取limit, offset, search, sort, order
221
-		queryParamsType: "undefined",
222
-		queryParams: function queryParams(params) { //设置查询参数
223
-			var param = {
224
-				page: params.pageNumber,
225
-				pagesize: params.pageSize,
226
-				token: token,
227
-				value: $('.sear_value').val(),
228
-				code: $('.sear_code').val()
229
-			};
230
-			return param;
231
-		},
232
-		onLoadSuccess: function() { //加载成功时执行
233
-			//layer.msg("加载成功");
234
-		},
235
-		onLoadError: function() { //加载失败时执行
236
-			//layer.msg("加载数据失败", { time: 1500, icon: 2 });
237
-		}
238
-	});
205
+    //先销毁表格
206
+    $table.bootstrapTable('destroy');
207
+    //初始化表格,动态从服务器加载数据
208
+    $table.bootstrapTable({
209
+        method: "get", //使用get请求到服务器获取数据
210
+        url: huayi.config.callcenter_url + "SysConfig/GetList", //获取数据的Servlet地址
211
+        contentType: "application/x-www-form-urlencoded",striped: true, //表格显示条纹
212
+        pagination: true, //启动分页
213
+        pageSize: 10, //每页显示的记录数
214
+        pageNumber: 1, //当前第几页
215
+        pageList: [10, 20, 50, 100], //记录数可选列表
216
+        search: false, //是否启用查询
217
+        showColumns: false, //显示下拉框勾选要显示的列
218
+        showRefresh: false, //显示刷新按钮
219
+        sidePagination: "server", //表示服务端请求
220
+        //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
221
+        //设置为limit可以获取limit, offset, search, sort, order
222
+        queryParamsType: "undefined",
223
+        queryParams: function queryParams(params) { //设置查询参数
224
+            var param = {
225
+                page: params.pageNumber,
226
+                pagesize: params.pageSize,
227
+                token: token,
228
+                value: $('.sear_value').val(),
229
+                code: $('.sear_code').val()
230
+            };
231
+            return param;
232
+        },
233
+        onLoadSuccess: function () { //加载成功时执行
234
+            //layer.msg("加载成功");
235
+        },
236
+        onLoadError: function () { //加载失败时执行
237
+            //layer.msg("加载数据失败", { time: 1500, icon: 2 });
238
+        }
239
+    });
239 240
 }
240 241
 
241 242
 function setCode(val, row, index) {
242
-	return index + 1;
243
+    return index + 1;
243 244
 }
244 245
 //跳转
245
-document.onkeydown = function(e) {
246
-	var theEvent = window.event || e;
247
-	var code = theEvent.keyCode || theEvent.which;
248
-	if(code == 13) {
249
-		$('#table').bootstrapTable('selectPage', $(".JumpPage").val());
250
-
251
-	}
252
-}
253
-
254
-function cleanText() {
255
-	$(".add_code").val('');
256
-	$(".add_value").val('');
257
-	$(".add_des").val('');
258
-}
246
+      	document.onkeydown = function(e) {
247
+					var theEvent = window.event || e;
248
+					var code = theEvent.keyCode || theEvent.which;
249
+					if(code == 13) {
250
+						$('#table').bootstrapTable('selectPage', $(".JumpPage").val());
251
+						
252
+					}
253
+				}

+ 2 - 11
WebUI/CallCenterWeb.UI/SystemManager/js/jueSeQuanXian.js

@@ -48,7 +48,6 @@ function ad(screen_id) {
48 48
     	data=JSON.parse(data);
49 49
         if (data.state.toLowerCase() == 'success') {
50 50
             layer.msg("添加成功!");
51
-            cleanText();
52 51
             table.bootstrapTable('refresh');
53 52
         }
54 53
     });
@@ -159,6 +158,7 @@ function del(jsid) {
159 158
 //*************************删除功能结束=========================
160 159
 //右边树形结构
161 160
 tree(jsid);
161
+
162 162
 function tree(jsid) {
163 163
     $.getJSON(huayi.config.callcenter_url + "RoleFunction/GetRoleFunction", {
164 164
 		"token": $.cookie("token"),
@@ -277,13 +277,4 @@ table.on("click-row.bs.table", function(e, row, ele) {
277 277
 
278 278
 function setCode(val, row, index) {
279 279
 	return index + 1;
280
-}
281
-
282
-function cleanText(){
283
-	$(".add_jsz").val('');
284
-	$(".add_jsdm").val('');
285
-	$(".add_bz").val('');
286
-}
287
-
288
-
289
-
280
+}

+ 1 - 81
WebUI/CallCenterWeb.UI/SystemManager/js/shuJuZiDian.js

@@ -6,7 +6,6 @@
6 6
 	var xlName; //添加弹出框内下拉框内节点name
7 7
 	var token = $.cookie("token");
8 8
 	tree();
9
-	departmentTree();//部门名称数据
10 9
 
11 10
 	function tree() {
12 11
 		$.get(huayi.config.callcenter_url + 'Dictionary/GetZTreeList', {
@@ -65,11 +64,6 @@
65 64
 	function addTreeClick(event, treeId, treeNode) {
66 65
 		addPid = treeNode.id;
67 66
 		console.log(addPid);
68
-		if(addPid==38){
69
-			$('.addkey').show();
70
-		}else{
71
-			$('.addkey').hide();
72
-		}
73 67
 		xlName = treeNode.text;
74 68
 		$('.inps1').val(xlName);
75 69
 
@@ -120,11 +114,6 @@
120 114
 	$('.add').click(function() {
121 115
 		$('.addModel').css('display', 'block');
122 116
 		if(name) {
123
-			if(name=='关键字'){
124
-				$('.addkey').show()
125
-			}else{
126
-				$('.addkey').hide()
127
-			}
128 117
 			tps.html(name);
129 118
 			$('.inps1').val(name);
130 119
 			addPid = id;
@@ -139,7 +128,6 @@
139 128
 	//添加关闭按钮
140 129
 	$('.addBtr').click(function() {
141 130
 		$('.addModel').css('display', 'none');
142
-		$('.addTree3').css('display','none')
143 131
 	})
144 132
 	//添加内容下拉
145 133
 	$('.inps1').click(function() {
@@ -188,7 +176,6 @@
188 176
 				data: {
189 177
 					pid: addPid, //当前选择节点ID
190 178
 					name: addDeptname, //部门名称
191
-					deptid:$("#Dpment").val(),//部门名称id
192 179
 					token: token
193 180
 				},
194 181
 				success: function(data) {
@@ -223,11 +210,6 @@
223 210
 			})
224 211
 			return
225 212
 		} else {
226
-			if(pid=='38'){
227
-				$('.editkey').show()
228
-			}else{
229
-				$('.editkey').hide()
230
-			}
231 213
 			changeAjax(id);
232 214
 			$('.changeModel').css('display', 'block');
233 215
 			$('.chtps').html(name);
@@ -242,7 +224,6 @@
242 224
 	//关闭按钮
243 225
 	$('.changeBtr').click(function() {
244 226
 		$('.changeModel').css('display', 'none');
245
-		$('.addTree3').css('display','none')
246 227
 	}) ;
247 228
 	$('.inps4').click(function() {
248 229
 		$('.xlChange').css('display', 'block')
@@ -275,11 +256,6 @@
275 256
 	function changeTreeClick(event, treeId, treeNode) {
276 257
 //		chanPid = treeNode.pId;
277 258
 		chanId = treeNode.id;
278
-		if(chanId==38){
279
-			$('.editkey').show()
280
-		}else{
281
-			$('.editkey').hide()
282
-		}
283 259
 		changeName = treeNode.text;
284 260
 		$('.inps4').val(changeName);
285 261
 		var pidnode = treeNode.getParentNode();
@@ -322,8 +298,6 @@
322 298
 					chbcPid=pid;
323 299
 				}
324 300
 				$('.inps5').val(chanCon.F_Value);
325
-				$('.inps3').val(chanCon.F_DeptName);
326
-				$('#Dpment').val(chanCon.F_Deptid);
327 301
 //				$('.inps6').val(chanCon.sort);
328 302
 //				chbcSort = chanCon.sort;
329 303
 				chbcName = chanCon.F_Value;
@@ -341,7 +315,6 @@
341 315
 				id: id,
342 316
 				pid: chbcPid,
343 317
 				name: chbcName,
344
-				deptid:$("#Dpment").val(),//部门名称id
345 318
 				token: token
346 319
 			},
347 320
 			success: function(data) {
@@ -369,57 +342,4 @@
369 342
 		}
370 343
 
371 344
 	})
372
-//部门名称数据
373
-function departmentTree() {
374
-    $.get(huayi.config.callcenter_url + 'Department/GetDeptList', {
375
-        "token": $.cookie("token"),
376
-        //		"pid": pid
377
-    }, function (result) {
378
-        result = $.parseJSON(result);
379
-        $.fn.zTree.init($("#addTreeDemo3"), setting4, result.data); //实例化树形图
380
-        $.fn.zTree.init($("#addTreeDemo6"), setting4, result.data); //实例化树形图
381
-    });
382
-}
383
-var setting4 = {
384
-    data: {
385
-        key: {
386
-            name: "F_DeptName"
387
-        },
388
-        simpleData: {
389
-            enable: true,
390
-            idKey: "F_DeptId",
391
-            pIdKey: "F_PartentId",
392
-            rootPId: 0
393
-        }
394
-    },
395
-    callback: {
396
-        onClick: zTreeOnClick3
397
-    }
398
-};
399
-function zTreeOnClick3(event, treeId, treeNode) {
400
-    if (treeNode.level >= 2) {
401
-        $('.inps3').val(treeNode.F_DeptName);
402
-        $("#PID").val(treeNode.F_DeptId);
403
-        $("#Dpment").val(treeNode.F_DeptId);
404
-        $(".Cleans").show();
405
-    }
406
-};
407
-$('.inps3').focus(function () {
408
-    $('.xlAdd3').css('display', 'block')
409
-})
410
-$('.xl3').click(function () {
411
-    if ($('.xlAdd3').css('display') == 'block') {
412
-        $('.xlAdd3').css('display', 'none')
413
-    } else {
414
-        $('.xlAdd3').css('display', 'block')
415
-    }
416
-})
417
-$('.addTree3').mouseleave(function () {
418
-    $(this).css('display', 'none')
419
-})
420
-//清除
421
-$(".Cleans ").click(function () {
422
-    $('.inps3').val("");
423
-    $("#PID").val("");
424
-    $("#Dpment").val("");
425
-})
345
+

+ 343 - 407
WebUI/CallCenterWeb.UI/SystemManager/js/yongHuManger.js

@@ -1,576 +1,515 @@
1 1
 var token = $.cookie("token");
2
-var keyWord; //关键字
2
+var keyWord ; //关键字
3 3
 var tree; //部门树
4
-var table = $("#table1"); //右边表格
4
+var table = $('#table1'); //右边表格
5 5
 var userid;
6 6
 var usercode;
7 7
 var username;
8
-var deid = 0;
8
+var deid=0;
9 9
 $(document).ready(function () {
10 10
     bindtree();
11 11
     initTable();
12 12
     bindrole();
13 13
     //搜索按钮
14
-    $(".searchGo").click(function () {
15
-        deid = $("#testInput1").val();
14
+    $('.searchGo').click(function () {
15
+    	deid = $("#testInput1").val();
16 16
         initTable(deid);
17
-    });
17
+    })
18 18
 
19 19
     //===============添加功能开始=============================
20
-    laydate.skin("molv");
20
+    laydate.skin('molv');
21 21
     //用户生日
22 22
     laydate({
23
-        elem: "#ygbirth",
24
-        event: "focus",
23
+        elem: '#ygbirth',
24
+        event: 'focus',
25 25
         istoday: true,
26
-        format: "YYYY-MM-DD",
26
+        format: 'YYYY-MM-DD',
27 27
         // 分隔符可以任意定义,该例子表示只显示年月
28 28
     });
29 29
     //下拉
30
-    $(".inps").focus(function () {
31
-        $(this).siblings(".addTree").css("display", "block");
32
-    });
30
+    $('.inps').focus(function () {
31
+        $(this).siblings('.addTree').css('display', 'block');
32
+    })
33 33
 
34
-    $(".xl").click(function () {
35
-        var xl = $(this).siblings(".addTree");
36
-        if (xl.css("display") == "block") {
37
-            xl.css("display", "none");
34
+    $('.xl').click(function () {
35
+        var xl = $(this).siblings('.addTree');
36
+        if (xl.css('display') == 'block') {
37
+            xl.css('display', 'none')
38 38
         } else {
39
-            xl.css("display", "block");
39
+            xl.css('display', 'block')
40 40
         }
41
-    });
42
-    $(".addTree").mouseleave(function () {
43
-        $(this).css("display", "none");
44
-    });
41
+    })
42
+    $('.addTree').mouseleave(function () {
43
+        $(this).css('display', 'none')
44
+    })
45 45
 
46 46
     //添加按钮
47
-    $(".add").click(function () {
48
-        $(".addModel").css("display", "block");
49
-    });
50
-    $(".addBtr").click(function () {
51
-        $(".addModel").css("display", "none");
52
-    });
47
+    $('.add').click(function () {
48
+        $('.addModel').css('display', 'block');
49
+    })
50
+    $('.addBtr').click(function () {
51
+        $('.addModel').css('display', 'none');
52
+    })
53 53
 
54 54
     //保存添加按钮
55
-    $(".addCun").click(function () {
56
-        if (
57
-            $(".add_ygName").val() == "" ||
58
-            $(".add_ygCode").val() == "" ||
59
-            $(".add_pwd").val() == "" ||
60
-            $(".inps1").val() == "" ||
61
-            $(".inps2").val() == ""
62
-        ) {
63
-            layer.confirm("标红内容不允许为空!", {
64
-                btn: ["确定"],
55
+    $('.addCun').click(function () {
56
+    	
57
+        if ($('.add_ygName').val() == '' || $('.add_ygCode').val() == '' || $('.add_pwd').val() == '' || $('.inps1').val() == '' || $('.inps2').val() == '') {
58
+            layer.confirm('标红内容不允许为空!', {
59
+                btn: ['确定']
65 60
             });
66 61
             return;
67
-        } else if ($(".add_pwd").val() !== $(".add_pwd2").val()) {
68
-            layer.confirm("密码输入不一致!", {
69
-                btn: ["确定"],
62
+        } else if ($('.add_pwd').val() !== $('.add_pwd2').val()) {
63
+            layer.confirm('密码输入不一致!', {
64
+                btn: ['确定']
70 65
             });
71 66
             return;
72 67
         } else {
73
-            var reg = /^[0-9]\d*$/;
74
-            if (!reg.test($(".add_ygCode").val())) {
75
-                layer.confirm("工号必须为正整数!", {
76
-                    btn: ["确定"],
68
+            var reg = /^[1-9]\d*$/;
69
+            if (!reg.test($('.add_ygCode').val())) {
70
+                layer.confirm('工号必须为正整数!', {
71
+                    btn: ['确定']
77 72
                 });
78 73
                 return;
79 74
             }
75
+
80 76
             addCun();
81 77
         }
82
-    });
78
+    })
83 79
     bumen();
84
-    //  用户部门
80
+//  用户部门
85 81
     function bumen() {
86
-        $("#testInput1").empty();
87
-        $("<option value=''>请选择</option>").appendTo("#testInput1");
88
-        $.getJSON(
89
-            huayi.config.callcenter_url + "Department/GetDeptList",
90
-            {
91
-                iscbdw: -1,
92
-                token: $.cookie("token"),
93
-            },
94
-            function (data) {
95
-                if (data.state.toLowerCase() == "success") {
96
-                    var content = data.data;
97
-                    $(content).each(function (i, n) {
98
-                        $(
99
-                            "<option value='" +
100
-                                n.F_DeptId +
101
-                                "'>" +
102
-                                n.F_DeptName +
103
-                                "</option>"
104
-                        ).appendTo("#testInput1");
105
-                    });
106
-                    $("#testInput1").comboSelect();
107
-                }
108
-            }
109
-        );
110
-    }
82
+		$("#testInput1").empty();
83
+		$.getJSON(huayi.config.callcenter_url + "Department/GetDeptList", {
84
+			iscbdw:-1,
85
+			"token": $.cookie("token"),
86
+		}, function(data) {
87
+			if(data.state.toLowerCase() == "success") {
88
+				var content = data.data;
89
+				$(content).each(function(i, n) {
90
+					$("<option value='" + n.F_DeptId + "'>" + n.F_DeptName + "</option>").appendTo("#testInput1");
91
+				})
92
+				$('#testInput1').comboSelect();
93
+			}
94
+		})
95
+	}
111 96
     //所属角色列表
112 97
 
113
-    $(".xlAdd_one ul").on("click", "li", function () {
114
-        $(".inps1").val($(this).html());
115
-        $(".add_roleid").val($(this).attr("data-id"));
116
-        $(this).parent().parent().css("display", "none");
117
-    });
98
+    $('.xlAdd_one ul').on('click', 'li', function () {
99
+        $('.inps1').val($(this).html());
100
+        $(".add_roleid").val($(this).attr('data-id'));
101
+        $(this).parent().parent().css('display', 'none');
102
+    })
118 103
     //***********************添加功能结束=============================
119 104
 
120 105
     //=======================修改功能开始==============================
121
-    laydate.skin("molv");
106
+    laydate.skin('molv');
122 107
     //用户生日
123 108
     laydate({
124
-        elem: "#chan_ygbirth",
125
-        event: "focus",
109
+        elem: '#chan_ygbirth',
110
+        event: 'focus',
126 111
         istoday: true,
127
-        format: "YYYY-MM-DD",
112
+        format: 'YYYY-MM-DD',
128 113
         // 分隔符可以任意定义,该例子表示只显示年月
129 114
     });
130 115
 
131
-    $(".change").click(function () {
116
+    $('.change').click(function () {
132 117
         if (userid) {
133
-            $(".changeModel").css("display", "block");
118
+            $('.changeModel').css('display', 'block');
134 119
             getYG();
120
+
135 121
         } else {
136
-            layer.confirm("请选择要修改的行!", {
137
-                btn: ["确定"],
122
+            layer.confirm('请选择要修改的行!', {
123
+                btn: ['确定']
138 124
             });
139 125
             return;
140 126
         }
141
-    });
127
+
128
+    })
142 129
     //所属角色列表
143 130
 
144
-    $(".xlChan_four ul").on("click", "li", function () {
145
-        $(".inps4").val($(this).html());
131
+    $('.xlChan_four ul').on('click', 'li', function () {
132
+        $('.inps4').val($(this).html());
146 133
         $(".change_roleid").val($(this).attr("data-id"));
147
-        $(this).parent().parent().css("display", "none");
148
-    });
134
+        $(this).parent().parent().css('display', 'none');
135
+    })
149 136
 
150 137
     //关闭按钮
151
-    $(".changeBtr").click(function () {
152
-        $(".changeModel").css("display", "none");
153
-    });
138
+    $('.changeBtr').click(function () {
139
+        $('.changeModel').css('display', 'none');
140
+    })
154 141
 
155 142
     //保存按钮
156
-    $(".changeCun").click(function () {
157
-        if (
158
-            $(".change_ygName").val() == "" ||
159
-            $(".change_ygCode").val() == "" ||
160
-            $(".change_did").val() == "" ||
161
-            $(".change_roleid").val() == ""
162
-        ) {
163
-            layer.confirm("标红内容不允许为空!", {
164
-                btn: ["确定"],
143
+    $('.changeCun').click(function () {
144
+        if ($('.change_ygName').val() == '' || $('.change_ygCode').val() == '' || $('.change_did').val() == '' || $('.change_roleid').val() == '') {
145
+            layer.confirm('标红内容不允许为空!', {
146
+                btn: ['确定']
165 147
             });
166 148
             return;
167 149
         }
168 150
         var reg = /^[1-9]\d*$/;
169
-        if (!reg.test($(".change_ygCode").val())) {
170
-            layer.confirm("工号必须为正整数!", {
171
-                btn: ["确定"],
151
+        if (!reg.test($('.change_ygCode').val())) {
152
+            layer.confirm('工号必须为正整数!', {
153
+                btn: ['确定']
172 154
             });
173 155
             return;
174 156
         }
175
-        $.post(
176
-            huayi.config.callcenter_url + "UserAccount/EditUsers",
177
-            {
178
-                token: token,
179
-                userid: $(".change_id").val(),
180
-                usercode: $(".change_ygCode").val(),
181
-                username: $(".change_ygName").val(),
182
-                password: $(".change_pwd").val(),
183
-                worknumber: $(".change_ygCode").val(),
184
-                deptid: $(".change_did").val(),
185
-                roleid: $(".change_roleid").val(),
186
-                isseat: $('.change_hwb input[name="huwu"]:checked ').val(),
187
-                searright: $('.change_zxqx input[name="zxqx"]:checked ').val(),
188
-                sex: $('.changeSex input[name="sex"]:checked ').val(),
189
-                mobile: $(".change_mobile").val(),
190
-                telphone: $(".change_telphone").val(),
191
-                birth: $("#chan_ygbirth").val(),
192
-                remark: $(".change_remark").val(),
193
-            },
194
-            function (data) {
195
-                data = JSON.parse(data);
196
-                if (data.state.toLowerCase() == "success") {
197
-                    layer.msg("修改成功!");
198
-                    $(".change_id").val("");
199
-                    $(".change_ygCode").val("");
200
-                    $(".change_ygName").val("");
201
-                    $(".change_pwd").val("");
202
-                    $(".change_did").val("");
203
-                    $(".change_roleid").val("");
204
-                    $(".change_mobile").val("");
205
-                    $(".change_telphone").val("");
206
-                    $("#chan_ygbirth").val("");
207
-                    $(".change_remark").val("");
208
-                    initTable();
209
-
210
-                    $(".changeModel").css("display", "none");
211
-                }
157
+        $.post(huayi.config.callcenter_url + "UserAccount/EditUsers", {
158
+            token: token,
159
+            userid: $(".change_id").val(),
160
+            usercode: $('.change_ygCode').val(),
161
+            username: $('.change_ygName').val(),
162
+            password: $(".change_pwd").val(),
163
+            worknumber: $('.change_ygCode').val(),
164
+            deptid: $(".change_did").val(),
165
+            roleid: $(".change_roleid").val(),
166
+            isseat: $('.change_hwb input[name="huwu"]:checked ').val(),
167
+            searright: $('.change_zxqx input[name="zxqx"]:checked ').val(),
168
+            sex: $('.changeSex input[name="sex"]:checked ').val(),
169
+            mobile: $('.change_mobile').val(),
170
+            telphone: $('.change_telphone').val(),
171
+            birth: $('#chan_ygbirth').val(),
172
+            remark: $('.change_remark').val()
173
+        }, function (data) {
174
+            data = JSON.parse(data);
175
+            if (data.state.toLowerCase() == "success") {
176
+                layer.msg("修改成功!");
177
+                $(".change_id").val("");
178
+                $(".change_ygCode").val("");
179
+                $(".change_ygName").val("");
180
+                $(".change_pwd").val("");
181
+                $(".change_did").val("");
182
+                $(".change_roleid").val("");
183
+                $(".change_mobile").val("");
184
+                $(".change_telphone").val("");
185
+                $("#chan_ygbirth").val("");
186
+                $(".change_remark").val("");
187
+                initTable();
188
+
189
+                $('.changeModel').css('display', 'none');
212 190
             }
213
-        );
214
-    });
191
+        });
192
+
193
+    })
194
+
215 195
 
216 196
     //***********************修改功能结束==============================
217 197
 
218 198
     //=======================重设功能开始==============================
219
-    $(".again").click(function () {
199
+    $('.again').click(function () {
220 200
         if (usercode) {
221
-            $(".againModel").css("display", "block");
222
-            $(".again_ygName").val(username);
223
-            $(".again_ygCode").val(usercode);
224
-            $(".again_pwd").val("");
225
-            $(".again_pwd2").val("");
201
+            $('.againModel').css('display', 'block');
202
+            $('.again_ygName').val(username);
203
+            $('.again_ygCode').val(usercode);
204
+            $('.again_pwd').val("");
205
+            $('.again_pwd2').val("");
226 206
         } else {
227
-            layer.confirm("请选择要重设密码的用户!", {
228
-                btn: ["确定"],
207
+            layer.confirm('请选择要重设密码的用户!', {
208
+                btn: ['确定']
229 209
             });
230 210
             return;
231 211
         }
232
-    });
212
+    })
233 213
     //关闭按钮
234
-    $(".agBtr").click(function () {
235
-        $(".againModel").css("display", "none");
236
-    });
214
+    $('.agBtr').click(function () {
215
+        $('.againModel').css('display', 'none');
216
+    })
237 217
     //确定按钮
238
-    $(".again_Cun").click(function () {
239
-        if ($(".again_pwd").val() !== $(".again_pwd2").val()) {
240
-            layer.confirm("密码不一致,请重新输入!", {
241
-                btn: ["确定"],
218
+    $('.again_Cun').click(function () {
219
+        if ($('.again_pwd').val() !== $('.again_pwd2').val()) {
220
+            layer.confirm('密码不一致,请重新输入!', {
221
+                btn: ['确定']
242 222
             });
243 223
             return;
244
-            $(".again_pwd2").val("");
224
+            $('.again_pwd2').val('');
245 225
         } else {
246
-            $(".againModel").css("display", "none");
226
+            $('.againModel').css('display', 'none');
247 227
             cs(usercode); //重设密码
248 228
         }
249
-    });
229
+    })
250 230
     //***********************重设功能结束==============================
251 231
 
252 232
     //=======================禁用功能开始==============================
253
-    $(".ban").click(function () {
233
+    $('.ban').click(function () {
254 234
         if (userid) {
255
-            $(".banModel").css("display", "block");
235
+            $('.banModel').css('display', 'block');
256 236
         } else {
257
-            layer.confirm("请选择行!", {
258
-                btn: ["确定"],
237
+            layer.confirm('请选择行!', {
238
+                btn: ['确定']
259 239
             });
260 240
             return;
261 241
         }
262
-    });
242
+    })
263 243
     //关闭按钮
264
-    $(".banBtr").click(function () {
265
-        $(".banModel").css("display", "none");
266
-    });
244
+    $('.banBtr').click(function () {
245
+        $('.banModel').css('display', 'none');
246
+    })
267 247
     //取消按钮
268
-    $(".banReturn").click(function () {
269
-        $(".banModel").css("display", "none");
270
-    });
248
+    $('.banReturn').click(function () {
249
+        $('.banModel').css('display', 'none');
250
+    })
271 251
 
272 252
     //确定按钮
273
-    $(".banSure").click(function () {
253
+    $('.banSure').click(function () {
274 254
         bu(1);
275
-    });
255
+
256
+    })
276 257
     //***********************禁用功能结束==============================
277 258
 
278 259
     //=======================启用功能开始==============================
279
-    $(".using").click(function () {
260
+    $('.using').click(function () {
280 261
         if (userid) {
281
-            $(".useModel").css("display", "block");
262
+            $('.useModel').css('display', 'block');
282 263
         } else {
283
-            layer.confirm("请选择行!", {
284
-                btn: ["确定"],
264
+            layer.confirm('请选择行!', {
265
+                btn: ['确定']
285 266
             });
286 267
             return;
287 268
         }
288
-    });
269
+    })
289 270
     //关闭按钮
290
-    $(".useBtr").click(function () {
291
-        $(".useModel").css("display", "none");
292
-    });
271
+    $('.useBtr').click(function () {
272
+        $('.useModel').css('display', 'none');
273
+    })
293 274
     //取消按钮
294
-    $(".useReturn").click(function () {
295
-        $(".useModel").css("display", "none");
296
-    });
275
+    $('.useReturn').click(function () {
276
+        $('.useModel').css('display', 'none');
277
+    })
297 278
     //确定按钮
298
-    $(".useSure").click(function () {
279
+    $('.useSure').click(function () {
280
+
299 281
         bu(0);
300
-    });
282
+    })
301 283
     //***********************启用功能结束==============================
302 284
 
303 285
     //=======================删除功能开始==============================
304
-    $(".del").click(function () {
286
+    $('.del').click(function () {
305 287
         if (userid) {
306
-            layer.confirm(
307
-                "确定要删除选中的用户吗?",
308
-                { btn: ["确定", "取消"] },
309
-                function () {
310
-                    $.post(
311
-                        huayi.config.callcenter_url + "UserAccount/WLDelUsers",
312
-                        { token: token, ids: userid },
313
-                        function (data) {
314
-                            data = JSON.parse(data);
315
-                            if (data.state.toLowerCase() == "success") {
316
-                                initTable();
317
-                                layer.confirm("删除成功!", {
318
-                                    btn: ["确定"],
319
-                                });
320
-                            }
321
-                        }
322
-                    );
323
-                }
324
-            );
288
+            layer.confirm('确定要删除选中的用户吗?', { btn: ['确定', '取消'] }, function () {
289
+                $.post(huayi.config.callcenter_url + "UserAccount/WLDelUsers", { token: token, ids: userid }, function (data) {
290
+                    data = JSON.parse(data);
291
+                    if (data.state.toLowerCase() == "success") {
292
+                        initTable();
293
+                        layer.confirm('删除成功!', {
294
+                            btn: ['确定']
295
+                        });
296
+                    }
297
+                });
298
+            });
325 299
         } else {
326
-            layer.confirm("请选择行!", {
327
-                btn: ["确定"],
300
+            layer.confirm('请选择行!', {
301
+                btn: ['确定']
328 302
             });
329 303
             return;
330 304
         }
331
-    });
305
+    })
332 306
     //***********************删除功能结束==============================
333 307
 
334 308
     table.on("click-row.bs.table", function (e, row, ele) {
335
-        $(".success").removeClass("success"); //去除之前选中的行的,选中样式
336
-        $(ele).addClass("success"); //添加当前选中的 success样式用于区别
309
+        $('.success').removeClass('success'); //去除之前选中的行的,选中样式
310
+        $(ele).addClass('success'); //添加当前选中的 success样式用于区别
337 311
         userid = row.F_UserId;
338 312
         usercode = row.F_UserCode;
339 313
         username = row.F_UserName;
340 314
     });
341
-});
315
+})
342 316
 
343 317
 function bindtree() {
344
-    $.getJSON(
345
-        huayi.config.callcenter_url + "Department/GetDeptList",
346
-        { token: $.cookie("token") },
347
-        function (result) {
348
-            if (result.state.toLowerCase() == "success") {
349
-                tree = $.fn.zTree.init($("#treeDemo"), setting1, result.data);
350
-                $.fn.zTree.init($("#xlAdd_depTree"), setting2, result.data);
351
-                $.fn.zTree.init($("#xlChan_depTree"), setting3, result.data);
352
-            }
318
+    $.getJSON(huayi.config.callcenter_url + "Department/GetDeptList", { "token": $.cookie("token") }, function (result) {
319
+        if (result.state.toLowerCase() == "success") {
320
+            tree = $.fn.zTree.init($("#treeDemo"), setting1, result.data);
321
+            $.fn.zTree.init($("#xlAdd_depTree"), setting2, result.data);
322
+            $.fn.zTree.init($("#xlChan_depTree"), setting3, result.data);
353 323
         }
354
-    );
324
+    })
355 325
 }
356 326
 //获取所属部门
357 327
 var setting1 = {
358
-    data: {
359
-        key: {
360
-            name: "F_DeptName",
361
-        },
362
-        simpleData: {
363
-            enable: true,
364
-            idKey: "F_DeptId",
365
-            pIdKey: "F_PartentId",
366
-            rootPId: 0,
367
-        },
368
-    },
369
-    callback: {
370
-        onClick: zTreeOnClick,
371
-    },
372
-};
328
+		data: {
329
+			key: {
330
+				name: "F_DeptName"
331
+			},
332
+			simpleData: {
333
+				enable: true,
334
+				idKey: "F_DeptId",
335
+				pIdKey: "F_PartentId",
336
+				rootPId: 0
337
+			}
338
+		},
339
+		callback: {
340
+			onClick: zTreeOnClick
341
+		}
342
+	};
373 343
 function zTreeOnClick(event, treeId, treeNode) {
374
-    deid = treeNode.F_DeptId;
344
+	deid=treeNode.F_DeptId;
375 345
     if (treeNode.level >= 2) {
376
-        //      keyWord = $('.searCon').val();
346
+//      keyWord = $('.searCon').val();
377 347
         initTable(deid);
378 348
     }
379
-}
349
+    
350
+};
380 351
 
381 352
 //获取所属部门
382 353
 var setting2 = {
383
-    data: {
384
-        key: {
385
-            name: "F_DeptName",
386
-        },
387
-        simpleData: {
388
-            enable: true,
389
-            idKey: "F_DeptId",
390
-            pIdKey: "F_PartentId",
391
-            rootPId: 0,
392
-        },
393
-    },
354
+   data: {
355
+				key: {
356
+					name: "F_DeptName"
357
+				},
358
+				simpleData: {
359
+					enable: true,
360
+					idKey: "F_DeptId",
361
+					pIdKey: "F_PartentId",
362
+					rootPId: 0
363
+				}
364
+			},
394 365
     callback: {
395
-        onClick: ztreeDep,
396
-    },
366
+        onClick: ztreeDep
367
+    }
397 368
 };
398 369
 function ztreeDep(event, treeId, treeNode) {
399
-    $(".inps2").val(treeNode.F_DeptName);
400
-    $(".add_did").val(treeNode.F_DeptId);
401
-}
370
+    if (treeNode.level >= 2) {
371
+        $('.inps2').val(treeNode.F_DeptName);
372
+        $('.add_did').val(treeNode.F_DeptId);
373
+    }
374
+};
402 375
 
403 376
 //获取所属部门
404 377
 var setting3 = {
405
-    data: {
406
-        key: {
407
-            name: "F_DeptName",
408
-        },
409
-        simpleData: {
410
-            enable: true,
411
-            idKey: "F_DeptId",
412
-            pIdKey: "F_PartentId",
413
-            rootPId: 0,
414
-        },
415
-    },
378
+     data: {
379
+				key: {
380
+					name: "F_DeptName"
381
+				},
382
+				simpleData: {
383
+					enable: true,
384
+					idKey: "F_DeptId",
385
+					pIdKey: "F_PartentId",
386
+					rootPId: 0
387
+				}
388
+			},
416 389
     callback: {
417
-        onClick: chanaDep,
418
-    },
390
+        onClick: chanaDep
391
+    }
419 392
 };
420 393
 function chanaDep(event, treeId, treeNode) {
421 394
     if (treeNode.level >= 2) {
422
-        $(".inps5").val(treeNode.F_DeptName);
423
-        $(".change_did").val(treeNode.F_DeptId);
395
+        $('.inps5').val(treeNode.F_DeptName);
396
+        $('.change_did').val(treeNode.F_DeptId);
424 397
     }
425
-}
398
+};
426 399
 
427 400
 function bindrole() {
428
-    $(".xlAdd_one ul").html("");
429
-    $(".xlChan_four ul").html("");
430
-    $.getJSON(
431
-        huayi.config.callcenter_url + "RoleInfo/GetRoleList",
432
-        { token: token, isall: 1 },
433
-        function (data) {
434
-            var con = data.data;
435
-            for (var i = 0; i < con.length; i++) {
436
-                var html =
437
-                    "<li data-id=" +
438
-                    con[i].F_RoleId +
439
-                    ">" +
440
-                    con[i].F_RoleName +
441
-                    "</li>";
442
-                $(html).appendTo(".xlAdd_one ul");
443
-                $(html).appendTo(".xlChan_four ul");
444
-            }
401
+    $('.xlAdd_one ul').html('');
402
+    $('.xlChan_four ul').html('');
403
+    $.getJSON(huayi.config.callcenter_url + "RoleInfo/GetRoleList", { token: token,isall:1 }, function (data) {
404
+        var con = data.data;
405
+        for (var i = 0; i < con.length; i++) {
406
+            var html = '<li data-id=' + con[i].F_RoleId + '>' + con[i].F_RoleName + '</li>';
407
+            $(html).appendTo('.xlAdd_one ul');
408
+            $(html).appendTo('.xlChan_four ul');
445 409
         }
446
-    );
410
+    });
447 411
 }
448 412
 
413
+
449 414
 //保存所调方法
450 415
 function addCun() {
451
-    $.post(
452
-        huayi.config.callcenter_url + "UserAccount/AddUsers",
453
-        {
454
-            token: $.cookie("token"),
455
-            usercode: $(".add_ygCode").val(),
456
-            username: $(".add_ygName").val(),
457
-            password: $.md5($(".add_pwd").val()),
458
-            deptid: $(".add_did").val(),
459
-            roleid: $(".add_roleid").val(),
460
-            isseat: $('.addhwb input[name="huwu"]:checked ').val(),
461
-            searright: $('.addzxqx input[name="zxqx"]:checked ').val(),
462
-            sex: $('.addSex input[name="sex"]:checked ').val(),
463
-            mobile: $(".add_mobile").val(),
464
-            telphone: $(".add_telphone").val(),
465
-            birth: $(".add_birth").val(),
466
-            remark: $(".add_remark").val(),
467
-        },
468
-        function (data) {
469
-            data = JSON.parse(data);
470
-            if (data.state.toLowerCase() == "success") {
471
-                $(".add_ygCode").val("");
472
-                $(".add_ygName").val("");
473
-                $(".add_pwd").val("");
474
-                $(".add_pwd2").val("");
475
-                $(".add_did").val("");
476
-                $(".add_roleid").val("");
477
-                $(".add_mobile").val("");
478
-                $(".add_telphone").val("");
479
-                $(".add_birth").val("");
480
-                $(".add_remark").val("");
481
-                $(".inps1").val("");
482
-                $(".inps2").val("");
483
-                $(".addhwb input").removeAttr("checked");
484
-                $(".addzxqx input").removeAttr("checked");
485
-                $(".addSex input").removeAttr("checked");
486
-                layer.msg("添加成功!");
487
-                table.bootstrapTable("refresh");
488
-                $(".addModel").css("display", "none");
489
-            }
416
+    $.post(huayi.config.callcenter_url + "UserAccount/AddUsers", {
417
+        token: $.cookie("token"),
418
+        usercode: $('.add_ygCode').val(),
419
+        username: $('.add_ygName').val(),
420
+        password: $.md5($('.add_pwd').val()),
421
+        deptid: $(".add_did").val(),
422
+        roleid: $(".add_roleid").val(),
423
+        isseat: $('.addhwb input[name="huwu"]:checked ').val(),
424
+        searright: $('.addzxqx input[name="zxqx"]:checked ').val(),
425
+        sex: $('.addSex input[name="sex"]:checked ').val(),
426
+        mobile: $('.add_mobile').val(),
427
+        telphone: $('.add_telphone').val(),
428
+        birth: $('.add_birth').val(),
429
+        remark: $('.add_remark').val()
430
+    }, function (data) {
431
+        data = JSON.parse(data);
432
+        if (data.state.toLowerCase() == "success") {
433
+            $('.add_ygCode').val("");
434
+            $('.add_ygName').val("");
435
+            $('.add_pwd').val("");
436
+            $('.add_pwd2').val("");
437
+            $('.add_did').val("");
438
+            $('.add_roleid').val("");
439
+            $('.add_mobile').val("");
440
+            $('.add_telphone').val("");
441
+            $('.add_birth').val("");
442
+            $('.add_remark').val("");
443
+            $('.inps1').val("");
444
+            $('.inps2').val("");
445
+            $('.addhwb input').removeAttr("checked");
446
+            $('.addzxqx input').removeAttr("checked");
447
+            $('.addSex input').removeAttr("checked");
448
+            layer.msg("添加成功!");
449
+            table.bootstrapTable('refresh');
450
+            $('.addModel').css('display', 'none');
490 451
         }
491
-    );
452
+    });
492 453
 }
493 454
 
494 455
 //获取用户信息
495 456
 function getYG() {
496
-    $.getJSON(
497
-        huayi.config.callcenter_url + "UserAccount/GetUser",
498
-        { token: token, usercode: usercode, userid: userid },
499
-        function (data) {
500
-            if (data.state.toLowerCase() == "success") {
501
-                var ygcon = data.data;
502
-                $(".change_id").val(ygcon.F_UserId); //员工ID
503
-                $(".change_ygCode").val(ygcon.F_UserCode); //员工工号
504
-                $(".change_pwd").val(ygcon.F_Password); //员工密码
505
-                $(".change_ygName").val(ygcon.F_UserName); //员工姓名
506
-                //$('.change_ygCode').val(ygcon.F_WorkNumber); //员工工号
507
-                $(".xlChan_four ul li").each(function (i, n) {
508
-                    if ($(n).attr("data-id") == ygcon.F_RoleId) {
509
-                        $(".inps4").val($(n).text()); //所属角色
510
-                    }
511
-                });
512
-                $(".change_roleid").val(ygcon.F_RoleId);
513
-                $(".inps5").val(ygcon.depname); //所属部门
514
-                $(".change_did").val(ygcon.F_DeptId);
515
-                $(
516
-                    '.change_hwb input[name="huwu"][value="' +
517
-                        ygcon.F_SeatFlag +
518
-                        '"]'
519
-                ).prop("checked", "checked"); //话务标志
520
-                $(
521
-                    '.change_zxqx input[name="zxqx"][value="' +
522
-                        ygcon.F_SeatRight +
523
-                        '"]'
524
-                ).prop("checked", "checked"); //坐席权限
525
-                $(
526
-                    '.changeSex input[name="sex"][value="' +
527
-                        ygcon.F_SexFlag +
528
-                        '"]'
529
-                ).prop("checked", "checked"); //性别
530
-                if (ygcon.F_Birthday && ygcon.F_Birthday != "0001-01-01") {
531
-                    $("#chan_ygbirth").val(ygcon.F_Birthday); //生日
457
+    $.getJSON(huayi.config.callcenter_url + "UserAccount/GetUser", { token: token, usercode: usercode, userid: userid }, function (data) {
458
+        if (data.state.toLowerCase() == "success") {
459
+            var ygcon = data.data;
460
+            $(".change_id").val(ygcon.F_UserId);//员工ID
461
+            $(".change_ygCode").val(ygcon.F_UserCode);//员工工号
462
+            $(".change_pwd").val(ygcon.F_Password);//员工密码
463
+            $('.change_ygName').val(ygcon.F_UserName); //员工姓名
464
+            //$('.change_ygCode').val(ygcon.F_WorkNumber); //员工工号
465
+            $('.xlChan_four ul li').each(function(i, n) {
466
+                if ($(n).attr("data-id") == ygcon.F_RoleId) {
467
+                    $('.inps4').val($(n).text()); //所属角色
532 468
                 }
533
-                $(".change_telphone").val(ygcon.F_Telephone); //电话
534
-                $(".change_mobile").val(ygcon.F_Mobile); //手机
535
-                $(".change_remark").val(ygcon.F_Remark); //备注
469
+            })
470
+            $('.change_roleid').val(ygcon.F_RoleId);
471
+            $('.inps5').val(ygcon.depname); //所属部门
472
+            $('.change_did').val(ygcon.F_DeptId);
473
+            $('.change_hwb input[name="huwu"][value="' + ygcon.F_SeatFlag + '"]').prop("checked", "checked"); //话务标志
474
+            $('.change_zxqx input[name="zxqx"][value="' + ygcon.F_SeatRight + '"]').prop("checked", "checked"); //坐席权限
475
+            $('.changeSex input[name="sex"][value="' + ygcon.F_SexFlag + '"]').prop("checked", "checked"); //性别
476
+            if (ygcon.F_Birthday && ygcon.F_Birthday!='0001-01-01') {
477
+                $('#chan_ygbirth').val(ygcon.F_Birthday); //生日
536 478
             }
479
+            $('.change_telphone').val(ygcon.F_Telephone); //电话
480
+            $('.change_mobile').val(ygcon.F_Mobile); //手机
481
+            $('.change_remark').val(ygcon.F_Remark); //备注
537 482
         }
538
-    );
483
+
484
+    });
539 485
 }
540 486
 
541 487
 //重设密码
542 488
 function cs(ygbh) {
543
-    $.post(
544
-        huayi.config.callcenter_url + "UserAccount/ResetPwd",
545
-        { token: token, usercode: ygbh, pwd: $.md5($(".again_pwd").val()) },
546
-        function (data) {
547
-            data = JSON.parse(data);
548
-            if (data.state.toLowerCase() == "success") {
549
-                layer.msg("重设密码成功!");
550
-                initTable();
551
-            }
489
+    $.post(huayi.config.callcenter_url + "UserAccount/ResetPwd", { token: token, usercode: ygbh, pwd: $.md5($('.again_pwd').val()) }, function (data) {
490
+        data = JSON.parse(data);
491
+        if (data.state.toLowerCase() == "success") {
492
+            layer.msg("重设密码成功!");
493
+            initTable();
552 494
         }
553
-    );
495
+    });
554 496
 }
555 497
 
556 498
 function bu(state) {
557
-    $.post(
558
-        huayi.config.callcenter_url + "UserAccount/DelUsers",
559
-        { token: token, ids: userid, state: state },
560
-        function (data) {
561
-            data = JSON.parse(data);
562
-            if (data.state.toLowerCase() == "success") {
563
-                initTable();
564
-                $(".banModel").css("display", "none");
565
-                $(".useModel").css("display", "none");
566
-            }
499
+    $.post(huayi.config.callcenter_url + "UserAccount/DelUsers", { token: token, ids: userid, state: state }, function (data) {
500
+        data = JSON.parse(data);
501
+        if (data.state.toLowerCase() == "success") {
502
+            initTable();
503
+            $('.banModel').css('display', 'none');
504
+            $('.useModel').css('display', 'none');
567 505
         }
568
-    );
506
+    });
569 507
 }
570 508
 //右边表格
571 509
 function initTable() {
510
+    
572 511
     //先销毁表格
573
-    table.bootstrapTable("destroy");
512
+    table.bootstrapTable('destroy');
574 513
     //初始化表格,动态从服务器加载数据
575 514
     table.bootstrapTable({
576 515
         method: "get",
@@ -598,25 +537,22 @@ function initTable() {
598 537
         //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
599 538
         //设置为limit可以获取limit, offset, search, sort, order
600 539
         queryParamsType: "undefined",
601
-        queryParams: function queryParams(params) {
602
-            //设置查询参数
540
+        queryParams: function queryParams(params) { //设置查询参数
603 541
             var param = {
604 542
                 page: params.pageNumber,
605 543
                 pagesize: params.pageSize,
606 544
                 token: $.cookie("token"),
607 545
                 id: deid,
608
-                key: $(".searCon").val(),
546
+                key: $('.searCon').val()
609 547
             };
610 548
             return param;
611 549
         },
612
-        onLoadSuccess: function () {
613
-            //加载成功时执行
550
+        onLoadSuccess: function() { //加载成功时执行
614 551
             //layer.msg("加载成功");
615 552
         },
616
-        onLoadError: function () {
617
-            //加载失败时执行
553
+        onLoadError: function() { //加载失败时执行
618 554
             //layer.msg("加载数据失败", { time: 1500, icon: 2 });
619
-        },
555
+        }
620 556
     });
621 557
 }
622 558
 /*选中行添加背景颜色*/
@@ -625,12 +561,12 @@ function setCode(val, row, index) {
625 561
     return index + 1;
626 562
 }
627 563
 function setYongState(val) {
628
-    var str = "";
629
-    switch (val + "") {
630
-        case "0":
564
+    var str = '';
565
+    switch (val + '') {
566
+        case '0':
631 567
             str = "正常";
632 568
             break;
633
-        case "1":
569
+        case '1':
634 570
             str = "禁用";
635 571
             break;
636 572
     }

+ 6 - 6
WebUI/CallCenterWeb.UI/SystemManager/jueSeQuanXian.html

@@ -78,8 +78,8 @@
78 78
                     <table id="table1" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
79 79
                         <thead>
80 80
                             <tr>
81
-                                <th data-align="center" data-field="id" data-formatter="setCode">编号</th>
82
-                                <th data-field="F_RoleName" data-align="center">角色名称</th>
81
+                                <th data-align="center" data-field="id" data-formatter="setCode"></th>
82
+                                <th data-field="F_RoleName" data-align="center">用户角色</th>
83 83
 
84 84
                             </tr>
85 85
                         </thead>
@@ -114,13 +114,13 @@
114 114
                                 <th style="color: red;">角色代码:</th>
115 115
                                 <td colspan="3"><input type="text" class="add_jsdm" /><span class="kong addJsdm_kong" style="color: red;">*角色代码不允许为空</span></td>
116 116
                             </tr>
117
-                            <!--<tr>
117
+                            <tr>
118 118
                                 <th style="color: red;">是否弹屏:</th>
119 119
                                 <td colspan="3">
120 120
                                 	<input type="radio" name="screen" id="" value="1" checked/>是
121 121
                                 	<input type="radio" name="screen" id="" value="0"/>否
122 122
                                 </td>
123
-                            </tr>-->
123
+                            </tr>
124 124
                             <tr>
125 125
                                 <th>备注:</th>
126 126
                                 <td colspan="3"><textarea rows="2" cols="20" class="add_bz"></textarea></td>
@@ -150,13 +150,13 @@
150 150
                                 <th style="color: red;">角色代码:</th>
151 151
                                 <td colspan="3"><input type="text" class="change_jsdm" /><span class="kong changeJsdm_kong" style="color: red;">*角色代码不允许为空</span></td>
152 152
                             </tr>
153
-                            <!--<tr>
153
+                            <tr>
154 154
                                 <th style="color: red;">是否弹屏:</th>
155 155
                                 <td colspan="3" class="edit_screen">
156 156
                                 	<input type="radio" name="screen" id="" value="1" />是
157 157
                                 	<input type="radio" name="screen" id="" value="0"/>否
158 158
                                 </td>
159
-                            </tr>-->
159
+                            </tr>
160 160
                             <tr>
161 161
                                 <th>备注:</th>
162 162
                                 <td colspan="3"><textarea rows="2" cols="20" class="change_bz"></textarea></td>

+ 1 - 22
WebUI/CallCenterWeb.UI/SystemManager/shuJuZiDian.html

@@ -51,16 +51,6 @@
51 51
 						</div>
52 52
 					</div>
53 53
 					<div>分类名称:<input class="inps inps2" type="text" /></div>
54
-					<div class="addkey">部门名称:
55
-						 <div class="inpBox">
56
-                            <input type="text" class="inps3" />
57
-                            <i class="Cleans  fa fa-close"></i>
58
-                            <i class="xl3 xl_one3"></i>
59
-                            <div class="addTree3 xlAdd3">
60
-                                <ul id="addTreeDemo3" class="ztree"></ul>
61
-                            </div>
62
-                       </div>
63
-					</div>
64 54
 					<!--<div>排列序号:<input class="inps inps3" type="text" /></div>-->
65 55
 					<div><button class="btns addCun">保存</button></div>
66 56
 				</div>
@@ -105,23 +95,12 @@
105 95
 						</div>
106 96
 					</div>
107 97
 					<div>分类名称:<input class="inps inps5" type="text" /></div>
108
-					<div class="editkey">部门名称:
109
-						 <div class="inpBox">
110
-                            <input type="text" class="inps3" />
111
-                            <i class="Cleans  fa fa-close"></i>
112
-                            <i class="xl3 xl_one3"></i>
113
-                            <div class="addTree3 xlAdd3">
114
-                                <ul id="addTreeDemo6" class="ztree"></ul>
115
-                            </div>
116
-                       </div>
117
-					</div>
118 98
 					<div><button class="btns changeCun">保存</button></div>
119 99
 				</div>
120 100
 			</div>
121 101
 
122 102
 		</div>
123
-	<input type="hidden" id="PID" />
124
-    <input type="hidden" id="Dpment" />
103
+	
125 104
 
126 105
     <script src="../js/zTree/jquery.ztree.core.js"></script>
127 106
     <script src="../css/layer/layer.js"></script>

+ 10 - 9
WebUI/CallCenterWeb.UI/SystemManager/tongXun.html

@@ -205,14 +205,15 @@
205 205
 				});
206 206
 			}
207 207
 			//导出
208
-			$('.dbexecl').click(function() {
209
-				dcexcel(this);
210
-			})
211
-			function dcexcel(obj) {
212
-				var url = huayi.config.callcenter_url + "AddressBook/ExportAddressBook?token=" + $.cookie("token");
213
-				url += "&keyWord=" + $(".KeyWord").val();
214
-				obj.href = url;
215
-			}
208
+//			$('.dbexecl').click(function() {
209
+//				dcexcel(this);
210
+//			})
211
+//
212
+//			function dcexcel(obj) {
213
+//				var url = huayi.config.callcenter_url + "AddressBook/ExportAddressBook?token=" + $.cookie("token");
214
+//				url += "&keyWord=" + $(".KeyWord").val();
215
+//				obj.href = url;
216
+//			}
216 217
 //			//导入
217 218
 //			$("#daoRu").click(function() {
218 219
 //
@@ -312,7 +313,7 @@
312 313
 							if(textStatus == 'timeout') {
313 314
 								var xmlhttp = window.XMLHttpRequest ? new window.XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHttp");
314 315
 								xmlhttp.abort();
315
-								layer.confirm('网络时,请稍后再试...', {
316
+								layer.confirm('网络时,请稍后再试...', {
316 317
 									btn: ['确定'] //按钮
317 318
 								});    
318 319
 							}

+ 37 - 55
WebUI/CallCenterWeb.UI/SystemManager/yongHuManger.html

@@ -11,34 +11,29 @@
11 11
     <link rel="stylesheet" href="./css/yongHuManger.css" />
12 12
     <title>系统管理-->用户管理</title>
13 13
     <style>
14
-        .toolRight input {
15
-            width: 100%;
16
-        }
17
-
18
-        .toolRight select {
19
-            float: left;
20
-        }
21
-
22
-        .toolRight {
23
-            position: relative;
24
-            line-height: 30px;
25
-        }
26
-
27
-        .toolRight .tooldiv1 {
28
-            position: absolute;
29
-            margin-right: 10px;
30
-        }
14
+    	.toolRight input{
15
+    		width: 100%;
16
+    	}
17
+    	.toolRight select{
18
+    		float: left;
19
+    	}
20
+    	.toolRight{
21
+    		position: relative;
22
+    		line-height: 30px;
23
+    	}
24
+    	.toolRight .tooldiv1{
25
+    		position: absolute;
26
+    		margin-right: 10px;
27
+    	}
31 28
     </style>
32 29
 </head>
33
-
34 30
 <body class="gray-bg">
35 31
     <div class="container-fluid wrapper-content animated fadeInRight">
36 32
         <div class="daoHang clearfix">
37 33
             <div class="dhLeft">
38
-                <sapn><i class="syIcon"></i>位置:<a id="ReIndex" href="javaScript:;">首页</a>&gt;<a
39
-                        href="javaScript:;">系统管理</a>&gt;<a href="" class="nowPosition">用户管理</a></sapn>
34
+                <sapn><i class="syIcon"></i>位置:<a id="ReIndex" href="javaScript:;">首页</a>&gt;<a href="javaScript:;">系统管理</a>&gt;<a href="" class="nowPosition">用户管理</a></sapn>
40 35
             </div>
41
-            <div class="dhRight"><a href="" title="刷新"><i class="fa fa-refresh"></i></a></div>
36
+             <div class="dhRight"><a href="" title="刷新"><i class="fa fa-refresh"></i></a></div>
42 37
         </div>
43 38
         <div class="toolBar clearfix">
44 39
             <div class="toolLeft">
@@ -50,17 +45,17 @@
50 45
                 <button class="btns del">删除用户</button>
51 46
             </div>
52 47
             <div class="toolRight">
53
-                <div class="tooldiv1" style="right: 480px; width: 150px;">搜索内容:</div>
48
+            	<div class="tooldiv1" style="right: 480px; width: 150px;">搜索内容:</div>
54 49
                 <div class="tooldiv1" style="right: 320px; width: 240px;">
55
-                    <select id="testInput1"></select>
50
+                	<select id="testInput1"></select>
56 51
                 </div>
57 52
                 <div class="tooldiv1" style="right: 160px; width: 150px;">
58
-                    <input type="text" class="searCon" placeholder="输入用户编号或用户名称" style="width: 200px;" />
53
+                	<input type="text" class="searCon" placeholder="输入用户编号或用户名称" style="width: 200px;"/>
59 54
                 </div>
60 55
                 <div class="tooldiv1" style="right: 0px; width: 80px;">
61
-                    <button class="btns searchGo">搜索</button>
56
+                	<button class="btns searchGo">搜索</button>
62 57
                 </div>
63
-
58
+                
64 59
             </div>
65 60
         </div>
66 61
         <div class="treeTable clearfix">
@@ -78,7 +73,8 @@
78 73
                     <thead>
79 74
                         <tr>
80 75
                             <th data-align="center" data-formatter="setCode"></th>
81
-                            <th data-field="F_UserCode" data-align="center">用户工号</th>
76
+                            <th data-field="F_UserCode" data-align="center">用户编号</th>
77
+                            <th data-field="F_WorkNumber" data-align="center">坐席工号</th>
82 78
                             <th data-field="F_UserName" data-align="center">用户名称</th>
83 79
                             <th data-field="F_Telephone" data-align="center">用户电话</th>
84 80
                             <th data-field="F_Mobile" data-align="center">用户手机</th>
@@ -143,23 +139,19 @@
143 139
                             <th>话务标志:</th>
144 140
                             <td class="addhwb">
145 141
                                 <label class="radio-inline">
146
-                                    <input type="radio" name="huwu" value="true"
147
-                                        style="vertical-align: middle;display: inline-block;">使用
142
+                                    <input type="radio" name="huwu" value="true" style="vertical-align: middle;display: inline-block;">使用
148 143
                                 </label>
149 144
                                 <label class="radio-inline">
150
-                                    <input type="radio" checked="true" name="huwu" value="false"
151
-                                        style="vertical-align: middle;display: inline-block;">不使用
145
+                                    <input type="radio" checked="true" name="huwu" value="false" style="vertical-align: middle;display: inline-block;">不使用
152 146
                                 </label>
153 147
                             </td>
154 148
                             <th>坐席权限:</th>
155 149
                             <td class="addzxqx">
156 150
                                 <label class="radio-inline">
157
-                                    <input type="radio" checked="true" name="zxqx" id="use" value="0"
158
-                                        style="vertical-align: middle;display: inline-block;">普通坐席
151
+                                    <input type="radio" checked="true" name="zxqx" id="use" value="0" style="vertical-align: middle;display: inline-block;">普通坐席
159 152
                                 </label>
160 153
                                 <label class="radio-inline">
161
-                                    <input type="radio" name="zxqx" id="noUse" value="1"
162
-                                        style="vertical-align: middle;display: inline-block;">班长坐席
154
+                                    <input type="radio" name="zxqx" id="noUse" value="1" style="vertical-align: middle;display: inline-block;">班长坐席
163 155
 
164 156
                                 </label>
165 157
                             </td>
@@ -168,13 +160,11 @@
168 160
                             <th>员工性别:</th>
169 161
                             <td class="addSex">
170 162
                                 <label class="radio-inline">
171
-                                    <input type="radio" checked="true" name="sex" value="男"
172
-                                        style="vertical-align: middle;display: inline-block;">男
163
+                                    <input type="radio" checked="true" name="sex" value="男" style="vertical-align: middle;display: inline-block;">男
173 164
 
174 165
                                 </label>
175 166
                                 <label class="radio-inline">
176
-                                    <input type="radio" name="sex" value="女"
177
-                                        style="vertical-align: middle;display: inline-block;">女
167
+                                    <input type="radio" name="sex" value="女" style="vertical-align: middle;display: inline-block;">女
178 168
 
179 169
                                 </label>
180 170
                             </td>
@@ -251,8 +241,7 @@
251 241
                     <tbody>
252 242
                         <tr>
253 243
                             <th style="color: darkred;">员工姓名:</th>
254
-                            <td><input type="text" class="change_ygName" /><input type="hidden"
255
-                                    class="change_id" /><input type="hidden" class="change_pwd" /></td>
244
+                            <td><input type="text" class="change_ygName" /><input type="hidden" class="change_id" /><input type="hidden" class="change_pwd" /></td>
256 245
                             <th style="color: darkred;">员工工号:</th>
257 246
                             <td><input type="text" class="change_ygCode" /></td>
258 247
                         </tr>
@@ -284,23 +273,19 @@
284 273
                             <th>话务标志:</th>
285 274
                             <td class="change_hwb">
286 275
                                 <label class="radio-inline">
287
-                                    <input type="radio" name="huwu" value="true"
288
-                                        style="vertical-align: middle;display: inline-block;">使用
276
+                                    <input type="radio" name="huwu" value="true" style="vertical-align: middle;display: inline-block;">使用
289 277
                                 </label>
290 278
                                 <label class="radio-inline">
291
-                                    <input type="radio" checked="true" name="huwu" value="false"
292
-                                        style="vertical-align: middle;display: inline-block;">不使用
279
+                                    <input type="radio" checked="true" name="huwu" value="false" style="vertical-align: middle;display: inline-block;">不使用
293 280
                                 </label>
294 281
                             </td>
295 282
                             <th>坐席权限:</th>
296 283
                             <td class="change_zxqx">
297 284
                                 <label class="radio-inline">
298
-                                    <input type="radio" checked="true" name="zxqx" id="use" value="0"
299
-                                        style="vertical-align: middle;display: inline-block;">普通坐席
285
+                                    <input type="radio" checked="true" name="zxqx" id="use" value="0" style="vertical-align: middle;display: inline-block;">普通坐席
300 286
                                 </label>
301 287
                                 <label class="radio-inline">
302
-                                    <input type="radio" name="zxqx" id="noUse" value="1"
303
-                                        style="vertical-align: middle;display: inline-block;">班长坐席
288
+                                    <input type="radio" name="zxqx" id="noUse" value="1" style="vertical-align: middle;display: inline-block;">班长坐席
304 289
 
305 290
                                 </label>
306 291
                             </td>
@@ -309,13 +294,11 @@
309 294
                             <th>员工性别:</th>
310 295
                             <td class="changeSex">
311 296
                                 <label class="radio-inline">
312
-                                    <input type="radio" checked="true" name="sex" value="男"
313
-                                        style="vertical-align: middle;display: inline-block;">男
297
+                                    <input type="radio" checked="true" name="sex" value="男" style="vertical-align: middle;display: inline-block;">男
314 298
 
315 299
                                 </label>
316 300
                                 <label class="radio-inline">
317
-                                    <input type="radio" name="sex" value="女"
318
-                                        style="vertical-align: middle;display: inline-block;">女
301
+                                    <input type="radio" name="sex" value="女" style="vertical-align: middle;display: inline-block;">女
319 302
 
320 303
                                 </label>
321 304
                             </td>
@@ -385,8 +368,7 @@
385 368
     <script src="../js/comboSelect/jquery.combo.select.js"></script>
386 369
     <script src="./js/yongHuManger.js"></script>
387 370
     <script>
388
-
371
+    	
389 372
     </script>
390 373
 </body>
391
-
392 374
 </html>

+ 2 - 2
WebUI/CallCenterWeb.UI/VoiceNotification/LeiBieSheZhi.html

@@ -135,8 +135,8 @@
135 135
 					queryParamsType: "undefined",
136 136
 					queryParams: function queryParams(params) { //设置查询参数
137 137
 						var param = {
138
-							PageIndex: params.pageNumber,
139
-							PageSize: params.pageSize,
138
+							page: params.pageNumber,
139
+							pagesize: params.pageSize,
140 140
 							token: $.cookie("token"),
141 141
 							name: $('#keyw').val(),
142 142
 							categoryid: $('#leiBie').val()

+ 0 - 0
WebUI/CallCenterWeb.UI/VoiceNotification/js/tongZhiChaXun.js


Some files were not shown because too many files changed in this diff