diff --git a/src/views/main_web/workspace.vue b/src/views/main_web/workspace.vue index 10cecd38..4001e567 100644 --- a/src/views/main_web/workspace.vue +++ b/src/views/main_web/workspace.vue @@ -363,7 +363,7 @@ @mouseover="isShowIcon" @mouseout="ishideIcon" > - +
-
+
@@ -2075,7 +2075,7 @@ export default { createTime: "", modifyUserID: "", modifyTime: "" - }, + }, myListFolderGroups: [], // 我的文件分组数据 dbClickSelectedFolderGroupData: {}, //双击选中的当前文件夹分组对象 isShowWorkt: true, //是否显示我的文件和工作文件 @@ -2090,6 +2090,9 @@ export default { }; }, mounted: function() { + window["refreshFiles"]=()=>{ + this.listFiles(); + } window.addEventListener("scroll", this.onscroll, true); this.loadProjManager(); this.loadSettings(); @@ -3631,17 +3634,13 @@ export default { }) .then(response => { if (response.data.state == 1) { - thisApp.$notify({ - title: "温馨提示", - message: "文件已开始下载...", - type: "info", - offset: 30, - duration: 2000 - }); file.downloadStatus = 1; file.isDownload = true; var archid = file.archID; var filename = file.archName + "." + file.extension; + if (file.version > 1) { + filename = file.archName + file.version + "." + file.extension; + } var folderID = file.folderID; var folderName = thisApp.listUserFolders[thisApp.nowFolderIndex].folderName; @@ -4430,7 +4429,7 @@ export default { }); thisApp.goFolder(thisApp.nowFolderIndex); var nowFile=response.data.data; - var newFileName=file.archName+"."+file.extension; + var newFileName=nowFile.archName+"."+nowFile.extension; if(thisApp.isClient) { // 客户复制文件 @@ -4530,7 +4529,7 @@ export default { thisApp.dialogCopyAndMove = false; thisApp.listFiles(); var nowFile=response.data.data; - var newFileName=file.archName+"."+file.extension; + var newFileName=nowFile.archName+"."+nowFile.extension; if(thisApp.isClient) { var file = response.data.data;