Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platform
hg-smart
Commits
bbefcccd
Commit
bbefcccd
authored
Oct 11, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-10-11 文档浏览树图标调整
parent
637c70de
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
16 deletions
+4
-16
HGWD002.js
src/main/webapp/HG/WD/HGWD002.js
+4
-16
No files found.
src/main/webapp/HG/WD/HGWD002.js
View file @
bbefcccd
...
@@ -113,25 +113,13 @@ $(function () {
...
@@ -113,25 +113,13 @@ $(function () {
var
title
=
item
.
text
;
var
title
=
item
.
text
;
let
icon
=
'fa fa-globe'
let
icon
=
'fa fa-globe'
if
(
item
.
label
!==
'root'
)
{
if
(
item
.
label
!==
'root'
)
{
switch
(
item
.
type
)
{
switch
(
item
.
leafType
)
{
case
'company'
:
case
'P'
:
// title = title + ' [公司]';
icon
=
'fa fa-building'
break
;
case
'dept'
:
// title = title + ' [部门]';
icon
=
'fa fa-users'
break
;
case
'post'
:
// title = title + ' [岗位]';
icon
=
'fa fa-user'
break
;
case
'1'
:
icon
=
'fa fa-clipboard'
icon
=
'fa fa-clipboard'
break
;
break
;
default
:
case
'C'
:
icon
=
'fa fa-folder'
icon
=
'fa fa-folder'
//icon = 'fa fa-home'
break
;
}
}
}
}
return
' <span class="'
+
icon
+
'" style="padding-right: 8px"> </span> <span class="titleClass" title="'
+
item
.
label
+
'">'
+
title
+
'</span>'
return
' <span class="'
+
icon
+
'" style="padding-right: 8px"> </span> <span class="titleClass" title="'
+
item
.
label
+
'">'
+
title
+
'</span>'
...
...
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