Kaynağa Gözat

调整右侧属性框

YaolongHan 4 yıl önce
ebeveyn
işleme
7b46dcb3f6

+ 3 - 3
package-lock.json

@@ -1064,9 +1064,9 @@
       "integrity": "sha512-lVDkCBkgu+nSkwyJrOU09aNnInRGrfeMFYANABSwtVmO7+4HK/T0qPCP1KiGZsq8vP6s1MDe+9fax1hp9Evefg=="
     },
     "@saga-web/big": {
-      "version": "1.0.48",
-      "resolved": "http://192.168.200.80:8081/repository/npm-saga/@saga-web/big/-/big-1.0.48.tgz",
-      "integrity": "sha512-ql3Hglt9HcdbtoJ2v5k6vEs4ECvDTQoBvILLh22K4ByEc26k9kLITISDjQx2l5tL19HSQ8nr0RH2fi9UHY9e9A==",
+      "version": "1.0.50",
+      "resolved": "http://192.168.200.80:8081/repository/npm-saga/@saga-web/big/-/big-1.0.50.tgz",
+      "integrity": "sha512-BIn+v82nUvF1U7n2g3ewxGyqJ7+Gs+wCyCYTjWq9DxlCm/JOP0p9p5OwTa5mrHyCFsvWu/KqdYXfuyvd/iQubg==",
       "requires": {
         "@saga-web/graph": "2.1.92"
       },

+ 1 - 5
src/components/edit/attr_select.vue

@@ -104,10 +104,6 @@
     <!--针对“设备/位置/管线/分区”属性示例-->
     <div class="attr-select" v-show="type =='Image'|| type == 'Line' || type == 'Zone'">
       <div v-if="type =='Image'|| type == 'Line'">
-        <div class="row-tit" v-if="true">颜色</div>
-        <div class="row" v-if="true">
-          <swatches @input="changefillColor" :swatches="swatchess" v-model="fillColor" inline></swatches>
-        </div>
         <div class="row">
           <div class="row-tit">名称显示</div>
           <a-button type="link" class="edit-option-btn" @click="OpenEditStatus">{{editStatus[type]}}</a-button>
@@ -149,7 +145,7 @@
           </div>
         </div>
       </div>
-      <div v-else>
+      <div v-if="type == 'Zone'">
         <div v-if="SubType=='FHFQ'">
           <!-- 防火分区 -->
           <div class="row-tit">颜色</div>

+ 1 - 0
src/components/edit/right_toolbar.vue

@@ -177,6 +177,7 @@ export default {
   watch: {
     focusItemList: function(newVal) {
       this.attrType = newVal.itemType;
+      console.log(' this.attrType',this.attrType)
       if (newVal.itemList.length !== 1) {
         this.msgList.forEach(item => {
           if (item.name == "X") {