|
|
|
@ -83,16 +83,24 @@
|
|
|
|
|
cols: [[
|
|
|
|
|
{ title: '序号', align: 'center', width: "5%", type: 'numbers' },
|
|
|
|
|
{ title: '名称', field: 'ys_name', align: 'center' },
|
|
|
|
|
{ title: '日期', field: 'ys_date', align: 'center', width: "15%" },
|
|
|
|
|
{ title: '操作', toolbar: '#table-bar', align: 'center', width: "35%" }
|
|
|
|
|
{ title: '日期', field: 'ys_date', align: 'center', width: "20%" },
|
|
|
|
|
{ title: '状态', field: 'status_name', align: 'center', width: "20%" },
|
|
|
|
|
{ title: '操作', toolbar: '#table-bar', align: 'center', width: "20%" }
|
|
|
|
|
]],
|
|
|
|
|
skin: 'line',
|
|
|
|
|
toolbar: '#table-toolbar',
|
|
|
|
|
defaultToolbar: [{
|
|
|
|
|
title: '刷新',
|
|
|
|
|
layEvent: 'refresh',
|
|
|
|
|
icon: 'layui-icon-refresh',
|
|
|
|
|
}, 'filter', 'print', 'exports']
|
|
|
|
|
defaultToolbar: [],
|
|
|
|
|
parseData: function (res) {
|
|
|
|
|
for (var i = 0; i < res.data.length; i++) {
|
|
|
|
|
if (res.data[i].is_finish === 0) {
|
|
|
|
|
res.data[i].status_name = '待抽取';
|
|
|
|
|
} else {
|
|
|
|
|
res.data[i].status_name = '已抽取';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
return res;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|