Kaynağa Gözat

登记信息

liuyifan 5 yıl önce
ebeveyn
işleme
3b1f280a20

+ 15 - 33
CallCenterWeb.UI/callScreen/call.js

@@ -348,21 +348,18 @@ function loadZSK() {
348 348
 	})
349 349
 }
350 350
 
351
-
352 351
 //获取历史记录
353 352
 function loadOld() {
354
-
355 353
     var type = $(".ldtp-cr ul.ld-service .cr-click").attr("itemtype");
356 354
     $(".complain").hide();
357 355
     $(".complain").eq(type).show();
358 356
     if (type == '2') {
359
-
360 357
         //先销毁表格
361 358
         $('#orderlist').bootstrapTable('destroy');
362 359
         //初始化表格,动态从服务器加载数据
363 360
         $("#orderlist").bootstrapTable({
364 361
             method: "get", //使用get请求到服务器获取数据
365
-            url: huayi.config.callcenter_url + "WorkOrder/GetList", //获取数据的Servlet地址
362
+            url: huayi.config.callcenter_url + "RegRecords/GetList", //获取数据的Servlet地址
366 363
             contentType: 'application/x-www-form-urlencoded',
367 364
             striped: true, //表格显示条纹
368 365
             pagination: true, //启动分页
@@ -436,34 +433,19 @@ function loadOld() {
436 433
     }
437 434
 }
438 435
 
439
-//格式化历史记录内处理方式
440
-function formatterDealType(val, row) {
441
-	//处理方式0:IVR处理1骚扰电话2自助服务3转值班电话4留言5呼损6人工处理
442
-	var str = '-';
443
-	switch(val) {
444
-		case 0:
445
-			str = 'IVR处理';
446
-			break;
447
-		case 1:
448
-			str = '骚扰电话';
449
-			break;
450
-		case 2:
451
-			str = '自助服务';
452
-			break;
453
-		case 3:
454
-			str = '转值班电话';
455
-			break;
456
-		case 4:
457
-			str = '留言';
458
-			break;
459
-		case 5:
460
-			str = '呼损';
461
-			break;
462
-		case 6:
463
-			str = '人工处理';
464
-			break;
465
-	}
466
-	return str;
436
+// 工单编号
437
+function View(val, row) {
438
+    return '<div class="imgs" ><a class="view" onclick= btn_register_details("' + row.F_ID + '") >' + val + '</a></div>';
439
+}
440
+
441
+function btn_register_details(id) {
442
+    layer.open({
443
+        type: 2,
444
+        title: '登记详情',
445
+        maxmin: true, //开启最大化最小化按钮
446
+        area: ['80%', '80%'],
447
+        content: '../registrationManagement/registrationList/detail.html?ids=' + id
448
+    });
467 449
 }
468 450
 
469 451
 function GetCallState(val) {
@@ -599,7 +581,7 @@ function saveCustomer() {
599 581
             token: $.cookie("token"),
600 582
             cusid: $("#khid").val(), //档案id
601 583
             direction: 0, // 0来电,1去电
602
-            type: $('#formRegistrationType input[name="type"]:checked').val(), //工单类型
584
+            type: $('#formRegistrationType input[name="type"]:checked').val(), //登记类型
603 585
             complained: $("#formComplainedUnit").val(), //被投诉单位
604 586
             content: $("#formRegistrationContent").val(), //登记内容/投诉事项
605 587
             remark: $("#formRegistrationRemark").val(), //备注

+ 8 - 25
CallCenterWeb.UI/callScreen/callScreen.html

@@ -573,7 +573,7 @@
573 573
 						<li style="border-bottom:1px solid #f95a83;" itemtype="0" class="cr-click">来电登记</li>
574 574
 						<li style="border-bottom:1px solid #243747;" itemtype="1">历史通话</li>
575 575
                         <li style="border-bottom:1px solid #69cbd0;" itemtype="2" >历史记录</li>
576
-						<li style="border-bottom:1px solid #69cbd0;" itemtype="2" >关联案件</li>
576
+						<li style="border-bottom:1px solid #69cbd0;" itemtype="3" >关联案件</li>
577 577
 					</ul>
578 578
                     <div class="ld-sercon">
579 579
                         <div class="complain" style="display: block;">
@@ -655,9 +655,7 @@
655 655
                                     </table>
656 656
                                 </div>
657 657
                             </div>
658
-
659 658
                         </div>
660
-
661 659
                         <div class="complain" style="display:none;">
662 660
                             <div class="ld-sercon-con clearfix">
663 661
                                 <div class="Ps-chaxun">
@@ -669,31 +667,16 @@
669 667
                                     <span class="searchbtn"></span>
670 668
                                 </div>
671 669
                                 <div id="zxlbs" class="table-responsive col-sm-12 tbold" style="padding-left: 0;">
672
-
673 670
                                     <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
674 671
                                         <thead>
675 672
                                             <tr>
676
-												<th data-field="F_WorkOrderId" data-class="W160" data-align="center">工单编号</th>
677
-												<th data-field="F_AreaName" data-class="W60" data-align="center">大区</th>
678
-												<th data-field="F_OfficName" data-class="W80" data-align="center">办事处</th>
679
-												<th data-field="F_CreateTime" data-class="W190" data-formatter="formatterCharacter25" data-align="center">投诉时间</th>
680
-												<th data-field="F_SerialNumber" data-class="W60" data-align="center">序号</th>
681
-												<th data-field="F_CusName" data-class="W100" data-align="center">姓名</th>
682
-												<th data-field="F_AddRess" data-class="W240" data-formatter="formatterCharacter15" data-align="center">地址</th>
683
-												<th data-field="F_CusPhone" data-class="W140" data-formatter="formatterCharacter15" data-align="center">联系电话</th>
684
-												<th data-field="F_ProductType" data-class="W100" data-align="center">产品代码</th>
685
-												<th data-field="F_ProductName" data-class="W180" data-formatter="formatterCharacter10" data-align="center">产品名称</th>
686
-												<th data-field="F_Specifications" data-class="W80" data-formatter="formatterCharacter8" data-align="center">规格</th>
687
-												<th data-field="F_ProductDate" data-class="W100" data-align="center">生产日期</th>
688
-												<th data-field="F_BatchNumber" data-class="W120" data-formatter="formatterCharacter12" data-align="center">产品编码</th>
689
-												<th data-field="F_Manufacturer" data-class="W100" data-formatter="formatterCharacter8" data-align="center">生产厂家</th>
690
-												<th data-field="F_ProblemCode" data-class="W80" data-align="center">问题代码</th>
691
-												<th data-field="F_QualityProblem" data-class="W180" data-formatter="formatterCharacter10" data-align="center">质量问题</th>
692
-												<th data-field="F_Notifications" data-class="W80" data-align="center">通知人</th>
693
-												<th data-field="F_ReceivingPerson" data-class="W80" data-align="center">接听人</th>
694
-												<th data-field="F_DealResult" data-class="W240" data-formatter="formatterCharacter15" data-align="center">落实情况</th>
695
-												<th data-field="F_State" data-class="W100" data-formatter="workOrderStateJudge" data-align="center">处理进度</th>
696
-												<th data-field="F_Type" data-class="W100" data-formatter="workOrderTypeJudge">工单类别</th>
673
+                                                <th data-field="F_RecCode" data-align="center" data-formatter="View">登记编号</th>
674
+                                                <th data-field="CusName" data-align="center">姓名</th>
675
+                                                <th data-field="CusPhone" data-align="center">联系电话</th>
676
+                                                <th data-field="F_Type" data-align="center">登记类型</th>
677
+                                                <th data-field="F_Content" data-align="center">登记内容</th>
678
+                                                <th data-field="CreateByName" data-align="center">创建人</th>
679
+                                                <th data-field="F_CreateOn" data-align="center">创建时间</th>
697 680
                                             </tr>
698 681
                                         </thead>
699 682
                                         <tbody class="list"></tbody>

+ 0 - 1
CallCenterWeb.UI/keHuManager/archivesManage/js/addOrEdit.js

@@ -58,7 +58,6 @@ $(document).ready(function() {
58 58
                 $("#formCountry option:selected").text(con.F_County);
59 59
                 $("#formAddress").val(con.F_Address);
60 60
                 $("#formSex input[name='sex'][value='" + con.F_Sex +"']").prop("checked","checked");
61
-                // $("#formSex input[name='sex']:checked").val(con.F_Sex);
62 61
                 $("#formRemark").val(con.F_Remarks);
63 62
 			}
64 63
 		})

+ 0 - 309
CallCenterWeb.UI/keHuManager/css/addCustomerFile.css

@@ -1,309 +0,0 @@
1
-/*编辑,添加,查看用户信息页面样式*/
2
-
3
-ul {
4
-	list-style: none;
5
-	padding: 0;
6
-}
7
-
8
-.container{
9
-	padding: 0;
10
-}
11
-
12
-.project_items {
13
-	margin: 30px auto;
14
-	display: none;
15
-}
16
-
17
-.project_items li label {
18
-	height: 34px;
19
-	line-height: 34px;
20
-}
21
-
22
-.project_items li textarea {
23
-	resize: none;
24
-}
25
-
26
-.project_items_title {
27
-	border-bottom: 1px dashed #e7e7e7;
28
-	padding-bottom: 10px;
29
-}
30
-
31
-.crop_left {
32
-	width: 40%;
33
-	float: left;
34
-}
35
-
36
-.crop_right {
37
-	width: 30%;
38
-	float: right;
39
-	margin-right: 25px;
40
-}
41
-
42
-.btnn {
43
-	background: #2f4050;
44
-	color: #fff;
45
-	padding: 3px 10px;
46
-	border: 0;
47
-	border-radius: 3px;
48
-	cursor: pointer;
49
-}
50
-
51
-.project_save {
52
-	width: 20%;
53
-}
54
-
55
-.tab_head {
56
-	position: relative;
57
-	background-color: #fff;
58
-	border-top: 1px solid #e7eaec;
59
-	margin-bottom: 15px;
60
-}
61
-
62
-.tab_head_left {
63
-	padding-left: 0;
64
-	margin: 0;
65
-	border-bottom: 1px solid #eef0f2;
66
-}
67
-
68
-.tab_head li {
69
-	float: left;
70
-	width: 10.5%;
71
-	text-align: center;
72
-	padding: 13px 0;
73
-	font-size: 16px;
74
-	color: #7b8a97;
75
-	cursor: pointer;
76
-}
77
-
78
-.tab_head .tab_head_active {
79
-	border-bottom: 3px solid #19aad0;
80
-	margin-bottom: -2px;
81
-	color: #19aad0;
82
-}
83
-
84
-.tab_head .tab_badge {
85
-	display: inline-block;
86
-	min-width: 15px;
87
-	min-height: 15px;
88
-	padding: 3px;
89
-	margin-top: -20px;
90
-	font-size: 14px;
91
-	font-weight: 700;
92
-	line-height: 1;
93
-	color: #fff !important;
94
-	text-align: center;
95
-	white-space: nowrap;
96
-	vertical-align: middle;
97
-	background-color: #18abd1;
98
-	border-radius: 50%;
99
-}
100
-
101
-.tabs_details {
102
-	display: none;
103
-	width: 100%;
104
-}
105
-
106
-.showtabs {
107
-	display: block;
108
-}
109
-
110
-.form-horizontal .radio-inline {
111
-	padding-top: 0;
112
-}
113
-
114
-.radio-inline input[type=radio],
115
-.checkbox-inline input[type=checkbox] {
116
-	margin-top: 10px;
117
-}
118
-
119
-.form-horizontal .form-group {
120
-	margin-left: 0;
121
-	margin-right: 0;
122
-}
123
-
124
-li.form-group>label {
125
-	text-align: right;
126
-}
127
-
128
-img.upload-img {
129
-	margin-top: 10px;
130
-	margin-bottom: 10px;
131
-	width: 100%;
132
-	height: 100%;
133
-}
134
-
135
-.seeAccountDetail .form-control[disabled],
136
-.seeAccountDetail .form-control[readonly] {
137
-	background-color: transparent;
138
-}
139
-
140
-.seeAccountDetail input,
141
-.seeAccountDetail textarea,
142
-.seeAccountDetail select {
143
-	border: none;
144
-	outline: none;
145
-	background: none;
146
-	-webkit-box-shadow: none;
147
-	box-shadow: none;
148
-}
149
-
150
-.seeAccountDetail select {
151
-	appearance: none;
152
-	-moz-appearance: none;
153
-	/* Firefox */
154
-	-webkit-appearance: none;
155
-	/* Safari 和 Chrome */
156
-}
157
-
158
-.user_portrait {
159
-	width: 100px;
160
-	height: 100px;
161
-	background-color: #EFEFEF;
162
-}
163
-
164
-.user_portrait img,
165
-.accountIdentification img,
166
-.accountOrganizationsPic img,
167
-.accountBusinessLicensePic img {
168
-	width: 100%;
169
-	height: 100%;
170
-	font-size: 0;
171
-	vertical-align: middle;
172
-}
173
-
174
-.accountIdentification {
175
-	width: 240px;
176
-	height: 151px;
177
-	background-color: #EFEFEF;
178
-}
179
-
180
-.accountOrganizationsPic {
181
-	width: 650px;
182
-	height: 450px;
183
-	background-color: #EFEFEF;
184
-}
185
-
186
-.accountBusinessLicensePic {
187
-	width: 650px;
188
-	height: 467px;
189
-	background-color: #EFEFEF;
190
-}
191
-
192
-.text_require {
193
-	color: red;
194
-	vertical-align: middle;
195
-	font-weight: 900;
196
-}
197
-
198
-.text-tips {
199
-	color: red;
200
-	line-height: 34px;
201
-}
202
-
203
-#upLinkImgs {
204
-	display: none;
205
-}
206
-
207
-#upLinkImgs .crop_left {
208
-	width: 60%;
209
-}
210
-
211
-
212
-/*#upLinkImgs .crop_left{
213
-	width: 37%;
214
-	margin-right: 0;
215
-	margin-left: 25px;
216
-}*/
217
-
218
-.aeBtns {
219
-	margin: 10px auto;
220
-	height: auto;
221
-}
222
-
223
-.aeBtns .form-control {
224
-	width: 280px;
225
-}
226
-
227
-.aeBtns li.form-group {
228
-	float: left;
229
-	width: 50%;
230
-	margin-bottom: 5px;
231
-}
232
-
233
-.aeBtns textarea {
234
-	resize: none;
235
-}
236
-
237
-.aeBtns .radio-inline input[type=radio] {
238
-	margin-top: 2px;
239
-}
240
-
241
-.drop_down {
242
-	position: relative;
243
-}
244
-
245
-.drop_down .caret {
246
-	position: absolute;
247
-	right: 24px;
248
-	top: 15px;
249
-}
250
-
251
-.form-group {
252
-	margin-bottom: 5px;
253
-}
254
-
255
-
256
-/*添加或修改菜单*/
257
-
258
-.icon-color {
259
-	color: #1aaad0;
260
-	padding-right: 5px;
261
-	vertical-align: middle;
262
-	font-size: 30px;
263
-}
264
-
265
-.select2-container--default .select2-results__option--highlighted[aria-selected] {
266
-	background-color: rgba(0, 0, 0, .5) !important;
267
-}
268
-
269
-.add_or_edit_menu .form-group {
270
-	margin-bottom: 5px;
271
-}
272
-
273
-#reginsTreeView {
274
-	position: absolute;
275
-	background-color: #fff;
276
-	z-index: 4;
277
-	width: 92%;
278
-	max-height: 256px;
279
-	overflow-y: auto;
280
-}
281
-
282
-.contactList_item {
283
-	box-shadow: 0px 2px 7px #eee;
284
-	border-radius: 2px;
285
-	padding: 5px;
286
-	margin-bottom: 10px;
287
-}
288
-
289
-.isMain{
290
-	height: 30px;
291
-  line-height: 32px;
292
-  border-left: 1px solid #E5E6E7;
293
-  padding-left: 10px;
294
-}
295
-
296
-#customerTreeView{
297
-	position: absolute;
298
-	left: 15px;
299
-	width: 97%;
300
-	top: 32px;
301
-	background-color: #fff;
302
-	z-index: 4;
303
-	max-height: 256px;
304
-	overflow-y: auto;
305
-}
306
-
307
-.office-title{
308
-	width: 8.4%;
309
-}

+ 0 - 131
CallCenterWeb.UI/keHuManager/css/kehuManger.css

@@ -1,131 +0,0 @@
1
-.clearfix:after {
2
-	content: "";
3
-	display: block;
4
-	clear: both;
5
-}
6
-
7
-.boxCon {
8
-	width: 100%;
9
-	background: #fff;
10
-	text-align: center;
11
-	padding: 10px 15px;
12
-	height: auto;
13
-	overflow-y: auto;
14
-}
15
-
16
-.boxCon>div {
17
-	padding: 15px 0;
18
-}
19
-
20
-.boxCon table th {
21
-	padding: 5px 8px 5px 0;
22
-	text-align: right;
23
-	width: 32%;
24
-}
25
-
26
-.boxCon table td {
27
-	padding: 6px 0 5px 10px;
28
-	text-align: left;
29
-	color: #717171;
30
-	line-height: 200%;
31
-}
32
-
33
-.kong {
34
-	display: none;
35
-}
36
-
37
-.bootstrap-select>.dropdown-toggle.bs-placeholder {
38
-	background-color: #ffffff!important;
39
-	border-color: #e5e6e7!important;
40
-}
41
-
42
-.filter-option {
43
-	color: #676b6d;
44
-}
45
-
46
-.form-inline {
47
-	display: inline-block;
48
-}
49
-
50
-.bootstrap-select>.dropdown-toggle.btn-default {
51
-	background-color: #ffffff!important;
52
-	border-color: #e5e6e7!important;
53
-	color: #555;
54
-}
55
-
56
-.testInput-list {
57
-	position: absolute;
58
-	z-index: 999;
59
-	border: 1px solid rgb(204, 204, 204);
60
-	background-color: rgb(255, 255, 255);
61
-	z-index: 99999;
62
-	padding-left: 0;
63
-	width: 97.6%;
64
-	display: none;
65
-}
66
-
67
-.testInput-list li {
68
-	padding: 5px;
69
-	list-style: none;
70
-}
71
-
72
-.testInput-list li:hover {
73
-	background-color: #E43926;
74
-	color: #fff;
75
-}
76
-
77
-#testInput4 {
78
-	outline: none;
79
-	border: 1px solid #ccc;
80
-	padding-left: 10px;
81
-	outline-color: #fff;
82
-}
83
-
84
-.addJsz_posi {
85
-	position: absolute;
86
-	right: -9px;
87
-	top: 7px;
88
-	color: red;
89
-}
90
-
91
-.addJsz_select {
92
-	
93
-	position: relative;
94
-}
95
-.addJsz_select_cus{
96
-	width: 180px;
97
-	position: relative;
98
-}
99
-.addTree {
100
-    background: #fff;
101
-    position: absolute;
102
-    width: 100%;
103
-    border: 1px solid darkgrey;
104
-    right: 0;
105
-    top: 32px;
106
-    display: none;
107
-}
108
-.xl {
109
-	display: inline-block;
110
-	background: url("../../img/dropDown.png") no-repeat;
111
-	height: 32px;
112
-	background-position: center center;
113
-	width: 20px;
114
-	position: absolute;
115
-	right: -2px;
116
-	top: 0px;
117
-	background-color: #f7bc8b;
118
-	cursor: pointer;
119
-}
120
-.inps1{
121
-	padding-left: 10px;
122
-}
123
-.inps2,.inps3,.inps4{
124
-	display: none;
125
-}
126
-
127
-
128
-
129
-
130
-
131
-

