|
@@ -2277,6 +2277,8 @@ export default { |
|
|
this.listFolders(); |
|
|
this.listFolders(); |
|
|
this.updateProjUser(); |
|
|
this.updateProjUser(); |
|
|
window.addEventListener("resize", this.listenBottomHeight, true); |
|
|
window.addEventListener("resize", this.listenBottomHeight, true); |
|
|
|
|
|
//添加鼠标移入齿轮事件 |
|
|
|
|
|
window.addEventListener("mouseenter", this.setIconMouseEnter, true); |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
|
/** |
|
|
/** |
|
@@ -2319,6 +2321,17 @@ export default { |
|
|
this.showadow = false |
|
|
this.showadow = false |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
/** |
|
|
|
|
|
* 鼠标移上齿轮设置事件 |
|
|
|
|
|
*/ |
|
|
|
|
|
setIconMouseEnter:function(){ |
|
|
|
|
|
//工作文件下 指定显示某些菜单项 |
|
|
|
|
|
if (this.currentPageType == 1) { |
|
|
|
|
|
this.isShowMenuFile = true; |
|
|
|
|
|
} else { |
|
|
|
|
|
this.isShowMenuFile = false; |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
/** |
|
|
/** |
|
|
* 刷新页面 |
|
|
* 刷新页面 |
|
|
*/ |
|
|
*/ |
|
@@ -2863,6 +2876,7 @@ export default { |
|
|
*/ |
|
|
*/ |
|
|
setFileStatusSure(){ |
|
|
setFileStatusSure(){ |
|
|
var thisApp=this; |
|
|
var thisApp=this; |
|
|
|
|
|
// null 判断 |
|
|
if(thisApp.setFile.alias == "") |
|
|
if(thisApp.setFile.alias == "") |
|
|
{ |
|
|
{ |
|
|
this.$notify({ |
|
|
this.$notify({ |
|
@@ -6100,6 +6114,9 @@ export default { |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
thisApp.refreshPages(); |
|
|
thisApp.refreshPages(); |
|
|
|
|
|
thisApp.$router.push({ |
|
|
|
|
|
name: "workspace" |
|
|
|
|
|
}); |
|
|
}) |
|
|
}) |
|
|
.catch(error => { |
|
|
.catch(error => { |
|
|
console.log(error); |
|
|
console.log(error); |
|
@@ -6155,6 +6172,7 @@ export default { |
|
|
destroyed: function() { |
|
|
destroyed: function() { |
|
|
window.removeEventListener("scroll", this.onscroll); |
|
|
window.removeEventListener("scroll", this.onscroll); |
|
|
window.removeEventListener("resize", this.listenBottomHeight); |
|
|
window.removeEventListener("resize", this.listenBottomHeight); |
|
|
|
|
|
window.removeEventListener("mouseenter", this.setIconMouseEnter); |
|
|
clearInterval(this.timer); |
|
|
clearInterval(this.timer); |
|
|
}, |
|
|
}, |
|
|
components: { |
|
|
components: { |
|
|