liuyifan преди 5 години
родител
ревизия
96d09f6a54

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

@@ -409,7 +409,6 @@
409 409
 							result = $.parseJSON(result);
410 410
 							if(result.state.toLowerCase() == "success") {
411 411
 								var con = result.data;
412
-								console.log("con",con)
413 412
 								if(con.dt[0].F_NoticeID==77){
414 413
 									$('.reasons').css('display','block')
415 414
 								}else{

+ 216 - 0
WebUI/CallCenterWeb.UI/CommonHtml/appealOrderDetails.html

@@ -0,0 +1,216 @@
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 rel="stylesheet" href="../css/init.css" />
8
+		<title>申诉详情</title>
9
+		<style type="text/css">
10
+			ul,li{
11
+				padding: 0;
12
+				margin: 0;
13
+				list-style: none;
14
+			}
15
+			.tab_list{
16
+				border-bottom: 1px solid #d5d5d5;
17
+			}
18
+			.tab_list li{
19
+				padding: 10px 15px;
20
+				float: left;
21
+				color: #333333;
22
+				font-size: 14px;
23
+				position: relative;
24
+			}
25
+			.tab_list li.active{
26
+				color: #19aad0;
27
+			}
28
+			.tab_list li.active:after{
29
+				content: "";
30
+				width: 100%;
31
+				height: 2px;
32
+				background: #19aad0;
33
+				position: absolute;
34
+				bottom: -1px;
35
+				left: 0;
36
+			}
37
+			.tab_content{
38
+				font-size: 14px;
39
+				color: #4c4c4c;
40
+				padding: 15px 0;
41
+				/*text-indent: 28px;*/
42
+			}
43
+			.tab_content>div{
44
+				display: none;
45
+			}
46
+			.table tr td input[type="text"]{
47
+			    width: 100%;
48
+			    height: 30px;
49
+			    background: #f3f3f4;
50
+			    border: 0;
51
+			    outline: none;
52
+			}
53
+			.radio-inline input[type=radio]{
54
+				margin-top: 2px;
55
+			}
56
+			.table tr td textarea{
57
+			    width: 100%;
58
+			    height: 100%;
59
+			    background: #f3f3f4;
60
+			    border: 0;
61
+			    resize: none;
62
+			}
63
+			#scwj{
64
+				    background-color: #FFF;
65
+			    background-image: none;
66
+			    border: 1px solid #ccc;
67
+			    border-radius: 1px;
68
+			    color: inherit;
69
+			    padding: 6px 12px!important;
70
+			}
71
+			.files{
72
+				    padding: 5px!important;
73
+			}
74
+			.time-box{
75
+			    position: relative;
76
+			    width: 197px!important;
77
+			    height: 34px;
78
+			    margin: 0;
79
+			}
80
+			.tub + input {
81
+			    padding-right: 30px;
82
+			    border: 1px solid #e5e6e7!important;
83
+			}
84
+			i.tub {
85
+			    position: absolute;
86
+			    right: 8px;
87
+			    top: 8px;
88
+			    font-size: 18px;
89
+			    color: #00a0ca;
90
+			}
91
+			.tab_content textarea{
92
+				display: block;
93
+			     background: #f3f3f4;
94
+			     width: 100%;
95
+			    height: 298px;
96
+			    box-sizing: border-box;
97
+			    text-indent: 28px;
98
+			}
99
+			.tab_content .cons >div{
100
+			     background: #f3f3f4;
101
+			     width: 100%;
102
+			    min-height: 298px;
103
+			    box-sizing: border-box;
104
+			    text-indent: 28px;
105
+			    word-break:break-all;
106
+			    word-wrap:break-word;
107
+			}
108
+			.tab_content .cons >div img{
109
+				    max-width: 100%;
110
+				    /*width: 95%;
111
+				    margin: 0 auto;*/
112
+			}
113
+			.shdetail table{
114
+				width: 100%;
115
+				line-height: 30px;
116
+				text-align: center;
117
+			}
118
+		</style>
119
+	</head>
120
+		<body class="gray-bg">
121
+			<div class="container-fluid wrapper-content animated fadeInRight">
122
+				<table class="table table-bordered table-condensed">
123
+					<tr>
124
+						<td width="100">通报部门</td>
125
+						<td colspan="3"> <input type="text" id="detailsDepartment" readonly="readonly" /></td>
126
+					</tr>
127
+					<tr>
128
+						<td width="100">申诉原因</td>
129
+						<td colspan="3"> <input type="text" id="detailsAppealReason" readonly="readonly" /></td>
130
+                    </tr>
131
+                    <tr>
132
+						<td width="100">其他原因</td>
133
+						<td colspan="3"> <input type="text" id="detailsOtherReason" readonly="readonly" /></td>
134
+					</tr>
135
+					<tr>
136
+						<td width="100">申诉依据</td>
137
+						<td colspan="3"> <input type="text" id="detailsBasis" readonly="readonly" /></td>
138
+					</tr>
139
+					<tr>
140
+						<td width="100">申诉要求</td>
141
+						<td colspan="3"> <input type="text" id="detailsRequirement" readonly="readonly" /></td>
142
+					</tr>
143
+					<tr>
144
+						<td width="100">申诉详情</td>
145
+						<td colspan="3"> <input type="text" id="detailsRemark" readonly="readonly" /></td>
146
+                    </tr>
147
+                    <tr>
148
+						<td width="100">申诉是否通过</td>
149
+						<td colspan="3"> <input type="text" id="detailsState" readonly="readonly" /></td>
150
+					</tr>
151
+				</table>
152
+				<div class="cons">
153
+					<div>
154
+					<table class="table-bordered table-condensed feilTable" style="width: 100%;">
155
+						<thead>
156
+							<tr>
157
+								<th>文件名称</th>
158
+								<th>添加时间</th>
159
+								<th>文件大小</th>
160
+							</tr>
161
+						</thead>
162
+						<tbody>
163
+						</tbody>
164
+					</table>
165
+					</div>
166
+				</div>
167
+			
168
+			<script src="../js/kindeditor/kindeditor-all-min.js"></script>
169
+			<script src="../js/kindeditor/lang/zh-CN.js"></script>
170
+			<script src="../js/adjustHeight.js"></script>
171
+			<script src="../js/laydate/laydate.js"></script>
172
+			<script>
173
+				
174
+				var ids=helper.request.queryString("ids");
175
+				$(document).ready(function(){
176
+					$.ajax({
177
+						type:"get",
178
+						url:huayi.config.callcenter_url +"Appeal/GetAppeal",
179
+						async:true,
180
+						dataType:'json',
181
+						data:{
182
+							token: $.cookie("token"),
183
+							nid:ids
184
+						},
185
+						success:function(res){
186
+							if(res.state.toLowerCase()=='success'){
187
+								var con = res.data;
188
+                                $("#detailsDepartment").val(con.NoticeDeptName); //申诉部门
189
+                                $("#detailsAppealReason").val(con.dt[0].F_NoticeInfo); //申诉原因
190
+                                $("#detailsOtherReason").val(con.dt[0].F_Content); //其他原因
191
+                                $("#detailsBasis").val(con.dt[0].F_Basis); //申诉依据
192
+                                $("#detailsRequirement").val(con.dt[0].F_Requirement); //申诉要求
193
+                                $("#detailsRemark").val(con.dt[0].F_Remark); //申诉详情
194
+                                if(con.dt[0].F_State === 0) {
195
+                                    $("#detailsState").val("未处理");
196
+                                } else if (con.dt[0].F_State === 1) {
197
+                                    $("#detailsState").val("通过");
198
+                                } else if (con.dt[0].F_State === 2) {
199
+                                    $("#detailsState").val("退回");
200
+                                }
201
+								$(con.dt[0].File).each(function(k,q){
202
+                                    var size= (q.F_Size/1024).toFixed(2)
203
+                                    var strs='<tr>'+
204
+                                                '<td><a href="'+ q.F_FileUrl+'" download="test.pdf">'+ q.F_FileName.substring(19) +'</a></td>'+
205
+                                                '<td>'+ q.F_AddTime +'</td>'+
206
+                                                '<td>'+ size +'kb</td>'+
207
+                                            '</tr>'
208
+                                    $(strs).appendTo($('.feilTable tbody'))
209
+                                })
210
+							}
211
+						}
212
+					});
213
+				})
214
+			</script>
215
+</body>
216
+</html>

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

@@ -170,12 +170,23 @@ function formatterAppealState(val, row) {
170 170
 //操作
171 171
 function formatterOperation(val, row) {
172 172
     if (row.F_State === 0) {
173
-        return '<a href="javascript:;" class="btn-deal-with" authorize="yes" id="HY_dealWith_' + row.F_Id + '" onclick="btn_dealWith(\'' + row.F_Id + '\')" title="审核">审核</a>';
173
+        return '<a href="javascript:;" class="operation-btn" authorize="yes" id="HY_dealWith_' + row.F_Id + '" onclick="btn_dealWith(\'' + row.F_Id + '\')" title="审核" style="margin-right: 10px">审核</a>' + '<a href="javascript:;" class="operation-btn" authorize="yes" id="HY_dealWith_' + row.F_Id + '" onclick="btn_checkDetails(\'' + row.F_Id + '\')" title="查看详情">查看详情</a>';
174 174
     } else {
175
-        return "-";
175
+        return '<a href="javascript:;" class="operation-btn" authorize="yes" id="HY_dealWith_' + row.F_Id + '" onclick="btn_checkDetails(\'' + row.F_Id + '\')" title="查看详情">查看详情</a>';
176 176
     }
177 177
 }
178 178
 
179
+function  btn_checkDetails (ids) {
180
+    did = ids.toString();
181
+    layer.open({
182
+        type: 2,
183
+        title: '查看详情',
184
+        maxmin: true, //开启最大化最小化按钮
185
+        area: ['40%', '65%'],
186
+        content: '../CommonHtml/appealOrderDetails.html?ids=' + did
187
+    });
188
+}
189
+
179 190
 //审核申诉
180 191
 function btn_dealWith(ids) {
181 192
     did = ids.toString();