+ 473 - 0
CallCenterWeb.UI/registrationManagement/registrationList/css/registrationList.css

@@ -0,0 +1,473 @@
1
+body {
2
+    font-family: "微软雅黑";
3
+    font-size: 14px;
4
+}
5
+
6
+.clearfix:after {
7
+    content: "";
8
+    display: block;
9
+    clear: both;
10
+}
11
+
12
+ul li {
13
+    list-style: none;
14
+    float: left;
15
+}
16
+
17
+.fr {
18
+    float: right;
19
+}
20
+
21
+.size-12 {
22
+    font-size: 12px;
23
+}
24
+
25
+.size-13 {
26
+    font-size: 13px;
27
+}
28
+/*标头*/
29
+
30
+.th-box {
31
+	margin-top: 10px;
32
+    width: 100%;
33
+    padding: 5px;
34
+    border-bottom: 1px solid #e7eaec;
35
+}
36
+
37
+.th-bar {
38
+    height: 40px;
39
+}
40
+
41
+.sc_btn {
42
+    display: block;
43
+    padding: 7px;
44
+    color: #FFF;
45
+    float: left;
46
+    border-radius: 5px;
47
+}
48
+.sc_btn:hover{
49
+	color:#fff;
50
+}
51
+.seach-box ul {
52
+    overflow: hidden;
53
+}
54
+
55
+    .seach-box ul li {
56
+        margin-right: 5px;
57
+    }
58
+
59
+.photo {
60
+    width: 128px;
61
+	padding: 2px 2PX 2PX 10PX;
62
+	height: 27px;
63
+	border: 1px solid #ebebeb;
64
+	color: #1ab394;
65
+	outline: none;
66
+	vertical-align: middle;
67
+
68
+}
69
+
70
+.selects {
71
+    width: 177px;
72
+    background-color: #FFF;
73
+    background-image: none;
74
+    border: 1px solid #e5e6e7;
75
+    border-radius: 1px;
76
+    color: inherit;
77
+    padding: 6px 12px;
78
+}
79
+
80
+#Select:focus {
81
+    outline: none;
82
+    border-color: #00BFFF;
83
+}
84
+
85
+input:focus {
86
+    outline: none;
87
+    border-color: #00BFFF;
88
+}
89
+
90
+.spiner-example {
91
+    position: absolute;
92
+    top: 50%;
93
+    left: 50%;
94
+    z-index: 111;
95
+    margin-left: -85px;
96
+    margin-top: -100px;
97
+    display: none;
98
+}
99
+
100
+.sk-spinner-three-bounce {
101
+    width: 170px !important;
102
+}
103
+
104
+.sk-spinner p {
105
+    display: inline-block;
106
+    font-size: 18px;
107
+    margin-left: 10px;
108
+}
109
+
110
+#goods tr th {
111
+    text-align: center;
112
+}
113
+
114
+#goods td {
115
+    text-align: center;
116
+}
117
+
118
+.inputs {
119
+    width: 90px;
120
+}
121
+
122
+.max_width li {
123
+    width: 50%;
124
+    margin: 10px 0;
125
+}
126
+
127
+.gjsu label {
128
+    width: 100px;
129
+    margin-right: 10px;
130
+    text-align: right;
131
+}
132
+
133
+.add_time {
134
+    text-align: center;
135
+    margin-bottom: 20px;
136
+}
137
+
138
+.imgs {
139
+    color: rgb(0, 128, 0);
140
+    cursor: pointer;
141
+}
142
+
143
+.imgs a:hover {
144
+    color: #e43926;
145
+}
146
+
147
+.ckxq ul li {
148
+    padding: 5px 15px;
149
+    cursor: pointer;
150
+}
151
+
152
+.Active {
153
+    background: #1ab394;
154
+    color: #FFFFFF;
155
+}
156
+
157
+.tbodys th {
158
+    text-align: right;
159
+    /*background: rgb(214,236,255);*/
160
+}
161
+
162
+.tbodys td {
163
+    text-align: left;
164
+}
165
+
166
+.tbodys input {
167
+    background-color: #FFF;
168
+    background-image: none;
169
+    border-radius: 1px;
170
+    color: inherit;
171
+    padding: 1px 6px;
172
+    border: 1px solid #d7d7d7;
173
+}
174
+
175
+.Hidens {
176
+    display: none;
177
+}
178
+
179
+textarea {
180
+    border: 1px solid #d7d7d7;
181
+    outline: none;
182
+}
183
+
184
+.ckxq {
185
+    padding: 5px;
186
+    border: 1px solid #e5e6e7;
187
+}
188
+
189
+.ckxq_ul {
190
+    margin-top: 10px;
191
+}
192
+
193
+#gdxq_table > tbody > tr > th {
194
+    padding: 4px;
195
+    width: 100px;
196
+}
197
+
198
+#gdxq_table > tbody > tr > td {
199
+    padding: 4px;
200
+    width: 200px;
201
+}
202
+
203
+._table1 > tbody > tr > th {
204
+    text-align: right;
205
+    padding: 4px !important;
206
+}
207
+
208
+._table1 > tbody > tr > td {
209
+    padding: 4px !important;
210
+}
211
+
212
+
213
+.t-shade {
214
+    position: fixed;
215
+    top: 0;
216
+    left: 0;
217
+    width: 100%;
218
+    height: 100%;
219
+    background: rgba(0, 0, 0, 0.48);
220
+    z-index: 10004;
221
+    display: none;
222
+}
223
+
224
+.shade_k {
225
+    z-index: 10005;
226
+    width: 55%;
227
+    margin: 2% auto;
228
+    background-color: #fff;
229
+    box-shadow: 1px 1px 50px rgba(0, 0, 0, .3);
230
+    display: none;
231
+    border-radius: 5px;
232
+}
233
+
234
+.shade_title {
235
+    padding: 0 80px 0 20px;
236
+    height: 42px;
237
+    line-height: 42px;
238
+    border-bottom: 1px solid #eee;
239
+    font-size: 16px;
240
+    color: #FFFFFF;
241
+    overflow: hidden;
242
+    background-color: #1ab394;
243
+    border-radius: 2px 2px 0 0;
244
+    position: relative;
245
+    border-top-left-radius: 5px;
246
+    border-top-right-radius: 5px;
247
+}
248
+
249
+.setwin {
250
+    position: absolute;
251
+    right: 15px;
252
+    top: 5px;
253
+    font-size: 0;
254
+    line-height: initial;
255
+}
256
+
257
+    .setwin a {
258
+        position: relative;
259
+        width: 16px;
260
+        height: 16px;
261
+        font-size: 20px;
262
+        color: #fff;
263
+    }
264
+
265
+.shade_content {
266
+    overflow-y: auto;
267
+    position: relative;
268
+    padding-bottom: 50px;
269
+}
270
+
271
+.sa_title {
272
+    padding-left: 20px;
273
+    height: 35px;
274
+    line-height: 35px;
275
+    border-bottom: 1px solid #D7D7D7;
276
+}
277
+
278
+.inpBox {
279
+    border: 1px solid #e5e6e7;
280
+    height: 27px;
281
+    width: 170px;
282
+    display: inline-block;
283
+    position: relative;
284
+    vertical-align: middle;
285
+}
286
+
287
+.inps {
288
+    width: 167px;
289
+    height: 24px;
290
+    outline: none;
291
+    border: 0;
292
+    border-image-width: 0;
293
+    padding: 0;
294
+    padding-left: 3px;
295
+}
296
+
297
+.search-ztree-name{
298
+    width: 260px !important;
299
+    height: 34px;
300
+    background-color: #FFF !important;
301
+    border: 1px solid #e5e6e7;
302
+}
303
+
304
+.wh_btn input {
305
+    background: #1ab394;
306
+    color: #fff;
307
+    padding: 6px 10px;
308
+    outline: none;
309
+    font-size: 12px;
310
+    margin-left: 15px;
311
+    border: 0;
312
+    border-radius: 3px;
313
+    box-sizing: border-box;
314
+}
315
+
316
+.wh_btn {
317
+    width: 80%;
318
+    text-align: center;
319
+    padding-top: 20px;
320
+    margin: 0 auto;
321
+    margin-bottom: 30px;
322
+}
323
+
324
+.cx {
325
+    display: block;
326
+}
327
+
328
+/*超时*/
329
+.overTime {
330
+    width: 15px;
331
+    height: 15px;
332
+    border-radius: 50%;
333
+    background: #e43926;
334
+    margin: 0 auto;
335
+}
336
+
337
+.Ctime {
338
+    width: 20px;
339
+    height: 20px;
340
+    /*border-radius: 50%;*/
341
+    background:url(../../img/qigan.png) no-repeat;
342
+    margin: 0 auto;
343
+}
344
+
345
+.Closed {
346
+    font-size: 30px;
347
+    float: right;
348
+    position: relative;
349
+    top: -12px;
350
+    right: 5px;
351
+    cursor: pointer;
352
+}
353
+
354
+.warning{
355
+	color: #eea236;
356
+}
357
+.primary{
358
+	color: #1ab394;
359
+}
360
+.defauli{
361
+	color:#bababa;
362
+}
363
+
364
+.plasechoce{
365
+	margin: 0;
366
+    padding-left: 10px;
367
+    padding-top: 5px;
368
+} 
369
+.plasechoce:hover{
370
+	background: #ebebeb;
371
+}
372
+
373
+.tool_downs {
374
+	padding: 0;
375
+	margin: 0;
376
+}
377
+
378
+.tool_downs li {
379
+	float: none;
380
+	display: inline-block;
381
+}
382
+.tool_downs li .aBtn {
383
+	color: #337ab7;
384
+    width: auto;
385
+    padding: 0 3px;
386
+    display: inline-block;
387
+    font-size: 14px;
388
+}
389
+
390
+/* 时间输入框宽度 */
391
+.search_time {
392
+	width: 228px!important;
393
+}
394
+
395
+/* 搜索导出按钮 */
396
+.btn-position{
397
+	float: right
398
+}
399
+
400
+/* 
401
+附件
402
+*/
403
+
404
+.img-box {
405
+	float: left;
406
+	width: 120px;
407
+	height: 120px;
408
+	background-size: 100% 100%;
409
+	display: inline-block;
410
+	position: relative;
411
+	border-radius: 5px;
412
+	margin-right: 10px;
413
+	border: solid 1px #e8e8e8;
414
+	cursor: pointer;
415
+	text-align: center;
416
+	line-height: 120px
417
+}
418
+
419
+.img-box .img_mask {
420
+	display: none;
421
+	position: absolute;
422
+	left: 0;
423
+	top: 0;
424
+	background-color: rgba(0, 0, 0, .3);
425
+	width: 100%;
426
+	height: 22px;
427
+	z-index: 5;
428
+}
429
+
430
+.image-item {
431
+	width: 120px;
432
+	height: 120px;
433
+	background-size: 100% 100%;
434
+	display: inline-block;
435
+	position: relative;
436
+	border-radius: 5px;
437
+	margin-right: 10px;
438
+	cursor: pointer;
439
+}
440
+
441
+.img-box .img_mask i {
442
+	position: absolute;
443
+	right: 5px;
444
+	top: 5px;
445
+	display: inline-block;
446
+	width: 13px;
447
+	height: 12px;
448
+	cursor: pointer;
449
+	color: #fff;
450
+}
451
+
452
+.img-box:hover .img_mask {
453
+	display: block;
454
+}
455
+
456
+.img_filename{
457
+    font-size: 14px;
458
+	/* display: block; */
459
+    width: 100%;
460
+    height: calc(100% - 22px);
461
+}
462
+.layui-layer-imguide {
463
+    display: block !important;
464
+}
465
+
466
+.layui-layer-photos .layui-layer-phimg {
467
+    height: 100%;
468
+}
469
+
470
+.layui-layer-photos .layui-layer-phimg img {
471
+    height: 100%;
472
+}
473
+

