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
4bbf9651
Commit
4bbf9651
authored
Nov 11, 2022
by
Takumi Imai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#49767 多言語化
parent
5d86997b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
20 deletions
+30
-20
abweb/common/json/lang/lang-en.json
+4
-2
abweb/common/json/lang/lang-ja.json
+4
-1
abweb/common/json/lang/lang-ko.json
+4
-1
abweb/html/reportForm.html
+6
-8
abweb/js/reportForm/reportForm.js
+12
-8
No files found.
abweb/common/json/lang/lang-en.json
View file @
4bbf9651
...
...
@@ -97,6 +97,7 @@
"templateSelection"
:
"Template selection"
,
"logo"
:
"logo"
,
"listDisplay"
:
"List display"
,
"gridDisplay"
:
"Grid display"
"gridDisplay"
:
"Grid display"
,
"reportForm"
:
"Report"
,
"periodicInspectionPeriod"
:
"Periodic Inspection Period"
}
\ No newline at end of file
abweb/common/json/lang/lang-ja.json
View file @
4bbf9651
...
...
@@ -95,5 +95,7 @@
"templateSelection"
:
"テンプレート選択"
,
"logo"
:
"ロゴ"
,
"listDisplay"
:
"リスト表示"
,
"gridDisplay"
:
"グリッド表示"
"gridDisplay"
:
"グリッド表示"
,
"reportForm"
:
"報告"
,
"periodicInspectionPeriod"
:
"定期点検期間"
}
\ No newline at end of file
abweb/common/json/lang/lang-ko.json
View file @
4bbf9651
...
...
@@ -94,5 +94,7 @@
"templateSelection"
:
"Template selection"
,
"logo"
:
"logo"
,
"listDisplay"
:
"list display"
,
"gridDisplay"
:
"Grid display"
"gridDisplay"
:
"Grid display"
,
"reportForm"
:
"보고서"
,
"periodicInspectionPeriod"
:
"정기점검기간"
}
\ No newline at end of file
abweb/html/reportForm.html
View file @
4bbf9651
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"utf-8"
>
<title
class=
"lang"
lang=
"report
List
"
></title>
<title
class=
"lang"
lang=
"report
Form
"
></title>
<meta
name=
"viewport"
content=
"width=device-width,minimum-scale=1,initial-scale=1"
>
<!-- favicons -->
<link
href=
"../common/img/favicon.ico"
rel=
"icon"
>
...
...
@@ -44,27 +44,24 @@
</nav>
<!-- title -->
<div
class=
"d-flex align-items-center"
>
<h1
class=
"fs-14 font-weight-bold pt-sm-4 pt-2 pb-3 mb-0 mr-auto"
>
報告
</h1>
<h1
class=
"fs-14 font-weight-bold pt-sm-4 pt-2 pb-3 mb-0 mr-auto"
lang=
"reportForm"
>
</h1>
<div
style=
"display: none;"
>
<div><span
style=
"font-size:18px;"
>
定期点検期間
</span></div>
<div><span
style=
"font-size:18px;"
lang=
"periodicInspectionPeriod"
>
</span></div>
<div><span
id=
"inspectDate"
></span></div>
</div>
<div
class=
"quickReportBtn"
id=
"quickReportBtn"
onclick=
"submitForm();"
>
<img
src=
"../common/img/icon_pdf.svg"
alt=
"pdf出力"
class=
"p-1 w-40px"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"pdf
出力
"
>
<img
src=
"../common/img/icon_pdf.svg"
alt=
"pdf出力"
class=
"p-1 w-40px"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"pdf
Print
"
>
</div>
</div>
</div>
</main>
<!-- ↓↓↓ ここから共通HTML ↓↓↓ -->
<div
class=
"mb-5"
id=
"report-form"
></div>
<!-- confirm -->
<div
id=
"includedConfirmModal"
></div>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../common/js/newdash/app.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../common/js/newdash/common.js?__UPDATEID__"
></script>
</body>
</html>
</html>
\ No newline at end of file
abweb/js/reportForm/reportForm.js
View file @
4bbf9651
...
...
@@ -2,8 +2,7 @@
var
RF
=
{};
RF
.
init
=
function
(
operationId
,
taskKey
,
replyNo
,
processKey
,
phaseNo
)
{
// COMMON.checkAuth(true);
RF
.
init
=
function
()
{
RF
.
loadCommon
();
RF
.
initFormView
();
...
...
@@ -24,18 +23,23 @@ RF.initFormView = function () {
const
operationId
=
urlParameterList
[
'operationId'
];
if
(
operationId
)
{
let
params
=
{};
const
taskKey
=
urlParameterList
[
'taskKey'
];
const
replyNo
=
urlParameterList
[
'replyNo'
];
const
processKey
=
urlParameterList
[
'processKey'
];
const
phaseNo
=
urlParameterList
[
'phaseNo'
];
params
.
sid
=
COMMON
.
getSid
();
params
.
operationId
=
operationId
;
// params.taskKey = taskKey;
// params.replyNo = replyNo;
// params.processKey = processKey;
// params.phaseNo = phaseNo;
if
(
taskKey
)
params
.
taskKey
=
taskKey
;
if
(
replyNo
)
params
.
replyNo
=
replyNo
;
if
(
processKey
)
params
.
processKey
=
processKey
;
if
(
phaseNo
)
params
.
phaseNo
=
phaseNo
;
const
url
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
())
+
CONSTANT
.
URL
.
CMS
.
HTML
.
BASE
+
CONSTANT
.
URL
.
CMS
.
HTML
.
LIST_REPORT_FORM
;
$
(
'#report-form'
).
load
(
url
,
params
,
function
()
{
initPageLoad
();
});
}
else
{
COMMON
.
displayAlert
(
'error'
);
COMMON
.
avwScreenMove
(
'taskList.html'
);
COMMON
.
avwScreenMove
(
'login.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