|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<div class="bigBox">
|
|
|
- <div class="settingBox" @click="mouseClick">
|
|
|
+ <div class="settingBox" @click="mouseClick">
|
|
|
<!-- 设置盒子顶部搜索 -->
|
|
|
<div class="topSearch">
|
|
|
<div style="position: relative;">
|
|
@@ -53,7 +53,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 右侧大盒子 -->
|
|
|
- <div class="mesBox">
|
|
|
+ <div class="mesBox">
|
|
|
<!-- 功能盒子 -->
|
|
|
<!-- table切换 -->
|
|
|
<!-- <div class="useBox">
|
|
@@ -289,14 +289,14 @@
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
- <div v-else>
|
|
|
+ <!-- <div v-else>
|
|
|
<div>
|
|
|
<el-button @click="editOnline = true; historyPrew = false">返回</el-button>
|
|
|
</div>
|
|
|
<FileEdit :docId="clickRowId" :copyRow="copyRow" :historyPrew="historyPrew"
|
|
|
:historycopyRow="historycopyRow" :onlyView="onlyView" @cancleHistoryPrew="cancleHistoryPrew">
|
|
|
</FileEdit>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
|
|
|
<!-- 扩容弹窗 -->
|
|
@@ -372,7 +372,7 @@
|
|
|
</div>
|
|
|
<!-- 图片预览 -->
|
|
|
<!-- 历史版本 -->
|
|
|
- <historyList :openFile="openForwardFile" :docId="clickRowId" :name="nameForm.name" :copyRow="copyRow"
|
|
|
+ <historyList v-if="openForwardFile" :openFile="openForwardFile" :docId="clickRowId" :name="nameForm.name" :copyRow="copyRow"
|
|
|
@close="openForwardFile = false" :fileUserTreeData="fileUserTreeData.data" @changeMsgClose="changeMsgClose"
|
|
|
:historyTotal="historyTotal">
|
|
|
</historyList>
|
|
@@ -391,7 +391,7 @@ import documents from '../../api/document/document'
|
|
|
import fileCount from '../../api/fileCount/fileCount'
|
|
|
import FileTree from './components/FileTree.vue'
|
|
|
import BreadMenu from './components/BreadMenu.vue'
|
|
|
-import FileEdit from './components/FileEdit.vue'
|
|
|
+// import FileEdit from './components/FileEdit.vue'
|
|
|
import TransferModal from './modalComponebts/Transfer.vue'
|
|
|
import CreateFloder from './modalComponebts/CreateFloder.vue'
|
|
|
import FileCollect from './modalComponebts/FileCollect.vue'
|
|
@@ -668,7 +668,7 @@ export default {
|
|
|
// 创建标签
|
|
|
|
|
|
const addData = {
|
|
|
- path:route.path,
|
|
|
+ path:route.path+row.dirId,
|
|
|
name:row.dirName,
|
|
|
row:toRaw(row)
|
|
|
}
|
|
@@ -1495,7 +1495,7 @@ export default {
|
|
|
const surePass = (pass)=>{
|
|
|
const passwordCookies = Cookies.get("pass");
|
|
|
// console.log('pass',pass);
|
|
|
- // console.log('oldPass',oldPass);
|
|
|
+ // console.log('oldPass',passwordCookies);
|
|
|
// console.log('clickRow',clickRow);
|
|
|
showInputPassword.value = false
|
|
|
if(pass === passwordCookies){
|
|
@@ -1514,9 +1514,9 @@ export default {
|
|
|
setTimeout(()=>{
|
|
|
const passArr = localStorage.getItem('passArr');
|
|
|
const passArrObj = JSON.parse(passArr)
|
|
|
- console.log('```passArrObj',passArrObj);
|
|
|
+ // console.log('```passArrObj',passArrObj);
|
|
|
const newArr = passArrObj.filter(item=>item != clickRow.value.docId)
|
|
|
- console.log('```newArr',newArr);
|
|
|
+ // console.log('```newArr',newArr);
|
|
|
localStorage.setItem('passArr',JSON.stringify(newArr))
|
|
|
},1000*30)
|
|
|
chooseSet(chooseRow.value,null,chooseNum.value)
|
|
@@ -1559,7 +1559,7 @@ export default {
|
|
|
// 添加监听,点击其他地方关闭文件夹右键菜单
|
|
|
window.addEventListener("click", closeRMenu, true);
|
|
|
window.addEventListener("click", mouseClick, true);
|
|
|
- console.log('onMounted');
|
|
|
+ // console.log('onMounted');
|
|
|
})
|
|
|
onActivated(()=>{
|
|
|
// console.log('route.query',route.query);
|
|
@@ -1748,7 +1748,7 @@ export default {
|
|
|
},
|
|
|
components: {
|
|
|
BreadMenu,
|
|
|
- FileEdit,
|
|
|
+ // FileEdit,
|
|
|
ImgPreview,
|
|
|
FileTree,
|
|
|
historyList,
|
|
@@ -1789,7 +1789,7 @@ p {
|
|
|
|
|
|
.settingBox {
|
|
|
width: 25vw;
|
|
|
- height: 92vh;
|
|
|
+ height: 92vh - 32px;
|
|
|
border: 1px solid black;
|
|
|
border-radius: 4px;
|
|
|
/* margin: 5px 5px; */
|
|
@@ -1854,7 +1854,7 @@ p {
|
|
|
|
|
|
.mesBox {
|
|
|
width: 75vw;
|
|
|
- height: 92vh;
|
|
|
+ height: 92vh - 32px;
|
|
|
border-radius: 4px;
|
|
|
background-color: white;
|
|
|
}
|