main
kgdxpr 1 year ago
parent ae2c926495
commit 59aa2225af

@ -104,13 +104,7 @@
table.render({ table.render({
elem: '#myTable', elem: '#myTable',
url: '/QingLong/zbdc/listSchool', url: '/QingLong/zbdc/CheckViewList',
where: {
check_type_id: $("#statusId").val(),
school_type_id: $("#xxlxId").val(),
keyword: $("#xxmc").val()
},
cellExpandedMode: "tips",
height: 'full-70', height: 'full-70',
page: { page: {
limit: 15 limit: 15
@ -120,8 +114,8 @@
}, },
cols: [[ cols: [[
{ title: '序号', align: 'center', width: "10%", type: 'numbers' }, { title: '序号', align: 'center', width: "10%", type: 'numbers' },
{ title: '学校名称', field: 'org_name', align: 'center', width: "25%" }, { title: '上报内容', field: 'org_name', align: 'center', width: "25%" },
{ title: '学校类型', field: 'school_type_name', align: 'center', width: "20%" }, { title: '最后提交时间', field: 'school_type_name', align: 'center', width: "20%" },
{ title: '状态', field: 'status_name', align: 'center', width: "20%" }, { title: '状态', field: 'status_name', align: 'center', width: "20%" },
{ title: '操作', toolbar: '#table-bar', align: 'center', width: "25%" } { title: '操作', toolbar: '#table-bar', align: 'center', width: "25%" }
@ -143,9 +137,6 @@
} }
}); });
table.on('tool(myTable)', function (obj) { table.on('tool(myTable)', function (obj) {
console.log(obj.data.school_type_id) console.log(obj.data.school_type_id)
if (obj.event === 'view') { if (obj.event === 'view') {

Loading…
Cancel
Save