Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
design
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
abookCheck
design
Commits
e241614f
Commit
e241614f
authored
Sep 01, 2022
by
hoangson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix message date format, add language ko
parent
39622b8b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
11 deletions
+25
-11
app/script/check-message-detail.js
+12
-7
app/script/check-message-list.js
+7
-3
app/script/check.js
+6
-1
No files found.
app/script/check-message-detail.js
View file @
e241614f
var
CHK_MessageDetail
=
{};
msgMap
.
messageDetailTopTitle
=
{
ja
:
"プッシュメッセージ詳細"
,
ko
:
"
Push Message Detail"
,
en
:
"Push Message Detail
"
};
msgMap
.
messageDetailHeaderTitle
=
{
ja
:
"メッセージ詳細"
,
ko
:
"
Message List"
,
en
:
"Message Detail
"
};
msgMap
.
messageDetailContentTitle
=
{
ja
:
"内容"
,
ko
:
"
Content
"
,
en
:
"Content"
};
msgMap
.
messageDetailSendDateTitle
=
{
ja
:
"日時"
,
ko
:
"
Send Date
"
,
en
:
"Send Date"
};
msgMap
.
messageDetailWorkingNameTitle
=
{
ja
:
"作業名"
,
ko
:
"
Working Name"
,
en
:
"Working
Name"
};
msgMap
.
messageDetailSenderTitle
=
{
ja
:
"送信者"
,
ko
:
"
Sender
"
,
en
:
"Sender"
};
msgMap
.
messageDetailTopTitle
=
{
ja
:
"プッシュメッセージ詳細"
,
ko
:
"
푸시 메시지 상세"
,
en
:
"Push message details
"
};
msgMap
.
messageDetailHeaderTitle
=
{
ja
:
"メッセージ詳細"
,
ko
:
"
메시지 상세"
,
en
:
"Message Details
"
};
msgMap
.
messageDetailContentTitle
=
{
ja
:
"内容"
,
ko
:
"
내용
"
,
en
:
"Content"
};
msgMap
.
messageDetailSendDateTitle
=
{
ja
:
"日時"
,
ko
:
"
일시
"
,
en
:
"Send Date"
};
msgMap
.
messageDetailWorkingNameTitle
=
{
ja
:
"作業名"
,
ko
:
"
작업명"
,
en
:
"Operation
Name"
};
msgMap
.
messageDetailSenderTitle
=
{
ja
:
"送信者"
,
ko
:
"
송신자
"
,
en
:
"Sender"
};
CHK_MessageDetail
.
init
=
function
()
{
CHK
.
initCommon
();
...
...
@@ -42,7 +42,12 @@ CHK_MessageDetail.init = function() {
CHK_MessageDetail
.
showMessage
=
function
(
message
)
{
$
(
'#messageDetail #message'
).
text
(
message
.
pushMessage
);
$
(
'#messageDetail #sendDate'
).
text
(
message
.
pushSendDate
);
var
mDate
=
message
.
pushSendDate
;
if
(
CHK
.
isAndroid
)
{
mDate
=
CHK
.
getFormatDate
(
new
Date
(
message
.
pushSendDate
));
}
$
(
'#messageDetail #sendDate'
).
text
(
mDate
);
$
(
'#messageDetail #operationName'
).
text
(
message
.
operationName
);
$
(
'#messageDetail #sender'
).
text
(
message
.
pushSendLoginId
);
}
...
...
app/script/check-message-list.js
View file @
e241614f
var
CHK_MessageList
=
{};
msgMap
.
messageListTopTitle
=
{
ja
:
"プッシュメッセージ一覧"
,
ko
:
"
Push Message List
"
,
en
:
"Push Message List"
};
msgMap
.
messageListHeaderTitle
=
{
ja
:
"メッセージ一覧"
,
ko
:
"
Message List
"
,
en
:
"Message List"
};
msgMap
.
messageListEmptyTitle
=
{
ja
:
"該当する作業がありません。"
,
ko
:
"
There is no applicable work
"
,
en
:
"There is no applicable work"
};
msgMap
.
messageListTopTitle
=
{
ja
:
"プッシュメッセージ一覧"
,
ko
:
"
푸시 메시지 일람
"
,
en
:
"Push Message List"
};
msgMap
.
messageListHeaderTitle
=
{
ja
:
"メッセージ一覧"
,
ko
:
"
메시지 일람
"
,
en
:
"Message List"
};
msgMap
.
messageListEmptyTitle
=
{
ja
:
"該当する作業がありません。"
,
ko
:
"
해당 작업이 없습니다.
"
,
en
:
"There is no applicable work"
};
CHK_MessageList
.
init
=
function
()
{
CHK
.
initCommon
();
...
...
@@ -42,6 +42,10 @@ CHK_MessageList.createMessageList = function(messageList) {
var
messageId
=
message
.
pushMessageId
;
var
mTitle
=
message
.
pushMessage
;
var
mDate
=
message
.
pushSendDate
;
if
(
CHK
.
isAndroid
)
{
mDate
=
CHK
.
getFormatDate
(
new
Date
(
message
.
pushSendDate
));
}
var
mSubtitle
=
message
.
operationName
;
var
unread
=
!
message
.
readingFlg
;
var
messageLi
=
$
(
'<li class="item list-unstyled rounded border mb-2" id="pushMessageId_'
+
messageId
+
'"/>'
);
...
...
app/script/check.js
View file @
e241614f
...
...
@@ -588,7 +588,7 @@ CHK.loadDashboardBatch = function(operationList) {
if
(
process
.
phaseList
&&
process
.
phaseList
.
length
>
0
)
{
for
(
var
k
=
0
;
k
<
process
.
phaseList
.
length
;
k
++
)
{
let
phase
=
process
.
phaseList
[
k
];
if
(
phase
.
phaseStatus
&&
phase
.
phaseStatus
!=
999
)
{
if
(
phase
.
phaseStatus
!=
999
)
{
CHK
.
dashboardBatch
.
continousWork
+=
1
;
}
}
...
...
@@ -3457,6 +3457,11 @@ CHK.sendAppCommand = function (command, param) {
CHK
.
sendABookCheckApi
(
apiParam
);
}
CHK
.
getFormatDate
=
function
(
date
)
{
return
date
.
getFullYear
()
+
"-"
+
(
"0"
+
(
date
.
getMonth
()
+
1
)).
slice
(
-
2
)
+
"-"
+
(
"0"
+
date
.
getDate
()).
slice
(
-
2
)
+
" "
+
(
"0"
+
date
.
getHours
()).
slice
(
-
2
)
+
":"
+
(
"0"
+
date
.
getMinutes
()).
slice
(
-
2
);
}
$
(
document
).
ready
(
function
()
{
var
urlParam
=
CHK
.
getUrlParameter
();
if
(
typeof
urlParam
!==
'undefined'
&&
typeof
urlParam
.
lang
!==
'undefined'
)
{
...
...
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