Sfoglia il codice sorgente

工单拒收原因

miaofuhao 6 anni fa
parent
commit
8bc8870ce5
1 ha cambiato i file con 56 aggiunte e 0 eliminazioni
  1. 56 0
      WebUI/CallCenterWeb.UI/CommonHtml/rejection.html

+ 56 - 0
WebUI/CallCenterWeb.UI/CommonHtml/rejection.html

1
+<!DOCTYPE html>
2
+<html>
3
+	<head>
4
+		<meta charset="UTF-8">
5
+    <script src="../Script/Common/huayi.load.js"></script>
6
+    <script src="../Script/Common/huayi.config.js"></script>
7
+    <link href="../css/layer/need/layer.css" />
8
+    <link rel="stylesheet" href="../css/init.css" />
9
+    		   <title>拒收</title>
10
+	</head>
11
+	<body>
12
+		<div class="Common">
13
+		<table  >
14
+			<tr>
15
+				<th class="Importent">拒收原因:</th>
16
+				<td colspan="7"><textarea data-adaptheight id="result" name="" rows="4" cols=""></textarea></td>
17
+			</tr>
18
+		</table>
19
+		<div class="btn_box">
20
+			<button class="btns BC">保存</button>
21
+		</div>
22
+		</div>
23
+		<script src="../js/adjustHeight.js"></script>
24
+		<script>
25
+			var wid = helper.request.queryString("wid");
26
+			
27
+			//alert(wid)
28
+			$(document).ready(function() {
29
+				$('.BC').click(function() {
30
+                    JA();
31
+				})
32
+
33
+			});
34
+			//回退
35
+			function JA() {
36
+				$.post(huayi.config.callcenter_url + 'WorkOrder/RefuseWorkOrder', {
37
+					workorderid: wid,
38
+					reason:$("#result").val(),//回访内容
39
+					token: $.cookie("token")
40
+				}, function(result) {
41
+					result = JSON.parse(result);
42
+					if(result.state.toLowerCase() == "success") {
43
+						debugger
44
+						var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
45
+						console.log(index);
46
+						parent.layer.close(index); //再执行关闭
47
+						parent.$('#orderlist').bootstrapTable('refresh');
48
+						parent.layer.msg("操作成功");
49
+
50
+					}
51
+				})
52
+			}
53
+		</script>
54
+	</body>
55
+</html>
56
+