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
898f6c23
Commit
898f6c23
authored
Dec 14, 2022
by
Takumi Imai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
リファクタリング
parent
6e7014de
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
8 deletions
+14
-8
abweb/common/html/category-modal.html
+0
-0
abweb/common/json/lang/lang-en.json
+3
-1
abweb/common/json/lang/lang-ja.json
+3
-1
abweb/common/json/lang/lang-ko.json
+3
-1
abweb/js/operationList/operationList.js
+3
-3
abweb/js/sendMessage/sendMessage.js
+2
-2
No files found.
abweb/common/category-modal.html
→
abweb/common/
html/
category-modal.html
View file @
898f6c23
File moved
abweb/common/json/lang/lang-en.json
View file @
898f6c23
...
...
@@ -123,5 +123,6 @@
"dateError"
:
"Set the start date before the end date."
,
"onlyRfid"
:
"RFID or barcode is set.
\n
Please scan the code."
,
"errorOccured"
:
"Communication error."
,
"selectData"
:
"Choice"
"selectData"
:
"Choice"
,
"errorSendMsg"
:
"Send failed."
}
\ No newline at end of file
abweb/common/json/lang/lang-ja.json
View file @
898f6c23
...
...
@@ -121,5 +121,6 @@
"dateError"
:
"開始日は終了日の前に設定してください。"
,
"onlyRfid"
:
"RFID又はバーコードが設定されています。
\n
該当コードを読み込んでください。"
,
"errorOccured"
:
"通信エラーです。"
,
"selectData"
:
"選択"
"selectData"
:
"選択"
,
"errorSendMsg"
:
"送信に失敗しました。"
}
\ No newline at end of file
abweb/common/json/lang/lang-ko.json
View file @
898f6c23
...
...
@@ -120,5 +120,6 @@
"dateError"
:
"시작일은 종료일 이전에 설정하십시오."
,
"onlyRfid"
:
"RFID또는 바코드가 설정되어있습니다.
\n
해당코드를 스캔해주십시오."
,
"errorOccured"
:
"통신 오류입니다."
,
"selectData"
:
"선택"
"selectData"
:
"선택"
,
"errorSendMsg"
:
"전송에 실패했습니다."
}
\ No newline at end of file
abweb/js/operationList/operationList.js
View file @
898f6c23
...
...
@@ -36,7 +36,7 @@ OL.init = function () {
OL
.
createOperationList
(
OL
.
operationList
);
//show category(operationGroupMaster)
$
(
'#includedCategoryModal'
).
load
(
'../common/category-modal.html'
,
function
()
{
$
(
'#includedCategoryModal'
).
load
(
'../common/
html/
category-modal.html'
,
function
()
{
OL
.
createCategory
();
I18N
.
initi18n
();
});
...
...
@@ -507,11 +507,11 @@ OL.sendOperation = function (operationId, operationType, reportType, enableAddRe
//save operation logs. needed for sorting
OL
.
saveOperationReadingLog
(
operationId
,
operationType
,
reportType
);
//Transition to the report form or operation list screen
sessionStorage
.
setItem
(
"operationId"
,
operationId
);
sessionStorage
.
setItem
(
'operationId'
,
operationId
);
if
(
enableAddReport
==
'1'
||
reportType
==
CONSTANT
.
REPORT_TYPE
.
ROUTINE
)
{
COMMON
.
avwScreenMove
(
'reportList.html'
);
}
else
{
const
url
=
'reportForm.html?operationId='
+
operationId
+
"&addReport="
+
enableAddReport
;
const
url
=
'reportForm.html?operationId='
+
operationId
+
'&addReport='
+
enableAddReport
;
COMMON
.
avwScreenMove
(
url
);
}
};
...
...
abweb/js/sendMessage/sendMessage.js
View file @
898f6c23
...
...
@@ -69,7 +69,7 @@ SendMessage.onClickSend = function () {
const
message
=
SendMessage
.
getCurrentMessageContent
();
const
operationId
=
SendMessage
.
getCurrentOperationId
();
const
sendType
=
SendMessage
.
getCurrentSendType
();
COMMON
.
showConfirm
(
'msgSendPushMessageConfirm'
,
function
()
{
COMMON
.
showConfirm
(
'msgSendPushMessageConfirm'
,
function
()
{
SendMessage
.
postMessage
(
message
,
operationId
,
sendType
);
});
};
...
...
@@ -97,8 +97,8 @@ SendMessage.postMessage = function (message, operationId, sendType) {
COMMON
.
showAlert
(
'msgSendPushMessageSuccess'
,
'success'
);
},
function
()
{
console
.
log
(
'SendMessage.postMessage error'
);
COMMON
.
closeLoading
();
COMMON
.
showAlert
(
'errorSendMsg'
);
},
);
};
...
...
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