liuzhen преди 6 години
родител
ревизия
46f461fbbc
променени са 2 файла, в които са добавени 30 реда и са изтрити 28 реда
  1. 16 17
      WebUI/CallCenterWeb.UI/zhiShiKu/askRecords.html
  2. 14 11
      WebUI/CallCenterWeb.UI/zhiShiKu/askRecords1.html

+ 16 - 17
WebUI/CallCenterWeb.UI/zhiShiKu/askRecords.html

@@ -262,12 +262,15 @@
262 262
         	color: #000000;
263 263
         }
264 264
         .tool_downs{
265
-        	display: flex;
266
-        	justify-content: space-around;
265
+        	display: block;
266
+        	width: 100%;
267
+        	height: 100%;
268
+        	text-align: center;
267 269
         }
268
-        .tool_downs li{
270
+        .tool_downs a{
269 271
         	list-style: none;
270 272
         	float: left;
273
+        	padding-left: 10px;
271 274
         }
272 275
         .operation_list{
273 276
         	width: 270px;
@@ -464,21 +467,17 @@
464 467
         //格式化操作
465 468
 		function Dispose(val, row) {
466 469
 			if(row.F_RepositoryId&&row.F_RepositoryId!=0){
467
-				return '<ul class="tool_downs">' +
468
-				'<li><a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="see_knowledge(' + row.F_RepositoryId +')" title="查看知识库">查看知识库</a></li>' +
469
-//				'<li><a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="add_knowledge(' + row.F_DemandsId +','+row.F_Deptid+')" title="添加知识库">添加知识库</a></li>' +
470
-				'<li><a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_details(\'' + row.F_DemandsId + '\')" title="详情">详情</a></li>' +
471
-				'<li class="edit"><a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_edit(\'' + row.F_DemandsId + '\')" title="编辑">编辑</a></li>' +
472
-				'<li class="delete_list"><a href="javascript:;" class="aBtn hide_btn" style="margin-left:0px;" authorize="yes" id="HY_delete_' + row.F_DemandsId + '" onclick="btn_delete(' + row.F_DemandsId + ')" title="删除">删除</a></li>' +
473
-				'</ul>';
470
+				return '<div class="tool_downs">' +
471
+				'<a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="see_knowledge(' + row.F_RepositoryId +')" title="查看知识库">查看知识库</a>' +
472
+				'<a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_details(\'' + row.F_DemandsId + '\')" title="详情">详情</a>' +
473
+				'</div>';
474 474
 			}else{
475
-				return '<ul class="tool_downs">' +
476
-//				'<li><a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="see_knowledge(' + row.F_RepositoryId +')" title="查看知识库">查看知识库</a></li>' +
477
-				'<li><a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="add_knowledge(' + row.F_DemandsId +','+row.F_Deptid+')" title="添加知识库">添加知识库</a></li>' +
478
-				'<li><a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_details(\'' + row.F_DemandsId + '\')" title="详情">详情</a></li>' +
479
-//				'<li class="edit"><a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_edit(\'' + row.F_DemandsId + '\')" title="编辑">编辑</a></li>' +
480
-//				'<li class="delete_list"><a href="javascript:;" class="aBtn hide_btn" style="margin-left:0px;" authorize="yes" id="HY_delete_' + row.F_DemandsId + '" onclick="btn_delete(' + row.F_DemandsId + ')" title="删除">删除</a></li>' +
481
-				'</ul>';
475
+				return '<div class="tool_downs">' +
476
+				'<span><a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="add_knowledge(' + row.F_DemandsId +','+row.F_Deptid+')" title="添加知识库">添加知识库</a></span>' +
477
+				'<span><a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_details(\'' + row.F_DemandsId + '\')" title="详情">详情</a></span>' +
478
+				'<span class="edit"><a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_edit(\'' + row.F_DemandsId + '\')" title="编辑">编辑</a></span>' +
479
+				'<span class="delete_list"><a href="javascript:;" class="aBtn hide_btn" style="margin-left:0px;" authorize="yes" id="HY_delete_' + row.F_DemandsId + '" onclick="btn_delete(' + row.F_DemandsId + ')" title="删除">删除</a></span>' +
480
+				'</div>';
482 481
 			}
483 482
 			
484 483
 		}

+ 14 - 11
WebUI/CallCenterWeb.UI/zhiShiKu/askRecords1.html

@@ -262,12 +262,15 @@
262 262
         	color: #000000;
263 263
         }
264 264
         .tool_downs{
265
-        	display: flex;
266
-        	justify-content: space-around;
265
+        	display: block;
266
+        	width: 100%;
267
+        	height: 100%;
268
+        	text-align: center;
267 269
         }
268
-        .tool_downs li{
270
+        .tool_downs a{
269 271
         	list-style: none;
270 272
         	float: left;
273
+        	padding-left: 10px;
271 274
         }
272 275
         .operation_list{
273 276
             width: 270px;
@@ -465,17 +468,17 @@
465 468
         //格式化操作
466 469
 		function Dispose(val, row) {
467 470
 			if(row.F_RepositoryId&&row.F_RepositoryId!=0){
468
-				return '<ul class="tool_downs">' +
469
-				'<li><a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="see_knowledge(' + row.F_RepositoryId +')" title="查看知识库">查看知识库</a></li>' +
471
+				return '<div class="tool_downs">' +
472
+				'<span><a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="see_knowledge(' + row.F_RepositoryId +')" title="查看知识库">查看知识库</a></span>' +
470 473
 //				'<li><a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="add_knowledge(' + row.F_DemandsId +','+row.F_Deptid+')" title="添加知识库">添加知识库</a></li>' +
471
-				'<li><a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_details(\'' + row.F_DemandsId + '\')" title="详情">详情</a></li>' +
472
-				'</ul>';
474
+				'<span><a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_details(\'' + row.F_DemandsId + '\')" title="详情">详情</a></span>' +
475
+				'</div>';
473 476
 			}else{
474
-				return '<ul class="tool_downs">' +
477
+				return '<div class="tool_downs">' +
475 478
 //				'<li><a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="see_knowledge(' + row.F_RepositoryId +')" title="查看知识库">查看知识库</a></li>' +
476
-				'<li><a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="add_knowledge(' + row.F_DemandsId +','+row.F_Deptid+')" title="添加知识库">添加知识库</a></li>' +
477
-				'<li><a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_details(\'' + row.F_DemandsId + '\')" title="详情">详情</a></li>' +
478
-				'</ul>';
479
+				'<span><a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="add_knowledge(' + row.F_DemandsId +','+row.F_Deptid+')" title="添加知识库">添加知识库</a></span>' +
480
+				'<span><a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_details(\'' + row.F_DemandsId + '\')" title="详情">详情</a></span>' +
481
+				'</div>';
479 482
 			}
480 483
 			
481 484
 		}