Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
d4525ea9
Commit
d4525ea9
authored
Dec 21, 2022
by
Kang Donghun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
報告&定期点検連携作業の場合、PDF出力ボタン押すとアラート表示
parent
3fe481c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
11 deletions
+15
-11
abweb/js/reportList/reportList.js
+15
-11
No files found.
abweb/js/reportList/reportList.js
View file @
d4525ea9
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
if
(
result
)
{
if
(
result
)
{
RL
.
isQuickReport
=
result
.
isQuickReport
;
RL
.
isQuickReport
=
result
.
isQuickReport
;
RL
.
isQRTableInspect
=
result
.
isQRTableInspect
;
RL
.
isQRTableInspect
=
result
.
isQRTableInspect
;
if
(
RL
.
isQRTableInspect
)
RL
.
isQuickReport
=
false
;
};
};
});
});
RL
.
loadCommon
();
RL
.
loadCommon
();
...
@@ -92,16 +91,21 @@
...
@@ -92,16 +91,21 @@
/**
/**
* load main title callcack
* load main title callcack
*/
*/
RL
.
loadMainTitleCallback
=
function
()
{
RL
.
loadMainTitleCallback
=
function
()
{
//add dashboard setting item
//add dashboard setting item
if
(
RL
.
isQuickReport
)
{
if
(
RL
.
isQuickReport
)
{
var
elmA
=
$
(
'<div id="btnPdfPrint" onclick="RL.goPdfPrint();">'
);
var
elmA
;
let
elmImg
=
$
(
'<img src="../common/img/icon_pdf.svg" alt="pdf出力" class="p-1 w-40px" data-toggle="tooltip" data-placement="bottom" title="pdfPrint">'
);
if
(
RL
.
isQRTableInspect
)
{
elmImg
.
attr
(
'title'
,
I18N
.
i18nText
(
'reportList'
));
elmA
=
$
(
'<div id="btnPdfPrint" onclick="COMMON.showAlert("errorOccurred");">'
);
elmA
.
append
(
elmImg
);
}
else
{
$
(
'#mainTitleHeader'
).
after
(
elmA
);
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'
));
elmA
.
append
(
elmImg
);
$
(
'#mainTitleHeader'
).
after
(
elmA
);
}
};
/**
/**
* go pdf print
* go pdf print
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment