Commit 7b353503 by Takumi Imai

Merge branch 'feature/1.0_check_web_dev_kdh_2' into 'feature/1.0_check_web_dev'

always display pdfprint button on reportForm

See merge request !80
parents 35d3b8c8 e8e4cdb0
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
var RF = {}; var RF = {};
RF.isQuickReport;
RF.addReportFlg; RF.addReportFlg;
/** /**
...@@ -16,7 +15,6 @@ RF.init = function () { ...@@ -16,7 +15,6 @@ RF.init = function () {
COMMON.checkAuth(false); COMMON.checkAuth(false);
COMMON.checkQuickReport(function (result) { COMMON.checkQuickReport(function (result) {
if (result) { if (result) {
RF.isQuickReport = result.isQuickReport;
RF.addReportFlg = result.addReportFlg; RF.addReportFlg = result.addReportFlg;
} }
}); });
...@@ -122,12 +120,10 @@ RF.initBreadcrumb = function () { ...@@ -122,12 +120,10 @@ RF.initBreadcrumb = function () {
*/ */
RF.loadMainTitleCallback = function () { RF.loadMainTitleCallback = function () {
//add dashboard setting item //add dashboard setting item
if (RF.isQuickReport) { var elmA = $('<div class="quickReportBtn" id="quickReportBtn" onclick="submitForm();">');
var elmA = $('<div class="quickReportBtn" id="quickReportBtn" onclick="submitForm();">'); let elmImg = $('<img src="../common/img/icon_pdf.svg" alt="pdf出力" class="p-1 w-40px" data-toggle="tooltip" data-placement="bottom" title="pdfPrint">');
let elmImg = $('<img src="../common/img/icon_pdf.svg" alt="pdf出力" class="p-1 w-40px" data-toggle="tooltip" data-placement="bottom" title="pdfPrint">'); 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