|
|
@@ -515,6 +515,10 @@ const projTreeObj = {
|
|
|
},
|
|
|
//升级后选中节点的后兄弟节点不成为其子节点,因为有层级类型限制(相当于选中节点移动到父项后成为其后兄弟)
|
|
|
upLevel: function () {
|
|
|
+ if (STATE.moving) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ STATE.moving = true;
|
|
|
let selected = projTreeObj.tree.selected,
|
|
|
parent = selected.parent.parent,
|
|
|
next = selected.parent.nextSibling,
|
|
|
@@ -531,6 +535,10 @@ const projTreeObj = {
|
|
|
this.doAfterTreeOpr({selected, parent, next, projectMap});
|
|
|
},
|
|
|
downLevel: function () {
|
|
|
+ if (STATE.moving) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ STATE.moving = true;
|
|
|
let selected = projTreeObj.tree.selected,
|
|
|
parent = null,
|
|
|
next = null,
|
|
|
@@ -1660,6 +1668,7 @@ const projTreeObj = {
|
|
|
init(refresh, callback, expandCallback);
|
|
|
},
|
|
|
handleNotifyClick: function (expandState, selection) {
|
|
|
+ $('#empty-modal').modal('hide');
|
|
|
$('#notify').hide();
|
|
|
const callback = () => {
|
|
|
const sheet = this.workBook.getSheet(0);
|