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 () {
});
})
$("#categoryTree").mousedown(function (e) {
if (e.button !== 2) {
return
}
if ("工程设计图" === e.target.textContent || "外来制造图" === e.target.textContent || "其他" === e.target.textContent) {
$("#isAdd").css('display', 'none');
$("#isDel").css('display', 'none');
$("#isEdit").css('display', 'none');
$("#isAuth").css('display', 'none');
} else {
$("#isAdd").css('display', 'block');
$("#isDel").css('display', 'block');
$("#isEdit").css('display', 'block');
$("#isAuth").css('display', 'block');
}
}
);
$("#categoryTree").mousedown(function (e) {
if (e.button !== 2) {
return
}
if ("工程设计图" === e.target.textContent || "外来涉密图" === e.target.textContent
|| "备件制造图" === e.target.textContent || "其他" === e.target.textContent) {
$("#isAdd").css('display', 'none');
$("#isDel").css('display', 'none');
$("#isEdit").css('display', 'none');
$("#isAuth").css('display', 'none');
} else {
$("#isAdd").css('display', 'block');
$("#isDel").css('display', 'block');
$("#isEdit").css('display', 'block');
$("#isAuth").css('display', 'block');
}
});
$("#menumenu").kendoContextMenu({
target: "#" + options.treeId,
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