| | |
| | | <!-- <div><button type="button" id="otherSave">另保存到服务器</button></div>--> |
| | | <div><button type="button" class="layui-btn layui-btn-primary layui-btn-xs btn-edit" id="allprint">全部打印</button></div> |
| | | <div><button type="button" class="layui-btn layui-btn-primary layui-btn-xs btn-edit" id="print">选区打印</button></div> |
| | | <div><button type="button" class="layui-btn layui-btn-primary layui-btn-xs btn-edit" id="download">下载</button></div> |
| | | </div> |
| | | <div id="luckysheet" style="margin:0px;padding:0px;position:absolute;width:100%;height: 100vh;left: 0px;top: 0px;"></div> |
| | | <script> |
| | |
| | | myFolderUrl: '' //左上角<返回按钮的链接 |
| | | } |
| | | |
| | | let checkDataFile = ""; |
| | | |
| | | if(getUrlParams('id') == false || getUrlParams('id') == undefined){ |
| | | //新增 |
| | | luckysheet.create(options) |
| | |
| | | headers: {'token': localStorage.getItem('token')}, |
| | | success:function(res) { |
| | | if (res.code == 200) { |
| | | checkDataFile = res.data.checkDataFile |
| | | options.data = unzip(res.data.checkData) |
| | | luckysheet.create(options) |
| | | $("#luckysheet_info_detail_update").hide() |
| | |
| | | } |
| | | }) |
| | | |
| | | $("#download").on("click",() => { |
| | | window.open(baseUrl + "/priOnline/checkDataDownload/" +checkDataFile) |
| | | }) |
| | | |
| | | }) |
| | | |
| | | $("#allprint").on("click",() => { |