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
6052c324
Commit
6052c324
authored
Oct 23, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.顶级目录不能使用右键功能
parent
15971322
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
HGWD001.js
src/main/webapp/HG/WD/HGWD001.js
+17
-17
No files found.
src/main/webapp/HG/WD/HGWD001.js
View file @
6052c324
...
@@ -316,23 +316,23 @@ $(function () {
...
@@ -316,23 +316,23 @@ $(function () {
});
});
})
})
$
(
"#categoryTree"
).
mousedown
(
function
(
e
)
{
$
(
"#categoryTree"
).
mousedown
(
function
(
e
)
{
if
(
e
.
button
!==
2
)
{
if
(
e
.
button
!==
2
)
{
return
return
}
}
if
(
"工程设计图"
===
e
.
target
.
textContent
||
"外来制造图"
===
e
.
target
.
textContent
||
"其他"
===
e
.
target
.
textContent
)
{
if
(
"工程设计图"
===
e
.
target
.
textContent
||
"外来涉密图"
===
e
.
target
.
textContent
$
(
"#isAdd"
).
css
(
'display'
,
'none'
);
||
"备件制造图"
===
e
.
target
.
textContent
||
"其他"
===
e
.
target
.
textContent
)
{
$
(
"#isDel
"
).
css
(
'display'
,
'none'
);
$
(
"#isAdd
"
).
css
(
'display'
,
'none'
);
$
(
"#isEdit
"
).
css
(
'display'
,
'none'
);
$
(
"#isDel
"
).
css
(
'display'
,
'none'
);
$
(
"#isAuth
"
).
css
(
'display'
,
'none'
);
$
(
"#isEdit
"
).
css
(
'display'
,
'none'
);
}
else
{
$
(
"#isAuth"
).
css
(
'display'
,
'none'
);
$
(
"#isAdd"
).
css
(
'display'
,
'block'
);
}
else
{
$
(
"#isDel
"
).
css
(
'display'
,
'block'
);
$
(
"#isAdd
"
).
css
(
'display'
,
'block'
);
$
(
"#isEdit
"
).
css
(
'display'
,
'block'
);
$
(
"#isDel
"
).
css
(
'display'
,
'block'
);
$
(
"#isAuth
"
).
css
(
'display'
,
'block'
);
$
(
"#isEdit
"
).
css
(
'display'
,
'block'
);
}
$
(
"#isAuth"
).
css
(
'display'
,
'block'
);
}
}
);
}
);
$
(
"#menumenu"
).
kendoContextMenu
({
$
(
"#menumenu"
).
kendoContextMenu
({
target
:
"#"
+
options
.
treeId
,
target
:
"#"
+
options
.
treeId
,
select
:
function
(
e
)
{
select
:
function
(
e
)
{
...
...
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