diff --git a/WebRoot/Excel/b1efc524-9a7e-443e-b2e6-e302bf72bc1d.pdf b/WebRoot/Excel/b1efc524-9a7e-443e-b2e6-e302bf72bc1d.pdf index 80521ee3..8d0e1eff 100644 Binary files a/WebRoot/Excel/b1efc524-9a7e-443e-b2e6-e302bf72bc1d.pdf and b/WebRoot/Excel/b1efc524-9a7e-443e-b2e6-e302bf72bc1d.pdf differ diff --git a/WebRoot/view/tb/form/ayq/modules/formDesignerView.js b/WebRoot/view/tb/form/ayq/modules/formDesignerView.js index cabe5090..979be096 100644 --- a/WebRoot/view/tb/form/ayq/modules/formDesignerView.js +++ b/WebRoot/view/tb/form/ayq/modules/formDesignerView.js @@ -2081,8 +2081,8 @@ layui.config({ base: './ayq/modules/' }).define(["layer", 'flow', "laytpl", "ele _html += '
'; // _html += ' '.format(json.tag + json.id); _html += '
'; - _html += ''; - _html += ''; + _html += ''; + _html += ''; _html += '
文件名大小上传进度操作
文件名大小上传进度
'.format(json.id); // _html += ''.format(json.id); _html += '
'; diff --git a/WebRoot/view/tb/form/view.html b/WebRoot/view/tb/form/view.html index b9060607..548859f6 100644 --- a/WebRoot/view/tb/form/view.html +++ b/WebRoot/view/tb/form/view.html @@ -240,17 +240,13 @@ '' + '' + res.data[i].fileName + '' + '' + res.data[i].file_size + '' + - '已上传' + - '' + - '' + - '' + + '已上传' + '' ); } else { $('#uploader-list-' + res.data[i].input_id).append( - '
' + - '
' + + '
' + '' + '
' ); diff --git a/WebRoot/view/tb/form/view_bureau.html b/WebRoot/view/tb/form/view_bureau.html new file mode 100644 index 00000000..31467b25 --- /dev/null +++ b/WebRoot/view/tb/form/view_bureau.html @@ -0,0 +1,346 @@ + + + + + + + Layui + + + + + + + + + +
+ +
+ + + + + + + + + + \ No newline at end of file diff --git a/WebRoot/view/tb/org/task_list.html b/WebRoot/view/tb/org/task_list.html index 81b65e3e..50913df1 100644 --- a/WebRoot/view/tb/org/task_list.html +++ b/WebRoot/view/tb/org/task_list.html @@ -67,7 +67,7 @@
@@ -83,6 +85,7 @@ var laytpl = layui.laytpl; var jobId = GetQueryString("job_id"); + var jobType = GetQueryString("job_type"); tableRender(); @@ -122,7 +125,13 @@ { title: '操作', align: 'center', width: "15%", toolbar: '#table-bar' } ]], skin: 'line', - defaultToolbar: [] + defaultToolbar: [], + parseData: function (res) { // res 即为原始返回的数据 + for (var i = 0; i < res.data.length; i++) { + res.data[i].job_type = parseInt(jobType); + } + return res; + } }); } @@ -134,14 +143,26 @@ } }); - window.download = function (obj) { window.location = '/QingLong/collect/getJobBureauFillInfo?job_id=' + obj.data.job_id + '&bureau_id=' + obj.data.bureau_id + '&type_id=1'; } window.view = function (obj) { - var base64Url = Base64.encode('/QingLong/collect/getJobBureauFillInfo?job_id=' + obj.data.job_id + '&bureau_id=' + obj.data.bureau_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_bureau.html?job_id=" + obj.data.job_id + "&bureau_id=" + obj.data.bureau_id + }); + } else { + var base64Url = Base64.encode('/QingLong/collect/getJobBureauFillInfo?job_id=' + obj.data.job_id + '&bureau_id=' + obj.data.bureau_id + '&type_id=2'); + window.open('../exportPdf.html?url=' + base64Url, '_blank'); + } } form.on('select(status)', function (data) { diff --git a/WebRoot/view/tb/school/task_list.html b/WebRoot/view/tb/school/task_list.html index 09bb0384..3a0e5d1f 100644 --- a/WebRoot/view/tb/school/task_list.html +++ b/WebRoot/view/tb/school/task_list.html @@ -35,13 +35,21 @@
+