Преглед изворни кода

工作指派bug 暂存

dev-remain
unknown пре 4 година
родитељ
комит
e2700305c5
8 измењених фајлова са 321 додато и 292 уклоњено
  1. +17
    -7
      public/static/css/main.css
  2. +0
    -5
      src/router.js
  3. +8
    -10
      src/views/components_web/projDetail/components/personnel-list.vue
  4. +4
    -4
      src/views/components_web/projDetail/components/plain-folder-list.vue
  5. +1
    -1
      src/views/main_web/index/components/search-proj.vue
  6. +18
    -19
      src/views/main_web/index/index.vue
  7. +1
    -1
      src/views/main_web/proj-item.vue
  8. +272
    -245
      src/views/main_web/workspace/workspace.new.vue

+ 17
- 7
public/static/css/main.css Прегледај датотеку

@@ -7802,10 +7802,10 @@ li.secondMenu ul li:hover {
.worklinkBtngroup button{
margin: 0 8px;
}
.curbtn{
/* float: left; */
/* margin-top: 7px; */
}
/* .curbtn{
float: left;
margin-top: 7px;
} */
.currworkbutton{
border: 1.5px solid rgba(140, 0, 255, 1);
width: 106px;
@@ -9023,12 +9023,12 @@ h5.dulilabel{
/* 新建样本文件弹框显示的图片 */
.defultImage-small {
margin: 0 auto;
margin: 0 auto;
width: 70px;
height: 70px;
background: url(/static/img/defult-mid.png) center/100%;
}
.video-small {
.video-small {
height: 70px;
width: 70px;
background: url(/static/img/FileType/video.svg) center/100%;
@@ -9037,4 +9037,14 @@ h5.dulilabel{
.border-box {
box-sizing: border-box;
}
}
/* 搜索功能 搜索入口 */
.search-entry {
position: relative;
top: 12px;
width: 26px;
height: 26px;
background-color: gold;
cursor: pointer;
}

+ 0
- 5
src/router.js Прегледај датотеку

@@ -69,11 +69,6 @@ const router = new Router({
name: 'workspace',
component: () => import('@/views/main_web/workspace'),
},
{
path: '/searchFile',
name: 'searchfile',
component: () => import('@/views/main_web/workspace/components/search-file'),
},
{
path: '/project',
name: 'project',


+ 8
- 10
src/views/components_web/projDetail/components/personnel-list.vue Прегледај датотеку

@@ -123,19 +123,10 @@
width:100%;
height: 30px;
padding: 0 0 0 30px;
color: #E9E9EB;
border-radius: 8px;
background-color: rgba(233, 233, 235, 1);
border: 0.5px solid rgba(174, 174, 174, 1);
&::-webkit-input-placeholder {
height: 20px;
line-height: 20px;
color: rgba(0, 0, 0, 0.56);
font-size: 14px;
font-family: PingFangSC-Regular;
}
}

}
.content-wrap {
padding: 0 8px;
@@ -161,7 +152,14 @@
}
}
.search-input::-webkit-input-placeholder {
color: rgba(0, 0, 0, 0.56);
font-size: 14px;
font-family:'Courier New', Courier, monospace;
color: rgba(0, 0, 0, 0.56);
height: 20px !important;
line-height: 20px !important;
}
.user-info-item:hover {
background-color: #f6f6f6;


+ 4
- 4
src/views/components_web/projDetail/components/plain-folder-list.vue Прегледај датотеку

@@ -25,7 +25,7 @@
<div v-if="folder.manageUser && folder.manageUser.length == 0">
<div class="use-relative" v-if="isAllowedAssignedFolder(folder)">
<people-item v-if="!isEnterEdit" :class="{'mr-8': !isEnterEdit}"
@click.native.stop="aloneAddUserForFolder(folder),enterEditFolderClick(folder.id)"/>
@click.native.stop="aloneAddUserForFolder(folder),enterEditFolderClick(folder)"/>
<people-item v-else/>
</div>
<div class="notclick" v-else>
@@ -56,7 +56,7 @@

<div class="add-btn" v-if="folder.manageUser && folder.manageUser.length > 0 && isAllowedAssignedStaffFolder(folder)">
<people-item v-if="!isEnterEdit"
@click.native.stop="aloneAddUserOnlyStaff(folder),enterEditFolderClick(folder.id)"/>
@click.native.stop="aloneAddUserOnlyStaff(folder),enterEditFolderClick(folder)"/>
</div>
<!-- 嵌套模板入口 -->
<!-- <div class="add_nest" v-if="isNest(folder.nodeId)">
@@ -174,9 +174,9 @@ export default {
},
// 点击了添加职员的按钮 进入编辑状态
// 因为这里用的是递归组件 所以就不用父子组件通信 用事件总线
enterEditFolderClick(folderId) {
enterEditFolderClick(folder) {
if(!this.isEnterEdit) {
this.$bus.$emit('enterEditFolderClick', folderId);
this.$bus.$emit('enterEditFolderClick', folder);
}
},
showAllClick(){


+ 1
- 1
src/views/main_web/index/components/search-proj.vue Прегледај датотеку

@@ -24,7 +24,7 @@
<script>
import AppHeader from "@/components/app-header";
import SearchBar from "@/components/search-bar/search-bar";
import ChangeBtn from "@/components/change-btn/change-btn";
import ProjItem from "@/views/main_web/proj-item";
import * as projService from '@/services/project';
export default {


+ 18
- 19
src/views/main_web/index/index.vue Прегледај датотеку

@@ -27,7 +27,7 @@
@changeSearchContent="changeSearchContent"
@hideSearchBar="isShowSearchBar = false"
@goToSearch="searchForProj"/>
<div class="search-proj-entry" @click.stop="isShowSearchBar = true"></div>
<div class="search-entry" @click.stop="isShowSearchBar = true"></div>
</template>
<!-- <template #right>
<span v-on:click="toRecycle">
@@ -75,7 +75,7 @@
</section>
<!-- 项目列表 -->
<ProjItem
:projPageList="projPageList"
:projPageList="showProjList"
:openPrjInfo="openPrjInfo"
:addNewFolders="addNewFolders"
:scrollLoad="scrollLoad"
@@ -167,6 +167,8 @@ import { haveAccess, AccessCode } from '@/utils/access';
import * as prjService from '@/services/project'
import Timer from '@/views/main_web/time'
import ProjItem from '@/views/main_web/proj-item'

import { debounce } from 'lodash';
const BMap = window.BMap;
const Velocity = window.Velocity;
export default {
@@ -254,13 +256,22 @@ export default {
searchContent: '',
searchProjList: [],//搜索出来的项目列表
isShowSearchBar: false,//控制搜索栏显隐
isSearching: false,//是否搜寻结果
};
},
computed: {
showProjList() {
return this.isShowSearchBar && this.searchContent && this.isSearching ? this.searchProjList : this.projPageList;
},
showCenterTitle() {
return this.isShowSearchBar && this.searchContent ? `“${this.searchContent}”搜索结果` : '我的项目';
}
},
watch: {
searchContent() {
this.searchForProj();
}
},
mounted: function () {
this.cnName = JSON.parse(sessionStorage.user).userName;
//this.setDateTime();
@@ -276,16 +287,13 @@ export default {
}
},
methods: {
async searchForProj() {
searchForProj: debounce(async function searchForProj() {
// 判断输入内容是否有效
const rg = /^\s*$/;
if(rg.test(this.searchContent)) {
this.$notify({
message: '请输入有效的项目名称',
type: ['warning']
})
return;
} else {
console.log(this.searchContent);
this.isSearching = true;//正在搜索
const res = await prjService.searchProject(this.searchContent);
if(res.Code == 0) {
this.searchProjList = res.Data;
@@ -296,9 +304,7 @@ export default {
})
}
}

},
},500),
changeSearchContent(content) {
this.searchContent = content;
},
@@ -723,12 +729,5 @@ export default {
display: flex;
}

.search-proj-entry {
position: relative;
top: 12px;
width: 26px;
height: 26px;
background-color: gold;
cursor: pointer;
}

</style>

+ 1
- 1
src/views/main_web/proj-item.vue Прегледај датотеку

@@ -83,7 +83,7 @@ export default {
},
computed: {
projPageListLength() {
return this.projPageList.length;
return this.projPageList ? this.projPageList.length : 0;
}
},
methods:{


+ 272
- 245
src/views/main_web/workspace/workspace.new.vue Прегледај датотеку

@@ -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>

Loading…
Откажи
Сачувај