liuyifan лет назад: 5
Родитель
Сommit
7da1f32f2b

+ 267 - 0
CallCenterWeb.UI/ReportForm/KPI.html

@@ -0,0 +1,267 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<title>话务KPI</title>
7
+		<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+		<script src="../Script/Common/huayi.load.js"></script>
9
+		<script src="../Script/Common/huayi.config.js"></script>
10
+		<link rel="stylesheet" href="../css/init.css" />
11
+		<link rel="stylesheet" href="../js/select2/css/select2.min.css" />
12
+		<style>
13
+			table td {
14
+				word-break: break-all;
15
+				word-wrap: break-word;
16
+			}
17
+			.count {
18
+				font-weight: bold;
19
+				color: #e43926;
20
+			}
21
+			
22
+			.toolBox {
23
+				background: #f3f3f4;
24
+				height: 60px;
25
+				padding: 10px 20px;
26
+			}
27
+			.th-content{
28
+				width: 90%;
29
+				margin: 0 auto;
30
+			}
31
+			.th-content thead tr{
32
+				height: 50px;
33
+			}
34
+			.th-content thead tr td{
35
+				background-color: #1ab394;
36
+				color: #fff;
37
+			}
38
+		</style>
39
+	</head>
40
+
41
+	<body class="gray-bg" style="background: #fefefe;">
42
+		<div class="daoHang clearfix">
43
+			<div class="dhLeft">
44
+				<sapn><i class="syIcon"></i>位置:
45
+					<a href="javaScript:;" id="ReIndex">首页</a>&gt;
46
+					<a href="javaScript:;">报表分析</a>&gt;
47
+					<a href="javaScript:;">话务运营分析</a>&gt;
48
+					<a href="" style="color: #000;">话务KPI数据统计</a>
49
+				</sapn>
50
+			</div>
51
+			<div class="dhRight">
52
+				<a href="#" title="刷新"><i class="fa fa-refresh"></i></a>
53
+			</div>
54
+
55
+		</div>
56
+		<div class="toolBox">
57
+			<div class="th-bar clearfix">
58
+				<div class="pull-right">
59
+					<div class="form-inline">
60
+						<div class="time-box form-group">
61
+							<i class="tub fa fa-calendar"></i>
62
+							<input class="form-control" type="text" id="startTime" placeholder="请选择起止时间" style="width: 228px;">
63
+						</div>
64
+						<!--<div class="time-box form-group">
65
+							部门:
66
+							<select id="bumen">
67
+								<option value="">请选择</option>
68
+							</select>
69
+						</div>-->
70
+						<div class="pull-right">
71
+							<button class="btns search">搜索</button>
72
+							<!--<a href="" class="btns export">导出</a>-->
73
+						</div>
74
+					</div>
75
+				</div>
76
+			</div>
77
+		</div>
78
+
79
+		<div class="th-content">
80
+			<table class="table table-bordered text-center table-hover" id="tables" style="width: 100%;">
81
+				<thead>
82
+					<tr>
83
+						<td colspan="2">分类</td>
84
+						<td>数量</td>
85
+						<td>占有率</td>
86
+
87
+					</tr>
88
+				</thead>
89
+				<tbody class="tbody">
90
+					<tr>
91
+						<td rowspan="6">业务电话量</td>
92
+					</tr>
93
+					<tr>
94
+						<td>呼入项目占有率</td>
95
+						<td class="count">0</td>
96
+						<td class="percent">0%</td>
97
+					</tr>
98
+					<tr>
99
+						<td>呼出项目占有率</td>
100
+						<td class="count">0</td>
101
+						<td class="percent">0%</td>
102
+					</tr>
103
+					<tr>
104
+						<td>呼入接通项目占有率</td>
105
+						<td class="count">0</td>
106
+						<td class="percent">0%</td>
107
+					</tr>
108
+					<tr>
109
+						<td>呼入未接通项目占有率</td>
110
+						<td class="count">0</td>
111
+						<td class="percent">0%</td>
112
+					</tr>
113
+					<tr>
114
+						<td>合计(总电话量:呼入项目+呼出项目):</td>
115
+						<td class="count">0</td>
116
+						<td class="percent">0%</td>
117
+					</tr>
118
+					<tr>
119
+						<td rowspan="6"><!--回访-->满意度</td>
120
+					</tr>
121
+					<tr>
122
+						<td>非常满意</td>
123
+						<td class="count">0</td>
124
+						<td class="percent">0%</td>
125
+					</tr>
126
+					<tr>
127
+						<td>满意</td>
128
+						<td class="count">0</td>
129
+						<td class="percent">0%</td>
130
+					</tr>
131
+					<tr>
132
+						<td>不满意</td>
133
+						<td class="count">0</td>
134
+						<td class="percent">0%</td>
135
+					</tr>
136
+
137
+					<tr>
138
+						<td>未评价</td>
139
+						<td class="count">0</td>
140
+						<td class="percent">0%</td>
141
+					</tr>
142
+					<tr>
143
+						<td>合计<!--(总回访数):--></td>
144
+						<td class="count">0</td>
145
+						<td class="percent">0%</td>
146
+					</tr>
147
+
148
+					<tr>
149
+						<td rowspan="4">服务水平</td>
150
+					</tr>
151
+					<tr>
152
+						<td>5秒内应答</td>
153
+						<td class="count">0</td>
154
+						<td class="percent">0%</td>
155
+					</tr>
156
+					<tr>
157
+						<td>非5秒内应答</td>
158
+						<td class="count">0</td>
159
+						<td class="percent">0%</td>
160
+					</tr>
161
+					<tr>
162
+						<td>合计(总服务量):</td>
163
+						<td class="count">0</td>
164
+						<td class="percent">0%</td>
165
+					</tr>
166
+
167
+				</tbody>
168
+			</table>
169
+			<div class="zhushi" style="color: red;">
170
+				<!--注:默认显示当月1号0:00:00至当日23:59:59的数据,非常满意是客户评分9-10,满意是客户评分7-8,不满意是客户评分0-6,未评价是坐席回访了没有评分, 回访满意度、工单平均时间、一次解决率都是查询当前时间已经结单的工单。-->
171
+                注:默认显示当月统计数据。
172
+			</div>
173
+
174
+		</div>
175
+		<script src="../js/laydate/laydate.js"></script>
176
+		<script src="../js/select2/js/select2.min.js"></script>
177
+		<script>
178
+			var startdate = "";
179
+			var enddate = "";
180
+			$(document).ready(function() {
181
+				var myDate = new Date();
182
+				laydate.render({
183
+					elem: '#startTime',
184
+					range: '~',
185
+					//value: stime + ' ~ ' + endtime,
186
+					theme: '#1ab394',
187
+					calendar: 'true'
188
+				});
189
+				$('#startTime').val(myDate.getFullYear() + "-" + turn(myDate.getMonth() + 1) + "-" + "01" + " ~ " + myDate.getFullYear() + "-" + turn(myDate.getMonth() + 1) + "-" + turn(myDate.getDate()));
190
+				//helper.getDropList.getDept($('#bumen'));//获取部门
191
+				/*搜索*/
192
+				$(".search").click(function() {
193
+					startdate = $('#startTime').val() && $('#startTime').val().split(' ~ ')[0];
194
+					enddate = $('#startTime').val() && $('#startTime').val().split(' ~ ')[1];
195
+					initTable();
196
+				})
197
+				// 按enter搜索
198
+				document.onkeydown = function (e) { // 回车提交表单
199
+				    var theEvent = window.event || e;
200
+    				var code = theEvent.keyCode || theEvent.which || theEvent.charCode;
201
+    				if (code == 13) {
202
+						startdate = $('#startTime').val() && $('#startTime').val().split(' ~ ')[0];
203
+						enddate = $('#startTime').val() && $('#startTime').val().split(' ~ ')[1];
204
+						initTable();
205
+    				}
206
+				}
207
+
208
+				
209
+				//导出
210
+				//			$('.export').click(function() {
211
+				//				dcexcel(this);
212
+				//			})
213
+				//
214
+				//			function dcexcel(obj) {
215
+				//				var dpt = "";
216
+				//				var url = huayi.config.callcenter_url + "GDLY/ExportExcel?token=" + $.cookie("token");
217
+				//				url += "&stime=" + $('#startTime').val() + "&endtime=" + $('#endTime').val();
218
+				//				obj.href = url;
219
+				//			}
220
+				//          
221
+				initTable();
222
+			});
223
+
224
+			function initTable() {
225
+				var loadindex;
226
+				$.ajax({
227
+					type: "get",
228
+					url: huayi.config.callcenter_url + "Callrecords/GetKPI",
229
+					async: true,
230
+					dataType: 'json',
231
+					beforeSend:function(){
232
+						loadindex = layer.load()
233
+					},
234
+					data: {
235
+						startdate: startdate,
236
+						enddate: enddate,
237
+						//dpt: $('#bumen').val(),
238
+						token: $.cookie("token"),
239
+					},
240
+					success: function(data) {
241
+						if(data.state.toLowerCase() == 'success') {
242
+							var tdCount = $('.count');
243
+							var tdPercent = $('.percent');
244
+							//								console.log(tdCount);
245
+							$(data.data).each(function(i, n) {
246
+								tdCount.eq(i).html(n.num);
247
+								tdPercent.eq(i).html(n.percent);
248
+							})
249
+						}
250
+
251
+					}
252
+
253
+				}).then(function(){layer.close(loadindex);});
254
+
255
+			}
256
+
257
+			function turn(aa) {
258
+				if(aa < 10) {
259
+					aa = "0" + aa;
260
+				}
261
+				return aa;
262
+			}
263
+		</script>
264
+
265
+	</body>
266
+
267
+</html>

