Commit 4bdea4f1 by Kang Donghun

報告一覧画面アラート表示削除

parent 4c98199a
...@@ -7,9 +7,6 @@ ...@@ -7,9 +7,6 @@
var RL = {}; var RL = {};
RL.isQuickReport; RL.isQuickReport;
RL.isQRTableInspect;
RL.isQRTableReport;
RL.isQRWholeBook;
/** /**
* init * init
...@@ -21,9 +18,6 @@ ...@@ -21,9 +18,6 @@
COMMON.checkQuickReport(function(result) { COMMON.checkQuickReport(function(result) {
if (result) { if (result) {
RL.isQuickReport = result.isQuickReport; RL.isQuickReport = result.isQuickReport;
RL.isQRTableInspect = result.isQRTableInspect;
RL.isQRTableReport = result.isQRTableReport;
RL.isQRWholeBook = result.isQRWholeBook;
}; };
}); });
RL.loadCommon(); RL.loadCommon();
...@@ -98,13 +92,8 @@ ...@@ -98,13 +92,8 @@
RL.loadMainTitleCallback = function () { RL.loadMainTitleCallback = function () {
//add dashboard setting item //add dashboard setting item
if (RL.isQuickReport) { if (RL.isQuickReport) {
let elmA; const elmA = $('<div id="btnPdfPrint" onclick="RL.goPdfPrint();">');
if (RL.isQRTableInspect || RL.isQRTableReport || RL.isQRWholeBook) { const elmImg = $('<img src="../common/img/icon_pdf.svg" alt="pdf出力" class="p-1 w-40px" data-toggle="tooltip" data-placement="bottom" title="pdfPrint">');
elmA = $("<div id=\"btnPdfPrint\" onclick=\"COMMON.showAlert('onlyPrintCms');\">");
} else {
elmA = $('<div id="btnPdfPrint" onclick="RL.goPdfPrint();">');
}
let elmImg = $('<img src="../common/img/icon_pdf.svg" alt="pdf出力" class="p-1 w-40px" data-toggle="tooltip" data-placement="bottom" title="pdfPrint">');
elmImg.attr('title', I18N.i18nText('reportList')); elmImg.attr('title', I18N.i18nText('reportList'));
elmA.append(elmImg); elmA.append(elmImg);
$('#mainTitleHeader').after(elmA); $('#mainTitleHeader').after(elmA);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment