|
|
|
@ -50,10 +50,10 @@
|
|
|
|
|
<i class="iconfont icon-tianbao"></i> 填报
|
|
|
|
|
</button>
|
|
|
|
|
{{# } }}
|
|
|
|
|
{{# if(d.is_finish === 1){ }}
|
|
|
|
|
<button type="button" class="layui-btn layui-btn-sm" lay-event="view" style="font-size: 12px !important;">
|
|
|
|
|
<i class="iconfont icon-chakan"></i> 查看
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="layui-btn layui-btn-sm" lay-event="view" style="font-size: 12px !important;">
|
|
|
|
|
<i class="iconfont icon-chakan"></i> 查看
|
|
|
|
|
</button>
|
|
|
|
|
{{# if(d.is_finish === 1){ }}
|
|
|
|
|
{{# if(d.job_type === 2){ }}
|
|
|
|
|
<button type="button" class="layui-btn layui-btn-sm" lay-event="download" style="font-size: 12px !important;">
|
|
|
|
|
<i class="iconfont icon-xiazai"></i> 下载
|
|
|
|
@ -153,20 +153,30 @@
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
window.view = function (obj) {
|
|
|
|
|
if (obj.data.job_type === 1) {
|
|
|
|
|
if (obj.data.is_finish === 0) {
|
|
|
|
|
layer.open({
|
|
|
|
|
type: 2,
|
|
|
|
|
title: '查看',
|
|
|
|
|
offset: 'r',
|
|
|
|
|
anim: 'slideLeft',
|
|
|
|
|
area: ['750px', '100%'],
|
|
|
|
|
shade: 0.1,
|
|
|
|
|
shadeClose: true,
|
|
|
|
|
content: "../form/view.html?job_id=" + obj.data.job_id
|
|
|
|
|
area: ['800px', '400px'],
|
|
|
|
|
content: '../dis/job_view.html?job_id=' + obj.data.job_id
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
var base64Url = Base64.encode('/QingLong/collect/getJobBureauFillInfo?job_id=' + obj.data.job_id + '&type_id=2');
|
|
|
|
|
window.open('../exportPdf.html?url=' + base64Url, '_blank');
|
|
|
|
|
if (obj.data.job_type === 1) {
|
|
|
|
|
layer.open({
|
|
|
|
|
type: 2,
|
|
|
|
|
title: '查看',
|
|
|
|
|
offset: 'r',
|
|
|
|
|
anim: 'slideLeft',
|
|
|
|
|
area: ['750px', '100%'],
|
|
|
|
|
shade: 0.1,
|
|
|
|
|
shadeClose: true,
|
|
|
|
|
content: "../form/view.html?job_id=" + obj.data.job_id
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
var base64Url = Base64.encode('/QingLong/collect/getJobBureauFillInfo?job_id=' + obj.data.job_id + '&type_id=2');
|
|
|
|
|
window.open('../exportPdf.html?url=' + base64Url, '_blank');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|