+ 104 - 0
CallCenterWeb.UI/registrationManagement/registrationList/detail.html

@@ -0,0 +1,104 @@
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
+    <title></title>
10
+    <style>
11
+        ul li {
12
+            float: initial;
13
+            list-style: none;
14
+        }
15
+        .tableDetail {
16
+            padding: 30px 20px
17
+        }
18
+        .tableDetail table tr th,
19
+        .tableDetail table tr td {
20
+            text-align: center;
21
+        }
22
+    </style>
23
+</head>
24
+
25
+<body class="gray-bg">
26
+    <div class="tableDetail">
27
+        <table border="0" class="table table-bordered  table-hover" style="width: 100%;">
28
+            <tbody class="tbodys">
29
+                <tr>
30
+                    <th>登记编号:</th>
31
+                    <td>
32
+                        <span id="detailRegisterCode"></span>
33
+                    </td>
34
+                </tr>
35
+                <tr>
36
+                    <th>登记类型:</th>
37
+                    <td>
38
+                        <span id="detailType"></span>
39
+                    </td>
40
+                    <th>姓名:</th>
41
+                    <td>
42
+                        <span id="detailName"></span>
43
+                    </td>
44
+                    <th>电话:</th>
45
+                    <td>
46
+                        <span id="detailPhone"></span>
47
+                    </td>
48
+                </tr>
49
+                <tr>
50
+                    <th>性别:</th>
51
+                    <td>
52
+                        <span id="detailSex"></span>
53
+                    </td>
54
+                    <th>省:</th>
55
+                    <td>
56
+                        <span id="detailProvince"></span>
57
+                    </td>
58
+                    <th>市:</th>
59
+                    <td>
60
+                        <span id="detailCity"></span>
61
+                    </td>
62
+                </tr>
63
+                <tr>
64
+                    <th>县/区:</th>
65
+                    <td>
66
+                        <span id="detailCounty"></span>
67
+                    </td>
68
+                    <th>详细地址:</th>
69
+                    <td>
70
+                        <span id="detailAddress"></span>
71
+                    </td>
72
+                    <th>被投诉单位:</th>
73
+                    <td>
74
+                        <span id="detailComplained"></span>
75
+                    </td>
76
+                </tr>
77
+                <tr>
78
+                    <th>登记内容/投诉事项:</th>
79
+                    <td>
80
+                        <span id="detailContent"></span>
81
+                    </td>
82
+                    <th>来电备注:</th>
83
+                    <td>
84
+                        <span id="detailRemark"></span>
85
+                    </td>									
86
+                </tr>
87
+                <tr>
88
+                    <th>登记人:</th>
89
+                    <td>
90
+                        <span id="detailCreateBy"></span>
91
+                    </td>
92
+                    <th>登记时间:</th>
93
+                    <td>
94
+                        <span id="detailCreateOn"></span>
95
+                    </td>
96
+                </tr>
97
+            </tbody>
98
+        </table>
99
+    </div>
100
+        
101
+	<script src="./js/detail.js"></script>
102
+</body>
103
+
104
+</html>

