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
9d257da9
Commit
9d257da9
authored
Jul 21, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RFID関連修正
parent
77868961
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
app/script/check-list.js
+0
-1
app/script/check.js
+13
-2
No files found.
app/script/check-list.js
View file @
9d257da9
...
...
@@ -247,7 +247,6 @@ CHK_L.sendAppCommand = function (command, operationId, contentId, operationGroup
param
.
operationGroupMasterId
=
operationGroupMasterId
;
CHK
.
sendABookCheckApi
(
param
);
}
/**
* 定期点検リストを更新
*
...
...
app/script/check.js
View file @
9d257da9
...
...
@@ -2390,6 +2390,7 @@ CHK.showRelatedContent = function(urlPath, contentId, pageNum) {
}
}
CHK
.
getOneTimeKey
=
function
(
url
,
callback
)
{
$
.
ajax
({
type
:
"GET"
,
...
...
@@ -2987,19 +2988,29 @@ CHK.scanClose = function() {
$
(
".scan-area"
).
addClass
(
"d-none"
);
}
CHK
.
scanResult
=
function
(
scannedCode
)
{
CHK
.
scanResult
=
function
(
scannedCode
,
scanType
)
{
CHK
.
scanClose
();
var
operationList
=
CHK
.
operation
.
searchOperationList
;
var
scannedOperation
=
operationList
.
filter
(
function
(
operation
)
{
return
operation
.
permitCode
==
scannedCode
;
})[
0
];
if
(
scannedOperation
!=
null
)
{
CHK
_L
.
sendAppCommand
(
'goOperation'
,
scannedOperation
.
operationId
,
scannedOperation
.
contentId
);
CHK
.
sendScanResult
(
'goOperation'
,
scannedOperation
.
operationId
,
scannedOperation
.
contentId
,
scanType
);
}
else
{
CHK
.
displayAlert
(
"notExistCode"
);
}
}
CHK
.
sendScanResult
=
function
(
command
,
operationId
,
contentId
,
scanType
)
{
var
param
=
{};
param
.
cmd
=
CHK
.
getCommand
(
command
);
param
.
operationId
=
operationId
;
param
.
contentId
=
contentId
;
param
.
scanType
=
scanType
;
CHK
.
sendABookCheckApi
(
param
);
}
CHK
.
alertClose
=
function
()
{
$
(
".alert-overlay"
).
addClass
(
"d-none"
);
$
(
".alert-area"
).
addClass
(
"d-none"
);
...
...
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