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
f4f4ccb9
Commit
f4f4ccb9
authored
Oct 26, 2022
by
NGUYEN HOANG SON
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add message detail html, js
parent
70ab8d42
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
140 additions
and
0 deletions
+140
-0
abvw/html/push-message-detail.html
+86
-0
abvw/js/pushMessageDetail/push-message-detail.js
+54
-0
No files found.
abvw/html/push-message-detail.html
0 → 100755
View file @
f4f4ccb9
<!DOCTYPE html>
<html
lang=
"ja-JP"
>
<head>
<meta
charset=
"utf-8"
>
<title>
ダッシュボード
</title>
<meta
name=
"viewport"
content=
"width=device-width,minimum-scale=1,initial-scale=1"
>
<!-- favicons -->
<link
href=
"../common/img/favicon.ico"
rel=
"icon"
>
<link
href=
"../common/img/apple-touch-icon.png"
rel=
"apple-touch-icon"
>
<!-- main css -->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../common/css/newdash/app.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../common/css/newdash/header.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../common/css/newdash/style.css"
>
<!-- vender css -->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../common/css/newdash/fontawesome_relative_path.css"
>
<script
type=
"text/javascript"
src=
"/abvw/common/js/jquery/jquery-3.6.0.min.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"/abvw/common/js/jquery/jquery-ui.min.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"/abvw/common/js/web/i18n.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../common/js/newdash/app.js"
></script>
<script
type=
"text/javascript"
src=
"../common/js/newdash/common.js"
></script>
<script
src=
"../common/js/constant.js?__UPDATEID__"
></script>
<script
src=
"../common/js/common.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../js/pushMessageDetail/push-message-detail.js"
></script>
</head>
<body
onload=
"PushMessageDetail.init();"
>
<!-- header -->
<div
id=
"includedHeader"
></div>
<!-- message detail -->
<main>
<div
class=
"container"
>
<!-- breadcrumb -->
<nav
aria-label=
"breadcrumb"
>
<ol
class=
"breadcrumb px-0 mb-0"
>
<li
class=
"breadcrumb-item"
><a
href=
"dashboard.html"
class=
"text-decoration-none text-underline lang"
lang=
"dashboard"
></a></li>
<li
class=
"breadcrumb-item"
><a
href=
"message-list.html"
class=
"text-decoration-none text-underline lang"
lang=
"messageListTitle"
></a></li>
<li
class=
"breadcrumb-item active"
aria-current=
"page"
><span>
メッセージ詳細
</span></li>
</ol>
</nav>
<!-- title -->
<h1
class=
"fs-14 font-weight-bold pt-sm-4 pt-2 pb-3 mb-0"
>
メッセージ詳細
</h1>
<!-- message detail -->
<div
class=
"row"
>
<div
class=
"col-12"
>
<div
class=
"card p-4"
>
<table>
<colgroup>
<col
span=
"1"
class=
"w-100px"
>
</colgroup>
<tbody>
<tr
class=
"border-bottom"
>
<th
class=
"fs-9 p-2 text-secondary"
>
作業名
</th>
<td
class=
"p-2"
>
絞り検索
</td>
</tr>
<tr
class=
"border-bottom"
>
<th
class=
"fs-9 p-2 text-secondary"
>
送信日時
</th>
<td
class=
"p-2"
>
2022/07/06 14:14
</td>
</tr>
<tr
class=
"border-bottom"
>
<th
class=
"fs-9 p-2 text-secondary"
>
送信者
</th>
<td
class=
"p-2"
>
agentec
</td>
</tr>
<tr
class=
"border-bottom"
>
<th
class=
"fs-9 p-2 text-secondary"
>
内容
</th>
<td
class=
"p-2"
>
内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</main>
</body>
</html>
\ No newline at end of file
abvw/js/pushMessageDetail/push-message-detail.js
0 → 100644
View file @
f4f4ccb9
var
PushMessageDetail
=
{};
PushMessageDetail
.
baseApiUrl
=
CONSTANT
.
URL
.
CMS
.
BASE
+
ClientData
.
userInfo_accountPath
()
+
CONSTANT
.
URL
.
CMS
.
API
.
BASE
+
'pushMessageDetail/'
;
// 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"};
PushMessageDetail
.
init
=
function
()
{
$
(
"#includedHeader"
).
load
(
"../common/header.html"
,
function
()
{
I18N
.
initi18n
();
});
var
urlParam
=
CHK
.
getUrlParameter
();
if
(
typeof
urlParam
!==
'object'
||
typeof
urlParam
.
pushMessageId
===
'undefined'
)
{
return
;
}
let
messageId
=
urlParam
.
pushMessageId
;
PushMessageDetail
.
getMessageDetail
(
messageId
,
function
(
message
)
{
PushMessageDetail
.
showMessage
(
message
);
});
}
PushMessageDetail
.
getMessageDetail
=
function
(
pushMessageId
,
callback
)
{
let
param
=
{
sid
:
COMMON
.
getSid
(),
pushMessageId
:
pushMessageId
};
const
url
=
PushMessageDetail
.
baseApiUrl
;
COMMON
.
cmsAjax
(
url
,
param
,
false
,
function
(
json
)
{
if
(
callback
)
{
callback
(
json
);
}
},
function
()
{
console
.
log
(
'PushMessageDetail.getMessageDetail error'
);
if
(
callback
)
{
callback
(
PushMessageDetail
.
dummyMessageDetailJson
);
}
});
}
PushMessageDetail
.
showMessage
=
function
(
message
)
{
$
(
'#messageDetail #message'
).
text
(
message
.
pushMessage
);
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
);
}
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