Sfoglia il codice sorgente

关键字、文本框大小修改

liuzhen 6 anni fa
parent
commit
9f46d0059e

+ 6 - 5
WebUI/CallCenterWeb.UI/zhiShiKu/askRecords.html

@@ -420,6 +420,7 @@
420 420
                         etime: $('#starttime').val() && $('#starttime').val().split(' ~ ')[1], //=结束时间
421 421
                         deptid: $("#PID").val(),//承办单位id
422 422
                         level: $("#dealtype").val(),//级别
423
+                        key:$('#key').val(),//关键字
423 424
                         token: $.cookie("token")
424 425
                     };
425 426
                     return param;
@@ -451,9 +452,9 @@
451 452
         function GetCont(val) {
452 453
             if (val) {
453 454
                 var str = '<div '
454
-                if (val.length > 20) {
455
+                if (val.length > 30) {
455 456
                     str = str + ' title="' + val + '" ';
456
-                    val = val.substr(0, 20) + "...";
457
+                    val = val.substr(0, 30) + "...";
457 458
                 }
458 459
                 return str + '>' + val + '</div>';
459 460
             } else {
@@ -464,9 +465,9 @@
464 465
 		function Dispose(val, row) {
465 466
 			return '<ul class="tool_downs">' +
466 467
 				'<li><a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="add_knowledge(\'' + row.F_DemandsId + '\')" title="添加知识库">添加知识库</a></li>' +
467
-				'<li><a href="javascript:;" class="aBtn" style="margin-left:20px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_details(\'' + row.F_DemandsId + '\')" title="详情">详情</a></li>' +
468
-				'<li class="edit"><a href="javascript:;" class="aBtn" style="margin-left:20px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_edit(\'' + row.F_DemandsId + '\')" title="编辑">编辑</a></li>' +
469
-				'<li class="delete_list"><a href="javascript:;" class="aBtn hide_btn" style="margin-left:20px;" authorize="yes" id="HY_delete_' + row.F_DemandsId + '" onclick="btn_delete(' + row.F_DemandsId + ')" title="删除">删除</a></li>' +
468
+				'<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>' +
469
+				'<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>' +
470
+				'<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>' +
470 471
 				'</ul>';
471 472
 		}
472 473
 		//添加到知识库

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

@@ -269,6 +269,13 @@
269 269
         	list-style: none;
270 270
         	float: left;
271 271
         }
272
+        .operation_list{
273
+            width: 270px;
274
+        }
275
+        ul{
276
+            padding: 0;
277
+        }
278
+
272 279
     </style>
273 280
 </head>
274 281
 
@@ -293,15 +300,15 @@
293 300
                     <div class="box_content">
294 301
                         <table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
295 302
                             <tr>
296
-                                <th>关键字</th>
303
+                                <th>关键字:</th>
297 304
                                 <td>
298 305
                                     <input type="text" placeholder="输入关键字" id="key" class="Min-width" />
299 306
                                 </td>
300
-                                <th>时间</th>
307
+                                <th>时间:</th>
301 308
                                 <td >
302 309
                                     <input type="text" id="starttime" class="" placeholder="请选择时间" style="height: 32px;" />
303 310
                                 </td>
304
-                                <th>紧急程度</th>
311
+                                <th>紧急程度:</th>
305 312
                                 <td>
306 313
                                     <select class="select_" id="dealtype">
307 314
                                         <option value="">请选择</option>
@@ -348,7 +355,7 @@
348 355
                                     <th data-field="F_SubmitUserName" data-align="center">提交人</th>
349 356
                                     <th data-field="F_SubmitTime" data-align="center">提交时间</th>
350 357
                                     <th data-field="F_LimitTime"  data-align="center">时限</th>
351
-                                    <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
358
+                                    <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center" class="operation_list">操作</th>
352 359
                                 </tr>
353 360
                             </thead>
354 361
                             <tbody class="list"></tbody>
@@ -414,6 +421,7 @@
414 421
                         etime: $('#starttime').val() && $('#starttime').val().split(' ~ ')[1], //=结束时间
415 422
                         deptid: $("#PID").val(),//承办单位id
416 423
                         level: $("#dealtype").val(),//级别
424
+                        key:$('#key').val(),
417 425
                         token: $.cookie("token")
418 426
                     };
419 427
                     return param;
@@ -445,9 +453,9 @@
445 453
         function GetCont(val) {
446 454
             if (val) {
447 455
                 var str = '<div '
448
-                if (val.length > 15) {
456
+                if (val.length > 30) {
449 457
                     str = str + ' title="' + val + '" ';
450
-                    val = val.substr(0, 15) + "...";
458
+                    val = val.substr(0, 30) + "...";
451 459
                 }
452 460
                 return str + '>' + val + '</div>';
453 461
             } else {