From 37c04062d11f97f26ec5a48f5f6adb2f96eca7c5 Mon Sep 17 00:00:00 2001 From: zhang <zc857179121@qq.com> Date: 星期一, 19 五月 2025 08:16:10 +0800 Subject: [PATCH] 接口编写 --- src/main/webapp/static/js/trayCode/trayCode.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/static/js/trayCode/trayCode.js b/src/main/webapp/static/js/trayCode/trayCode.js index e9aa0d6..51f6a95 100644 --- a/src/main/webapp/static/js/trayCode/trayCode.js +++ b/src/main/webapp/static/js/trayCode/trayCode.js @@ -120,6 +120,7 @@ break; case 'exportData': layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){ + layer.load(2, {time: 600*1000}); var titles=[]; var fields=[]; obj.config.cols[0].map(function (col) { @@ -309,10 +310,10 @@ for (let i=0;i<res.data.length;i++){ if (data.field.type === '1') { res.data[i]["barcodeUrl"]=baseUrl+"/file/barcode/qrcode/auth?" + - "type="+data.field.type+"¶m="+res.data[i].item+"&width="+200+"&height="+100; + "type="+data.field.type+"¶m="+res.data[i].item+"&width="+200+"&height="+90; } else { res.data[i]["barcodeUrl"]=baseUrl+"/file/barcode/qrcode/auth?" + - "type="+data.field.type+"¶m="+res.data[i].item+"&width="+400+"&height="+200; + "type="+data.field.type+"¶m="+res.data[i].item+"&width="+400+"&height="+180; } } var tpl = $('#trayCodeTemplate').html(); -- Gitblit v1.9.1