+ 224 - 0
CallCenterWeb.UI/registrationManagement/registrationList/edit.html

@@ -0,0 +1,224 @@
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="../../css/WorkOrder/jquery.editable-select.css" />
10
+    <link rel="stylesheet" href="../../js/comboSelect/combo.select.css" />
11
+    <link rel="stylesheet" href="../../css/init.css" />
12
+    <link rel="stylesheet" href="./css/registrationList.css">
13
+    <title>编辑</title>
14
+    <style>
15
+        ul li {
16
+            float: initial;
17
+            list-style: none;
18
+        }
19
+
20
+        .common {
21
+            width: 100%;
22
+            text-align: center;
23
+            padding: 10px 15px;
24
+        }
25
+
26
+        .common table {
27
+            width: 100%;
28
+        }
29
+
30
+        .common table th {
31
+            padding: 5px 8px 5px 0;
32
+            text-align: right;
33
+        }
34
+
35
+	    .common table td {
36
+            padding: 6px 0 5px 10px;
37
+            text-align: left;
38
+            color: #717171;
39
+            line-height: 200%;
40
+        }
41
+
42
+        .common table td textarea {
43
+            width: 100%;
44
+            vertical-align: middle;
45
+            resize: none;
46
+            outline: none;
47
+        }
48
+
49
+        .time-box {
50
+            display: inline-block;
51
+            position: relative;
52
+            width: 100%;
53
+        }
54
+
55
+        i.tub {
56
+            position: absolute;
57
+            right: 8px;
58
+            top: 8px;
59
+            font-size: 18px;
60
+            color: #00a0ca;
61
+        }
62
+
63
+        .treeList {
64
+            top: 34px !important;
65
+            border: 1px solid #e5e6e7 !important;
66
+            border-top: 0;
67
+            height: auto !important;
68
+        }
69
+
70
+        #TreeDemo li {
71
+            float: initial;
72
+        }
73
+
74
+        .addTree1 {
75
+            background: #fff;
76
+            position: absolute;
77
+            width: 100%;
78
+            border: 1px solid darkgrey;
79
+            right: 0;
80
+            top: 26px;
81
+            z-index: 10;
82
+            display: none;
83
+            height: 100px;
84
+            overflow-y: auto;
85
+        }
86
+
87
+        .form-group {
88
+            margin-bottom: 0;
89
+        }
90
+
91
+        .filter-option {
92
+            color: #676b6d;
93
+        }
94
+
95
+        .testInput-list {
96
+            position: absolute;
97
+            z-index: 999;
98
+            border: 1px solid rgb(204, 204, 204);
99
+            background-color: rgb(255, 255, 255);
100
+            z-index: 99999;
101
+            padding-left: 0;
102
+            width: 97.6%;
103
+            display: none;
104
+            height: 400px;
105
+            overflow-y: auto;
106
+        }
107
+
108
+	    .testInput-list li {
109
+            padding: 5px;
110
+        }
111
+
112
+        .testInput-list li:hover {
113
+            background-color: #E43926;
114
+            color: #fff;
115
+        }
116
+
117
+        .ke-container {
118
+            width: 100% !important;
119
+        }
120
+
121
+        button[disabled] {
122
+            background-color: #999;
123
+        }
124
+        .complainDiv2{
125
+			display: none;
126
+		}
127
+		.deal{
128
+			display: none;
129
+		}
130
+		
131
+		.r_order_type {
132
+			text-align: left;
133
+		}
134
+		
135
+		.radio-inline {
136
+			padding-left: 2px;
137
+		}
138
+		.radio-input{
139
+			vertical-align: -2px;
140
+		}
141
+		
142
+		#order_isover{
143
+			width: 100%;
144
+		}
145
+		
146
+		#isAssign{
147
+			width: 100%;
148
+		}
149
+		
150
+		#duplicate{
151
+			width: 100%;
152
+		}
153
+        .r_order_type{
154
+            width: 100%;
155
+        }
156
+    </style>
157
+</head>
158
+
159
+<body class="gray-bg">
160
+    <div class="clearfix wrapper wrapper-content animated fadeInRight">
161
+        <div class="common">
162
+            <table class="customerService">
163
+            	<tbody>
164
+                    <tr>
165
+						<th>工单类型:</th>
166
+                        <td>
167
+                        	<div id="formRegistrationType" class="col-md-6 r_order_type">
168
+                        		<input class="radio-input" id="registrationRadioAdvisory" type="radio" name="type" value="1" checked="checked">
169
+								<label class="radio-inline" for="registrationRadioAdvisory">
170
+					   				咨询
171
+								</label>
172
+								<input class="radio-input" id="registrationRadioComplaint" type="radio" name="type" value="2" >
173
+								<label class="radio-inline" for="registrationRadioComplaint">
174
+					   				投诉
175
+								</label>
176
+								<input class="radio-input" id="registrationRadioAskHelp" type="radio" name="type" value="3" />
177
+								<label class="radio-inline" for="registrationRadioAskHelp">
178
+									求助
179
+                                </label>
180
+                                <input class="radio-input" id="registrationRadioOther" type="radio" name="type" value="4" />
181
+								<label class="radio-inline" for="registrationRadioOther">
182
+									其他
183
+								</label>
184
+							</div>
185
+                        </td>
186
+					</tr>
187
+                    <tr>
188
+                        <th>被投诉单位:</th>
189
+                        <td>
190
+                            <div class="form-group">
191
+                                <input type="text" class="form-control" id="formComplainedUnit" />
192
+                            </div>
193
+                        </td>
194
+                        <th>登记内容/投诉事项:</th>
195
+                        <td>
196
+                            <div class="form-group">
197
+                                <input type="text" class="form-control" id="formRegistrationContent" />
198
+                            </div>
199
+                        </td>
200
+                    </tr>
201
+                    <tr class="workOrderTypeForm">
202
+                        <th>备注:</th>
203
+                        <td colspan="7">
204
+                            <textarea name="" rows="4" cols="" id="formRegistrationRemark" style="margin-top:10px;"></textarea>
205
+                        </td>
206
+                    </tr>
207
+                    <tr>
208
+                        <td colspan="8" style="text-align: center;">
209
+                            <button class="btns customerSubmit">保&nbsp;存</button>
210
+                        </td>
211
+                    </tr>
212
+                </tbody>
213
+            </table>
214
+        </div>
215
+    </div>
216
+
217
+    <script src="../js/bootstrap-select/js/bootstrap-select.js"></script>
218
+    <script src="../js/WorkOrder/jquery.editable-select.js"></script>
219
+    <script src="../js/comboSelect/jquery.combo.select.js"></script>
220
+    <script src="../js/laydate/laydate.js"></script>
221
+    <script src="./js/edit.js"></script>
222
+</body>
223
+
224
+</html>

