Przeglądaj źródła

私有WBS设置

admin 3 lat temu
rodzic
commit
64308cae2b

+ 9 - 0
src/api/exctab/excelmodel.js

@@ -1,5 +1,14 @@
 import request from '@/router/axios';
 
+//分页获取清表
+export const getList = (params) => {
+    return request({
+        url: '/api/blade-manager/exceltab/list',
+        method: 'get',
+        params
+    })
+}
+
 //清表树
 export const tabLazytree = (params) => {
     return request({

+ 0 - 21
src/views/exctab/excelmodel/excelmodel.vue

@@ -8,7 +8,6 @@
             <basic-container>
               <!-- 树结构 -->
               <avue-tree
-                :permission="getPermission"
                 :loading="loading"
                 :option="option"
                 :data="data"
@@ -20,25 +19,6 @@
                 >
                   <div>
                     <span> {{ data.name }} </span>
-                    <!-- <span> {{ node}} </span> -->
-                    <!-- 添加 -->
-                    <i
-                      class="el-icon-circle-plus-outline marleft10"
-                      @click.stop="addExcel(data)"
-                      v-if="data.fileType!=3"
-                    ></i>
-                    <!-- 编辑 -->
-                    <i
-                      class="el-icon-edit marleft10"
-                      @click.stop="editExcel(data)"
-                      v-if="data.fileType!=3"
-                    ></i>
-                    <!-- 删除 -->
-                    <i
-                      class="el-icon-delete marleft10"
-                      @click.stop="deleteExcelM(data)"
-                      v-if="!data.hasChildren"
-                    ></i>
                   </div>
                 </span>
               </avue-tree>
@@ -199,7 +179,6 @@
             </div>
             <div class="leftscroll">
               <avue-tree
-                :permission="getPermission"
                 :loading="loading"
                 :option="option2"
                 :data="wbsdata"

+ 1 - 0
src/views/exctab/exceltab.vue

@@ -242,6 +242,7 @@ export default {
       this.onLoad(this.page, this.query);
     },
     onLoad (page, params = {}) {
+      console.log(page.currentPage, params.pageSize);
       this.query.parentId = 0;
       this.loading = true;
       getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {

Plik diff jest za duży
+ 935 - 259
src/views/manager/projectinfo/tree.vue


+ 2 - 0
vue.config.js

@@ -28,6 +28,8 @@ module.exports = {
                 //本地服务接口地址
                 // target: 'http://192.168.3.64',
                 target: 'http://192.168.31.96',
+                // target: 'http://192.168.31.121',
+                // target: 'http://192.168.3.13',
                 //远程演示服务地址,可用于直接启动项目
                 //target: 'https://saber.bladex.vip/api',
                 ws: true,

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików