| | |
| | | </button> |
| | | <button id="screeningOrganization-btn-add" class="layui-btn icon-btn"><i class="layui-icon"></i>添加筛查机构 |
| | | </button> |
| | | <button id="screeningOrganization-btn-import" class="layui-btn icon-btn"><i class="layui-icon"></i>导入筛查机构 |
| | | </button> |
| | | <table class="layui-table" id="app-table" lay-filter="app-table"></table> |
| | | </div> |
| | | </div> |
| | |
| | | // 返回 |
| | | xmlResquest.onload = function() { |
| | | if (this.status == 200) { |
| | | var fileName = "002.png"; |
| | | var fileName = JSON.parse(data).no + ".png"; |
| | | var blob = this.response; |
| | | var a = document.createElement('a'); |
| | | a.innerHTML = fileName; |
| | |
| | | window.open(url); |
| | | } |
| | | |
| | | // 导入按钮点击事件 |
| | | $('#screeningOrganization-btn-import').click(function () { |
| | | showEditModel_import("导入"); |
| | | }); |
| | | |
| | | var showEditModel_import = function (title, data) { |
| | | admin.popupCenter({ |
| | | title: title, |
| | | path: 'pages/keaigao/importScreeningOrganization.html', |
| | | area: '600px', |
| | | offset: '0px', |
| | | finish: function () { |
| | | } |
| | | }); |
| | | }; |
| | | |
| | | }); |
| | | </script> |