Procházet zdrojové kódy

Merge branch 'develop' of http://39.106.8.246:3003/web/wanda-editer into develop

haojianlong před 4 roky
rodič
revize
fbfcd04791

+ 4 - 2
src/components/edit/attr_select.vue

@@ -300,7 +300,7 @@
         </a-collapse-panel>
       </a-collapse>
     </div>
-    <editDialog ref="dialog" :attrCards="attrCards" :getmajorId="getmajorId"  :sysNum="imageNum" :key="new Date().getTime()" />
+    <editDialog ref="dialog" :attrCards="attrCards" :getmajorId="getmajorId" :InfoLocal="InfoLocal" :sysNum="imageNum" :key="new Date().getTime()" />
     <!--    <editDialog ref="dialog" :typeEdit="2" :getmajorId="'1001'" :sysNum="5" />-->
   </div>
 </template>
@@ -397,7 +397,8 @@ export default {
       itemExplain: "", //图例说明 只针对石材铺装
       attrCards: [],
       spinning: false,
-      getmajorId: ""
+      getmajorId: "",
+      InfoLocal:[]
     };
   },
   methods: {
@@ -518,6 +519,7 @@ export default {
         this.SubType = "";
       }
       this.getmajorId = Item.data.Properties.InfoSystemId;
+      this.InfoLocal = Item.data.Properties.InfoLocal;
       //判断点 面 带回专业类
       // let InfoTypeIdArr = [];
       // if( Item.data.Properties.InfoTypeId.length){

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 559 - 516
src/components/edit/edit-dialog.vue


+ 2 - 2
src/components/edit/left_toolbar.vue

@@ -96,7 +96,7 @@
                 />
               </div>
               <div class="list" v-for="(item,index) in itemList" :key="index">
-                <div class="title">{{item.Name}}</div>
+                <div class="title" v-show="item.GraphElements.length">{{item.Name}}</div>
                 <ul class="example">
                   <li
                     @click="getexampleItem(items,indexs,index)"
@@ -641,7 +641,7 @@ export default {
           display: flex;
           flex-wrap: wrap;
           li {
-            width: 82px;
+            width: 80px;
             height: 60px;
             display: flex;
             justify-content: center;

+ 2 - 2
vue.config.js

@@ -25,8 +25,8 @@ module.exports = {
                 },
             },
             '/data': {
-                target: 'http://192.168.200.87:9003',
-                // target: 'http://60.205.177.43:9903', //阿里云
+                // target: 'http://192.168.200.87:9003',
+                target: 'http://60.205.177.43:9903', //阿里云
                 changeOrigin: true,
                 secure: false,
                 pathRewrite: {