Kaynağa Gözat

接收、退回

liuyifan 5 yıl önce
ebeveyn
işleme
e6d67f0470

+ 2 - 2
CallCenterWeb.UI/registrationManagement/registrationList/js/detail.js

@@ -36,7 +36,7 @@ function getRegisterDetail() {
36 36
             $("#detailCreateOn").text(con.F_CreateOn); //登记时间
37 37
             $("#detailComplainedUnitOffice").text(con.F_UnitOffice); //投诉单位办事处
38 38
             $("#detailComplaintUndertaker").text(con.F_CaseParty); //投诉案件承办人
39
-            $("#detailQuestionLevel").text(con.F_CaseParty); //咨询问题级别
39
+            $("#detailQuestionLevel").text(con.F_ProblemType); //咨询问题级别
40 40
             $("#detailQuestionType").text(con.F_ProblemTypeB); //咨询问题类型
41 41
             $("#detailCitizenClassification").text(con.F_CitizensType); //市民分类
42 42
             $("#detailPutRecord").text(con.F_PutRecord); //是否立案
@@ -70,7 +70,7 @@ function getRegisterDetailByCallId() {
70 70
             $("#detailCreateOn").text(con.F_CreateOn); //登记时间
71 71
             $("#detailComplainedUnitOffice").text(con.F_UnitOffice); //投诉单位办事处
72 72
             $("#detailComplaintUndertaker").text(con.F_CaseParty); //投诉案件承办人
73
-            $("#detailQuestionLevel").text(con.F_CaseParty); //咨询问题级别
73
+            $("#detailQuestionLevel").text(con.F_ProblemType); //咨询问题级别
74 74
             $("#detailQuestionType").text(con.F_ProblemTypeB); //咨询问题类型
75 75
             $("#detailCitizenClassification").text(con.F_CitizensType); //市民分类
76 76
             $("#detailPutRecord").text(con.F_PutRecord); //是否立案

+ 0 - 24
CallCenterWeb.UI/registrationManagement/registrationList/js/receive.js

@@ -1,24 +0,0 @@
1
-var id = helper.request.queryString("ids");
2
-var depId; //部门id
3
-var depName = ''; //部门name
4
-$(document).ready(function() {
5
-    getDepartmentTree()
6
-})
7
-
8
-//保存按钮
9
-$('.customerSubmit').click(function() {
10
-    $.post(huayi.config.callcenter_url + 'ATheChangeLog/AddBTheChangeLog', {
11
-		"token": $.cookie("token"),
12
-        token: $.cookie("token"),
13
-		ATheChangeLogid: id,
14
-    }, function(result) {
15
-        result = $.parseJSON(result);
16
-        if(result.state.toLowerCase() == "success") {
17
-            $("#activess").val(result.data);
18
-            var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
19
-            parent.layer.close(index); //再执行关闭
20
-            parent.layer.msg("保存成功!");
21
-            parent.$("#registerList").bootstrapTable('refresh');
22
-        }
23
-    })
24
-})

+ 32 - 5
CallCenterWeb.UI/registrationManagement/registrationList/js/registrationList.js

@@ -86,17 +86,18 @@ function formatterOperating(val, row) {
86 86
 		'</ul>';
87 87
 }
88 88
 
89
-//转移登记
90
-function formatterOperatingTransfer(val, row) {
89
+//待接收登记
90
+function formatterOperatingWaitingReceive(val, row) {
91 91
     return '<ul class="tool_downs">' +
92
-		'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_transfer_' + row.F_ID + '" onclick="btn_transfer(\'' + row.F_ID + '\')" title="转移">转移</a></li>' +
92
+        '<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_receive_' + row.F_ID + '" onclick="btn_receive(\'' + row.F_ID + '\')" title="接收">接收</a></li>' +
93
+		'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_return_' + row.F_ID + '" onclick="btn_return(\'' + row.F_ID + '\')" title="退回">退回</a></li>' +
93 94
 		'</ul>';
94 95
 }
95 96
 
96
-//接收登记
97
+//接收登记
97 98
 function formatterOperatingReceive(val, row) {
98 99
     return '<ul class="tool_downs">' +
99
-		'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_receive_' + row.F_ID + '" onclick="btn_receive(\'' + row.F_ID + '\')" title="接收">接收</a></li>' +
100
+        '<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_receive_' + row.F_ID + '" onclick="btn_receive(\'' + row.F_ID + '\')" title="接收">接收</a></li>' +
100 101
 		'</ul>';
101 102
 }
102 103
 
@@ -167,6 +168,32 @@ function btn_receive (id) {
167 168
     });
168 169
 }
169 170
 
171
+function btn_return (id) {
172
+    var laye = layer.confirm('您确定要退回吗?', {
173
+        btn: ['确定', '取消'] //可以无限个按钮
174
+    }, function () {
175
+        //按钮【按钮一】的回调
176
+        $.ajax({
177
+            type: "post",
178
+            url: huayi.config.callcenter_url + "ATheChangeLog/BackChangeLog",
179
+            async: true,
180
+            dataType: "json",
181
+            data: {
182
+                token: $.cookie("token"),
183
+                ATheChangeLogid: id
184
+            },
185
+            success: function (data) {
186
+                if (data.state.toLowerCase() == 'success') {
187
+                    layer.msg("退回成功!");
188
+                    $("#registerList").bootstrapTable('refresh');
189
+                }
190
+            }
191
+        });
192
+    }, function (index) {
193
+        //按钮【按钮二】的回调
194
+        layer.close(laye)
195
+    });
196
+}
170 197
 
171 198
 function btn_delete (id) {
172 199
     var laye = layer.confirm('您确定要删除吗?', {

+ 24 - 20
CallCenterWeb.UI/registrationManagement/registrationList/print.html

@@ -4,7 +4,7 @@
4 4
 	<head>
5 5
 		<meta charset="utf-8">
6 6
 		<meta name="viewport" content="width=device-width, initial-scale=1.0">
7
-		<title>登记人情况</title>
7
+		<title>登记信息</title>
8 8
 		<!--[if lt IE 9]>
9 9
 	    <meta http-equiv="refresh" content="0;ie.html" />
10 10
 	    <![endif]-->
@@ -212,57 +212,61 @@
212 212
 	                            </div>
213 213
 	                            <table id="weeklist" class="alignC" border="1" cellpadding="4" cellspacing="0" bordercolor="#cbcbcb">
214 214
 									<tr>
215
-										<td width="20%" height="50px">登记编号</td>
215
+										<td width="20%" height="80px">登记编号</td>
216 216
                                         <td width="30%" id="printRegisterCode"></td>
217 217
                                         <td width="20%">登记类型</td>
218 218
 										<td width="30%" id="printType"></td>
219 219
 									</tr>
220 220
 									<tr>
221
-										<td>姓名</td>
221
+										<td height="80px">姓名</td>
222 222
 										<td id="printName"></td>
223
+										<td>性别</td>
224
+										<td id="printSex"></td>
223 225
 									</tr>
224 226
 									<tr>
225
-										<td height="50px">性别</td>
226
-										<td id="printSex"></td>
227
-										<td>省</td>
227
+										<td height="80px">省</td>
228 228
 										<td id="printProvince"></td>
229 229
 										<td>市</td>
230 230
 										<td id="printCity"></td>
231 231
 									</tr>
232 232
 									<tr>
233
-                                        <td height="50px">县/区</td>
233
+                                        <td height="80px">县/区</td>
234 234
 										<td id="printCounty"></td>
235 235
 										<td>详细地址</td>
236 236
                                         <td id="printAddress"></td>
237
-										<td>被投诉单位</td>
238
-										<td id="printComplained"></td>
239 237
 									</tr>
240 238
 									<tr>
241
-                                        <td height="50px">被投诉单位所属办事处</td>
239
+										<td height="80px">被投诉单位</td>
240
+										<td id="printComplained"></td>
241
+										<td >被投诉单位所属办事处</td>
242 242
 										<td id="printComplainedUnitOffice"></td>
243
-										<td>投诉案件承办人</td>
243
+									</tr>
244
+									<tr>
245
+										<td height="80px">投诉案件承办人</td>
244 246
                                         <td id="printComplaintUndertaker"></td>
245 247
                                         <td>咨询问题级别</td>
246 248
                                         <td id="printQuestionLevel"></td>
247 249
 									</tr>
248 250
 									<tr>
249
-										<td height="50px">咨询问题类型</td>
251
+										<td height="80px">咨询问题类型</td>
250 252
 										<td id="printQuestionType"></td>
251 253
                                         <td>市民分类</td>
252 254
 										<td id="printCitizenClassification"></td>
253
-										<td>是否立案</td>
254
-                                        <td id="printPutRecord"></td>
255 255
 									</tr>
256 256
 									<tr>
257
-										<td height="50px">登记内容/投诉事项</td>
257
+										<td height="80px">是否立案</td>
258
+										<td id="printPutRecord"></td>
259
+										<td >登记内容/投诉事项</td>
258 260
 										<td id="printContent"></td>
259
-										<td >来电备注</td>
260
-                                        <td id="printRemark"></td>
261
-                                        <td>登记人</td>
261
+									</tr>
262
+									<tr>
263
+										<td height="80px">来电备注</td>
264
+										<td id="printRemark"></td>
265
+										<td>登记人</td>
262 266
 										<td id="printCreateBy"></td>
263 267
 									</tr>
264 268
 									<tr>
265
-										<td height="50px">登记时间</td>
269
+										<td height="80px">登记时间</td>
266 270
 										<td id="printCreateOn"></td>
267 271
 									</tr>
268 272
 	                            </table>
@@ -306,7 +310,7 @@
306 310
 						$("#printCreateOn").text(con.F_CreateOn); //登记时间
307 311
 						$("#printComplainedUnitOffice").text(con.F_UnitOffice); //投诉单位办事处
308 312
 						$("#printComplaintUndertaker").text(con.F_CaseParty); //投诉案件承办人
309
-						$("#printQuestionLevel").text(con.F_CaseParty); //咨询问题级别
313
+						$("#printQuestionLevel").text(con.F_ProblemType); //咨询问题级别
310 314
 						$("#printQuestionType").text(con.F_ProblemTypeB); //咨询问题类型
311 315
 						$("#printCitizenClassification").text(con.F_CitizensType); //市民分类
312 316
 						$("#printPutRecord").text(con.F_PutRecord); //是否立案

+ 0 - 133
CallCenterWeb.UI/registrationManagement/registrationList/receive.html

@@ -1,133 +0,0 @@
1
-<!DOCTYPE html>
2
-<html>
3
-
4
-<head>
5
-    <meta charset="UTF-8">
6
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
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
-    <link rel="stylesheet" href="./css/registrationList.css">
12
-    <title>编辑</title>
13
-    <style>
14
-        ul li {
15
-            float: initial;
16
-            list-style: none;
17
-        }
18
-        .wrapper-content{
19
-            padding-right: 60px;
20
-        }
21
-        .common {
22
-            width: 100%;
23
-            text-align: center;
24
-            padding: 10px 15px;
25
-        }
26
-        .common table {
27
-            width: 100%;
28
-        }
29
-        .common table th {
30
-            padding: 5px 8px 5px 0;
31
-            text-align: right;
32
-        }
33
-	    .common table td {
34
-            padding: 6px 0 5px 10px;
35
-            text-align: left;
36
-            color: #717171;
37
-            line-height: 200%;
38
-        }
39
-        .common table td textarea {
40
-            width: 100%;
41
-            vertical-align: middle;
42
-            resize: none;
43
-            outline: none;
44
-        }
45
-        .form-group {
46
-            margin-bottom: 0;
47
-        }
48
-        .dropDownTree {
49
-            border: 1px solid #a9a9a9;
50
-            height: 27px;
51
-            width: 55%;
52
-            display: inline-block;
53
-            position: relative;
54
-            vertical-align: middle;
55
-        }
56
-        .dropDownTreeInput {
57
-            width: 100%;
58
-            height: 24px;
59
-            outline: none;
60
-            border: 0;
61
-            border-image-width: 0;
62
-            padding: 0;
63
-            padding-left: 3px;
64
-        }
65
-        .dropDownThreeIcon {
66
-            display: inline-block;
67
-            background: url(../../img/dropDown.png) no-repeat;
68
-            height: 100%;
69
-            background-position: center center;
70
-            width: 20px;
71
-            position: absolute;
72
-            right: 0;
73
-            top: 0px;
74
-            background-color: #f7bc8b;
75
-            cursor: pointer;
76
-        }
77
-        
78
-        .dropDownThreeIcon:hover {
79
-            background-color: #e6d523;
80
-        }
81
-        
82
-        .dropDownThree {
83
-            background: #fff;
84
-            position: absolute;
85
-            width: 100%;
86
-            border: 1px solid darkgrey;
87
-            right: 0;
88
-            top: 26px;
89
-            display: none;
90
-            height: 220px;
91
-            overflow-y: auto;
92
-            z-index: 99;
93
-        }
94
-    </style>
95
-</head>
96
-
97
-<body class="gray-bg">
98
-    <div class="clearfix wrapper wrapper-content animated fadeInRight">
99
-        <div class="common">
100
-            <table class="customerService">
101
-            	<tbody>
102
-                    <tr>
103
-                        <th>所属部门:</th>
104
-                        <td>
105
-                            <div class="dropDownTree">
106
-                                <input type="text" class="dropDownTreeInput" id="departmentTreeValue"  readonly="readonly"/>
107
-                                <i class="dropDownThreeIcon dropDownThreeIconDepartment"></i>
108
-                                <div class="dropDownThree dropDownThreeListDepartment">
109
-                                    <ul id="departmentTree" class="ztree">
110
-                                        
111
-                                    </ul>
112
-                                </div>
113
-                            </div>
114
-                        </td>
115
-                    </tr>
116
-                    <tr>
117
-                        <td colspan="8" style="text-align: center;">
118
-                            <button class="btns customerSubmit">保&nbsp;存</button>
119
-                        </td>
120
-                    </tr>
121
-                </tbody>
122
-            </table>
123
-        </div>
124
-    </div>
125
-
126
-    <script src="../../js/zTree/jquery.ztree.core.js"></script>
127
-    <script src="../../js/bootstrap-select/js/bootstrap-select.js"></script>
128
-    <script src="../../js/comboSelect/jquery.combo.select.js"></script>
129
-    <script src="../../js/laydate/laydate.js"></script>
130
-    <script src="./js/transfer.js"></script>
131
-</body>
132
-
133
-</html>

+ 1 - 1
CallCenterWeb.UI/registrationManagement/registrationList/registrationListReceive.html

@@ -110,7 +110,7 @@
110 110
                             <th data-field="CreateByName" data-align="center">创建人</th>
111 111
 							<th data-field="F_Remark" data-align="center">备注</th>
112 112
 							<th data-field="F_CreateOn" data-align="center">创建时间</th>
113
-							<th data-field="" data-align="center" data-formatter="formatterOperatingReceive">操作</th>
113
+							<!-- <th data-field="" data-align="center" data-formatter="formatterOperatingReceive">操作</th> -->
114 114
 						</tr>
115 115
 					</thead>
116 116
 				</table>

+ 1 - 1
CallCenterWeb.UI/registrationManagement/registrationList/registrationListTransfer.html

@@ -110,7 +110,7 @@
110 110
                             <th data-field="CreateByName" data-align="center">创建人</th>
111 111
 							<th data-field="F_Remark" data-align="center">备注</th>
112 112
 							<th data-field="F_CreateOn" data-align="center">创建时间</th>
113
-							<th data-field="" data-align="center" data-formatter="formatterOperatingTransfer">操作</th>
113
+							<th data-field="" data-align="center" data-formatter="formatterOperatingWaitingReceive">操作</th>
114 114
 						</tr>
115 115
 					</thead>
116 116
 				</table>