Explorar el Código

修改黑白名单和录音设置

fanlongfei %!s(int64=8) %!d(string=hace) años
padre
commit
450bc15212

+ 19 - 15
WebUI/CallCenterWeb.UI/TelCall/BlackList.html

@@ -11,13 +11,20 @@
11 11
 		<script src="../Script/Common/huayi.config.js"></script>
12 12
 		<script src="../css/laydate/laydate.js"></script>
13 13
 		<style>
14
+			.operation{
15
+				margin-bottom: 30px;
16
+			}
14 17
 			.th-bar a{
18
+				display: inline-block;
15 19
 				margin: 0 0 0 4px;
16 20
 			}
17
-			.seach-box{
18
-				margin-top: -10px;
21
+	
22
+			.add_time input{
23
+				width: 50%;
24
+			}
25
+			#Pb{
26
+				padding-left: 10px;
19 27
 			}
20
-
21 28
 		</style>
22 29
 	</head>
23 30
 
@@ -36,10 +43,12 @@
36 43
 				</div>
37 44
 			</div>
38 45
 			<div class="th-box">
39
-				<div class="th-bar">
40
-					<a class="sc_btn add max-right">添加</a>
41
-					<a class="sc_btn xg max-right">修改</a>
42
-					<a class="sc_btn remove">删除</a>
46
+				<div class="th-bar clearfix">
47
+					<div class="operation fl">
48
+						<a class="sc_btn add max-right">添加</a>
49
+						<a class="sc_btn xg max-right">修改</a>
50
+						<a class="sc_btn remove">删除</a>
51
+					</div>
43 52
 					<div class="seach-box fr">
44 53
 						<ul>
45 54
 							<li>电话号码:<input class="photo x-color" type="text" id="tel" placeholder="请输入电话号码"/></li>
@@ -112,7 +121,7 @@
112 121
 						'</div>' +
113 122
 						'<div class="add_time">' +
114 123
 						'<label for="" class="Pb_sm">屏蔽说明:</label>' +
115
-						'<textarea type="text" id="Pb"></textarea>' +
124
+						'<textarea placeholder="请输入屏蔽说明" type="text" id="Pb"></textarea>' +
116 125
 						'</div>' +
117 126
 						'<div class="add_time tc">' +
118 127
 						'<button type="button" class="btn sc_btn " id="tc" onclick="addedit()">保&nbsp;&nbsp;存</button>' +
@@ -174,7 +183,7 @@
174 183
 								tc = layer.open({
175 184
 									type: 1,
176 185
 									title: '修改黑名单或白名单',
177
-									area: ['40%', '68%'], //宽高
186
+									area: ['60%', '75%'], //宽高
178 187
 									content: html
179 188
 								});		
180 189
 								$("#addNameType").attr("disabled",true);			
@@ -215,7 +224,7 @@
215 224
 					tc = layer.open({		
216 225
 						type: 1,
217 226
 						title: '添加黑名单或白名单',
218
-						area: ['40%', '68%'], //宽高
227
+						area: ['60%', '75%'], //宽高
219 228
 						content: html, //iframe的url,no代表不显示滚动条
220 229
 //						success: function(layero, index){
221 230
 ////						    console.log(layero, index);
@@ -340,11 +349,8 @@
340 349
 						return;
341 350
 					}
342 351
 				}
343
-
344
-				
345 352
 				/*发送请求*/
346 353
 				$.post(huayi.config.callcenter_url + "Callblack/AddBlack", {
347
-					
348 354
 					blackid: $("#ID").val(),
349 355
 					telphone: $("#TelNum").val(),
350 356
 					type: isBlackName ? 1 : 2,
@@ -352,12 +358,10 @@
352 358
 					removetime: $("#EndTime").val(),
353 359
 					des: $("#Pb").val(),
354 360
 					token: $.cookie("token")
355
-					
356 361
 				}, function(result) {
357 362
 					result = JSON.parse(result);
358 363
 					if(result.state.toLowerCase() == "success") {
359 364
 						if($("#ID").val()) {
360
-							
361 365
 							layer.msg("修改成功");
362 366
 						} else {
363 367
 							var msgInfo = isBlackName ? '增加黑名单成功' : '增加白名单成功';

+ 18 - 9
WebUI/CallCenterWeb.UI/TelCall/SoundList.html

@@ -11,13 +11,20 @@
11 11
 		<script src="../Script/Common/huayi.config.js"></script>
12 12
 		<script src="../css/laydate/laydate.js"></script>
13 13
 		<style>
14
+			.operation{
15
+				margin-bottom: 30px;
16
+			}
14 17
 			.th-bar a{
18
+				display: inline-block;
15 19
 				margin: 0 0 0 4px;
16 20
 			}
17
-			.seach-box{
18
-				margin-top: -10px;
21
+	
22
+			.add_time input{
23
+				width: 50%;
24
+			}
25
+			#Pb{
26
+				padding-left: 10px;
19 27
 			}
20
-
21 28
 		</style>
22 29
 	</head>
23 30
 
@@ -37,9 +44,11 @@
37 44
 			</div>
38 45
 			<div class="th-box">
39 46
 				<div class="th-bar">
40
-					<a class="sc_btn add max-right">添加</a>
41
-					<a class="sc_btn xg max-right">修改</a>
42
-					<a class="sc_btn remove">删除</a>
47
+					<div class="operation fl">
48
+						<a class="sc_btn add max-right">添加</a>
49
+						<a class="sc_btn xg max-right">修改</a>
50
+						<a class="sc_btn remove">删除</a>
51
+					</div>
43 52
 					<div class="seach-box fr">
44 53
 						<ul>
45 54
 							<li>电话号码:<input class="photo x-color" type="text" id="tel" placeholder="请输入电话号码"/></li>
@@ -89,7 +98,7 @@
89 98
 						'</div>' +
90 99
 						'<div class="add_time">' +
91 100
 						'<label for="" class="Pb_sm">详情备注:</label>' +
92
-						'<textarea type="text" id="Pb"></textarea>' +
101
+						'<textarea placeholder="请输入详情备注" type="text" id="Pb"></textarea>' +
93 102
 						'</div>' +
94 103
 						'<div class="add_time tc">' +
95 104
 						'<button type="button" class="btn sc_btn " id="tc" onclick="addedit()">保&nbsp;&nbsp;存</button>' +
@@ -136,7 +145,7 @@
136 145
 								tc = layer.open({
137 146
 									type: 1,
138 147
 									title: '修改总是不录音号码',
139
-									area: ['40%', '68%'], //宽高
148
+									area: ['50%', '75%'], //宽高
140 149
 									content: html
141 150
 								});		
142 151
 								$("#ID").val(result.data.F_Rid);								
@@ -153,7 +162,7 @@
153 162
 					tc = layer.open({		
154 163
 						type: 1,
155 164
 						title: '添加总是不录音号码',
156
-						area: ['40%', '68%'], //宽高
165
+						area: ['50%', '75%'], //宽高
157 166
 						content: html, //iframe的url,no代表不显示滚动条
158 167
 					});
159 168