|
|
|
@ -83,6 +83,10 @@
|
|
|
|
|
<button type="button" class="layui-btn layui-btn-sm" title="复制" lay-event="copy">
|
|
|
|
|
<i class="iconfont icon-fuzhi"></i>
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
<button type="button" class="layui-btn layui-btn-sm" title="导出表结构" lay-event="exportStruct">
|
|
|
|
|
<i class="iconfont icon-daochu"></i>
|
|
|
|
|
</button>
|
|
|
|
|
{{# } }}
|
|
|
|
|
|
|
|
|
|
<button type="button" class="layui-btn layui-btn-sm" title="导出原始Excel" lay-event="export">
|
|
|
|
@ -164,6 +168,8 @@
|
|
|
|
|
window.postpone(obj);
|
|
|
|
|
} else if (obj.event === 'del') {
|
|
|
|
|
window.del(obj);
|
|
|
|
|
}else if(obj.event==='exportStruct'){
|
|
|
|
|
window.exportStruct(obj);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
@ -228,6 +234,10 @@
|
|
|
|
|
window.location = "/QingLong/Excel/" + obj.data.upload_excel_filename;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
window.exportStruct=function (obj){
|
|
|
|
|
window.location = "/QingLong/collect/exportTableStructExcel?job_id=" + obj.data.job_id;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
window.copy = function (obj) {
|
|
|
|
|
layer.open({
|
|
|
|
|
type: 2,
|
|
|
|
|