main
kgdxpr 2 years ago
parent 895a5e58a4
commit c017193af5

@ -76,6 +76,10 @@
<i class="iconfont icon-tijiao"></i> 提交给上级
</button>
{{# } }}
<button type="button" class="layui-btn layui-btn-sm" title="导出汇总表" lay-event="exportHz" style="font-size: 12px !important;">
<i class="iconfont icon-cz-hzb"></i>导出汇总表
</button>
<button type="button" class="layui-btn layui-btn-sm" title="查看" lay-event="view" style="font-size: 12px !important;">
<i class="iconfont icon-chakan"></i> 查看
@ -133,7 +137,7 @@
{ title: '发布时间', unresize: true, field: 'publish_time', align: 'center', width: "10%" },
{ title: '截止时间', unresize: true, field: 'deadline_time', align: 'center', width: "10%" },
{ title: '发布对象', unresize: true, align: 'center', width: "8%", templet: '#targetType' },
{ title: '操作', unresize: true, align: 'left', width: "15%", toolbar: '#table-bar' }
{ title: '操作', unresize: true, align: 'left', width: "20%", toolbar: '#table-bar' }
]],
skin: 'line',
defaultToolbar: [],
@ -155,6 +159,8 @@
window.submitUpLevel(obj);
} else if (obj.event === 'view') {
window.view(obj);
} else if (obj.event === 'exportHz') {
window.exportHz(obj);
}
});
@ -228,7 +234,10 @@
content: "./task_view.html?job_id=" + job_id + "&job_type=" + job_type
});
}
}
window.exportHz = function (obj) {
window.location = "/QingLong/collect/getSummaryExcel?job_id=" + obj.data.job_id;
}
window.refresh = function (param) {

Loading…
Cancel
Save