|
|
|
@ -37,7 +37,7 @@
|
|
|
|
|
<table id="data-table"></table>
|
|
|
|
|
<script type="text/html" id="progress-Templet">
|
|
|
|
|
{{# if(d.publish_state === 1){ }}
|
|
|
|
|
<button type="button" class="layui-btn layui-bg-blue layui-btn-sm layui-btn-radius" style="padding: 0 20px;">
|
|
|
|
|
<button type="button" class="layui-btn layui-bg-blue layui-btn-sm layui-btn-radius" style="padding: 0 20px;cursor: pointer;" onclick='progress("{{= d.job_id }}","{{= d.total_count }}","{{= d.finish_count }}")'>
|
|
|
|
|
{{= d.fill_progress }}
|
|
|
|
|
</button>
|
|
|
|
|
{{# } else { }}
|
|
|
|
@ -167,6 +167,19 @@
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
window.progress = function (job_id, total_count, finish_count) {
|
|
|
|
|
layer.open({
|
|
|
|
|
type: 2,
|
|
|
|
|
title: '填报进度( <span style="color: #16BAAA;font-weight: bolder;">已填报 ' + finish_count + '</span> / 应填报 ' + total_count + ' )',
|
|
|
|
|
shadeClose: true,
|
|
|
|
|
shade: false,
|
|
|
|
|
maxmin: false,
|
|
|
|
|
move: false,
|
|
|
|
|
area: ['100%', '100%'],
|
|
|
|
|
content: "./task_view.html?job_id=" + job_id
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
window.publish = function (obj) {
|
|
|
|
|
if (obj.data.is_save === 1) {
|
|
|
|
|
layer.open({
|
|
|
|
|