一.使用layui数据表格,通过写查询方法查询出自己需要的内容:
layui.use([‘layer’,
‘table’], function () {
layer = layui.layer;
layuiTable = layui.table;
//用户表
tabWoman = layuiTable.render({
elem: '#tab Woman',
url:
“/JdtionManage/Jdtion/SelectUser”,
cols: [[
{ type: 'radio' },
{ type: 'numbers', title: '序号' },
{ field: 'UserID', title: 'UserID',
hide: true },
{ field: 'UserTypeID', title:
‘UserTypeID’, hide: true },
{ field: 'UserRoleDetailID', title:
‘UserRoleDetailID’, hide: true },
{ field: 'UserName', title: '操作员', width: '200', align: 'center' },
{ field: 'Coding