Переглянути джерело

元素库查询size修改

duy 2 роки тому
батько
коміт
7dc8772c58

+ 2 - 2
src/views/manager/projectinfo/independent.vue

@@ -396,7 +396,7 @@ export default {
     },
     loadNode(node, resolve) {
       const parentId = (node.level === 0) ? 12345678910 : node.data.id;
-      tabTypeLazyTree({parentId,projectId:this.projectid,current:1,size:200}).then(res => {
+      tabTypeLazyTree({parentId,projectId:this.projectid,current:1}).then(res => {
           resolve(res.data.data.records.map(item => {
               return {
                 ...item,
@@ -598,7 +598,7 @@ export default {
     refreshTree(){
         //刷新左边树形数据
        const parentId =12345678910 
-          tabTypeLazyTree({parentId,projectId:this.projectid,current:1,size:200}).then(res => {
+          tabTypeLazyTree({parentId,projectId:this.projectid,current:1}).then(res => {
             this.data=res.data.data.records;
              this.$nextTick(()=>{
                if(this.curNode.level==2){

+ 1 - 1
src/views/manager/projectinfo/qutediaolog/qute1.vue

@@ -68,7 +68,7 @@ export default {
           lazy: true,
           treeLoad: function (node, resolve) {
           const parentId = (node.level === 0) ? 12345678910 : node.data.id;
-          tabTypeLazyTreeAll({parentId,current:1,size:200}).then(res => {
+          tabTypeLazyTreeAll({parentId,current:1}).then(res => {
               resolve(res.data.data.records.map(item => {
                   return {
                     ...item,

+ 3 - 4
src/views/manager/wbsinfo/element.vue

@@ -445,7 +445,7 @@
 </template>
 
 <script>
-import { detailExcel, excelType,wbstree, getWbsTypeList,} from '@/api/exctab/excelmodel';
+import { excelType} from '@/api/exctab/excelmodel';
 import {
   updateBatchNodeTableInfo,
   selectByNodeTable,
@@ -583,7 +583,6 @@ export default {
           id:2
         }
       ],
-
       curEleTable:{},
       eleReg: /(-|>|<|≥|≤|±|【】)?([^≥≤±【】]*)/,
       editEleList:[],
@@ -660,7 +659,7 @@ export default {
           console.log(node);
            const parentId = (node.level === 0) ? 12345678910 : node.data.id;
 
-          tabTypeLazyTreeAll({parentId,current:1,size:200}).then(res => {
+          tabTypeLazyTreeAll({parentId,current:1}).then(res => {
             resolve(res.data.data.records.map(item => {
               return {
                 ...item,
@@ -861,7 +860,7 @@ export default {
     //刷新左边树形数据
     refreshTreeData(){
       const parentId =12345678910
-      tabTypeLazyTreeAll({parentId,current:1,size:200}).then(res => {
+      tabTypeLazyTreeAll({parentId,current:1}).then(res => {
         this.treeData=res.data.data.records;
           this.$nextTick(()=>{
           //树默认展开

+ 2 - 2
vue.config.js

@@ -27,11 +27,11 @@ module.exports = {
             '/api': {
                 //本地服务接口地址
                 // target: 'http://192.168.3.64',
-                target: 'http://localhost:8090',
+                // target: 'http://localhost:8090',
                 // target: 'http://192.168.1.179',
                 // target: 'http://192.168.31.96',
                 //远程演示服务地址,可用于直接启动项目
-                //target: 'https://saber.bladex.vip/api',
+                target: 'http://47.110.251.215:8090',
                 ws: true,
                 pathRewrite: {
                     '^/api': '/'