|
|
@@ -7,231 +7,259 @@ |
|
|
|
class="app-header-style" |
|
|
|
v-if="!showWorkline" |
|
|
|
> |
|
|
|
<template #right> |
|
|
|
<search-bar v-if="isShowSearchBar" class="proj-search-bar" |
|
|
|
placeholder="请输入要搜索的文件名" |
|
|
|
@changeSearchContent="changeSearchContent" |
|
|
|
@hideSearchBar="isShowSearchBar = false" |
|
|
|
@goToSearch="searchForProj"/> |
|
|
|
<div class="search-entry" @click.stop="isShowSearchBar = true"></div> |
|
|
|
</template> |
|
|
|
</app-header> |
|
|
|
<app-header |
|
|
|
class="app-header-style" |
|
|
|
:title="projectName" |
|
|
|
:showUserCenter="true" |
|
|
|
backBtnTitle="回到协作空间" |
|
|
|
:onBackBtnClick="hideWorklinkPage" |
|
|
|
v-if="showWorkline" |
|
|
|
> |
|
|
|
</app-header> |
|
|
|
<div class="listfilewarp mt-0"> |
|
|
|
<!-- 工作链 --> |
|
|
|
<WorkLine |
|
|
|
:isShowlink="showWorkline" |
|
|
|
:listUserFolders="nodeFolders" |
|
|
|
:nowFolderIndex="nowFolderIndex" |
|
|
|
:nowFolderName="nowFolderName" |
|
|
|
@goFolderAndBack="goFolderAndBack" |
|
|
|
@previousFolder="previousFolder" |
|
|
|
@showWorklinkPage="showWorklinkPage" |
|
|
|
@nowFolderClick="nowFolderClick" |
|
|
|
@hideWorklinkPage="hideWorklinkPage" |
|
|
|
@finishGetExchangeNodes="finishGetExchangeNodes" |
|
|
|
/> |
|
|
|
<div class="layout_content2" v-show="!showWorkline" v-loading="loading"> |
|
|
|
<section |
|
|
|
id="workspace" |
|
|
|
ref="workfilescrollbar" |
|
|
|
:class="`${closepageH} layerout_H2`" |
|
|
|
@contextmenu.prevent="rightShowMenu($event, '新建文件夹', 4)" |
|
|
|
> |
|
|
|
<section class="yiyun_section_warp"> |
|
|
|
<div class="yinyong_warpBox hidescollbar"> |
|
|
|
<div class="titlebar_head" id="bignav"> |
|
|
|
<!-- 面包屑导航 --> |
|
|
|
<div |
|
|
|
class="section_item section_item_aside_fl" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="yiyun_text-title-workspace mr-20 ml-8" |
|
|
|
<div v-if="isShowSearchPage"> |
|
|
|
<change-btn :titleList="titleList" class="operate-bar"/> |
|
|
|
</div> |
|
|
|
<div v-else> |
|
|
|
<app-header |
|
|
|
class="app-header-style" |
|
|
|
:title="projectName" |
|
|
|
:showUserCenter="true" |
|
|
|
backBtnTitle="回到协作空间" |
|
|
|
:onBackBtnClick="hideWorklinkPage" |
|
|
|
v-if="showWorkline" |
|
|
|
> |
|
|
|
</app-header> |
|
|
|
<div class="listfilewarp mt-0"> |
|
|
|
<!-- 工作链 --> |
|
|
|
<WorkLine |
|
|
|
:isShowlink="showWorkline" |
|
|
|
:listUserFolders="nodeFolders" |
|
|
|
:nowFolderIndex="nowFolderIndex" |
|
|
|
:nowFolderName="nowFolderName" |
|
|
|
@goFolderAndBack="goFolderAndBack" |
|
|
|
@previousFolder="previousFolder" |
|
|
|
@showWorklinkPage="showWorklinkPage" |
|
|
|
@nowFolderClick="nowFolderClick" |
|
|
|
@hideWorklinkPage="hideWorklinkPage" |
|
|
|
@finishGetExchangeNodes="finishGetExchangeNodes" |
|
|
|
/> |
|
|
|
<div class="layout_content2" v-show="!showWorkline" v-loading="loading"> |
|
|
|
<section |
|
|
|
id="workspace" |
|
|
|
ref="workfilescrollbar" |
|
|
|
:class="`${closepageH} layerout_H2`" |
|
|
|
@contextmenu.prevent="rightShowMenu($event, '新建文件夹', 4)" |
|
|
|
> |
|
|
|
<section class="yiyun_section_warp"> |
|
|
|
<div class="yinyong_warpBox hidescollbar"> |
|
|
|
<div class="titlebar_head" id="bignav"> |
|
|
|
<!-- 面包屑导航 --> |
|
|
|
<div |
|
|
|
class="section_item section_item_aside_fl" |
|
|
|
> |
|
|
|
<el-breadcrumb class="folder_breadcrumb" separator-class="el-icon-arrow-right"> |
|
|
|
<el-breadcrumb-item @click.native="clickBreadcrumb(-1, 0)">工作文件</el-breadcrumb-item> |
|
|
|
<el-breadcrumb-item |
|
|
|
v-for="(breadFolder, breadIdx) in breadcrumbFolderList" |
|
|
|
:key="breadFolder.id" |
|
|
|
@click.native="clickBreadcrumb(breadIdx, 0)" |
|
|
|
>{{breadFolder.folderName}}</el-breadcrumb-item> |
|
|
|
</el-breadcrumb> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- 工作列表主体 --> |
|
|
|
<div |
|
|
|
class="yiyun_row scollbarBox nobianju py-x-22" |
|
|
|
> |
|
|
|
<AddFileButton |
|
|
|
v-if="isClient" |
|
|
|
@fileTempClick="fileTempClick" |
|
|
|
:listTempFiles="listTempFiles" |
|
|
|
:selectSystemFiles="selectSystemFiles" |
|
|
|
:selectSystemFolders="selectSystemFolders" |
|
|
|
/> |
|
|
|
<!-- 文件上传队列 --> |
|
|
|
<div class="list-group"> |
|
|
|
<FileItem |
|
|
|
class="lisy-group-item" |
|
|
|
v-for="file in filterFiles(uploadFileList)" |
|
|
|
:key="file.id" |
|
|
|
:file="file" |
|
|
|
:clientDownLoad="clientDownLoad" |
|
|
|
:showFileMilestone="showFileMilestone" |
|
|
|
:nodeFolder="currentNodeFolder" |
|
|
|
:currentFolder="currentFolder" |
|
|
|
:localFileHashMap="localFileHashMap" |
|
|
|
:loadingState="localFileLoadStateMap[file.id]" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div class="list-group"> |
|
|
|
<FileItem |
|
|
|
class="lisy-group-item" |
|
|
|
v-for="file in filterFiles(workFileList)" |
|
|
|
:key="file.id" |
|
|
|
:file="file" |
|
|
|
:clientDownLoad="clientDownLoad" |
|
|
|
:showFileMilestone="showFileMilestone" |
|
|
|
:nodeFolder="currentNodeFolder" |
|
|
|
:currentFolder="currentFolder" |
|
|
|
:commitFile="commitFile" |
|
|
|
@dblclickFile="fileClick(file)" |
|
|
|
@filePreview="filePreview" |
|
|
|
@openFileWith="openFileWith(file)" |
|
|
|
@openfileBtnClick="fileClick(file)" |
|
|
|
@copyFileBtnClick="copyWorkFileBtnClick(file)" |
|
|
|
@oneFileRightBtnClick="oneFileRightBtnClick" |
|
|
|
@deleteFileClick="deleteFileClick" |
|
|
|
:tempRightFileId="tempRightFileId" |
|
|
|
:localFileHashMap="localFileHashMap" |
|
|
|
:loadingState="localFileLoadStateMap[file.id]" |
|
|
|
@dragstart.native="onfileDragStart(file, $event)" |
|
|
|
draggable |
|
|
|
/> |
|
|
|
<span |
|
|
|
class="yiyun_text-title-workspace mr-20 ml-8" |
|
|
|
> |
|
|
|
<el-breadcrumb class="folder_breadcrumb" separator-class="el-icon-arrow-right"> |
|
|
|
<el-breadcrumb-item @click.native="clickBreadcrumb(-1, 0)">工作文件</el-breadcrumb-item> |
|
|
|
<el-breadcrumb-item |
|
|
|
v-for="(breadFolder, breadIdx) in breadcrumbFolderList" |
|
|
|
:key="breadFolder.id" |
|
|
|
@click.native="clickBreadcrumb(breadIdx, 0)" |
|
|
|
>{{breadFolder.folderName}}</el-breadcrumb-item> |
|
|
|
</el-breadcrumb> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
<!--显示文件夹组 --> |
|
|
|
<div class="list-group"> |
|
|
|
<FolderItem |
|
|
|
v-for="folder in filterFolders(subFolderList)" |
|
|
|
:key="folder.id" |
|
|
|
:folder="folder" |
|
|
|
:isLoading="localFolderLoadStateMap[folder.folderPath]" |
|
|
|
@onRightMenuActive="oneFileRightBtnClick" |
|
|
|
@onDownloadAll="downloadFolder" |
|
|
|
:activeRightMenuId="tempRightFileId" |
|
|
|
@dblclick.native="intoSubFolder(folder, 0)" |
|
|
|
@commitFolder="commitFolder" |
|
|
|
|
|
|
|
<!-- 工作列表主体 --> |
|
|
|
<div |
|
|
|
class="yiyun_row scollbarBox nobianju py-x-22" |
|
|
|
> |
|
|
|
<AddFileButton |
|
|
|
v-if="isClient" |
|
|
|
@fileTempClick="fileTempClick" |
|
|
|
:listTempFiles="listTempFiles" |
|
|
|
:selectSystemFiles="selectSystemFiles" |
|
|
|
:selectSystemFolders="selectSystemFolders" |
|
|
|
/> |
|
|
|
<!-- 文件上传队列 --> |
|
|
|
<div class="list-group"> |
|
|
|
<FileItem |
|
|
|
class="lisy-group-item" |
|
|
|
v-for="file in filterFiles(uploadFileList)" |
|
|
|
:key="file.id" |
|
|
|
:file="file" |
|
|
|
:clientDownLoad="clientDownLoad" |
|
|
|
:showFileMilestone="showFileMilestone" |
|
|
|
:nodeFolder="currentNodeFolder" |
|
|
|
:currentFolder="currentFolder" |
|
|
|
:localFileHashMap="localFileHashMap" |
|
|
|
:loadingState="localFileLoadStateMap[file.id]" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div class="list-group"> |
|
|
|
<FileItem |
|
|
|
class="lisy-group-item" |
|
|
|
v-for="file in filterFiles(workFileList)" |
|
|
|
:key="file.id" |
|
|
|
:file="file" |
|
|
|
:clientDownLoad="clientDownLoad" |
|
|
|
:showFileMilestone="showFileMilestone" |
|
|
|
:nodeFolder="currentNodeFolder" |
|
|
|
:currentFolder="currentFolder" |
|
|
|
:commitFile="commitFile" |
|
|
|
@dblclickFile="fileClick(file)" |
|
|
|
@filePreview="filePreview" |
|
|
|
@openFileWith="openFileWith(file)" |
|
|
|
@openfileBtnClick="fileClick(file)" |
|
|
|
@copyFileBtnClick="copyWorkFileBtnClick(file)" |
|
|
|
@oneFileRightBtnClick="oneFileRightBtnClick" |
|
|
|
@deleteFileClick="deleteFileClick" |
|
|
|
:tempRightFileId="tempRightFileId" |
|
|
|
:localFileHashMap="localFileHashMap" |
|
|
|
:loadingState="localFileLoadStateMap[file.id]" |
|
|
|
@dragstart.native="onfileDragStart(file, $event)" |
|
|
|
draggable |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<!--显示文件夹组 --> |
|
|
|
<div class="list-group"> |
|
|
|
<FolderItem |
|
|
|
v-for="folder in filterFolders(subFolderList)" |
|
|
|
:key="folder.id" |
|
|
|
:folder="folder" |
|
|
|
:isLoading="localFolderLoadStateMap[folder.folderPath]" |
|
|
|
@onRightMenuActive="oneFileRightBtnClick" |
|
|
|
@onDownloadAll="downloadFolder" |
|
|
|
:activeRightMenuId="tempRightFileId" |
|
|
|
@dblclick.native="intoSubFolder(folder, 0)" |
|
|
|
@commitFolder="commitFolder" |
|
|
|
|
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</section> |
|
|
|
</section> |
|
|
|
</section> |
|
|
|
|
|
|
|
<div :class="neibianju" id="bottomBox"> |
|
|
|
<div class="titleBox"> |
|
|
|
<span class="yiyun_zhediebtn DevtopIcon"> |
|
|
|
<i |
|
|
|
class="Cicon text_gray icon font_family icon-icon_zhankai" |
|
|
|
title="展开面板" |
|
|
|
v-show="isShowpageIcon" |
|
|
|
@click="openCopage" |
|
|
|
></i> |
|
|
|
<i |
|
|
|
class="Cicon text_gray icon font_family icon-icon_shouqi" |
|
|
|
title="折叠面板" |
|
|
|
v-show="!isShowpageIcon" |
|
|
|
@click="closeCopage" |
|
|
|
></i> |
|
|
|
</span> |
|
|
|
|
|
|
|
<div class="title_warp"> |
|
|
|
<div class="yiyun_section_top orginoverflow" id="bignav"> |
|
|
|
<div :class="neibianju" id="bottomBox"> |
|
|
|
<div class="titleBox"> |
|
|
|
<span class="yiyun_zhediebtn DevtopIcon"> |
|
|
|
<i |
|
|
|
class="Cicon text_gray icon font_family icon-icon_zhankai" |
|
|
|
title="展开面板" |
|
|
|
v-show="isShowpageIcon" |
|
|
|
@click="openCopage" |
|
|
|
></i> |
|
|
|
<i |
|
|
|
class="Cicon text_gray icon font_family icon-icon_shouqi" |
|
|
|
title="折叠面板" |
|
|
|
v-show="!isShowpageIcon" |
|
|
|
@click="closeCopage" |
|
|
|
></i> |
|
|
|
</span> |
|
|
|
|
|
|
|
<div class="title_warp"> |
|
|
|
<div class="yiyun_section_top orginoverflow" id="bignav"> |
|
|
|
|
|
|
|
<div class="section_item fl section_item_aside_fl xiangdui"> |
|
|
|
<!-- <span class="yiyun_zhediebtn DevtopIcon"> |
|
|
|
<i |
|
|
|
class="Cicon text_gray icon font_family icon-icon_zhankai" |
|
|
|
title="展开面板" |
|
|
|
v-show="isShowpageIcon" |
|
|
|
@click="openCopage" |
|
|
|
></i> |
|
|
|
<i |
|
|
|
class="Cicon text_gray icon font_family icon-icon_shouqi" |
|
|
|
title="折叠面板" |
|
|
|
v-show="!isShowpageIcon" |
|
|
|
@click="closeCopage" |
|
|
|
></i> |
|
|
|
</span> --> |
|
|
|
<div class="tabtltlebox"> |
|
|
|
<!-- <h3 class="defualth3" > |
|
|
|
协作文件 |
|
|
|
</h3> --> |
|
|
|
<div |
|
|
|
class="section_item section_item_aside_fl" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="yiyun_text-title-workspace mr-20 ml-8" |
|
|
|
<div class="section_item fl section_item_aside_fl xiangdui"> |
|
|
|
<!-- <span class="yiyun_zhediebtn DevtopIcon"> |
|
|
|
<i |
|
|
|
class="Cicon text_gray icon font_family icon-icon_zhankai" |
|
|
|
title="展开面板" |
|
|
|
v-show="isShowpageIcon" |
|
|
|
@click="openCopage" |
|
|
|
></i> |
|
|
|
<i |
|
|
|
class="Cicon text_gray icon font_family icon-icon_shouqi" |
|
|
|
title="折叠面板" |
|
|
|
v-show="!isShowpageIcon" |
|
|
|
@click="closeCopage" |
|
|
|
></i> |
|
|
|
</span> --> |
|
|
|
<div class="tabtltlebox"> |
|
|
|
<!-- <h3 class="defualth3" > |
|
|
|
协作文件 |
|
|
|
</h3> --> |
|
|
|
<div |
|
|
|
class="section_item section_item_aside_fl" |
|
|
|
> |
|
|
|
<el-breadcrumb class="folder_breadcrumb" separator-class="el-icon-arrow-right"> |
|
|
|
<el-breadcrumb-item @click.native="clickBreadcrumb(-1, 1)">协作文件</el-breadcrumb-item> |
|
|
|
<el-breadcrumb-item |
|
|
|
v-for="(breadFolder, breadIdx) in breadcrumbFolderListInCoop" |
|
|
|
:key="breadFolder.id" |
|
|
|
@click.native="clickBreadcrumb(breadIdx, 1)" |
|
|
|
>{{breadFolder.folderName}}</el-breadcrumb-item> |
|
|
|
</el-breadcrumb> |
|
|
|
</span> |
|
|
|
<span |
|
|
|
class="yiyun_text-title-workspace mr-20 ml-8" |
|
|
|
> |
|
|
|
<el-breadcrumb class="folder_breadcrumb" separator-class="el-icon-arrow-right"> |
|
|
|
<el-breadcrumb-item @click.native="clickBreadcrumb(-1, 1)">协作文件</el-breadcrumb-item> |
|
|
|
<el-breadcrumb-item |
|
|
|
v-for="(breadFolder, breadIdx) in breadcrumbFolderListInCoop" |
|
|
|
:key="breadFolder.id" |
|
|
|
@click.native="clickBreadcrumb(breadIdx, 1)" |
|
|
|
>{{breadFolder.folderName}}</el-breadcrumb-item> |
|
|
|
</el-breadcrumb> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="section_item fr section_item_aside_fr"> |
|
|
|
<div class="fr ml-10"> |
|
|
|
<span class="bj_label">协作文件均只读</span> |
|
|
|
<div class="section_item fr section_item_aside_fr"> |
|
|
|
<div class="fr ml-10"> |
|
|
|
<span class="bj_label">协作文件均只读</span> |
|
|
|
</div> |
|
|
|
<div class="fifle_search fr"></div> |
|
|
|
</div> |
|
|
|
<div class="fifle_search fr"></div> |
|
|
|
</div> |
|
|
|
<div class="clear"></div> |
|
|
|
</div> |
|
|
|
<div class="clear"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="fifleBox"> |
|
|
|
<div class="yiyun_section_warp layerout_H3"> |
|
|
|
<!-- 文件大box --> |
|
|
|
<div class="yinyong_warpBox"> |
|
|
|
<!-- 协作文件 --> |
|
|
|
<div v-if="!isShowStartNodeFolders"> |
|
|
|
<div |
|
|
|
class="py-x-22 mt-12" |
|
|
|
> |
|
|
|
<FileItem |
|
|
|
v-for="file in filterFilesInCoop(cooperationFileList)" |
|
|
|
:key="file.id" |
|
|
|
:file="file" |
|
|
|
:tempRightFileId="tempRightFileId" |
|
|
|
:clientDownLoad="clientDownLoad" |
|
|
|
:showFileMilestone="showFileMilestone" |
|
|
|
:nodeFolder="currentNodeFolder" |
|
|
|
:currentFolder="currentFolder" |
|
|
|
@dblclickFile="fileClick(file)" |
|
|
|
@filePreview="filePreview" |
|
|
|
@openFileWith="openFileWith(file)" |
|
|
|
@openfileBtnClick="fileClick(file)" |
|
|
|
@oneFileRightBtnClick="oneFileRightBtnClick" |
|
|
|
:localFileHashMap="localFileHashMap" |
|
|
|
:loadingState="localFileLoadStateMap[file.id]" |
|
|
|
@dragstart.native="onfileDragStart(file, $event)" |
|
|
|
draggable |
|
|
|
/> |
|
|
|
<div class="fifleBox"> |
|
|
|
<div class="yiyun_section_warp layerout_H3"> |
|
|
|
<!-- 文件大box --> |
|
|
|
<div class="yinyong_warpBox"> |
|
|
|
<!-- 协作文件 --> |
|
|
|
<div v-if="!isShowStartNodeFolders"> |
|
|
|
<div |
|
|
|
class="py-x-22 mt-12" |
|
|
|
> |
|
|
|
<FileItem |
|
|
|
v-for="file in filterFilesInCoop(cooperationFileList)" |
|
|
|
:key="file.id" |
|
|
|
:file="file" |
|
|
|
:tempRightFileId="tempRightFileId" |
|
|
|
:clientDownLoad="clientDownLoad" |
|
|
|
:showFileMilestone="showFileMilestone" |
|
|
|
:nodeFolder="currentNodeFolder" |
|
|
|
:currentFolder="currentFolder" |
|
|
|
@dblclickFile="fileClick(file)" |
|
|
|
@filePreview="filePreview" |
|
|
|
@openFileWith="openFileWith(file)" |
|
|
|
@openfileBtnClick="fileClick(file)" |
|
|
|
@oneFileRightBtnClick="oneFileRightBtnClick" |
|
|
|
:localFileHashMap="localFileHashMap" |
|
|
|
:loadingState="localFileLoadStateMap[file.id]" |
|
|
|
@dragstart.native="onfileDragStart(file, $event)" |
|
|
|
draggable |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<!-- 协作文件以文件夹的形式展示 --> |
|
|
|
<div class="list-group"> |
|
|
|
<FolderItem |
|
|
|
v-for="folder in filterFoldersInCoop(coopSubFolderList)" |
|
|
|
:key="folder.id" |
|
|
|
:folder="folder" |
|
|
|
:isWorkFolder=false |
|
|
|
:isLoading="localFolderLoadStateMap[folder.folderPath]" |
|
|
|
@onRightMenuActive="oneFileRightBtnClick" |
|
|
|
@onDownloadAll="downloadFolder" |
|
|
|
:activeRightMenuId="tempRightFileId" |
|
|
|
@dblclick.native="intoSubFolder(folder, 1)" |
|
|
|
@commitFolder="commitFolder" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 协作文件以文件夹的形式展示 --> |
|
|
|
<div class="list-group"> |
|
|
|
<FolderItem |
|
|
|
v-for="folder in filterFoldersInCoop(coopSubFolderList)" |
|
|
|
<div v-else> |
|
|
|
<div class="list-group"> |
|
|
|
<FolderItem |
|
|
|
v-for="folder in exchangeNodeListsInCoop" |
|
|
|
:key="folder.id" |
|
|
|
:folder="folder" |
|
|
|
:isWorkFolder=false |
|
|
@@ -239,56 +267,41 @@ |
|
|
|
@onRightMenuActive="oneFileRightBtnClick" |
|
|
|
@onDownloadAll="downloadFolder" |
|
|
|
:activeRightMenuId="tempRightFileId" |
|
|
|
@dblclick.native="intoSubFolder(folder, 1)" |
|
|
|
@dblclick.native="intoSubFolder(folder, 1), isShowStartNodeFolders = !isShowStartNodeFolders" |
|
|
|
@commitFolder="commitFolder" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-else> |
|
|
|
<div class="list-group"> |
|
|
|
<FolderItem |
|
|
|
v-for="folder in exchangeNodeListsInCoop" |
|
|
|
:key="folder.id" |
|
|
|
:folder="folder" |
|
|
|
:isWorkFolder=false |
|
|
|
:isLoading="localFolderLoadStateMap[folder.folderPath]" |
|
|
|
@onRightMenuActive="oneFileRightBtnClick" |
|
|
|
@onDownloadAll="downloadFolder" |
|
|
|
:activeRightMenuId="tempRightFileId" |
|
|
|
@dblclick.native="intoSubFolder(folder, 1), isShowStartNodeFolders = !isShowStartNodeFolders" |
|
|
|
@commitFolder="commitFolder" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="showdowfix" id="bottomoShodow" v-show="showadow"></div> |
|
|
|
</div> |
|
|
|
<div class="showdowfix" id="bottomoShodow" v-show="showadow"></div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- 右键菜单 --> |
|
|
|
<div |
|
|
|
v-show="rightMenuvisible" |
|
|
|
:style="{ left: rightMenuleft + 'px', top: rightMenuTop + 'px' }" |
|
|
|
class="contextmenu" |
|
|
|
> |
|
|
|
<!--新建文件分组--> |
|
|
|
<ul |
|
|
|
class="rightMenu" |
|
|
|
<!-- 右键菜单 --> |
|
|
|
<div |
|
|
|
v-show="rightMenuvisible" |
|
|
|
:style="{ left: rightMenuleft + 'px', top: rightMenuTop + 'px' }" |
|
|
|
class="contextmenu" |
|
|
|
> |
|
|
|
<li |
|
|
|
@click="newCreateFolderGroup" |
|
|
|
<!--新建文件分组--> |
|
|
|
<ul |
|
|
|
class="rightMenu" |
|
|
|
> |
|
|
|
新建文件夹 |
|
|
|
</li> |
|
|
|
<li |
|
|
|
@click="openNativeCurrentFolder" |
|
|
|
v-if="isClient && this.localWorkspacePrefix" |
|
|
|
> |
|
|
|
打开本地工作目录 |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
<li |
|
|
|
@click="newCreateFolderGroup" |
|
|
|
> |
|
|
|
新建文件夹 |
|
|
|
</li> |
|
|
|
<li |
|
|
|
@click="openNativeCurrentFolder" |
|
|
|
v-if="isClient && this.localWorkspacePrefix" |
|
|
|
> |
|
|
|
打开本地工作目录 |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@@ -392,6 +405,8 @@ |
|
|
|
<script> |
|
|
|
import Vue from "vue"; |
|
|
|
import AppHeader from "@/components/app-header"; |
|
|
|
import SearchBar from "@/components/search-bar/search-bar"; |
|
|
|
import ChangeBtn from "@/components/change-btn/change-btn"; |
|
|
|
import commonJs from "@/common/webCommon"; |
|
|
|
// import forgeview from "@/views/components/forgeview/forgeview.vue"; |
|
|
|
// import gismap from "@/views/components/gismap/gismap.vue"; |
|
|
@@ -460,6 +475,8 @@ const initialFolderData = () =>({ |
|
|
|
export default { |
|
|
|
components: { |
|
|
|
AppHeader, |
|
|
|
SearchBar, |
|
|
|
ChangeBtn, |
|
|
|
WorkLine, |
|
|
|
AddFileButton, |
|
|
|
// draggable, |
|
|
@@ -540,6 +557,9 @@ export default { |
|
|
|
isfinishGetExchangeNodes: false, |
|
|
|
exchangeNodeListsInCoop: [],//存储与当前节点具有交换关系的节点列表 |
|
|
|
reverseLocalFileHashMap: {},//键名是 ipfscid 键值是localFileHashMap的键名 |
|
|
|
|
|
|
|
isShowSearchBar: false,//控制搜索框显示隐藏 |
|
|
|
isShowSearchPage: false,//是否显示搜索文件页面 |
|
|
|
}; |
|
|
|
}, |
|
|
|
mounted: function () { |
|
|
@@ -1665,6 +1685,9 @@ export default { |
|
|
|
top: 2px; |
|
|
|
} |
|
|
|
|
|
|
|
.app-header-style .app-header-content-right { |
|
|
|
display: flex; |
|
|
|
} |
|
|
|
</style> |
|
|
|
<style lang="scss" scoped> |
|
|
|
.titleBox { |
|
|
@@ -1792,4 +1815,8 @@ export default { |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
</style> |
|
|
|
<style scoped lang="scss"> |
|
|
|
|
|
|
|
|
|
|
|
</style> |