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
5168bcdd
Commit
5168bcdd
authored
Nov 11, 2022
by
Takumi Imai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#49772 ローディング
parent
4d6db034
Show whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
93 additions
and
74 deletions
+93
-74
abweb/common/js/common.js
+3
-0
abweb/common/js/event.js
+0
-15
abweb/common/js/header.js
+25
-28
abweb/html/accountSetting.html
+2
-1
abweb/html/dashboard.html
+3
-0
abweb/html/index.html
+5
-4
abweb/html/pdfPrint.html
+3
-1
abweb/html/pickup.html
+4
-1
abweb/html/pushMessageDetail.html
+3
-1
abweb/html/pushMessageList.html
+3
-2
abweb/html/reportForm.html
+4
-2
abweb/html/reportList.html
+3
-2
abweb/html/sendMessage.html
+3
-1
abweb/js/dashboard/dashboard.js
+1
-0
abweb/js/pdfPrint/pdfPrint.js
+2
-0
abweb/js/pickup/pickup.js
+1
-0
abweb/js/pushMessageDetail/pushMessageDetail.js
+1
-0
abweb/js/pushMessageList/pushMessageList.js
+1
-0
abweb/js/reportForm/reportForm.js
+2
-0
abweb/js/reportList/reportList.js
+21
-15
abweb/js/sendMessage/sendMessage.js
+2
-0
abweb/js/setting/settings.js
+1
-0
abweb/js/topPage/topPage.js
+0
-1
No files found.
abweb/common/js/common.js
View file @
5168bcdd
...
@@ -38,7 +38,10 @@ COMMON.showLoading = function () {
...
@@ -38,7 +38,10 @@ COMMON.showLoading = function () {
* close loading
* close loading
*/
*/
COMMON
.
closeLoading
=
function
()
{
COMMON
.
closeLoading
=
function
()
{
setTimeout
(
function
()
{
$
(
'#contentFieldOrverlay'
).
show
();
$
.
LoadingOverlay
(
'hide'
);
$
.
LoadingOverlay
(
'hide'
);
},
500
);
};
};
/**
/**
...
...
abweb/common/js/event.js
View file @
5168bcdd
...
@@ -138,18 +138,3 @@ $('.view-menu .view-block-btn').on('click', function () {
...
@@ -138,18 +138,3 @@ $('.view-menu .view-block-btn').on('click', function () {
$
(
'.view-content'
).
removeClass
(
'view-list'
);
$
(
'.view-content'
).
removeClass
(
'view-list'
);
$
(
'.view-content'
).
addClass
(
'view-block'
);
$
(
'.view-content'
).
addClass
(
'view-block'
);
});
});
/** loading */
$
(
function
()
{
function
e
()
{
setTimeout
(
function
()
{
$
.
LoadingOverlay
(
'hide'
);
},
2000
);
}
$
(
'.search-form-btn'
).
on
(
'click'
,
function
()
{
$
.
LoadingOverlay
(
'show'
,
{
image
:
'img/loading.gif'
,
});
e
();
});
});
abweb/common/js/header.js
View file @
5168bcdd
...
@@ -5,55 +5,53 @@
...
@@ -5,55 +5,53 @@
* @since cms:1.4.3.2&1.4.3.3 web:1.0
* @since cms:1.4.3.2&1.4.3.3 web:1.0
*/
*/
var
HEADER
=
{};
var
HEADER
=
{};
$
(
function
()
{
COMMON
.
showLoading
();
});
/** Direct home page setting */
/** Direct home page setting */
HEADER
.
goToHomePage
=
function
(
pageId
)
{
HEADER
.
goToHomePage
=
function
(
pageId
)
{
DashboardSetting
.
getSettingData
(
function
(
settings
)
{
DashboardSetting
.
getSettingData
(
function
(
settings
)
{
if
(
settings
.
dashboardHome
==
1
)
if
(
settings
.
dashboardHome
==
1
)
{
{
sessionStorage
.
activeHomePage
=
CONSTANT
.
PAGE_NAME
.
DASHBOARD
;
sessionStorage
.
activeHomePage
=
CONSTANT
.
PAGE_NAME
.
DASHBOARD
;
HEADER
.
goDashboard
();
HEADER
.
goDashboard
();
}
}
else
{
else
{
sessionStorage
.
activeHomePage
=
CONSTANT
.
PAGE_TAB
.
OPERATION_LIST
;
sessionStorage
.
activeHomePage
=
CONSTANT
.
PAGE_TAB
.
OPERATION_LIST
;
HEADER
.
goOperationList
();
HEADER
.
goOperationList
();
}
}
});
});
}
};
/**
/**
* Go page of operationList
* Go page of operationList
*/
*/
HEADER
.
goOperationList
=
function
()
{
HEADER
.
goOperationList
=
function
()
{
OL
.
init
();
OL
.
init
();
};
};
/**
/**
* Go page of dashboard
* Go page of dashboard
*/
*/
HEADER
.
goDashboard
=
function
()
{
HEADER
.
goDashboard
=
function
()
{
sessionStorage
.
activeHomePage
=
CONSTANT
.
PAGE_NAME
.
DASHBOARD
;
sessionStorage
.
activeHomePage
=
CONSTANT
.
PAGE_NAME
.
DASHBOARD
;
COMMON
.
avwScreenMove
(
"dashboard.html"
);
COMMON
.
avwScreenMove
(
'dashboard.html'
);
};
};
/**
/**
* Initialize with any navigation
* Initialize with any navigation
*
*
* @param {String} bottomNav
* @param {String} bottomNav
*/
*/
HEADER
.
activeInitBottomNav
=
function
(
bottomNav
)
{
HEADER
.
activeInitBottomNav
=
function
(
bottomNav
)
{
HEADER
.
inactiveAllBottomNav
();
HEADER
.
inactiveAllBottomNav
();
HEADER
.
activeBottomNav
(
bottomNav
);
HEADER
.
activeBottomNav
(
bottomNav
);
};
};
/**
/**
* change inactive all footer bottom
* change inactive all footer bottom
*/
*/
HEADER
.
inactiveAllBottomNav
=
function
()
{
HEADER
.
inactiveAllBottomNav
=
function
()
{
let
navs
=
document
.
getElementsByClassName
(
'bottom-nav'
);
let
navs
=
document
.
getElementsByClassName
(
'bottom-nav'
);
for
(
i
=
0
;
i
<
navs
.
length
;
i
++
)
{
for
(
i
=
0
;
i
<
navs
.
length
;
i
++
)
{
navs
[
i
].
className
=
navs
[
i
].
className
.
replace
(
'text-primary'
,
'text-secondary'
);
navs
[
i
].
className
=
navs
[
i
].
className
.
replace
(
'text-primary'
,
'text-secondary'
);
...
@@ -62,15 +60,14 @@
...
@@ -62,15 +60,14 @@
img
.
src
=
img
.
getAttribute
(
'data-inactive-src'
);
img
.
src
=
img
.
getAttribute
(
'data-inactive-src'
);
}
}
}
}
};
};
/**
/**
* Change specific footer bottom to active.
* Change specific footer bottom to active.
*
*
* @param {String} bottomNavId
* @param {String} bottomNavId
*/
*/
HEADER
.
activeBottomNav
=
function
(
bottomNavId
)
{
HEADER
.
activeBottomNav
=
function
(
bottomNavId
)
{
let
elm
=
$
(
'#'
+
bottomNavId
);
let
elm
=
$
(
'#'
+
bottomNavId
);
if
(
typeof
elm
!==
'object'
)
{
if
(
typeof
elm
!==
'object'
)
{
console
.
log
(
'HEADER.activeBottomNav:elm !== object:'
+
bottomNavId
);
console
.
log
(
'HEADER.activeBottomNav:elm !== object:'
+
bottomNavId
);
...
@@ -82,4 +79,4 @@
...
@@ -82,4 +79,4 @@
if
(
img
&&
img
.
getAttribute
(
'data-src'
))
{
if
(
img
&&
img
.
getAttribute
(
'data-src'
))
{
img
.
src
=
img
.
getAttribute
(
'data-src'
);
img
.
src
=
img
.
getAttribute
(
'data-src'
);
}
}
};
};
abweb/html/accountSetting.html
View file @
5168bcdd
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
</head>
</head>
<body>
<body>
<div
id=
"contentFieldOrverlay"
style=
"display: none;"
>
<!-- header -->
<!-- header -->
<div
id=
"includedHeader"
></div>
<div
id=
"includedHeader"
></div>
...
@@ -99,6 +99,7 @@
...
@@ -99,6 +99,7 @@
<div
id=
"includedConfirmModal"
></div>
<div
id=
"includedConfirmModal"
></div>
<script
type=
"text/javascript"
src=
"../common/js/app.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../common/js/app.js?__UPDATEID__"
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
</div>
</body>
</body>
</html>
</html>
abweb/html/dashboard.html
View file @
5168bcdd
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
</head>
</head>
<body>
<body>
<div
id=
"contentFieldOrverlay"
style=
"display: none;"
>
<!-- header -->
<!-- header -->
<div
id=
"includedHeader"
></div>
<div
id=
"includedHeader"
></div>
<!-- dashboard -->
<!-- dashboard -->
...
@@ -67,5 +68,6 @@
...
@@ -67,5 +68,6 @@
<div
id=
"includedConfirmModal"
></div>
<div
id=
"includedConfirmModal"
></div>
<script
type=
"text/javascript"
src=
"../common/js/app.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../common/js/app.js?__UPDATEID__"
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
</div>
</body>
</body>
</html>
</html>
\ No newline at end of file
abweb/html/index.html
View file @
5168bcdd
...
@@ -21,8 +21,6 @@
...
@@ -21,8 +21,6 @@
<script
src=
"../common/js/constant.js?__UPDATEID__"
></script>
<script
src=
"../common/js/constant.js?__UPDATEID__"
></script>
<script
src=
"../common/js/common.js?__UPDATEID__"
></script>
<script
src=
"../common/js/common.js?__UPDATEID__"
></script>
<script
src=
"../common/js/header.js?__UPDATEID__"
></script>
<script
src=
"../common/js/header.js?__UPDATEID__"
></script>
<script
src=
"../common/js/app.js?__UPDATEID__"
defer
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"
></script>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/gasparesganga-jquery-loading-overlay@2.1.7/dist/loadingoverlay.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/gasparesganga-jquery-loading-overlay@2.1.7/dist/loadingoverlay.min.js"
></script>
...
@@ -31,11 +29,11 @@
...
@@ -31,11 +29,11 @@
<script
src=
"../js/dashboard/dashboard.js?__UPDATEID__"
></script>
<script
src=
"../js/dashboard/dashboard.js?__UPDATEID__"
></script>
<script
src=
"../js/template/template.js?__UPDATEID__"
></script>
<script
src=
"../js/template/template.js?__UPDATEID__"
></script>
<script
src=
"../js/topPage/topPage.js?__UPDATEID__"
></script>
<script
src=
"../js/topPage/topPage.js?__UPDATEID__"
></script>
<script
src=
"../js/reportForm/reportForm.js?__UPDATEID__"
defer
></script>
<script
src=
"../js/reportForm/reportForm.js?__UPDATEID__"
></script>
</head>
</head>
<body>
<body>
<div
id=
"contentFieldOrverlay"
style=
"display: none;"
>
<!-- header -->
<!-- header -->
<div
id=
"includedHeader"
></div>
<div
id=
"includedHeader"
></div>
<!-- task list -->
<!-- task list -->
...
@@ -147,5 +145,8 @@
...
@@ -147,5 +145,8 @@
<p
id=
"checkLoadingMessage"
></p>
<p
id=
"checkLoadingMessage"
></p>
<div
id=
"checkLoadingImage"
><img
src=
'######'
/></div>
<div
id=
"checkLoadingImage"
><img
src=
'######'
/></div>
</div>
</div>
</div>
<script
src=
"../common/js/app.js?__UPDATEID__"
defer
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
</body>
</body>
</html>
</html>
abweb/html/pdfPrint.html
View file @
5168bcdd
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</head>
</head>
<body>
<body>
<div
id=
"contentFieldOrverlay"
style=
"display: none;"
>
<!-- header -->
<!-- header -->
<div
id=
"includedHeader"
></div>
<div
id=
"includedHeader"
></div>
...
@@ -60,6 +60,7 @@
...
@@ -60,6 +60,7 @@
<div
id=
"includedConfirmModal"
></div>
<div
id=
"includedConfirmModal"
></div>
<script
type=
"text/javascript"
src=
"../common/js/app.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../common/js/app.js?__UPDATEID__"
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
</div>
</body>
</body>
</html>
</html>
\ No newline at end of file
abweb/html/pickup.html
View file @
5168bcdd
...
@@ -42,7 +42,8 @@
...
@@ -42,7 +42,8 @@
</script>
</script>
</head>
</head>
<body
>
<body>
<div
id=
"contentFieldOrverlay"
style=
"display: none;"
>
<div
id=
"includedHeader"
></div>
<div
id=
"includedHeader"
></div>
<!-- pickup -->
<!-- pickup -->
<main>
<main>
...
@@ -141,6 +142,7 @@
...
@@ -141,6 +142,7 @@
<div
id=
"includedConfirmModal"
></div>
<div
id=
"includedConfirmModal"
></div>
<script
type=
"text/javascript"
src=
"../common/js/app.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../common/js/app.js?__UPDATEID__"
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
</div>
</body>
</body>
</html>
</html>
\ No newline at end of file
abweb/html/pushMessageDetail.html
View file @
5168bcdd
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</head>
</head>
<body>
<body>
<div
id=
"contentFieldOrverlay"
style=
"display: none;"
>
<!-- header -->
<!-- header -->
<div
id=
"includedHeader"
></div>
<div
id=
"includedHeader"
></div>
<!-- message detail -->
<!-- message detail -->
...
@@ -73,6 +73,7 @@
...
@@ -73,6 +73,7 @@
</main>
</main>
<script
type=
"text/javascript"
src=
"../common/js/app.js"
></script>
<script
type=
"text/javascript"
src=
"../common/js/app.js"
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
</div>
</body>
</body>
</html>
</html>
\ No newline at end of file
abweb/html/pushMessageList.html
View file @
5168bcdd
...
@@ -33,8 +33,7 @@
...
@@ -33,8 +33,7 @@
</head>
</head>
<body>
<body>
<div
id=
"contentFieldOrverlay"
style=
"display: none;"
>
<div
id=
"includedHeader"
></div>
<div
id=
"includedHeader"
></div>
<!-- message list -->
<!-- message list -->
<main>
<main>
...
@@ -54,5 +53,6 @@
...
@@ -54,5 +53,6 @@
</main>
</main>
<script
type=
"text/javascript"
src=
"../common/js/app.js"
></script>
<script
type=
"text/javascript"
src=
"../common/js/app.js"
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
</div>
</body>
</body>
</html>
</html>
\ No newline at end of file
abweb/html/reportForm.html
View file @
5168bcdd
...
@@ -21,13 +21,13 @@
...
@@ -21,13 +21,13 @@
<script
type=
"text/javascript"
src=
"../common/js/constant.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../common/js/constant.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../common/js/common.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../common/js/common.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../js/header/header.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../js/header/header.js?__UPDATEID__"
></script>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/gasparesganga-jquery-loading-overlay@2.1.7/dist/loadingoverlay.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/gasparesganga-jquery-loading-overlay@2.1.7/dist/loadingoverlay.min.js"
></script>
<script
src=
"../js/reportForm/reportForm.js?__UPDATEID__"
></script>
</head>
</head>
<body
onload=
"RF.init();"
>
<body
onload=
"RF.init();"
>
<div
id=
"contentFieldOrverlay"
style=
"display: none;"
>
<!-- header -->
<!-- header -->
<div
id=
"includedHeader"
></div>
<div
id=
"includedHeader"
></div>
...
@@ -62,5 +62,6 @@
...
@@ -62,5 +62,6 @@
<div
id=
"includedConfirmModal"
></div>
<div
id=
"includedConfirmModal"
></div>
<script
type=
"text/javascript"
src=
"../common/js/app.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../common/js/app.js?__UPDATEID__"
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
</div>
</body>
</body>
</html>
</html>
\ No newline at end of file
abweb/html/reportList.html
View file @
5168bcdd
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
</script>
</script>
</head>
</head>
<body
>
<body>
<div
id=
"contentFieldOrverlay"
style=
"display: none;"
>
<!-- header -->
<!-- header -->
<div
id=
"includedHeader"
></div>
<div
id=
"includedHeader"
></div>
<div
id=
"includedMainTitle"
></div>
<div
id=
"includedMainTitle"
></div>
...
@@ -46,6 +46,7 @@
...
@@ -46,6 +46,7 @@
<div
id=
"includedConfirmModal"
></div>
<div
id=
"includedConfirmModal"
></div>
<script
type=
"text/javascript"
src=
"../common/js/app.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../common/js/app.js?__UPDATEID__"
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
</div>
</body>
</body>
</html>
</html>
abweb/html/sendMessage.html
View file @
5168bcdd
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
</head>
</head>
<body>
<body>
<div
id=
"contentFieldOrverlay"
style=
"display: none;"
>
<div
id=
"includedHeader"
></div>
<div
id=
"includedHeader"
></div>
<!-- send message -->
<!-- send message -->
<main>
<main>
...
@@ -91,6 +91,7 @@
...
@@ -91,6 +91,7 @@
<div
id=
"includeTemplateModal"
></div>
<div
id=
"includeTemplateModal"
></div>
<script
type=
"text/javascript"
src=
"../common/js/app.js"
></script>
<script
type=
"text/javascript"
src=
"../common/js/app.js"
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
<script
src=
"../common/js/event.js?__UPDATEID__"
></script>
</div>
</body>
</body>
</html>
</html>
\ No newline at end of file
abweb/js/dashboard/dashboard.js
View file @
5168bcdd
...
@@ -134,6 +134,7 @@ DASHBOARD.init = function () {
...
@@ -134,6 +134,7 @@ DASHBOARD.init = function () {
DASHBOARD
.
initCommunications
();
DASHBOARD
.
initCommunications
();
});
});
});
});
COMMON
.
closeLoading
();
};
};
/** load common data */
/** load common data */
DASHBOARD
.
loadCommon
=
function
()
{
DASHBOARD
.
loadCommon
=
function
()
{
...
...
abweb/js/pdfPrint/pdfPrint.js
View file @
5168bcdd
...
@@ -14,6 +14,8 @@ PP.init = function () {
...
@@ -14,6 +14,8 @@ PP.init = function () {
PP
.
loadCommon
();
PP
.
loadCommon
();
PP
.
initPdfList
();
PP
.
initPdfList
();
COMMON
.
closeLoading
();
};
};
PP
.
loadCommon
=
function
()
{
PP
.
loadCommon
=
function
()
{
...
...
abweb/js/pickup/pickup.js
View file @
5168bcdd
...
@@ -150,6 +150,7 @@ PICKUP.init = function () {
...
@@ -150,6 +150,7 @@ PICKUP.init = function () {
TEMPLATE
.
loadMainNavsTitle
(
'#includedMainTitle'
,
'pickup'
,
navs
,
null
);
TEMPLATE
.
loadMainNavsTitle
(
'#includedMainTitle'
,
'pickup'
,
navs
,
null
);
PICKUP
.
initSettingActivePickup
();
PICKUP
.
initSettingActivePickup
();
PICKUP
.
settingPickup
();
PICKUP
.
settingPickup
();
COMMON
.
closeLoading
();
};
};
/**
/**
* Setting pickup data
* Setting pickup data
...
...
abweb/js/pushMessageDetail/pushMessageDetail.js
View file @
5168bcdd
...
@@ -48,6 +48,7 @@ PushMessageDetail.init = function () {
...
@@ -48,6 +48,7 @@ PushMessageDetail.init = function () {
PushMessageDetail
.
getMessageDetail
(
urlParam
.
pushMessageId
,
function
(
message
)
{
PushMessageDetail
.
getMessageDetail
(
urlParam
.
pushMessageId
,
function
(
message
)
{
PushMessageDetail
.
showMessage
(
message
);
PushMessageDetail
.
showMessage
(
message
);
});
});
COMMON
.
closeLoading
();
};
};
/**
/**
...
...
abweb/js/pushMessageList/pushMessageList.js
View file @
5168bcdd
...
@@ -25,6 +25,7 @@ PushMessageList.init = function () {
...
@@ -25,6 +25,7 @@ PushMessageList.init = function () {
PushMessageList
.
getMessageList
(
function
(
messageList
)
{
PushMessageList
.
getMessageList
(
function
(
messageList
)
{
PushMessageList
.
generateMessageListHtml
(
messageList
.
pushMessageList
);
PushMessageList
.
generateMessageListHtml
(
messageList
.
pushMessageList
);
});
});
COMMON
.
closeLoading
();
};
};
/**
/**
...
...
abweb/js/reportForm/reportForm.js
View file @
5168bcdd
...
@@ -12,6 +12,7 @@ RF.init = function () {
...
@@ -12,6 +12,7 @@ RF.init = function () {
RF
.
loadCommon
();
RF
.
loadCommon
();
RF
.
initFormView
();
RF
.
initFormView
();
COMMON
.
closeLoading
();
};
};
RF
.
loadCommon
=
function
()
{
RF
.
loadCommon
=
function
()
{
...
@@ -36,6 +37,7 @@ RF.initFormView = function () {
...
@@ -36,6 +37,7 @@ RF.initFormView = function () {
params
.
sid
=
COMMON
.
getSid
();
params
.
sid
=
COMMON
.
getSid
();
params
.
operationId
=
operationId
;
params
.
operationId
=
operationId
;
params
.
lang
=
I18N
.
getCurrentLanguage
;
if
(
taskKey
)
params
.
taskKey
=
taskKey
;
if
(
taskKey
)
params
.
taskKey
=
taskKey
;
if
(
replyNo
)
params
.
replyNo
=
replyNo
;
if
(
replyNo
)
params
.
replyNo
=
replyNo
;
if
(
processKey
)
params
.
processKey
=
processKey
;
if
(
processKey
)
params
.
processKey
=
processKey
;
...
...
abweb/js/reportList/reportList.js
View file @
5168bcdd
...
@@ -13,11 +13,12 @@ RL.init = function () {
...
@@ -13,11 +13,12 @@ RL.init = function () {
RL
.
checkQuickReport
();
RL
.
checkQuickReport
();
RL
.
loadCommon
();
RL
.
loadCommon
();
RL
.
initTaskReportList
();
RL
.
initTaskReportList
();
COMMON
.
closeLoading
();
};
};
RL
.
loadCommon
=
function
()
{
RL
.
loadCommon
=
function
()
{
TEMPLATE
.
loadHearder
(
"#includedHeader"
);
TEMPLATE
.
loadHearder
(
'#includedHeader'
);
TEMPLATE
.
loadConfirmModal
(
"#includedConfirmModal"
);
TEMPLATE
.
loadConfirmModal
(
'#includedConfirmModal'
);
const
navs
=
[
const
navs
=
[
{
{
titleLang
:
'dashboard'
,
titleLang
:
'dashboard'
,
...
@@ -27,29 +28,35 @@ RL.loadCommon = function() {
...
@@ -27,29 +28,35 @@ RL.loadCommon = function() {
titleLang
:
'pickup'
,
titleLang
:
'pickup'
,
},
},
];
];
TEMPLATE
.
loadMainNavsTitle
(
"#includedMainTitle"
,
"reportList"
,
navs
,
RL
.
loadMainTitleCallback
);
TEMPLATE
.
loadMainNavsTitle
(
'#includedMainTitle'
,
'reportList'
,
navs
,
RL
.
loadMainTitleCallback
);
}
}
;
RL
.
isQuickReport
;
RL
.
isQuickReport
;
RL
.
checkQuickReport
=
function
()
{
RL
.
checkQuickReport
=
function
()
{
if
(
sessionStorage
.
OL_operationId
)
{
if
(
sessionStorage
.
OL_operationId
)
{
let
params
=
{};
let
params
=
{};
params
.
sid
=
COMMON
.
getSid
();
params
.
sid
=
COMMON
.
getSid
();
params
.
operationId
=
sessionStorage
.
OL_operationId
;
params
.
operationId
=
sessionStorage
.
OL_operationId
;
params
.
returnUrl
=
CONSTANT
.
URL
.
WEB
.
BASE
+
CONSTANT
.
URL
.
WEB
.
OPERATION_LIST
;
params
.
returnUrl
=
CONSTANT
.
URL
.
WEB
.
BASE
+
CONSTANT
.
URL
.
WEB
.
OPERATION_LIST
;
let
url
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
())
+
CONSTANT
.
URL
.
CMS
.
API
.
IS_QUICK_REPORT
;
let
url
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
())
+
CONSTANT
.
URL
.
CMS
.
API
.
IS_QUICK_REPORT
;
COMMON
.
cmsAjax
(
url
,
params
,
false
,
function
(
result
)
{
COMMON
.
cmsAjax
(
url
,
params
,
false
,
function
(
result
)
{
RL
.
isQuickReport
=
result
.
isQuickReport
;
RL
.
isQuickReport
=
result
.
isQuickReport
;
},
function
()
{
},
COMMON
.
displayAlert
(
"msgOperationEmpty"
);
function
()
{
COMMON
.
avwScreenMove
(
"index.html"
);
COMMON
.
displayAlert
(
'msgOperationEmpty'
);
});
COMMON
.
avwScreenMove
(
'index.html'
);
},
);
}
else
{
}
else
{
COMMON
.
displayAlert
(
"error"
);
COMMON
.
displayAlert
(
'error'
);
COMMON
.
avwScreenMove
(
"index.html"
);
COMMON
.
avwScreenMove
(
'index.html'
);
}
}
}
}
;
RL
.
initTaskReportList
=
function
()
{
RL
.
initTaskReportList
=
function
()
{
if
(
sessionStorage
.
OL_operationId
)
{
if
(
sessionStorage
.
OL_operationId
)
{
...
@@ -68,7 +75,6 @@ RL.initTaskReportList = function () {
...
@@ -68,7 +75,6 @@ RL.initTaskReportList = function () {
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
=
$
(
'<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="pdf出力">'
);
let
elmImg
=
$
(
'<img src="../common/img/icon_pdf.svg" alt="pdf出力" class="p-1 w-40px" data-toggle="tooltip" data-placement="bottom" title="pdf出力">'
);
elmImg
.
attr
(
'title'
,
I18N
.
i18nText
(
'reportList'
));
elmImg
.
attr
(
'title'
,
I18N
.
i18nText
(
'reportList'
));
...
...
abweb/js/sendMessage/sendMessage.js
View file @
5168bcdd
...
@@ -129,4 +129,6 @@ SendMessage.init = function () {
...
@@ -129,4 +129,6 @@ SendMessage.init = function () {
I18N
.
initi18n
();
I18N
.
initi18n
();
$
(
"label[for='sendTypeGroup']"
).
append
(
I18N
.
i18nText
(
'labelSendTypeGroup'
));
$
(
"label[for='sendTypeGroup']"
).
append
(
I18N
.
i18nText
(
'labelSendTypeGroup'
));
$
(
"label[for='sendTypeAll']"
).
append
(
I18N
.
i18nText
(
'labelSendTypeAll'
));
$
(
"label[for='sendTypeAll']"
).
append
(
I18N
.
i18nText
(
'labelSendTypeAll'
));
COMMON
.
closeLoading
();
};
};
abweb/js/setting/settings.js
View file @
5168bcdd
...
@@ -11,6 +11,7 @@ $(document).ready(function () {
...
@@ -11,6 +11,7 @@ $(document).ready(function () {
COMMON
.
checkAuth
(
false
);
COMMON
.
checkAuth
(
false
);
SETTINGS
.
initScreen
();
SETTINGS
.
initScreen
();
$
(
'#dspPwdUpd1'
).
click
(
SETTINGS
.
dspPwdUpd1_Click
);
$
(
'#dspPwdUpd1'
).
click
(
SETTINGS
.
dspPwdUpd1_Click
);
COMMON
.
closeLoading
();
});
});
// Process changing password
// Process changing password
...
...
abweb/js/topPage/topPage.js
View file @
5168bcdd
...
@@ -19,7 +19,6 @@ $(document).ready(function () {
...
@@ -19,7 +19,6 @@ $(document).ready(function () {
* show page
* show page
*/
*/
TOP
.
init
=
function
()
{
TOP
.
init
=
function
()
{
COMMON
.
showLoading
();
HEADER
.
goToHomePage
();
HEADER
.
goToHomePage
();
COMMON
.
closeLoading
();
COMMON
.
closeLoading
();
};
};
...
...
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