wang_xy 11 miesięcy temu
rodzic
commit
013383f547
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/views/zdsz/engineeringCivil/index.vue

+ 2 - 2
src/views/zdsz/engineeringCivil/index.vue

@@ -278,7 +278,7 @@
               trigger="hover"
               :content="item.Type">
 
-              <span slot="reference" v-if="(item.state == '1' && item.Type != '开栓')"
+              <span slot="reference" v-if="(item.state == '1'||item.state == '2') && item.Type != '开栓'"
                     style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #30B08F;"></span>
               <span slot="reference" v-if="item.state == '0' && item.Type != '开栓'"
                     style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #C03639;"></span>
@@ -286,6 +286,7 @@
                     style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #ffff00;"></span>
               <span slot="reference" v-if="item.state == '1' && item.Type == '开栓'" @click="gotoOpenGas(scope.row)"
                     style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #6998e0;"></span>
+
             </el-popover>
           </div>
         </template>
@@ -658,7 +659,6 @@
       ref="checkingAllForm"
       title="节点开关"
       :visible.sync="batchVisible"
-
       @close="checkingAllFormClosed"
     >
       <el-form :model="batchForm" :rules="batchFormRules" ref="batchFormAll" label-width="auto" label-position="right">