+ 39 - 0
CallCenterWeb.UI/registrationManagement/registrationList/js/detail.js

@@ -0,0 +1,39 @@
1
+var token = $.cookie("token");
2
+var id = helper.request.queryString("ids");
3
+var cusid;
4
+$(document).ready(function() {
5
+    getRegisterDetail()
6
+})
7
+
8
+function getRegisterDetail() {
9
+    $.get(huayi.config.callcenter_url + 'RegRecords/GetDetails', {
10
+        id: id,
11
+        "token": $.cookie("token")
12
+    }, function(result) {
13
+        result = $.parseJSON(result);
14
+        if(result.state.toLowerCase() == "success") {
15
+            var con = result.data.model;
16
+            var conCus = result.data.cusmodel
17
+            $("#detailRegisterCode").text(con.F_RecCode)
18
+            $("#detailType").text(formatterRegisterType(con.F_Type)); //登记类型
19
+            $("#detailName").text(conCus.F_Name); //姓名
20
+            $("#detailPhone").text(conCus.F_Phone); //电话
21
+            $("#detailSex").text(conCus.F_Sex); //性别
22
+            $("#detailProvince").text(conCus.F_Province); //省
23
+            $("#detailCity").text(conCus.F_City); //市
24
+            $("#detailCounty").text(conCus.F_County); //县/区
25
+            $("#detailAddress").text(conCus.F_Address); //详细地址
26
+            $("#detailComplained").text(con.F_Complained); //被投诉单位
27
+            $("#detailContent").text(con.F_Content); //登记内容/投诉事项
28
+            $("#detailRemark").text(con.F_Remark); //备注
29
+            $("#detailCreateBy").text(con.F_CreateBy); //登记人
30
+            $("#detailCreateOn").text(con.F_CreateOn); //登记时间
31
+        }
32
+    })
33
+}
34
+
35
+//登记类型
36
+function formatterRegisterType(val) {
37
+    var formatterRegisterTypeArr = ["", "咨询", "投诉", "求助", "其他"]
38
+    return formatterRegisterTypeArr[val]
39
+}

+ 60 - 0
CallCenterWeb.UI/registrationManagement/registrationList/js/edit.js

@@ -0,0 +1,60 @@
1
+var token = $.cookie("token");
2
+var id = helper.request.queryString("ids");
3
+var cusid;
4
+$(document).ready(function() {
5
+    getRegisterDetail()
6
+})
7
+
8
+//保存按钮
9
+$('.customerSubmit').click(function() {
10
+    if($('#customer_layer').val() == '') {
11
+        layer.confirm('请输入客户姓名!', {
12
+            btn: ['确定']
13
+        });
14
+        return;
15
+    }
16
+    if($('#customer_bedept').val() == '') {
17
+        layer.confirm('请输入客户电话!', {
18
+            btn: ['确定']
19
+        });
20
+        return;
21
+    }
22
+    $.post(huayi.config.callcenter_url + 'RegRecords/Save', {
23
+        "token": $.cookie("token"),
24
+        id:id,
25
+        token: $.cookie("token"),
26
+        cusid: cusid, //档案id
27
+        direction: 0, // 0来电,1去电
28
+        type: $('#formRegistrationType input[name="type"]:checked').val(), //登记类型
29
+        complained: $("#formComplainedUnit").val(), //被投诉单位
30
+        content: $("#formRegistrationContent").val(), //登记内容/投诉事项
31
+        remark: $("#formRegistrationRemark").val(), //备注
32
+    }, function(result) {
33
+        result = $.parseJSON(result);
34
+        if(result.state.toLowerCase() == "success") {
35
+            $("#activess").val(result.data);
36
+            var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
37
+            parent.layer.close(index); //再执行关闭
38
+            parent.layer.msg("保存成功!");
39
+            parent.table.bootstrapTable('refresh');
40
+        }
41
+    })
42
+})
43
+
44
+
45
+function getRegisterDetail() {
46
+    $.get(huayi.config.callcenter_url + 'RegRecords/GetDetails', {
47
+        id: id,
48
+        "token": $.cookie("token")
49
+    }, function(result) {
50
+        result = $.parseJSON(result);
51
+        if(result.state.toLowerCase() == "success") {
52
+            var con = result.data.model;
53
+            cusid = con.F_CusID;
54
+            $("#formRegistrationType input[name='type'][value='" + con.F_Type +"']").prop("checked","checked"); //登记类型
55
+            $("#formComplainedUnit").val(con.F_Complained); //被投诉单位
56
+            $("#formRegistrationContent").val(con.F_Content); //登记内容/投诉事项
57
+            $("#formRegistrationRemark").val(con.F_Remark); //备注
58
+        }
59
+    })
60
+}

