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