+ 31 - 8
CallCenterWeb.UI/callScreen/call.js

@@ -78,6 +78,16 @@ $(document).ready(function () {
78 78
                         } else {
79 79
                             $("#shengshi").val('');
80 80
                         }
81
+                        $("#formName").val(result.data.F_Name);
82
+                        $("#formTel").val(result.data.F_Phone);
83
+                        $("#formSex").val(result.data.F_Sex)
84
+                        $("#formProvince option:selected").text(result.data.F_Province)
85
+                        $("#formProvince option:selected").val(result.data.F_Province)
86
+                        $("#formCity option:selected").text(result.data.F_City)
87
+                        $("#formCity option:selected").val(result.data.F_City)
88
+                        $("#formCounty option:selected").text(result.data.F_County)
89
+                        $("#formCounty option:selected").val(result.data.F_County)
90
+                        $("#formAddress").val(result.data.F_Address)
81 91
                     }
82 92
                 } else {
83 93
                     $('.ldname').val("");
@@ -246,7 +256,6 @@ $(document).ready(function () {
246 256
     })
247 257
     //保存客户
248 258
     $(".save").click(function () {
249
-        var reg = /^((13[0-9])|(14[5|7])|(15([0-3]|[5-9]))|(18[0,5-9]))\d{8}$|^0\d{2,3}-?\d{7,8}$/;
250 259
         if (!$(".khmc").val()) {
251 260
             layer.confirm('请输入客户名称!', {
252 261
                 btn: ['确定']
@@ -272,11 +281,11 @@ $(document).ready(function () {
272 281
                 $('.save').hide();
273 282
                 $('.cancel').hide();
274 283
                 $('.edit').show();
275
-                $("#callCustomer").val($(".khmc").val()); //客户姓名
276
-                $("#name").val($(".khmc").val());
277
-                $("#tel").val($(".ldtel1").val());//电话
278
-                // $("#type option:selected").text(saveClientCity); // 工单-市
279
-                // $("#type option:selected").val(saveClientCity); // 工单-
284
+                $("#formName").val($(".khmc").val());//姓名
285
+                $("#formTel").val($(".ldtel1").val());//电话
286
+                $("#formSex").val($("#customerSex").val());//性别
287
+                $("#formProvince").val($('.khprovince').val());//省
288
+                $("#formCity").val($('.khcity').val());//
280 289
             }
281 290
         })
282 291
     })
@@ -562,12 +571,26 @@ function changeTreeClick1(event, treeId, treeNode) {
562 571
 };
563 572
 //清空
564 573
 function Clean() {
565
-    $('#name').val('');
566
-    $('#tel').val(''); //号码
574
+    $('#formName').val('');
575
+    $('#formTel').val('');
576
+    $('#formSex').val('');
577
+    $('#formProvince').val('');
578
+    $('#formCity').val('');
579
+    $('#formCounty').val('');
580
+    $('#formAddress').val('');
581
+    $('#formComplainedUnit').val('');
582
+    $('#formRegistrationContent').val('');
583
+    $('#formRegistrationRemark').val('');
567 584
 }
568 585
 
569 586
 //保存
570 587
 function saveCustomer() {
588
+    if (!$(".khid").val()) {
589
+        layer.confirm('请先保存用户基本信息!', {
590
+            btn: ['确定']
591
+        });
592
+        return;
593
+    }
571 594
     $.ajax({
572 595
         type: "post",
573 596
         url: huayi.config.callcenter_url + "RegRecords/Save",

+ 59 - 5
CallCenterWeb.UI/callScreen/callScreen.html

@@ -599,26 +599,80 @@
599 599
                                     <table class="customerService">
600 600
                                         <tbody>
601 601
                                             <tr>
602
-                                                <th>被投诉单位:</th>
602
+                                                <th>姓名:</th>
603 603
                                                 <td>
604 604
                                                     <div class="form-group">
605
-                                                        <input type="text" class="form-control" id="formComplainedUnit" />
605
+                                                        <input type="text" class="form-control" id="formName" disabled="disabled" />
606 606
                                                     </div>
607 607
                                                 </td>
608
-                                                <th>登记内容/投诉事项:</th>
608
+                                                <th>电话:</th>
609
+                                                <td>
610
+                                                    <div class="form-group">
611
+                                                        <input type="text" class="form-control" id="formTel" disabled="disabled" />
612
+                                                    </div>
613
+                                                </td>
614
+                                                <th>性别:</th>
615
+                                                <td>
616
+                                                    <div class="form-group">
617
+                                                        <input type="text" class="form-control" id="formSex" disabled="disabled" />
618
+                                                    </div>
619
+                                                </td>
620
+                                            </tr>
621
+                                            <tr>
622
+                                                <th>省:</th>
623
+                                                <td>
624
+                                                    <div class="form-group">
625
+                                                        <select class="form-control" id="formProvince" disabled="disabled">
626
+                                                            <option value="">请选择省</option>
627
+                                                        </select>
628
+                                                    </div>
629
+                                                </td>
630
+                                                <th>市:</th>
631
+                                                <td>
632
+                                                    <div class="form-group">
633
+                                                        <select class="form-control" id="formCity" disabled="disabled">
634
+                                                            <option value="">请选择市</option>
635
+                                                        </select>
636
+                                                    </div>
637
+                                                </td>
638
+                                                <th>县/区:</th>
609 639
                                                 <td>
610 640
                                                     <div class="form-group">
611
-                                                        <input type="text" class="form-control" id="formRegistrationContent" />
641
+                                                        <select class="form-control" id="formCounty" disabled="disabled">
642
+                                                            <option value="">请选择县/区</option>
643
+                                                        </select>
612 644
                                                     </div>
613 645
                                                 </td>
614 646
                                             </tr>
615 647
                                             <tr>
648
+                                                <th>详细地址</th>
649
+                                                <td>
650
+                                                    <div class="form-group">
651
+                                                        <input type="text" class="form-control" id="formAddress" disabled="disabled" />
652
+                                                    </div>
653
+                                                </td>
654
+                                            </tr>
655
+                                            <tr>
656
+                                                <th>被投诉单位:</th>
657
+                                                <td>
658
+                                                    <div class="form-group">
659
+                                                        <input type="text" class="form-control" id="formComplainedUnit" />
660
+                                                    </div>
661
+                                                </td>
662
+                                            </tr>
663
+                                            <tr>
664
+                                                <th>登记内容/投诉事项:</th>
665
+                                                <td colspan="8">
666
+                                                    <textarea name="" rows="4" cols="" placeholder="" id="formRegistrationContent" style="margin-top:10px;"></textarea>
667
+                                                </td>
668
+                                            </tr>
669
+                                            <tr>
616 670
                                                 <th>备注:</th>
617 671
                                                 <td colspan="8">
618 672
                                                     <textarea name="" rows="4" cols="" placeholder="" id="formRegistrationRemark" style="margin-top:10px;"></textarea>
619 673
                                                 </td>
620 674
                                             </tr>
621
-                                            <tr class="workOrderTypeForm">
675
+                                            <tr>
622 676
                                                 <td colspan="7" style="text-align: center;">
623 677
                                                     <button class="btns customerSubmit">新建</button>
624 678
                                                 </td>

+ 135 - 271
CallCenterWeb.UI/css/login.css

@@ -1,267 +1,160 @@
1
-html {
2
-	height: 100%;
1
+body{
2
+    height: 100%;
3 3
 }
4 4
 .signin{
5 5
 	width: 100%;
6 6
 	position: relative;
7 7
 	height: 100%;
8 8
 }
9
-/* .signin .col-md-5{
10
-	width: 50%;
11
-} */
12
-.container{
13
-	position: relative;
14
-	width: 100%;
15
-	height: 100%;
16
-	background: url(../img/login_background.png) no-repeat left top;
17
-	background-size: 100% 100%;
18
-}
19
-
20
-.signin_left {
21
-	color: #fff;
22
-}
23
-.signin_left i{
24
-	display: inline-block;
25
-	width: 50px;
26
-	height: 36px;
27
-	vertical-align: middle;
28
-	background: url(../img/login_logo.png) left top no-repeat;
29
-}
30
-.signin_left h2{
31
-	font-size: 30px;
32
-	font-family: '黑体';
33
-	margin-top: 15%;
34
-	margin-bottom: 0;
35
-}
36
-.signin_left h2 + p,.left_word>div h2 + p{
37
-	margin-top: 22.163%;
38
-	margin-bottom: 22.163%;
39
-	font-size: 18px;
9
+.head,.foot{
10
+    background: #fff;
11
+    width: 100%;
12
+    height: 10%;
13
+    box-sizing: border-box;
40 14
 }
41
-.signin_left h3,.left_word>div h3{
42
-	font-size: 24px;
43
-	color: #006967;
44
-	margin-bottom: 2.5%;
45
-}
46
-.signin_left h3 + p,.left_word>div h3 + p{
47
-	line-height: 30px;
48
-	font-size: 18px;
49
-	color: #fff;
50
-}
51
-
52
-.signin_right{
53
-	position: absolute;
54
-	top: 18%;
55
-	right: 8.1%;
56
-	width: 610px;
57
-	height: 600px;
58
-}
59
-/*.signin_right .signin_panel h1{
60
-	font-size: 24px;
61
-	font-family: '华文仿宋';
62
-	margin: 0 0 19.46% 0;
63
-	font-weight: 600;
64
-}*/
65
-
66
-.signin_panel .logo_title{
67
-	margin-left: 25px;
68
-	width: 100%;
69
-	font-size: 0;
70
-}
71
-
72
-/* .logo_title>img,.logo_title span{
73
-} */
74
-
75
-.logo_img{
76
-	display: inline-block;
77
-	vertical-align: top;
78
-}
79
-
80
-.logo_content{
81
-	display: inline-block;
82
-	vertical-align: top;
83
-}
84
-
85
-.logo_text span{
86
-	font-size: 45px;
87
-	line-height: 45px;
88
-	font-family: '华文仿宋';
89
-	font-weight: 600;
90
-	margin-left: 15px;
91
-	color: rgb(255, 255, 255);
92
-}
93
-
94
-.logo_footer{
95
-	margin-left: 15px;
96
-	/* height: 10px; */
97
-	/* border: 1px solid rgb(255, 255, 255); */
98
-	width: 470px;
99
-	height: 15px;
100
-	margin-top: -3px;
101
-	background: url(../img/logo_footer.png) no-repeat;
102
-	background-position: -95px -145px;
103
-}
104
-
105
-/* .logo_footer > img {
106
-	background-position: 0 -20px;
107
-} */
108
-
109
-.sigin_wrapper{
110
-	margin-top: 5.1%;
111
-	width: 610px;
112
-	height: 480px;
113
-	padding: 60px 65px 0 65px;
114
-	background: rgb(255, 255, 255);
115
-	border-radius: 30px;
116
-}
117
-.signin_panel .signin_user,
118
-.signin_panel .signin_password,
119
-.signin_panel .signin_seat{
120
-	position: relative;
121
-	margin-bottom: 25px;
122
-}
123
-.signin_icons{
124
-	position: absolute;
125
-	left: 20px;
126
-	top: 19px;
127
-	width: 17px;
128
-	height: 17px;
129
-	display: inline-block;
130
-	background: url(../img/signin_icon.png) left top no-repeat;
131
-}
132
-.signin_password .signin_icons{
133
-	background-position: 0 -30px;
15
+.foot{
16
+    text-align: center;
134 17
 }
135
-.signin_seat .signin_icons{
136
-	background-position: 0 -16px;
137
-	height: 15px;
18
+.headCon,.mainCon,.footCon{
19
+    width: 1200px;
20
+    margin: 0 auto;
138 21
 }
139
-
140
-.keyboard_icons{
141
-	position: absolute;
142
-	right: 20px;
143
-	top: 15px;
144
-	width: 40px;
145
-	height: 25px;
146
-	display: inline-block;
147
-	background: url(../img/keyboard_icons.png) left top no-repeat;
22
+.headCon{
23
+    box-sizing: border-box;
24
+    height: 100%;
148 25
 }
149
-
150
-.signin_panel .form-control{
151
-	padding-left: 57px;
152
-	height: 55px;
153
-	line-height: 55px;
154
-	font-size: 16px;
155
-	font-family: SourceHanS;
156
-	color: #000;
26
+.wrap{
27
+    height: 500px;
28
+    background: #030819;
29
+    width: 100%;
30
+    height: 80%;
157 31
 }
158
-
159
-.singin_rpassword{
160
-	margin-top: 4px;
161
-	margin-top: 7px;
32
+.footCon ul li{
33
+    float: left;
34
+    text-align: center;	
35
+    color: #243747;	
36
+    padding: 0 5px;
162 37
 }
163
-.rpassword {
164
-	float: left;
38
+.footCon ul li a{
39
+    display: block;
40
+    color: #243747;	
165 41
 }
166
-.rpassword input[type="checkbox"]{
167
-    appearance: none;
168
-    -webkit-appearance: none;
169
-    outline: none;
170
-    display:none;
42
+.Copy{
43
+    color: #243747;	
44
+    text-align: center;
171 45
 }
172
-.rpassword .checkbox_icon{
173
-    width: 16px;
174
-    height: 16px;
46
+.center{
175 47
     display: inline-block;
176
-    background: url("../img/checkbox.png")  no-repeat;
177
-    background-position:0 0;
178
-    vertical-align: sub;
179
-   	border: 1px solid #5c616b;
180
-   	cursor: pointer;
181
-}
182
-.rpassword input[type="checkbox"]:checked + .checkbox_icon{
183
-    background-position:0 -14px;
184
-}
185
-.rpassword label{
186
-    color: #5c616b;
187
-    font-size: 14px;
188
-    font-family: '宋体';
189
-    font-weight: normal;
190
-    line-height: 14px;
191
-    height: 14px;
192
-  	cursor: pointer;
48
+    height: 100%; 
49
+    vertical-align: middle;
193 50
 }
194
-.fpassword{
195
-    float: right;
196
-}
197
-.fpassword a{
198
-    color: #5c616b;
199
-    text-decoration: none;
200
-    font-size: 14px;
201
-    font-family: '宋体';
202
-}
203
-
204
-
205
-.ts{
206
-	position: absolute;
207
-	right: 12.5px;
208
-	top: 12.5px;
209
-    height: 15px!important;
51
+.mainCon,.mainCon_left,.mainCon_right,.img_box{
52
+    height: 100%;
210 53
 }
211
-
212
-.Yz_error{
213
-    width: 15px;
214
-    background: url("../img/yz.png") no-repeat 0 -15px;
215
-}
216
-.Yz_success{
217
-    width: 20px;
218
-    background: url("../img/yz.png") no-repeat 0 0;
219
-}
220
-
221
-
222
-.btns{
223
-    width: 470px;
224
-    background-color: #d1141b;
225
-    color: #fff;
226
-    height: 60px;
227
-    line-height: 60px;
54
+.mainCon_right{
228 55
     text-align: center;
229
-    border: 0;
230
-    outline: none;
231
-    border-radius: 10px;
232
-    cursor: pointer;
233
-    margin-top: 55px;
234
-    margin-bottom: 12px;
235
-    font-size: 16px;
236
-    letter-spacing: 6px;
237 56
 }
238
-.btns:hover{
239
-    background-color: #ad1316;
57
+.tab_box{
58
+        background: #fff;
59
+        height: 346px;
60
+        display: inline-block;
61
+       width: 375px;
62
+       vertical-align: middle;
63
+}
64
+.tab_box ul li {
65
+   width: 50%;
66
+   float: left;
67
+   width: 50%;
68
+   float: left;
69
+   padding: 20px 0;
70
+   text-align: center;
71
+   color: #243747;
72
+   font-size: 16px;
73
+}
74
+.tab_box ul{
75
+   border-bottom: 1px solid #cdcdcd;
76
+}
77
+.tab_content div p {
78
+   width: 300px;
79
+   margin: 0 auto;
80
+   height: 36px;
81
+   border: 1px solid #ebebed;
82
+   border-radius: 5px;
83
+   margin-bottom: 25px;
84
+   line-height: 36px;
85
+   padding-left: 10px;
86
+       text-align: initial;
87
+   }
88
+.tab_content div p input {
89
+   width: 200px;
90
+   border: 0;
91
+   font-size: 14px;
92
+   outline: none;
93
+   color: #323232;
94
+   }
95
+   .login_icon {
96
+   display: inline-block;
97
+   width: 25px;
98
+   height: 19px;
99
+   vertical-align: sub;
100
+   margin-right: 15px;
101
+   border-right: 1px solid #cdcdcd;
102
+}
103
+.tab_content .login_go {
104
+  text-align: center;
105
+   padding: 0!important;
106
+   font-size: 16px!important;
107
+   letter-spacing: 16px;
108
+   color: #fff;
109
+   background: #1ab394;
110
+   height: 49px!important;
111
+   line-height: 49px!important;
112
+       cursor: pointer;
113
+}
114
+.login_icon_user {
115
+    background: url(../img/user-icon.png) no-repeat;
116
+}
117
+.login_icon_hua {
118
+    background: url(../img/fj-icon.png) no-repeat;
119
+}
120
+.login_icon_lock {
121
+   background: url(../img/psw-icon.png) no-repeat;
122
+}
123
+.error {
124
+   width: 16px;
125
+   height: 16px;
126
+   background: url(../img/xx-error.png) no-repeat;
127
+   display: none;
128
+   border: 0;
129
+}
130
+.errorShow {
131
+   display: inline-block;
132
+}
133
+.active{
134
+   position: relative;
135
+}
136
+.active:after{
137
+  display: block;
138
+   content: "";
139
+   position: absolute;
140
+   height: 2px;
141
+   width: 45%;
142
+   background: #00b194;
143
+   margin: 0 auto;
144
+   bottom: -1px;
145
+   right: 0;
146
+   left: 0;
147
+   top: auto;
148
+}
149
+.tab_content>div{
150
+   padding-top: 24px;
151
+   
152
+}
153
+.tab_content{
154
+       border: 1px solid transparent
240 155
 }
241 156
 
242 157
 
243
-.fregister{
244
-	font-size: 13px;
245
-	font-family: '宋体';
246
-}
247
-.fregister span{
248
-    color: #5c616b;
249
-}
250
-.fregister a{
251
-    color: #1582b4;
252
-}
253
-
254
-._success{
255
-    border-color: #c91e32!important;
256
-}
257
-
258
-._fail{
259
-    border-color: red!important;
260
-}
261
-
262
-
263
-
264
-
265 158
 input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
266 159
    font-family: '华文仿宋';
267 160
    color: #999999;
@@ -277,33 +170,4 @@ input::-moz-placeholder, textarea::-moz-placeholder {
277 170
 input:-ms-input-placeholder, textarea:-ms-input-placeholder {
278 171
    font-family: '华文仿宋';
279 172
    color: #999999;
280
-}
281
-
282
-
283
-
284
-@media only screen and (max-width: 1920px) {
285
-	
286
-}
287
-@media only screen and (max-width: 1366px) {
288
-}
289
-@media only screen and (max-width: 1200px) {
290
-	
291
-}
292
-@media only screen and (max-width: 992px) {
293
-	div.signin_left{
294
-		display: none;
295
-	}
296
-	div.left_word{
297
-		display: none;
298
-	}
299
-	div.signin_right .signin_panel {
300
-	    /* margin: 10% auto 0 auto; */
301
-	    float: none;
302
-	    /* color: #fff; */
303
-    }
304
-}
305
-@media only screen and (max-width: 768px) {
306
-	div.signin_left{
307
-		display: none;
308
-	}
309 173
 }

+ 2 - 4
CallCenterWeb.UI/keHuManager/archivesManage/addOrEdit.html

@@ -6,8 +6,7 @@
6 6
 		<script src="../../Script/Common/huayi.config.js"></script>
7 7
 		<link href="../../js/bootstrap-select/css/bootstrap-select.css" rel="stylesheet" />
8 8
 		<link rel="stylesheet" href="../../css/init.css" />
9
-		<link rel="stylesheet" href="css/kehuManger.css" />
10
-		<link rel="stylesheet" href="css/addCustomerFile.css">
9
+		<link rel="stylesheet" href="./css/addOrEdit.css">
11 10
 		<title>添加编辑档案管理</title>
12 11
 	</head>
13 12
 	<body>
@@ -79,11 +78,10 @@
79 78
 				</div>
80 79
 			</div>
81 80
 		<script src="../../js/laydate/laydate.js"></script>
82
-		<!-- <script src="../js/bootstrap-select/js/bootstrap-select.js"></script> -->
83 81
 		<script src="../../Script/Common/regexs.js"></script>
84 82
 		<script src="../../keHuManager/js/addOrEditCusInfo.js"></script>
85 83
 		<script src="../../js/bootstrap-select/js/bootstrap-select.js"></script>
86 84
 		<script src="../../js/laydate/laydate.js"></script>
87
-		<script src="js/addOrEdit.js"></script>
85
+		<script src="./js/addOrEdit.js"></script>
88 86
 	</body>
89 87
 </html>

+ 0 - 1
CallCenterWeb.UI/keHuManager/archivesManage/archivesManage.html

@@ -7,7 +7,6 @@
7 7
 		<link rel="stylesheet" href="../../js/bootstrap-select/css/bootstrap-select.css" />
8 8
 		<link rel="stylesheet" href="../../css/init.css" />
9 9
 		<link rel="stylesheet" href="../../js/comboSelect/combo.select.css" />
10
-		<!-- <link rel="stylesheet" href="css/kehuManger.css" /> -->
11 10
 		<title>档案管理</title>
12 11
 	</head>
13 12
 	<body class="gray-bg">

CallCenterWeb.UI/keHuManager/archivesManage/css/addCustomerFile.css → CallCenterWeb.UI/keHuManager/archivesManage/css/addOrEdit.css


+ 0 - 131
CallCenterWeb.UI/keHuManager/archivesManage/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
-

+ 2 - 7
CallCenterWeb.UI/keHuManager/archivesManage/js/addOrEdit.js

@@ -1,21 +1,16 @@
1 1
 var token = $.cookie("token");
2 2
 var id = helper.request.queryString("ids");
3 3
 $(document).ready(function() {
4
-	var regBox = {
5
-		//regMobile: /^1(3|4|5|7|8)\d{9}$/    //手机
6
-		regMobOrTel: /^(\(\d{3,4}\)|\d{3,4}-|\s)?\d{7,14}$/
7
-    }
8 4
     getProvinceCounty($("#formProvince"), 0, "请选择省")
9 5
 	//保存按钮
10 6
 	$('#save_btns').click(function() {
11
-		var reg = /^((13[0-9])|(14[5|7])|(15([0-3]|[5-9]))|(18[0,5-9]))\d{8}$|^0\d{2,3}-?\d{7,8}$/;
12
-		if($('#customer_layer').val() == '') {
7
+		if($('#formName').val() == '') {
13 8
 			layer.confirm('请输入客户姓名!', {
14 9
 				btn: ['确定']
15 10
 			});
16 11
 			return;
17 12
 		}
18
-		if($('#customer_bedept').val() == '') {
13
+		if($('#formTel').val() == '') {
19 14
 			layer.confirm('请输入客户电话!', {
20 15
 				btn: ['确定']
21 16
 			});

+ 202 - 125
CallCenterWeb.UI/login.html

@@ -7,9 +7,10 @@
7 7
     <meta name="keywords">
8 8
     <meta name="description">
9 9
     <meta name="renderer" content="webkit|ie-comp|ie-stand" />
10
-    <link rel="shortcut icon" href="img/32.ico" />
11 10
     <script src="Script/Common/huayi.load.js"></script>
12 11
     <script src="Script/Common/huayi.config.js"></script>
12
+    <link rel="stylesheet" href="css/initialize.css" />
13
+    <link rel="shortcut icon" href="img/32.ico" />
13 14
     <link href="./css/login.css" rel="stylesheet">
14 15
     <!--[if lt IE 9]>
15 16
     <meta http-equiv="refresh" content="0;ie.html" />
@@ -18,139 +19,215 @@
18 19
 </head>
19 20
 
20 21
 <body class="signin">
21
-    <div class="container">
22
-        <div class="row clearfix">
23
-            <!-- <div class="signin_left col-md-5"></div> -->
24
-            <div class="signin_right col-md-5">
25
-                <div class="signin_panel">
26
-                	<div class="logo_title">
27
-                        <div class="logo_img">
28
-                            <img src="img/logo_shuanghui.png" alt="" width="85px" height="60px"/>
29
-                        </div>
30
-                        <div class="logo_content">
31
-                            <div class="logo_text">
32
-                                <span>高新区管委会管理系统</span>
33
-                            </div>
34
-                            <div class="logo_footer">
35
-                                <!-- <img src="img/logo_footer.png" alt="" width="470px" height="20px" /> -->
36
-                            </div>
37
-                        </div>
38
-                    </div>
39
-                    <div class="sigin_wrapper">
40
-                        <div class="signin_user">
41
-                            <i class="signin_icons"></i>
42
-                            <input class="form-control" type="text" placeholder="请输入您的管理账号" id="user" autofocus autocomplete="off">
43
-                            <i class="ts user_ts"></i>
44
-                        </div>
45
-                        <div class="signin_seat">
46
-                            <i class="signin_icons"></i>
47
-                            <input class="form-control" type="text" placeholder="请输入分机号" id="userSeat" autocomplete="off">
48
-                        </div>
49
-                        <div class="signin_password">
50
-                            <i class="signin_icons"></i>
51
-                            <i class="keyboard_icons"></i>
52
-                            <input class="form-control" type="password" placeholder="请输入您的密码" id="password" autocomplete="off">
53
-                            <i class="ts password_ts"></i>
22
+    <div class="head">
23
+        <div class="headCon">
24
+            <!-- <img src="img/logo.png" alt="" style="vertical-align: middle;" /> -->
25
+            <span  class="center"></span>
26
+        </div>
27
+    </div>
28
+
29
+    <div class="wrap">
30
+        <div class="row clearfix mainCon">
31
+            <div class="mainCon_left col-sm-7">
32
+                <div class="img_box">
33
+                    <img src="img/xx_bg_03.png" alt="" style="vertical-align: middle;display: inline-block; width: 95%;" />
34
+                    <span class="center"></span>
35
+                </div>
36
+            </div>
37
+            <div class="mainCon_right col-sm-5">
38
+                <div class="tab_box">
39
+                    <ul class="clearfix tab_ul">
40
+                        <li class="active">坐席登录</li>
41
+                        <li>用户登录</li>
42
+                    </ul>
43
+                    <div class="tab_content">
44
+                        <div class="tab_one">
45
+                            <p>
46
+                                <i class="login_icon login_icon_user "></i>
47
+                                <input class="zx_user" type="text" placeholder="请输入您的账号" />
48
+                                <i class="login_icon error error_zx error_zx_user"></i>
49
+                            </p>
50
+                            <p>
51
+                                <i class="login_icon login_icon_hua "></i>
52
+                                <input class="zx_fj" type="text" placeholder="请输入分机号" />
53
+                                <i class="login_icon error error_zx error_zx_fj"></i>
54
+                            </p>
55
+                            <p>
56
+                                <i class="login_icon login_icon_lock "></i>
57
+                                <input class="zx_psw" type="password" placeholder="请输入您的密码" />
58
+                                <i class="login_icon error error_zx error_zx_psw"></i>
59
+                            </p>
60
+                            <p class="login_go login_zx">登录</p>
54 61
                         </div>
55
-                        <div class="clearfix singin_rpassword">
56
-                            <div class="rpassword">
57
-                                <label for="rpassword">
58
-                                    <input type="checkbox" id="rpassword">
59
-                                    <span class="checkbox_icon"></span>
60
-                                        记住密码
61
-                                </label>
62
-                            </div>
62
+                        <div class="tab_two" style="display: none;">
63
+                            <p>
64
+                                <i class="login_icon login_icon_user "></i>
65
+                                <input class="gl_user" type="text" placeholder="请输入您的管理账号" />
66
+                                <i class="login_icon error error_gl error_gl_user"></i>
67
+                            </p>
68
+                            <p>
69
+                                <i class="login_icon login_icon_lock"></i>
70
+                                <input class="gl_psw" type="password" placeholder="请输入您的密码" />
71
+                                <i class="login_icon error error_gl error_gl_psw"></i>
72
+                            </p>
73
+                            <p class="login_go login_gl">登录</p>
63 74
                         </div>
64
-                        <div class="btns" type="button">登录</div>
65 75
                     </div>
66
-                    <!-- <div class="signfooter">
67
-                        <a href="ExeWork/LeCallCenterSetup.exe">下载客户端|</a>
68
-                        <a href="ExeWork/Microsoft.NET4.5.2.exe">下载安装环境|</a>
69
-                        <a href="ExeWork/vc_redist.x86.exe">安装包异常补充包</a>
70
-                    </div> -->
71 76
                 </div>
77
+                <span class="center"></span>
72 78
             </div>
73 79
         </div>
74 80
     </div>
75
-    <script>
76
-        $(function () {
77
-            /*输入框样式改变*/
78
-            $("#user").focus(function () {
79
-                $(this).parent().addClass("_success");
80
-            });
81
-            $("#user").blur(function () {
82
-                $(this).parent().removeClass("_success");
83
-            });
84
-            $("#password").focus(function () {
85
-                $(this).parent().addClass("_success");
86
-            });
87
-            $("#password").blur(function () {
88
-                $(this).parent().removeClass("_success");
89
-            });
90
-
91
-            /*cook存储数据*/
92
-            if ($.cookie("username")) {
93
-                //取值如果存在则赋值
94
-                $("#user").val($.cookie("user"));//用户名
95
-            }
96
-
97
-            $(".btns").click(function () {
98
-                login();
99
-            });
100
-
101
-            $('input').bind('keypress', function (event) {
102
-                if (event.keyCode == "13") {
103
-                    $('.btns').trigger("click");
104
-                }
105
-            });
106
-
107
-        });
108
-        /*点击提交*/
109
-        function login() {
110
-            var User = $("#user").val();
111
-            var Password = $("#password").val();
112
-            var userSeat = $("#userSeat").val();
113
-            /*保存COOK*/
114
-            //$.cookie("user", $("#user").val(),{expires: 7,secure:true});
115
-            /*表单验证*/
116
-            if (!User|| !Password) {
117
-                $(".ts").addClass("Yz_error");
118
-                if ($("#user").val() == "") {
119
-                    $("#user").focus(function () {                    	
120
-                        $(".user_ts").removeClass("Yz_error");
121
-                        $(".password_ts").removeClass("Yz_error");
122
-                        $(this).parent().addClass("_success");
123
-                    });
124
-                } else {
125
-                    $(".user_ts").addClass("Yz_success");
126
-                }
127
-            } else {
128
-                /*请求后台*/
129
-                $.ajax({
130
-                    type: "post",
131
-                    url: huayi.config.callcenter_url + "/Login/login",
132
-                    dataType: 'json',
133
-                    async: true,
134
-                    data: {
135
-                        username: User,
136
-                        extensionphone: userSeat,
137
-                        password: Password
138
-                    },
139
-                    success: function (data) {
140
-                        /*验证请求*/
141
-                        if (data.state == "success") {
142
-                            $.cookie("token", data.data.token, { expires: 7 });
143
-                            $.cookie("extno", userSeat, { expires: 7 });
144
-                            window.location.href = "index.html";
145
-                        } else {
146
-                            layer.msg("登录失败");
147
-                        }
148
-                    }
149
-                });
150
-            }
151
-        }
81
+    <div class="foot">
82
+        <div class="footCon" style="display: inline-block; vertical-align: middle;">
83
+            <div style="vertical-align: middle;">
84
+            <!-- <a href="ExeWork/LeCallCenterSetup.exe">下载客户端</a> | 
85
+            <a href="ExeWork/Microsoft.NET4.0.exe">下载安装环境</a> | 
86
+            <a href="ExeWork/vcredist_x86.exe">安装异常补充包</a> | 
87
+            技术服务热线:400-637-1311</div> -->
88
+            <p class="Copy" style="margin-top: 13px;">Copyright©2010-2020  加一科技 版权所有 版本号 <span class="version"></span></p>
89
+        </div>
90
+        <span class="center"></span>
91
+    </div>
152 92
 
93
+    <script>
94
+        $(function() {
95
+				var a=0;
96
+				$('.tab_ul li').click(function() {
97
+					$(this).addClass("active").siblings().removeClass("active");
98
+					var index = $(this).index();
99
+					 a=index;
100
+					$('.tab_content').children('div').eq(index).show().siblings().hide();
101
+					
102
+				})
103
+                /*cook存储数据*/
104
+				if($.cookie("username")) {
105
+					//取值如果存在则赋值
106
+					console.log($.cookie("username"))
107
+					$(".gl_user").val($.cookie("user")); //用户名
108
+					$("zx_fj").val($.cookie("fj"));
109
+					$(".zx_user").val($.cookie("user"));
110
+				}
111
+				//键盘登录事件
112
+				$('input').bind('keypress', function(event) {
113
+					if(event.keyCode == "13") {
114
+						console.log(a);
115
+						if(a == 0) {
116
+							$('.login_zx').trigger("click");
117
+						} else {
118
+							$(".login_gl").trigger("click");
119
+						}
120
+					}
121
+				});
122
+				//坐席登录
123
+				$('.login_zx').click(function(){
124
+					console.log("坐席")
125
+					var zx_user = $(".zx_user").val();
126
+					var zx_fj = $(".zx_fj").val();
127
+					var zx_psw = $(".zx_psw").val();
128
+					if(zx_user == ""  || zx_fj == "" || zx_psw == "") {
129
+						$(".error_zx").addClass('errorShow');
130
+						if($(".zx_user").val() == "") {
131
+							$(".zx_user").focus(function() {
132
+								$(".error_zx").removeClass('errorShow');
133
+							});
134
+						} else {
135
+							$(".error_zx_user").removeClass('errorShow');
136
+						}
137
+					}else {
138
+						/*请求后台*/
139
+						$.cookie("extno",zx_fj);
140
+						$.cookie("zx_user",zx_user);
141
+					 
142
+						$.ajax({
143
+							type: "post",
144
+							url: huayi.config.callcenter_url + "/Login/login",
145
+							dataType: 'json',
146
+							async: true,
147
+							data: {
148
+								username: zx_user,
149
+								extensionphone: zx_fj,
150
+								password: zx_psw    //$.md5
151
+							},
152
+							success: function(data) {
153
+								/*验证请求*/
154
+								if(data.state == "success") {
155
+									$.cookie("token", data.data.token, {
156
+										expires: 7
157
+									});
158
+									$.cookie("extno", zx_fj, {
159
+										expires: 7
160
+									});
161
+									$.cookie("zx_user", zx_user, {
162
+										expires: 7
163
+									});
164
+									window.location.href = "index.html";
165
+                              
166
+								}else{
167
+									$(".zx_user").val('');
168
+									$(".zx_fj").val('');
169
+									$(".zx_psw").val('');
170
+									console.log(data);
171
+								}
172
+							}
173
+						});
174
+					}
153 175
 
176
+				})
177
+				//用户登录
178
+				$('.login_gl').click(function() {
179
+					console.log("用户")
180
+					var gl_user = $(".gl_user").val();
181
+					var gl_psw = $(".gl_psw").val();
182
+					if(gl_user == "" || gl_psw == "") {
183
+						$(".error_gl").addClass('errorShow');
184
+						if($(".gl_user").val() == "") {
185
+							$(".gl_user").focus(function() {
186
+								$(".error_gl").removeClass('errorShow');
187
+							});
188
+						} else {
189
+							$(".error_gl_user").removeClass('errorShow');
190
+						}
191
+					} else {
192
+						/*请求后台*/
193
+						$.ajax({
194
+							type: "post",
195
+							url: huayi.config.callcenter_url + "/Login/login",
196
+							dataType: 'json',
197
+							async: true,
198
+							data: {
199
+								username: gl_user,
200
+								password: gl_psw    //$.md5
201
+							},
202
+							success: function(data) {
203
+								/*验证请求*/
204
+								if(data.state == "success") {
205
+									$.cookie("token", data.data.token, {
206
+										expires: 7
207
+									});
208
+									window.location.href = "index.html";
209
+								}else{
210
+									$(".gl_user").val('');
211
+									$(".gl_psw").val('');
212
+									console.log(data.state);
213
+								}
214
+							}
215
+						});
216
+					}
217
+				})
218
+			})
219
+			$.getJSON(huayi.config.callcenter_url + 'Deploy/GetVersion', {
220
+			    "token": $.cookie("token")
221
+			}, function (result) {
222
+			    if (result.state.toLowerCase() == "success") {
223
+			        console.log(result);
224
+			        $.cookie("softname", result.data.SoftName);
225
+			        $.cookie("version", result.data.Version);
226
+			        $.cookie("companyname", result.data.CompanyName);
227
+			        $(document).attr("title", result.data.CompanyName + "_" + result.data.SoftName);
228
+			        $('.version').html(result.data.Version);
229
+			    }
230
+			})
154 231
     </script>
155 232
 </body>
156 233
 </html>

+ 12 - 109
CallCenterWeb.UI/registrationManagement/registrationList/edit.html

@@ -16,143 +16,46 @@
16 16
             float: initial;
17 17
             list-style: none;
18 18
         }
19
-
19
+        .wrapper-content{
20
+            padding-right: 60px;
21
+        }
20 22
         .common {
21 23
             width: 100%;
22 24
             text-align: center;
23 25
             padding: 10px 15px;
24 26
         }
25
-
26 27
         .common table {
27 28
             width: 100%;
28 29
         }
29
-
30 30
         .common table th {
31 31
             padding: 5px 8px 5px 0;
32
-            text-align: right;
32
+            text-align: center;
33 33
         }
34
-
35 34
 	    .common table td {
36 35
             padding: 6px 0 5px 10px;
37 36
             text-align: left;
38 37
             color: #717171;
39 38
             line-height: 200%;
40 39
         }
41
-
42 40
         .common table td textarea {
43 41
             width: 100%;
44 42
             vertical-align: middle;
45 43
             resize: none;
46 44
             outline: none;
47 45
         }
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 46
         .form-group {
88 47
             margin-bottom: 0;
89 48
         }
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;
49
+		#formRegistrationType {
50
+            text-align: left;
51
+            width: 100%;
133 52
 		}
134
-		
135 53
 		.radio-inline {
136 54
 			padding-left: 2px;
137 55
 		}
138 56
 		.radio-input{
139 57
 			vertical-align: -2px;
140 58
 		}
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 59
     </style>
157 60
 </head>
158 61
 
@@ -164,7 +67,7 @@
164 67
                     <tr>
165 68
 						<th>工单类型:</th>
166 69
                         <td>
167
-                        	<div id="formRegistrationType" class="col-md-6 r_order_type">
70
+                        	<div id="formRegistrationType" class="col-md-6">
168 71
                         		<input class="radio-input" id="registrationRadioAdvisory" type="radio" name="type" value="1" checked="checked">
169 72
 								<label class="radio-inline" for="registrationRadioAdvisory">
170 73
 					   				咨询
@@ -191,14 +94,14 @@
191 94
                                 <input type="text" class="form-control" id="formComplainedUnit" />
192 95
                             </div>
193 96
                         </td>
97
+                    </tr>
98
+                    <tr>
194 99
                         <th>登记内容/投诉事项:</th>
195 100
                         <td>
196
-                            <div class="form-group">
197
-                                <input type="text" class="form-control" id="formRegistrationContent" />
198
-                            </div>
101
+                            <textarea name="" rows="4" cols="" id="formRegistrationContent" style="margin-top:10px;"></textarea>
199 102
                         </td>
200 103
                     </tr>
201
-                    <tr class="workOrderTypeForm">
104
+                    <tr>
202 105
                         <th>备注:</th>
203 106
                         <td colspan="7">
204 107
                             <textarea name="" rows="4" cols="" id="formRegistrationRemark" style="margin-top:10px;"></textarea>

+ 1 - 1
CallCenterWeb.UI/registrationManagement/registrationList/js/registrationList.js

@@ -80,7 +80,7 @@ function btn_edit(id) {
80 80
         type: 2,
81 81
         title: '编辑登记信息',
82 82
         maxmin: true, //开启最大化最小化按钮
83
-        area: ['80%', '80%'],
83
+        area: ['50%', '80%'],
84 84
         content: 'edit.html?ids=' + id
85 85
     });
86 86
 }