main
kgdxpr 2 years ago
parent 3c37d4500e
commit 2dc9a88e0d

@ -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({

@ -141,6 +141,11 @@
window.open('../exportPdf.html?url=' + base64Url, '_blank');
}
form.on('select(status)', function (data) {
tableRender();
return false;
});
function GetQueryString(name, istop) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);

Loading…
Cancel
Save