Bläddra i källkod

修改楼层顺序号

haojianlong 5 år sedan
förälder
incheckning
23d414db64
1 ändrade filer med 11 tillägg och 5 borttagningar
  1. 11 5
      src/views/point/dynamicdata/addRelation/floorRela/index.vue

+ 11 - 5
src/views/point/dynamicdata/addRelation/floorRela/index.vue

@@ -104,15 +104,21 @@
                 <template slot-scope="scope">{{ scope.row.ObjectLocalName }}</template>
               </el-table-column>
               <el-table-column prop="ObjectLocalCode" :label="`${typeName}本地编码`" show-overflow-tooltip></el-table-column>
-              <!-- <el-table-column prop="SubTypeName" :label="`${typeName}类型`" show-overflow-tooltip></el-table-column> -->
+              <el-table-column :label="`${typeName}顺序号`" show-overflow-tooltip>
+                <template slot-scope="scope">
+                  <el-tooltip :content="(scope.row.ObjectSequenceID&&scope.row.ObjectSequenceID!='null')?scope.row.ObjectSequenceID:''"
+                    placement="top">
+                    <div class="tool-tip">
+                      {{(scope.row.ObjectSequenceID&&scope.row.ObjectSequenceID!='null')?scope.row.ObjectSequenceID:''}}</div>
+                  </el-tooltip>
+                </template>
+              </el-table-column>
               <!-- <el-table-column prop="CascadeEquipLocalName" label="所属设备实例" show-overflow-tooltip></el-table-column> -->
               <el-table-column label="所在建筑">
                 <template slot-scope="scope">
-                  <el-tooltip
-                    :content="(scope.row.BuildLocalName?scope.row.BuildLocalName+'-':'')+(scope.row.FloorLocalName?scope.row.FloorLocalName:'')"
-                    placement="top">
+                  <el-tooltip :content="scope.row.BuildLocalName?scope.row.BuildLocalName:''" placement="top">
                     <div class="tool-tip">
-                      {{(scope.row.BuildLocalName?scope.row.BuildLocalName+'-':'')+(scope.row.FloorLocalName?scope.row.FloorLocalName:'')}}</div>
+                      {{scope.row.BuildLocalName?scope.row.BuildLocalName:''}}</div>
                   </el-tooltip>
                 </template>
               </el-table-column>