main
kgdxpr 1 year ago
parent a9e6af6a1b
commit 4b7f90278f

@ -390,7 +390,12 @@
// 设置选中小方格颜色 // 设置选中小方格颜色
setBoxColor(); setBoxColor();
}, 10); currentSelectNum = getRandomInt(arr.length - 1);
// 设置选中小方格颜色
setBoxColor();
}, 50);
this.value = "停止"; this.value = "停止";
this.innerHTML = "停止"; this.innerHTML = "停止";
@ -413,10 +418,10 @@
table.render({ table.render({
elem: '#tableData', elem: '#tableData',
cols: [[ //标题栏 cols: [[ //标题栏
{ title: '序号', align: 'center', type: 'numbers', width: 50 }, { title: '序号', align: 'center', type: 'numbers', width: 55 },
{ field: 'xm', align: 'center', title: '姓名', width: 75 }, { field: 'xm', align: 'center', title: '姓名', width: 75 },
{ field: 'telephone', align: 'center', title: '电话', width: 125 }, { field: 'telephone', align: 'center', title: '电话', width: 125 },
{ field: 'dw', title: '单位', width: 175 } { field: 'dw', title: '单位', width: 170 }
]], ]],
height: '500', height: '500',
data: tableData, data: tableData,

@ -92,7 +92,7 @@
table.render({ table.render({
elem: '#data-table', elem: '#data-table',
url: '/QingLong/zjcq/listZjcq', url: '/QingLong/zjcq/listZjcq',
height: 'full-60', height: 'full',
page: { page: {
limit: 15 limit: 15
, layout: ['count', 'prev', 'page', 'next', 'skip'] , layout: ['count', 'prev', 'page', 'next', 'skip']

Loading…
Cancel
Save