liuyifan 6 yıl önce
ebeveyn
işleme
8cd1f4bdce

+ 2 - 1
WebUI/CallCenterWeb.UI/Business/appealOrder.html

@@ -64,7 +64,8 @@
64 64
 							<th data-field="F_NoticeInfo" data-align="center">通报批评内容</th>
65 65
 							<th data-field="F_Remark" data-align="center">申诉详情</th>
66 66
 							<th data-field="F_CreateTime" data-align="center">申诉时间</th>
67
-							<th data-field="F_SureTime" data-align="center">申诉通过时间</th>
67
+							<th data-field="F_State" data-align="center" data-formatter="formatterAppealState">申诉是否通过</th>
68
+							<th data-field="" data-align="center">操作</th>
68 69
 						</tr>
69 70
 					</thead>
70 71
 				</table>

+ 16 - 3
WebUI/CallCenterWeb.UI/CommonHtml/addAppealOrder.html

@@ -168,6 +168,16 @@
168 168
 							<label class="col-md-2" style="float: left;">申诉详情:</label>
169 169
 							<textarea name="" rows="" cols="" class="remark"></textarea>
170 170
 						</li>
171
+						<li class="form-group">
172
+							<label for="customer_layer" class="col-md-2" style="float: left;">处理申诉:</label>
173
+							<div class="col-md-9" style="width: 75%; float: left; padding: 0;">
174
+                                <select name="" class="form-control" id="dealWithappeal">
175
+									<option value="">请选择是否处理申诉</option>
176
+                                	<option value="1">是</option>
177
+                                	<option value="2">否</option>
178
+                                </select>
179
+                            </div>
180
+						</li>
171 181
 					</ul>
172 182
 					<div class="form-group clearfix" style="text-align: center;">
173 183
 						<div class="col-md-offset-5 col-md-10">
@@ -181,6 +191,7 @@
181 191
 			<script type="text/javascript">
182 192
 				$(function(){
183 193
 					var id = helper.request.queryString("ids");
194
+					var wid = helper.request.queryString("wid")
184 195
 					 	tree();
185 196
 					    //所属分类下拉
186 197
 					    $('.inps').focus(function () {
@@ -293,13 +304,15 @@
293 304
 									parent.$('#table1').bootstrapTable('refresh');
294 305
 								}
295 306
 							})
296
-						}else{
307
+						}else if (wid){
297 308
 							$.post(huayi.config.callcenter_url + 'Appeal/AddAppeal', {
298
-								deptids:$('#PID').val(),
299
-								noticeid:customertype,
309
+								deptids: $('#PID').val(),
310
+								noticeid: customertype,
300 311
 								content: $('.other_reasons').val(),//其他原因
301 312
 								noticeinfo: noticeinfo,//通报内容
313
+								workorderid: wid, //工单编号
302 314
 								remark: $(".remark").val(),//申诉详情
315
+								state: $("#dealWithappeal").val(),
303 316
 								"token": $.cookie("token")
304 317
 							}, function(result) {
305 318
 								result = $.parseJSON(result);

+ 13 - 0
WebUI/CallCenterWeb.UI/js/notification/appealOrder.js

@@ -152,5 +152,18 @@ $(function(){
152 152
             }
153 153
         })
154 154
     }
155
+
155 156
 })
157
+
158
+//格式化 申诉通过
159
+function formatterAppealState(val, row) {
160
+    if (val === 0) {
161
+        return "未处理";
162
+    } else if (val === 1) {
163
+        return "通过";
164
+    } else if (val === 2) {
165
+        return "退回";
166
+    }
167
+}
168
+
156 169