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
77b91919
Commit
77b91919
authored
Nov 14, 2022
by
Takumi Imai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/1.0_check_web_dev' into feature/1.0_check_web_dev_imai
parents
f9a2e2b6
baa071c3
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
27 additions
and
9 deletions
+27
-9
abweb/common/js/header.js
+1
-1
abweb/common/json/lang/lang-en.json
+4
-2
abweb/common/json/lang/lang-ja.json
+3
-1
abweb/common/json/lang/lang-ko.json
+3
-1
abweb/html/dashboard.html
+1
-1
abweb/html/dashboardSetting.html
+1
-1
abweb/html/pickup.html
+0
-1
abweb/js/operationSelect/operationSelect.js
+8
-0
abweb/js/sendMessage/sendMessage.js
+6
-1
No files found.
abweb/common/js/header.js
View file @
77b91919
...
...
@@ -145,7 +145,7 @@ HEADER.processLogout = function () {
* Go page of operationList
*/
HEADER
.
goOperationList
=
function
()
{
sessionStorage
.
active
Tab
=
CONSTANT
.
PAGE_TAB
.
OPERATION_LIST
;
sessionStorage
.
active
HomePage
=
CONSTANT
.
PAGE_NAME
.
OPERATION_LIST
;
OL
.
init
();
};
...
...
abweb/common/json/lang/lang-en.json
View file @
77b91919
...
...
@@ -53,7 +53,7 @@
"dashboardSettings"
:
"Dashboard Settings"
,
"pickup"
:
"Pick up"
,
"communication"
:
"Communication"
,
"workList"
:
"
Work
list"
,
"workList"
:
"
Operation
list"
,
"profile"
:
"Profile"
,
"account_setting"
:
"Account setting"
,
"newRegistrationTitle"
:
"New Registration"
,
...
...
@@ -115,5 +115,6 @@
"categorySelection"
:
"Category Selection"
,
"categoryAll"
:
"All"
,
"reportForm"
:
"Report"
,
"periodicInspectionPeriod"
:
"Periodic Inspection Period"
"periodicInspectionPeriod"
:
"Periodic Inspection Period"
,
"msgSendPushMessageSuccess"
:
"we sent a push message"
}
\ No newline at end of file
abweb/common/json/lang/lang-ja.json
View file @
77b91919
...
...
@@ -113,5 +113,6 @@
"categorySelection"
:
"カテゴリー選択"
,
"categoryAll"
:
"すべて"
,
"reportForm"
:
"報告"
,
"periodicInspectionPeriod"
:
"定期点検期間"
"periodicInspectionPeriod"
:
"定期点検期間"
,
"msgSendPushMessageSuccess"
:
"プッシュメッセージ送信しました。"
}
\ No newline at end of file
abweb/common/json/lang/lang-ko.json
View file @
77b91919
...
...
@@ -112,5 +112,6 @@
"categorySelection"
:
"Category Selection"
,
"categoryAll"
:
"All"
,
"reportForm"
:
"보고서"
,
"periodicInspectionPeriod"
:
"정기점검기간"
"periodicInspectionPeriod"
:
"정기점검기간"
,
"msgSendPushMessageSuccess"
:
"푸시메시지를 보냈습니다."
}
\ No newline at end of file
abweb/html/dashboard.html
View file @
77b91919
...
...
@@ -46,7 +46,7 @@
<div
id=
"includedMainTitle"
></div>
<!-- sub title -->
<h2
class=
"fs-8 font-weight-bold lang"
id=
"
#
pickupHeader"
lang=
"pickup"
></h2>
<h2
class=
"fs-8 font-weight-bold lang"
id=
"pickupHeader"
lang=
"pickup"
></h2>
<!-- card -->
<ul
class=
"dashboard-menu p-0 mt-3 d-grid col-gap-10 grid-col-md-4 grid-col-2"
id =
"pickupItems"
>
...
...
abweb/html/dashboardSetting.html
View file @
77b91919
...
...
@@ -11,7 +11,7 @@
<div
class=
"modal-body"
>
<table
class=
"w-100"
id=
"dashboardSettingItems"
>
<colgroup>
<col
span=
"1"
class=
"w-
12
0px"
>
<col
span=
"1"
class=
"w-
25
0px"
>
</colgroup>
<tbody>
<tr>
...
...
abweb/html/pickup.html
View file @
77b91919
...
...
@@ -31,7 +31,6 @@
<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
type=
"text/javascript"
src=
"../js/topPage/topPage.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../js/pickup/pickup.js"
></script>
<script
type=
"text/javascript"
>
...
...
abweb/js/operationSelect/operationSelect.js
View file @
77b91919
...
...
@@ -73,6 +73,14 @@ OperationSelect.init = function (selectedCallback) {
*/
OperationSelect
.
createOperationSelectList
=
function
(
operationList
)
{
$
(
'#operationSelectList'
).
empty
();
// sort operation list by operationId
operationList
=
operationList
.
sort
(
function
(
a
,
b
)
{
if
(
a
.
operationId
<
b
.
operationId
)
return
1
;
if
(
a
.
operationId
>
b
.
operationId
)
return
-
1
;
return
0
;
});
if
(
typeof
operationList
===
'undefined'
||
operationList
.
length
<
1
)
return
;
for
(
let
i
=
0
;
i
<
operationList
.
length
;
i
++
)
{
let
messageli
=
$
(
"<li class='card mb-2' name = 'operationId_"
+
operationList
[
i
].
operationId
+
"' ></li>"
);
...
...
abweb/js/sendMessage/sendMessage.js
View file @
77b91919
...
...
@@ -79,6 +79,7 @@ SendMessage.onClickSend = function () {
* @param {int} sendType - 0: Group, 1: All
*/
SendMessage
.
postMessage
=
function
(
message
,
operationId
,
sendType
)
{
COMMON
.
showLoading
();
let
param
=
{
sid
:
COMMON
.
getSid
(),
message
:
message
,
...
...
@@ -89,9 +90,13 @@ SendMessage.postMessage = function (message, operationId, sendType) {
SendMessage
.
baseApiUrl
,
param
,
false
,
function
(
json
)
{},
function
(
json
)
{
COMMON
.
closeLoading
();
alert
(
I18N
.
i18nText
(
'msgSendPushMessageSuccess'
));
},
function
()
{
console
.
log
(
'SendMessage.postMessage error'
);
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