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

主题管理-样本池 增加是否有主题分类

miaofuhao 20 часов назад
Родитель
Сommit
43a9451de8

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

@@ -1583,8 +1583,9 @@
1583 1583
 			// }
1584 1584
 
1585 1585
 			function getReactionCategory(pid = 38) {
1586
+				// GetZTreeNew  GetZTreeOld   
1586 1587
 				$.get(
1587
-					huayi.config.callcenter_url + "Dictionary/GetZTreeNew", {
1588
+					huayi.config.callcenter_url + "Dictionary/GetZTreeOld", {
1588 1589
 						token: $.cookie("token"),
1589 1590
 						pid: pid,
1590 1591
 					},

+ 2 - 2
WebUI/CallCenterWeb.UI/CommonHtml/WorkDatil.html

@@ -409,7 +409,7 @@
409 409
 									<td class="text-center" style="min-width:100px;">回访信息</td>
410 410
 									<td class="text-center" style="min-width:100px;">回访结果</td>
411 411
 									<td class="text-center" style="min-width:100px;">操作时间</td>
412
-									<td class="text-center" style="min-width:100px;">回访号码</td>
412
+									<!--<td class="text-center" style="min-width:100px;">回访号码</td>-->
413 413
 									<td class="text-center" style="min-width:100px;">录音</td>
414 414
 								</tr>
415 415
 							</theard>
@@ -833,7 +833,7 @@
833 833
 									<td class="text-center" style="min-width:100px;">回访信息</td>
834 834
 									<td class="text-center" style="min-width:100px;">回访结果</td>
835 835
 									<td class="text-center" style="min-width:100px;">操作时间</td>
836
-									<td class="text-center" style="min-width:100px;">回访号码</td>
836
+									<!--<td class="text-center" style="min-width:100px;">回访号码</td>-->
837 837
 									<td class="text-center resolvedEle" style="min-width:100px; display: none;">事件解决结果</td>
838 838
 									<td class="text-center" style="min-width:100px;">录音</td>
839 839
 									<td class="text-center visitLimit" style="min-width:100px;  display: none">操作</td> 

+ 22 - 5
WebUI/CallCenterWeb.UI/CommonHtml/cpns/detailEditVisit.html

@@ -71,18 +71,35 @@
71 71
     <script>
72 72
         var wid = helper.request.queryString("wid");
73 73
         var item = helper.request.queryString("item"); 
74
+        var storageKey = helper.request.queryString("storageKey"); 
74 75
         var visitId;
75 76
 
76 77
         $(document).ready(function () {
77
-        	if (item) {
78
-        		itemData = JSON.parse(decodeURIComponent(item))
79
-        		loadHF()
80
-        	}
78
+        	// 从sessionStorage获取数据
79
+        if (storageKey) {
80
+            var storedData = sessionStorage.getItem(storageKey);
81
+            if (storedData) {
82
+                itemData = JSON.parse(storedData);
83
+                loadHF();
84
+                // 使用后清除存储
85
+                sessionStorage.removeItem(storageKey);
86
+            } else {
87
+                layer.msg("数据获取失败,请重新操作");
88
+            }
89
+        }
90
+        
91
+        // 页面卸载时清理可能遗留的存储
92
+        $(window).on('beforeunload', function() {
93
+            if(storageKey) {
94
+                sessionStorage.removeItem(storageKey);
95
+            }
96
+        });
81 97
         	
82 98
         	
83 99
         })
84 100
         $('.Closure').click(function () {
85 101
             console.log(visitId)
102
+            
86 103
             Closure();
87 104
         });
88 105
         //上传附件
@@ -137,7 +154,7 @@
137 154
 						var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
138 155
 	                    parent.layer.close(index); //再执行关闭
139 156
 	                    parent.layer.msg("操作成功");
140
-	                     parent.load('6')
157
+	                     parent.load('20')
141 158
 //	                    parent.$('#orderlist').bootstrapTable('refresh');
142 159
 					}
143 160
 				}

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

@@ -179,7 +179,7 @@
179 179
 
180 180
 			function getReactionCategory(pid = 38) {
181 181
 				$.get(
182
-					huayi.config.callcenter_url + "Dictionary/GetZTreeNew", {
182
+					huayi.config.callcenter_url + "Dictionary/GetZTreeOld", {
183 183
 						token: $.cookie("token"),
184 184
 						pid: pid,
185 185
 					},

+ 27 - 17
WebUI/CallCenterWeb.UI/CommonHtml/js/orderDetail.js

@@ -1184,6 +1184,7 @@ function orderDetail20(result,type) {
1184 1184
 	if(visitRole.indexOf(roleCode) !== -1) {
1185 1185
 		$(".visitLimit").show()
1186 1186
 	}
1187
+	console.log(visitRole)
1187 1188
 	console.log(result.data)
1188 1189
 	if(result.data.hfdt.length < 0) {
1189 1190
 		html = '<tr>' +
@@ -1231,10 +1232,8 @@ function orderDetail20(result,type) {
1231 1232
 				'<td class="text-center"  style="white-space: pre-line;">' + n.F_Result +
1232 1233
 				'</td>' +
1233 1234
 				'<td class="text-center">' + a + '</td>' +
1234
-				'<td class="text-center">' + n.F_CreateTime +
1235
-				'</td>' +
1236
-				'<td class="text-center phoneTitle3"><a href="#">' + encryptPhoneNumber +
1237
-				'</a></td>'
1235
+				'<td class="text-center">' + n.F_CreateTime +'</td>'
1236
+//				'<td class="text-center phoneTitle3"><a href="#">' + encryptPhoneNumber +'</a></td>'
1238 1237
 			
1239 1238
 			if (textIsResolved) {
1240 1239
 				html += '<td class="text-center phoneTitle3">' + textIsResolved +'</td>'
@@ -1332,19 +1331,30 @@ function orderDetail21(result) {
1332 1331
 //var contentUrl=item?"./addOrEditUser.html?item="+encodeURIComponent(JSON.stringify(item)):"./addOrEditUser.html"
1333 1332
 function visitHandle(item) {
1334 1333
 	var title = item ? '编辑回访记录' : '添加回访记录'
1335
-	var contentUrl
1336
-	var visitUrl = "./cpns/detailEditVisit.html?wid=" + wid
1337
-	if(item) {
1338
-		contentUrl = visitUrl + "&item=" + encodeURIComponent(JSON.stringify(item))
1339
-	} else {
1340
-		contentUrl = visitUrl
1341
-	}
1342
-	layer.open({
1343
-		type: 2,
1344
-		content: contentUrl,
1345
-		title: title,
1346
-		area: ["80%", "60%"], //宽高
1347
-	});
1334
+    var contentUrl = "./cpns/detailEditVisit.html?wid=" + wid
1335
+    
1336
+    // 使用sessionStorage存储item数据
1337
+    if(item) {
1338
+        // 生成唯一ID来标识数据
1339
+        var storageKey = 'visitItem_' + Date.now() + '_' + Math.random().toString(36).substr(2);
1340
+        sessionStorage.setItem(storageKey, JSON.stringify(item));
1341
+        contentUrl += "&storageKey=" + storageKey;
1342
+    }
1343
+    
1344
+    layer.open({
1345
+        type: 2,
1346
+        content: contentUrl,
1347
+        title: title,
1348
+        area: ["80%", "60%"], //宽高
1349
+        success: function(layero, index) {
1350
+            // 打开成功后清除存储(可选,也可以在子页面中清除)
1351
+            // setTimeout(() => {
1352
+            //     if(storageKey) {
1353
+            //         sessionStorage.removeItem(storageKey);
1354
+            //     }
1355
+            // }, 1000);
1356
+        }
1357
+    });
1348 1358
 }
1349 1359
 
1350 1360
 function deleteVisit(id) {

+ 56 - 21
WebUI/CallCenterWeb.UI/Media/MediaWorkOrderList.html

@@ -76,17 +76,15 @@
76 76
                                 </td>-->
77 77
                                 
78 78
                                 <th>反映类别:</th>
79
-								<td style="position: relative;">
80
-									<div class="inpBox">
81
-										<input type="text" class="inpsReactionCategory" />
82
-										<input type="hidden" id="keyid" />
83
-										<i class="CleansReactionCategory fa fa-close"></i>
84
-										<i class="xlReactionCategory xl_one"></i>
85
-										<div class="addTreeReactionCategory xlAddReactionCategory">
86
-											<ul id="addTreeDemoReactionCategory" class="ztree"></ul>
87
-										</div>
88
-									</div>
89
-								</td>
79
+								<td class="reflectCategory-wrapper">
80
+                                    <input type="text" id="reflectCategory" class="form-control" autocomplete="off" />
81
+                                    <i class="CleansReactionCategory fa fa-close"></i>
82
+                                    <input type="hidden" id="keyid" />
83
+                                    <div class="reflectCategoryList-wrapper">
84
+                                        <ul id="reflectCategoryList">
85
+                                        </ul>
86
+                                    </div>
87
+                                </td>
90 88
 								
91 89
 								<th>承办单位:</th>
92 90
 								<td style="position: relative">
@@ -108,7 +106,39 @@
108 106
                                     </select>
109 107
                                 </td>
110 108
                             </tr>
111
-                            
109
+                            <tr>
110
+                            	<th>工单状态:</th>
111
+									<td>
112
+										<select name="" id="state" class="form-control">
113
+											<option selected="selected" value="">请选择</option>
114
+											<option value="0">新工单</option>
115
+											<option value="1">待交办</option>
116
+											<option value="2">待查收</option>
117
+											<option value="3">退回审核中</option>
118
+											<option value="4">办理中</option>
119
+											<option value="5">延时审核中</option>
120
+											<option value="6">已办理</option>
121
+											<option value="11">重办待交办</option>
122
+											<option value="13">重办驳回</option>
123
+											<option value="8">重办中</option>
124
+											<option value="9">已结案</option>
125
+										</select>
126
+									</td>
127
+									
128
+								<th>处理类型:</th>
129
+                                <td>
130
+                                    <select class="form-control" id="dealtype">
131
+                                        <option value="">请选择</option>
132
+                                        <option value="0">网络转派</option>
133
+                                        <option value="1">当即办理</option>
134
+                                    </select>
135
+                                </td>
136
+                                
137
+                                <th>反映区域:</th>
138
+                                <td>
139
+                                    <select class="form-control Min-width" id="sourceAreas"></select>
140
+                                </td>
141
+                            </tr>
112 142
                         </table>
113 143
                     </div>
114 144
                 </div>
@@ -121,6 +151,7 @@
121 151
                                     <th data-formatter="serialNumber" data-align="center">序号</th>
122 152
                                     <th data-field="F_WorkOrderId" data-formatter="View" data-align="center">工单单号</th>
123 153
                                     <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
154
+                                    <th data-field="DeptName" data-align="center">承办单位</th>
124 155
                                     <th data-field="UserName" data-align="center">受理人</th>
125 156
                                     <th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
126 157
                                     <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
@@ -147,10 +178,9 @@
147 178
     <!--<script src="../js/WorkOrder/treeListCommon.js"></script>-->
148 179
     <script>
149 180
     	var exportParams; // 导出参数
181
+    	var cheHuiStateData =['3331','3332','8333']
150 182
         $(document).ready(function () {
151 183
             load();
152
-            LY($("#source"));
153
-            LB($("#type"));
154 184
             treeReactionCategory(4258);
155 185
             tree();
156 186
             //ZX($("#ZX"));
@@ -164,9 +194,9 @@
164 194
                 event: 'focus'
165 195
             });
166 196
            
167
-           $(".Seach").click(function () {
168
-                load();
169
-            });
197
+//         $(".Seach").click(function () {
198
+//              load();
199
+//          });
170 200
 
171 201
             $("#orderlist").on("click-row.bs.table", function (e, row, ele) {
172 202
                 $('.success').removeClass('success'); //去除之前选中的行的,选中样式
@@ -207,6 +237,7 @@
207 237
                     var param = {
208 238
                         page: params.pageNumber,
209 239
                         pagesize: params.pageSize,
240
+                        state: $("#state").val(), //=工单状态
210 241
                         key: $("#key").val(), //关键字
211 242
                         deptid: $("#PID").val(),
212 243
                         starttime: $("#starttime").val(), //开始时间
@@ -218,6 +249,8 @@
218 249
                         //usercode: $("#ZX").val(),//坐席工号
219 250
                         keyid: $('#keyid').val(), //关键词id
220 251
                         source: $("#source").val(), //来源
252
+                         dealtype: $("#dealtype").val(),
253
+                         sourcearea: $("#sourceAreas").val(), // 区域
221 254
                         token: $.cookie("token"),
222 255
                     };
223 256
                     exportParams = param;
@@ -307,20 +340,22 @@
307 340
 
308 341
         }
309 342
 
310
-        //操作
343
+        //操作    
311 344
         function Dispose(val, row) {
312 345
             //按钮
313 346
             var showOrnot = 'none';
314 347
             //转媒体撤回按钮显示或隐藏
315 348
             if (row.IsReturnMedia == 1) {
316
-                showOrnot = 'inline-block';
349
+            	if(cheHuiStateData.indexOf($.cookie("userCode"))===-1){
350
+            		showOrnot = 'inline-block';
351
+            	}
317 352
             } else {
353
+            	
318 354
                 showOrnot = 'none';
319 355
             }
320 356
             return '<div class="imgs" >' +
321 357
                 '<a class="xg"  title="查看" onclick="ckxq(\'' + val + '\')">查看</a>' +
322
-                '<a class="xg withDrawBtn" style="display: ' + showOrnot + '" title="撤回" onclick="withDraw(\'' + val +
323
-                '\')">撤回</a>' +
358
+                '<a class="xg withDrawBtn" style="display: ' + showOrnot + '" title="撤回" onclick="withDraw(\'' + val +'\')">撤回</a>' +
324 359
                 '</div>';
325 360
         }
326 361
         //查看详情

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

@@ -4,7 +4,7 @@
4 4
 huayi.config = {
5 5
 //	callcenter_url: "http://192.168.8.9:1042/",//生产环境
6 6
 	//	callcenter_url: "http://192.168.1.170:63667/",//生产环境
7
-	  callcenter_url: "http://docking.zwdsj.anyang.gov.cn:65527/", //生产环境  docking.zwdsj.anyang.gov.cn
7
+	callcenter_url: "http://docking.zwdsj.anyang.gov.cn:65527/", //生产环境  docking.zwdsj.anyang.gov.cn
8 8
 	translation_socket:"ws://222.143.106.43:12233", 
9 9
 	//translation_socket:"ws://12345rx.zwfw.anyang.gov.cn:12235",  //
10 10
     socket_ip: "222.143.106.43", //ip

+ 14 - 1
WebUI/CallCenterWeb.UI/spManage/theme.html

@@ -165,6 +165,19 @@
165 165
 											</div>
166 166
 										</div>
167 167
 										<div class="layui-inline">
168
+											<label class="layui-form-label" style="width: 130px;">是否有主题分类</label>
169
+											<div class="layui-input-inline" style="width: 200px;">
170
+												<select name="" id="isclassification" class="form-control">
171
+													<option selected="selected" value="">
172
+														请选择
173
+													</option>
174
+													<option value="0">否</option>
175
+													<option value="1">是</option>
176
+
177
+												</select>
178
+											</div>
179
+										</div>
180
+										<div class="layui-inline">
168 181
 											<button id="searchOrder" class="btns" style="margin-bottom: 10px;">查询</button>
169 182
 											<button id="exportOrder" class="btns" style="margin-bottom: 10px;">导出工单</button>
170 183
 											<button id="addOrder" class="btns" style="margin-bottom: 10px;">添加工单</button>
@@ -854,7 +867,7 @@
854 867
 							ComContent: $('#orderContent').val(),
855 868
 							classification: $('#orderClass').val(),
856 869
 							istypical: $('#orderRep').val(),
857
-
870
+							isclassification: $('#isclassification').val(),
858 871
 							specialid: id,
859 872
 
860 873
 						};

+ 5 - 4
WebUI/CallCenterWeb.UI/widgets.html

@@ -521,7 +521,7 @@
521 521
     </head>
522 522
 
523 523
     <body class="gray-bg">
524
-        <div class="wrapper wrapper-content animated fadeInRight">
524
+        <div class="wrapper wrapper-content animated fadeInRight"  style="display: none">
525 525
             <div class="row LISTS" style="display: none">
526 526
                 <div class="col-sm-2">
527 527
                     <div class="widget style1 bc">
@@ -640,7 +640,7 @@
640 640
             </div>
641 641
             <div class="row" style="margin-bottom: 20px">
642 642
                 <div class="col-sm-4 LIST_">
643
-                    <div class="left_box rows num_box">
643
+                    <div class="left_box rows num_box" style="display: none;">
644 644
                         <div class="Announcement_box" style="width: 100%">
645 645
                             <div class="Announcement_title clearfix">
646 646
                                 <span class="fl" style="padding-left: 25px"
@@ -699,7 +699,7 @@
699 699
                         </div>
700 700
                     </div>
701 701
                 </div>
702
-                <div class="col-sm-4 LIST_">
702
+                <div class="col-sm-4 LIST_" style="display: none;">
703 703
                     <div class="left_box rows num_box">
704 704
                         <div style="margin-top: 30px; width: 100%">
705 705
                             <div
@@ -736,7 +736,8 @@
736 736
                         </div>
737 737
                     </div>
738 738
                 </div>
739
-                <div class="col-sm-4 LISTS" style="width: 40%; display: none">
739
+                
740
+                <div class="col-sm-4 LISTS" style="width: 100%; display: none">
740 741
                     <div class="ibox float-e-margins mt">
741 742
                         <div class="ibox-content">
742 743
                             <div class="flot-chart">