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
67359662
Commit
67359662
authored
Jul 23, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ソート初期値変更、RFIDとバーコード関連修正
parent
9d257da9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
app/index.html
+2
-2
app/script/check.js
+4
-1
No files found.
app/index.html
View file @
67359662
...
@@ -108,8 +108,8 @@
...
@@ -108,8 +108,8 @@
</a>
</a>
<div
class=
"dropdown-menu"
aria-labelledby=
"dropdownMenuButton"
>
<div
class=
"dropdown-menu"
aria-labelledby=
"dropdownMenuButton"
>
<a
class=
"dropdown-item sort-type"
data-sort=
"0"
onclick=
"CHK.changeSortType(this);"
>
作業名順
</a>
<a
class=
"dropdown-item sort-type"
data-sort=
"0"
onclick=
"CHK.changeSortType(this);"
>
作業名順
</a>
<a
class=
"dropdown-item sort-type
"
data-sort=
"1
"
onclick=
"CHK.changeSortType(this);"
>
作業期間が新しい順
</a>
<a
class=
"dropdown-item sort-type
active"
data-sort=
"1"
id=
"defaultSort
"
onclick=
"CHK.changeSortType(this);"
>
作業期間が新しい順
</a>
<a
class=
"dropdown-item sort-type
active"
data-sort=
"2"
id=
"defaultSort
"
onclick=
"CHK.changeSortType(this);"
>
作業期間が古い順
</a>
<a
class=
"dropdown-item sort-type
"
data-sort=
"2
"
onclick=
"CHK.changeSortType(this);"
>
作業期間が古い順
</a>
<a
class=
"dropdown-item sort-type"
data-sort=
"3"
onclick=
"CHK.changeSortType(this);"
>
報告タイプ順
</a>
<a
class=
"dropdown-item sort-type"
data-sort=
"3"
onclick=
"CHK.changeSortType(this);"
>
報告タイプ順
</a>
<a
class=
"dropdown-item sort-type"
data-sort=
"4"
onclick=
"CHK.changeSortType(this);"
>
閲覧日が新しい順
</a>
<a
class=
"dropdown-item sort-type"
data-sort=
"4"
onclick=
"CHK.changeSortType(this);"
>
閲覧日が新しい順
</a>
</div>
</div>
...
...
app/script/check.js
View file @
67359662
...
@@ -2989,10 +2989,13 @@ CHK.scanClose = function() {
...
@@ -2989,10 +2989,13 @@ CHK.scanClose = function() {
}
}
CHK
.
scanResult
=
function
(
scannedCode
,
scanType
)
{
CHK
.
scanResult
=
function
(
scannedCode
,
scanType
)
{
if
(
scannedCode
==
null
||
!
(
scannedCode
.
length
))
{
return
;
}
CHK
.
scanClose
();
CHK
.
scanClose
();
var
operationList
=
CHK
.
operation
.
searchOperationList
;
var
operationList
=
CHK
.
operation
.
searchOperationList
;
var
scannedOperation
=
operationList
.
filter
(
function
(
operation
)
{
var
scannedOperation
=
operationList
.
filter
(
function
(
operation
)
{
return
operation
.
permitCode
==
scannedCode
;
return
operation
.
permitCode
==
scannedCode
.
substring
(
4
)
;
})[
0
];
})[
0
];
if
(
scannedOperation
!=
null
)
{
if
(
scannedOperation
!=
null
)
{
CHK
.
sendScanResult
(
'goOperation'
,
scannedOperation
.
operationId
,
scannedOperation
.
contentId
,
scanType
);
CHK
.
sendScanResult
(
'goOperation'
,
scannedOperation
.
operationId
,
scannedOperation
.
contentId
,
scanType
);
...
...
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