+ 123 - 0
CallCenterWeb.UI/registrationManagement/registrationList/js/registrationList.js

@@ -0,0 +1,123 @@
1
+$(document).ready(function(){
2
+    initTable()
3
+    laydate.render({
4
+        elem: '#greetingTimes',
5
+        range: '~',
6
+        theme: '#1ab394',
7
+    });
8
+    laydate.render({
9
+        elem: '#duplicateTime',
10
+        range: '~',
11
+        theme: '#1ab394',
12
+    });
13
+    $(".search").click(function() {
14
+        initTable()
15
+    })
16
+});
17
+
18
+
19
+function initTable() {
20
+    //先销毁表格
21
+    $('#registerList').bootstrapTable('destroy');
22
+    //初始化表格,动态从服务器加载数据
23
+    $("#registerList").bootstrapTable({
24
+        method: "post", //使用get请求到服务器获取数据
25
+        url: huayi.config.callcenter_url + "RegRecords/GetList", //获取数据的Servlet地址
26
+        contentType: 'application/x-www-form-urlencoded',
27
+        striped: true, //表格显示条纹
28
+        pagination: true, //启动分页
29
+        pageSize: 10, //每页显示的记录数
30
+        pageNumber: 1, //当前第几页
31
+        pageList: [10, 20, 50, 100], //记录数可选列表
32
+        search: false, //是否启用查询
33
+        showColumns: false, //显示下拉框勾选要显示的列
34
+        showRefresh: false, //显示刷新按钮
35
+        sidePagination: "server", //表示服务端请求
36
+        fixedColumns: true,
37
+        fixedNumber: 14,
38
+        //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
39
+        //设置为limit可以获取limit, offset, search, sort, order
40
+        queryParamsType: "undefined",
41
+        queryParams: function queryParams(params) { //设置查询参数
42
+            var param = {
43
+                token: $.cookie("token"),
44
+                key: $("#searchKeyword").val(), //工单编号
45
+                direction: $("#searchDirection").val(), //方向
46
+                pageindex: params.pageNumber, //页码
47
+                pagesize: params.pageSize, //条数
48
+            };
49
+            return param;
50
+        },
51
+        onLoadSuccess: function() { //加载成功时执行
52
+            //layer.msg("加载成功");
53
+        },
54
+        onLoadError: function() { //加载失败时执行
55
+            //layer.msg("加载数据失败", { time: 1500, icon: 2 });
56
+        }
57
+    });
58
+}
59
+
60
+// 工单编号
61
+function View(val, row) {
62
+    return '<div class="imgs" ><a class="view" onclick= btn_register_details("' + row.F_ID + '") >' + val + '</a></div>';
63
+}
64
+
65
+//登记类型
66
+function formatterRegisterType(val, row) {
67
+    var formatterRegisterTypeArr = ["", "咨询", "投诉", "求助", "其他"]
68
+    return formatterRegisterTypeArr[val]
69
+}
70
+
71
+function formatterOperating(val, row) {
72
+    return '<ul class="tool_downs">' +
73
+		'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_edit_' + row.F_ID + '" onclick="btn_edit(\'' + row.F_ID + '\')" title="修改">修改</a></li>' +
74
+		'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_delete_' + row.F_ID + '" onclick="btn_delete(\'' + row.F_ID + '\')" title="删除">删除</a></li>' +
75
+		'</ul>';
76
+}
77
+
78
+function btn_edit(id) {
79
+    layer.open({
80
+        type: 2,
81
+        title: '编辑登记信息',
82
+        maxmin: true, //开启最大化最小化按钮
83
+        area: ['80%', '80%'],
84
+        content: 'edit.html?ids=' + id
85
+    });
86
+}
87
+
88
+function btn_register_details(id) {
89
+    layer.open({
90
+        type: 2,
91
+        title: '登记详情',
92
+        maxmin: true, //开启最大化最小化按钮
93
+        area: ['80%', '80%'],
94
+        content: 'detail.html?ids=' + id
95
+    });
96
+}
97
+
98
+function btn_delete (id) {
99
+    var laye = layer.confirm('您确定要删除吗?', {
100
+        btn: ['确定', '取消'] //可以无限个按钮
101
+    }, function () {
102
+        //按钮【按钮一】的回调
103
+        $.ajax({
104
+            type: "post",
105
+            url: huayi.config.callcenter_url + "RegRecords/Del",
106
+            async: true,
107
+            dataType: "json",
108
+            data: {
109
+                token: $.cookie("token"),
110
+                ids: id
111
+            },
112
+            success: function (data) {
113
+                if (data.state.toLowerCase() == 'success') {
114
+                    layer.msg("删除成功!");
115
+                    $("#registerList").bootstrapTable('refresh');
116
+                }
117
+            }
118
+        });
119
+    }, function (index) {
120
+        //按钮【按钮二】的回调
121
+        layer.close(laye)
122
+    });
123
+}

