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
c54a61ef
Commit
c54a61ef
authored
Jul 01, 2021
by
Takatoshi Miura
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
4a6c5f41
' into feature/1.4.0_miura
# Conflicts: # app/script/check.js
parents
8ebbf3df
4a6c5f41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
app/script/check.js
+11
-5
No files found.
app/script/check.js
View file @
c54a61ef
...
...
@@ -2745,12 +2745,16 @@ CHK.createCategory = function(operationGroupMasterList) {
if
(
typeof
CHK
.
operationGroupMasterId
==
'undefined'
||
CHK
.
operationGroupMasterId
==
0
)
{
$
(
"#groupMasterPath"
).
append
(
'<li class="breadcrumb-item"><a href="#" class="text-decoration-none text-dark">'
+
getMsg
(
"all"
)
+
'</a></li>'
);
}
else
{
$
(
"#groupMasterPath"
).
append
(
'<li class="breadcrumb-item"><a href="#" class="text-decoration-none text-dark">'
+
CHK
.
operationGroupMasterId
+
'</a></li>'
);
var
groupMaster
=
operationGroupMasterList
.
filter
(
it
=>
it
.
operationGroupMasterId
==
CHK
.
operationGroupMasterId
)[
0
];
var
groupMasterPathIdlist
=
groupMaster
.
treePath
.
split
(
'/'
);
groupMasterPathIdlist
.
forEach
(
function
(
parentId
){
var
pathOperationGroupMaster
=
operationGroupMasterList
.
filter
(
it
=>
it
.
operationGroupMasterId
==
parentId
)[
0
];
$
(
"#groupMasterPath"
).
append
(
'<li class="breadcrumb-item"><a onclick="CHK.changeOperationGroupMaster('
+
pathOperationGroupMaster
.
operationGroupMasterId
+
');" class="text-decoration-none text-dark">'
+
pathOperationGroupMaster
.
operationGroupMasterName
+
'</a></li>'
);
});
}
}
//パンくずリスト初期表示(全体)
$
(
'.breadcrumb li'
).
eq
(
1
).
hide
();
$
(
'.breadcrumb li'
).
eq
(
2
).
hide
();
//サイドメニューカテゴリー構造作成
operationGroupMasterList
.
sort
((
a
,
b
)
=>
(
a
.
operationGroupMasterId
>
b
.
operationGroupMasterId
)
?
1
:
-
1
);
...
...
@@ -2901,7 +2905,9 @@ function acdMenu() {
}
CHK
.
changeOperationGroupMaster
=
function
(
operationGroupMasterId
)
{
$
(
'#category-toggle-button'
).
click
();
if
(
$
(
"#category-menu"
).
hasClass
(
"open"
))
{
$
(
'#category-toggle-button'
).
click
();
}
CHK
.
operationGroupMasterId
=
operationGroupMasterId
;
CHK
.
createCategory
(
CHK
.
operationGroupMaster
.
operationGroupMasterList
);
CHK
.
search
();
...
...
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