|
@@ -8,7 +8,7 @@
|
|
<view></view>
|
|
<view></view>
|
|
<view>楼栋</view>
|
|
<view>楼栋</view>
|
|
</view>
|
|
</view>
|
|
- <picker @change="buildingChange" :range-key="'name'" :value="id" :range="buildingList">
|
|
|
|
|
|
+ <picker @change="buildingChange" :range-key="'name'" :range="buildingList">
|
|
<view class="picker-min-box">
|
|
<view class="picker-min-box">
|
|
<view>{{buildingName?buildingName:'请选择楼栋'}}</view>
|
|
<view>{{buildingName?buildingName:'请选择楼栋'}}</view>
|
|
<img src="@/images/basicsModules/icon_06.png">
|
|
<img src="@/images/basicsModules/icon_06.png">
|
|
@@ -20,7 +20,7 @@
|
|
<view></view>
|
|
<view></view>
|
|
<view>楼层</view>
|
|
<view>楼层</view>
|
|
</view>
|
|
</view>
|
|
- <picker @change="floorChange" :disabled="!buildingId" :range-key="'name'" :value="id"
|
|
|
|
|
|
+ <picker @change="floorChange" :disabled="!buildingId" :range-key="'name'"
|
|
:range="floorList">
|
|
:range="floorList">
|
|
<view class="picker-min-box">
|
|
<view class="picker-min-box">
|
|
<view>{{floorName?floorName:'请选择楼层'}}</view>
|
|
<view>{{floorName?floorName:'请选择楼层'}}</view>
|
|
@@ -33,7 +33,7 @@
|
|
<view></view>
|
|
<view></view>
|
|
<view>实验室</view>
|
|
<view>实验室</view>
|
|
</view>
|
|
</view>
|
|
- <picker @change="fjListChange" :disabled="!floorId" :range-key="'subName'" :value="subId"
|
|
|
|
|
|
+ <picker @change="fjListChange" :disabled="!floorId" :range-key="'subName'"
|
|
:range="fjListArray">
|
|
:range="fjListArray">
|
|
<view class="picker-min-box">
|
|
<view class="picker-min-box">
|
|
<view>{{subName?subName:'请选择实验室'}}</view>
|
|
<view>{{subName?subName:'请选择实验室'}}</view>
|
|
@@ -65,9 +65,9 @@
|
|
:style="'width:'+mapWidth+'rpx;height:'+mapHeight+'rpx;transform: scale('+zoomData+');margin-top:-'+mapHeight/2+'rpx;margin-left:-'+mapWidth/2+'rpx;'">
|
|
:style="'width:'+mapWidth+'rpx;height:'+mapHeight+'rpx;transform: scale('+zoomData+');margin-top:-'+mapHeight/2+'rpx;margin-left:-'+mapWidth/2+'rpx;'">
|
|
<view class="map-max-box" :style="'width:'+mapWidth+'rpx;height:'+mapHeight+'rpx;'">
|
|
<view class="map-max-box" :style="'width:'+mapWidth+'rpx;height:'+mapHeight+'rpx;'">
|
|
<view class="map-max-for-box for-map-box" v-if="item.type == 1"
|
|
<view class="map-max-for-box for-map-box" v-if="item.type == 1"
|
|
- v-for="(item,index) in mapList" :key="index" :class="!item.policeType && checkSubId ==item.subId ? 'room-type-one':(
|
|
|
|
- item.policeType && checkSubId !=item.subId ? 'room-type-two':(
|
|
|
|
- item.policeType && checkSubId ==item.subId ? 'room-type-three':(
|
|
|
|
|
|
+ v-for="(item,index) in mapList" :key="index" :class="!item.policeType && subId ==item.subId ? 'room-type-one':(
|
|
|
|
+ item.policeType && subId !=item.subId ? 'room-type-two':(
|
|
|
|
+ item.policeType && subId ==item.subId ? 'room-type-three':(
|
|
!item.loginAdmin ? 'room-type-noe':'')))"
|
|
!item.loginAdmin ? 'room-type-noe':'')))"
|
|
:style="'top:'+item.y+'rpx;left:'+item.x+'rpx;width:'+(item.w-4)+'rpx;height:'+(item.h-4)+'rpx;'">
|
|
:style="'top:'+item.y+'rpx;left:'+item.x+'rpx;width:'+(item.w-4)+'rpx;height:'+(item.h-4)+'rpx;'">
|
|
<view class="map-max-for-min-box">
|
|
<view class="map-max-for-min-box">
|