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
75c41798
Commit
75c41798
authored
Mar 13, 2023
by
Kang Donghun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PDF出力関連修正
parent
1304419c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
132 additions
and
1 deletions
+132
-1
abweb/common/js/constant.js
+5
-1
abweb/common/json/lang/lang-en.json
+1
-0
abweb/common/json/lang/lang-ja.json
+1
-0
abweb/common/json/lang/lang-ko.json
+1
-0
abweb/html/fileSelect.html
+61
-0
abweb/js/fileSelect/fileSelect.js
+63
-0
No files found.
abweb/common/js/constant.js
View file @
75c41798
/**
* constant js
*
* @since 1.4.3.2 & 1.4.3.3
* @since 1.4.3.2 & 1.4.3.3
& 1.4.3.4
*/
const
CONSTANT
=
{};
...
...
@@ -27,6 +27,7 @@ CONSTANT.PAGE_NAME = {
SETTING
:
'accountSetting'
,
PICKUP
:
'pickup'
,
PDF_PRINT
:
'pdfPrint'
,
FILE_SELECT
:
'fileSelect'
,
DEFAULT
:
'index'
,
LOGIN
:
'./login.html'
,
};
...
...
@@ -45,6 +46,7 @@ CONSTANT.URL_TREE_NAME = {
PICKUP_CONTINUOS
:
'pickup.html?pickupActive=continousWork'
,
PICKUP_WARNING
:
'pickup.html?pickupActive=warningReport'
,
PDF_PRINT
:
'pdfPrint.html'
,
FILE_SELECT
:
'fileSelect.html'
,
};
CONSTANT
.
PICK_UP_TYPE
=
{
...
...
@@ -61,6 +63,7 @@ CONSTANT.URL_TREE_PASS = {
5
:
[
CONSTANT
.
URL_TREE_NAME
.
OPERATION_LIST
,
CONSTANT
.
URL_TREE_NAME
.
REPORT_LIST
,
CONSTANT
.
URL_TREE_NAME
.
REPORT_FORM
],
5
:
[
CONSTANT
.
URL_TREE_NAME
.
OPERATION_LIST
,
CONSTANT
.
URL_TREE_NAME
.
REPORT_FORM
],
6
:
[
CONSTANT
.
URL_TREE_NAME
.
OPERATION_LIST
,
CONSTANT
.
URL_TREE_NAME
.
REPORT_LIST
,
CONSTANT
.
URL_TREE_NAME
.
PDF_PRINT
],
6
:
[
CONSTANT
.
URL_TREE_NAME
.
OPERATION_LIST
,
CONSTANT
.
URL_TREE_NAME
.
REPORT_LIST
,
CONSTANT
.
URL_TREE_NAME
.
PDF_PRINT
,
CONSTANT
.
URL_TREE_NAME
.
FILE_SELECT
],
};
CONSTANT
.
PAGE_TAB
=
{
...
...
@@ -121,6 +124,7 @@ CONSTANT.URL = {
LIST_REPORT_FORM
:
'listReportForm/showReport'
,
REPORT_LIST
:
'reportList'
,
QUICK_REPORT_PRINT
:
'quickReportPrintWeb/'
,
FILE_SELECT
:
'fileSelect/'
,
},
},
WEB
:
{
...
...
abweb/common/json/lang/lang-en.json
View file @
75c41798
...
...
@@ -48,6 +48,7 @@
"msgLogoutConfirm"
:
"Do you want to Logout?"
,
"msgEssential"
:
"{0} is required"
,
"pdfPrint"
:
"PDF Print"
,
"fileSelect"
:
"Print File Select"
,
"msgOperationEmpty"
:
"Operation data is Empty."
,
"success"
:
"Success"
,
"dashboard"
:
"Dashboard"
,
...
...
abweb/common/json/lang/lang-ja.json
View file @
75c41798
...
...
@@ -46,6 +46,7 @@
"msgLogoutConfirm"
:
"ログアウトしますか?"
,
"msgEssential"
:
"{0}は必須です。"
,
"pdfPrint"
:
"PDF出力"
,
"fileSelect"
:
"出力ファイル選択"
,
"msgOperationEmpty"
:
"作業データがありません。"
,
"success"
:
"成功"
,
"dashboard"
:
"ダッシュボード"
,
...
...
abweb/common/json/lang/lang-ko.json
View file @
75c41798
...
...
@@ -45,6 +45,7 @@
"onlyPrintCms"
:
"해당 IO장표는 관리화면에서만 출력 가능합니다."
,
"msgLogoutConfirm"
:
"로그아웃 하시겠습니까?"
,
"pdfPrint"
:
"PDF 출력"
,
"fileSelect"
:
"출력 파일 선택"
,
"msgOperationEmpty"
:
"작업 데이터가 없습니다."
,
"success"
:
"성공"
,
"dashboard"
:
"대시보드"
,
...
...
abweb/html/fileSelect.html
0 → 100644
View file @
75c41798
<!DOCTYPE html>
<html
lang=
"ja-JP"
>
<head>
<meta
http-equiv=
"Content-Language"
content=
"ja"
>
<meta
name=
"google"
content=
"notranslate"
>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width,minimum-scale=1,initial-scale=1"
>
<title
class=
"lang"
lang=
"fileSelect"
></title>
<!-- favicons -->
<link
href=
"../img/favicon.ico"
rel=
"icon"
>
<link
href=
"../img/apple-touch-icon.png"
rel=
"apple-touch-icon"
>
<!-- main css -->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../common/css/app.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../common/css/loading.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../common/css/header.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../common/css/style.css"
>
<!-- vender css -->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../common/css/fontawesome_relative_path.css"
>
<script
type=
"text/javascript"
src=
"../common/js/jquery/jquery-3.6.0.min.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../common/js/jquery/jquery-ui.min.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../common/js/i18n.js?__UPDATEID__"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/gasparesganga-jquery-loading-overlay@2.1.7/dist/loadingoverlay.min.js"
></script>
<script
src=
"../common/js/constant.js?__UPDATEID__"
></script>
<script
src=
"../common/js/common.js?__UPDATEID__"
></script>
<script
src=
"../js/template/template.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../common/js/header.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../js/fileSelect/fileSelect.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
PP
.
init
();
});
</script>
</head>
<body>
<div
id=
"loader"
></div>
<!-- header -->
<div
id=
"includedHeader"
></div>
<span
id=
"loadingNone"
style=
"visibility: hidden;"
>
<!-- title -->
<div
id=
"includedMainTitle"
></div>
<!-- ↓↓↓ ここから共通HTML ↓↓↓ -->
<div
class=
"container-wrap mb-5"
id=
"fileSelectDiv"
></div>
<!-- confirm -->
<div
id=
"includedConfirmModal"
></div>
</span>
<script
type=
"text/javascript"
src=
"../common/js/app.js?__UPDATEID__"
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
</body>
</html>
\ No newline at end of file
abweb/js/fileSelect/fileSelect.js
0 → 100644
View file @
75c41798
/**
* PDF PRINT function js
*
* @since cms:1.4.3.2&1.4.3.3 web:1.0
**/
var
FS
=
{};
/**
* init
*/
FS
.
init
=
function
()
{
//Check if user is logged in
COMMON
.
showLoading
();
COMMON
.
checkAuth
(
false
);
FS
.
loadCommon
();
COMMON
.
closeLoading
();
};
/**
* load common
*/
FS
.
loadCommon
=
function
()
{
TEMPLATE
.
loadHeader
(
'#includedHeader'
);
TEMPLATE
.
loadConfirmModal
(
'#includedConfirmModal'
);
let
navs
=
[
{
titleLang
:
CONSTANT
.
PAGE_NAME
.
OPERATION_LIST
,
href
:
CONSTANT
.
URL_TREE_NAME
.
OPERATION_LIST
,
},
{
titleLang
:
CONSTANT
.
PAGE_NAME
.
REPORT_LIST
,
href
:
CONSTANT
.
URL_TREE_NAME
.
REPORT_LIST
,
},
{
titleLang
:
CONSTANT
.
PAGE_NAME
.
PDF_PRINT
,
href
:
CONSTANT
.
URL_TREE_NAME
.
PDF_PRINT
,
},
{
titleLang
:
CONSTANT
.
PAGE_NAME
.
FILE_SELECT
,
}
];
TEMPLATE
.
loadMainNavsTitle
(
'#includedMainTitle'
,
CONSTANT
.
PAGE_NAME
.
FILE_SELECT
,
navs
,
FS
.
initFileList
);
};
/**
* init pdf list
*/
FS
.
initFileList
=
function
()
{
if
(
sessionStorage
.
getItem
(
"operationId"
))
{
let
params
=
{};
params
.
sid
=
COMMON
.
getSid
();
params
.
operationId
=
sessionStorage
.
getItem
(
"operationId"
);
params
.
selectFileList
=
sessionStorage
.
getItem
(
"selectFileList"
);
let
url
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
())
+
CONSTANT
.
URL
.
CMS
.
HTML
.
BASE
+
CONSTANT
.
URL
.
CMS
.
HTML
.
QUICK_REPORT_PRINT
+
CONSTANT
.
URL
.
CMS
.
HTML
.
FILE_SELECT
;
$
(
'#fileSelectDiv'
).
load
(
url
,
params
);
}
else
{
COMMON
.
showAlert
(
'error'
);
COMMON
.
avwScreenMove
(
'reportList.html'
);
}
};
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