|
|
@@ -16,7 +16,7 @@ |
|
|
|
v-if="!isShowRecycleTip" |
|
|
|
v-for="(folder, index) in filesList" |
|
|
|
:key="index"> |
|
|
|
<div class="yinyong_warpBox hidescollbar"> |
|
|
|
<div class="yinyong_warpBox hidescollbar" @click="clickYinyongWarpBox()"> |
|
|
|
<div class="yiyun_section_top" id="bignav"> |
|
|
|
<!-- 系统时间 --> |
|
|
|
<div class="section_item fl section_item_aside_fl "> |
|
|
@@ -78,7 +78,8 @@ |
|
|
|
<div class="yiyun_wenjian_list" |
|
|
|
v-for="foldergroup in folder.listFoldergroup" |
|
|
|
:key="foldergroup.folderGroupID" |
|
|
|
@contextmenu.prevent="rightFoldergroupShowMenu($event, foldergroup)"> |
|
|
|
@contextmenu.prevent="rightFoldergroupShowMenu($event, foldergroup)" |
|
|
|
@click="clickFoldergroup(foldergroup)"> |
|
|
|
<div class="defultImage-mid foldernew-mid" > |
|
|
|
</div> |
|
|
|
<strong class="yiyunwenjian_name" > |
|
|
@@ -230,6 +231,14 @@ |
|
|
|
.catch(function (error) { |
|
|
|
console.log(error); |
|
|
|
}); |
|
|
|
}).catch(()=>{ |
|
|
|
thisApp.$notify({ |
|
|
|
title: "温馨提示", |
|
|
|
message: "已取消操作", |
|
|
|
type: "info", |
|
|
|
offset: 100, |
|
|
|
duration: 2500 |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
/** |
|
|
@@ -270,6 +279,14 @@ |
|
|
|
.catch(error => { |
|
|
|
console.log(error); |
|
|
|
}); |
|
|
|
}).catch(()=>{ |
|
|
|
thisApp.$notify({ |
|
|
|
title: "温馨提示", |
|
|
|
message: "已取消操作", |
|
|
|
type: "info", |
|
|
|
offset: 100, |
|
|
|
duration: 2500 |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
/** |
|
|
@@ -299,6 +316,16 @@ |
|
|
|
this.rightMenuvisible = false; |
|
|
|
}, |
|
|
|
/******* 右键文件分组菜单 *********/ |
|
|
|
clickYinyongWarpBox:function(){ |
|
|
|
this.rightMenuvisible = false; |
|
|
|
this.rightFoldergroupMenuvisible = false; |
|
|
|
}, |
|
|
|
/** |
|
|
|
* 单机分组 |
|
|
|
*/ |
|
|
|
clickFoldergroup:function(foldergroup){ |
|
|
|
this.rightFoldergroupMenuvisible = false; |
|
|
|
}, |
|
|
|
/** |
|
|
|
* 右键文件分组 |
|
|
|
*/ |
|
|
@@ -363,7 +390,7 @@ |
|
|
|
offset: 100, |
|
|
|
duration: 2500 |
|
|
|
}); |
|
|
|
}); ; |
|
|
|
}); |
|
|
|
}, |
|
|
|
/** |
|
|
|
* 彻底删除 |
|
|
@@ -407,13 +434,14 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
rightMenuvisible(value) { |
|
|
|
rightMenuvisiblerightMenuvisible(value) { |
|
|
|
if (value) { |
|
|
|
document.body.addEventListener("click", this.closeShowMenu); |
|
|
|
} else { |
|
|
|
document.body.removeEventListener("click", this.closeShowMenu); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
}; |
|
|
|
</script> |
|
|
|