Commit 0bb26149 by 宋祥

Merge branch 'dev-sx' of http://129.211.46.84:8800/platform/hg-smart into dev

parents 72f531ff 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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment