| | |
| | | <button class="layui-btn layui-btn-xs" lay-event="downLoad"> |
| | | 下载二维码 |
| | | </button> |
| | | <button class="layui-btn layui-btn-xs" lay-event="export"> |
| | | 导出 |
| | | </button> |
| | | </script> |
| | | |
| | | <script type="text/html" id="hospital-push-state"> |
| | |
| | | page: true, |
| | | cols: [ |
| | | [{ |
| | | field: 'hospitalId', |
| | | width: "150", |
| | | title: '医院ID', |
| | | field: 'id', |
| | | width: "200", |
| | | title: '筛查医院ID', |
| | | fixed: 'left' |
| | | }, { |
| | | field: 'hospitalName', |
| | |
| | | downLoad(data.hospitalQrImage); |
| | | } else if (layEvent === 'edit') { |
| | | showEditModel_add("编辑", data); |
| | | }else if(layEvent === 'export'){ |
| | | showEditModel_import("导出",data); |
| | | } |
| | | }); |
| | | |
| | |
| | | window.open(url); |
| | | } |
| | | |
| | | var showEditModel_import = function (title, data) { |
| | | admin.putTempData('t_hospital', data); |
| | | admin.popupCenter({ |
| | | title: title, |
| | | path: 'pages/keaigao/exportScreeningHospital.html', |
| | | area: '500px', |
| | | offset: '0px', |
| | | finish: function () { |
| | | } |
| | | }); |
| | | }; |
| | | |
| | | }); |
| | | </script> |