Browse Source

在线文档

fan 2 years ago
parent
commit
a1b510993d
1 changed files with 10 additions and 2 deletions
  1. 10 2
      src/pages/main/onlineExcel/index.vue

+ 10 - 2
src/pages/main/onlineExcel/index.vue

@@ -163,7 +163,7 @@
                    :modal-append-to-body="false" :close-on-click-modal="false">
             <div>
                 <el-tree ref="tree" class="tree-line" :expand-on-click-node="false" :auto-expand-parent="true"
-                         :default-expand-all="true" :default-checked-keys="checkedMenu" :data="menuList"
+                         :default-expand-all="true" :default-checked-keys="checkedMenu" :data="moveMenuList"
                          @check="checkChange"
                          @node-click="folderNodeClick" node-key="functionCode" @expand-on-click-node="false">
                         <span class="custom-tree-node" slot-scope="{ node }">
@@ -255,7 +255,8 @@ export default {
             //移动文件夹tree相关
             nowMoveFolder: {},
             shareLoading : false,
-            woNo: ''
+            woNo: '',
+            moveMenuList: [],
         }
     },
     methods: {
@@ -711,6 +712,13 @@ export default {
             }
 
             this.menuList = arr;
+            //复制一份给移动文件夹用
+            this.moveMenuList = [];
+            arr.map((o) =>{
+                if (o.type == '4') {
+                    this.moveMenuList.push(o);
+                }
+            })
             this.menuStatus = true;
             this.loading = false;
         },