html表格添加选项代码,使用实例演示 表单 中的选项卡功能 在里面添加
后不显示表格…

  • Post author:
  • Post category:其他

.time-input{

display: inline;

}

.add-right{

float: right;

font-size: 20px;

border: 1px solid #111111;

border-radius: 50%;

padding: 0px 10px 2px 10px;

}

+

正在请假中

Bootstrap 使用到的某些 HTML 元素和 CSS 属性需要将页面设置为 HTML5 文档类型。在你项目中的每个页面都要参照下面的格式进行设置。

var prefix = ctx + “system/serve”;

$(function(){

serveList();

})

function serveList(){

var options = {

url: prefix + “/list”,

createUrl: prefix + “/add”,

showRefresh: false,

showColumns: false,

showToggle: false,

showSearch: false,

columns:[{

checkbox: true

},{

field: ‘name’,

title: ‘员工姓名’

},{

field: ’empId’,

title: ‘员工编号’

},{

field: ‘startTime’,

title: ‘开始时间’

},{

field: ‘endTime’,

title: ‘结束时间’

},{

field: ’empAsfl’,

title: ‘请假原因’

},{

field: ‘asflStatus’,

title: ‘请假状态’

}]

}

$.table.init(options);

}