+ 95 - 0
CallCenterWeb.UI/registrationManagement/registrationList/registrationList.html

@@ -0,0 +1,95 @@
1
+<!DOCTYPE html>
2
+<html>
3
+	<head>
4
+		<meta charset="UTF-8">
5
+		<title>登记信息</title>
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/bootstrap-select/css/bootstrap-select.css" />
10
+		<link rel="stylesheet" href="../../js/comboSelect/combo.select.css" />
11
+		<link rel="stylesheet" href="../../css/init.css" />
12
+		<link rel="stylesheet" href="./css/registrationList.css" />
13
+		<style>
14
+			.toolBox{
15
+				padding-top: 15px;	
16
+			}
17
+
18
+			.toolBox .form-inline .form-group{
19
+				margin-bottom: 10px;
20
+			}
21
+
22
+			.time-box {
23
+				display: inline-block;
24
+				position: relative;
25
+			}
26
+			
27
+			i.tub {
28
+				position: absolute;
29
+				right: 8px;
30
+				top: 8px;
31
+				font-size: 18px;
32
+				color: #1ab394;
33
+			}
34
+		</style>
35
+	</head>
36
+	
37
+	<body class="gray-bg">
38
+		<div class="daoHang clearfix">
39
+			<div class="dhLeft">
40
+				<sapn><i class="syIcon"></i>位置:
41
+					<a href="javaScript:;" id="ReIndex">首页</a>&gt;
42
+					<a href="javaScript:;">登记信息</a>&gt;
43
+					<a href="" class="nowPosition">登记信息</a>
44
+				</sapn>
45
+			</div>
46
+			<div class="dhRight">
47
+				<a href="#" title="刷新"><i class="fa fa-refresh"></i></a>
48
+			</div>
49
+		</div>
50
+		<div class="wrapper wrapper-content animated fadeInRight">
51
+			<div class="toolBox clearfix">
52
+				<div class="pull-left">
53
+					<div class="form-inline clearfix">
54
+						<div class="form-group">
55
+							<input class="form-control" type="text" id="searchKeyword" placeholder="关键字">
56
+                        </div>
57
+                        <div class="form-group">
58
+							<select class="form-control" id="searchDirection">
59
+                                <option value="-11">请选择方向</option>
60
+								<option value="0">来电</option>
61
+								<option value="1">去电</option>
62
+							</select>
63
+						</div>
64
+						<div class="form-group btn-position">
65
+							<button class="btns search">搜索</button>
66
+						</div>
67
+					</div>
68
+				</div>
69
+			</div>
70
+			<div style="width: 100%; padding: 10px; position: relative;" id="ces">
71
+				<table id="registerList" class="market" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
72
+					<thead>
73
+						<tr>
74
+							<th data-field="F_RecCode" data-align="center" data-formatter="View">登记编号</th>
75
+							<th data-field="CusName" data-align="center">姓名</th>
76
+							<th data-field="CusPhone" data-align="center">联系电话</th>
77
+                            <th data-field="F_Type" data-align="center" data-formatter="formatterRegisterType" >登记类型</th>
78
+							<th data-field="F_Content" data-align="center">登记内容</th>
79
+							<th data-field="CreateByName" data-align="center">创建人</th>
80
+							<th data-field="F_CreateOn" data-align="center">创建时间</th>
81
+							<th data-field="" data-align="center" data-formatter="formatterOperating">操作</th>
82
+						</tr>
83
+					</thead>
84
+				</table>
85
+				<div class="dealResultContentWrapper" style="display: none;"></div>
86
+			</div>
87
+		</div>
88
+		
89
+		<script src="../../js/laydate/laydate.js"></script>
90
+		<script src="../../js/bootstrap-select/js/bootstrap-select.js"></script>
91
+		<script src="../../js/comboSelect/jquery.combo.select.js"></script>
92
+		<script src="./js/registrationList.js"></script>
93
+	</body>
94
+
95
+</html>