Loading src/views/drawCanvas/riskView.vue +13 −10 Original line number Diff line number Diff line Loading @@ -95,8 +95,8 @@ </van-cell-group> </van-dialog> <van-popup v-model="showPicker" round position="bottom"> <van-picker v-if="!copyRoom.isCopy" show-toolbar :columns="isRoom ? roomArr : baseArr" @cancel="showPicker = false" @confirm="onConfirm" value-key="dictLabel" /> <van-picker v-if="!copyRoom.isCopy" show-toolbar :columns="isRoom ? roomArr : baseArr" @cancel="showPicker = false" @confirm="onConfirm" value-key="dictLabel" /> <van-picker v-else show-toolbar :columns="copyRoom.copyArr" @cancel="showPicker = false" @confirm="onConfirm" :value-key="copyRoom.type != 'type' ? 'name' : 'dictLabel'" /> </van-popup> Loading Loading @@ -220,6 +220,7 @@ export default { this.copyRoom.type = "floor"; this.showPicker = true; this.copyRoom.roomData = []; debugger if (this.copyRoom.floorData.length) { this.copyRoom.copyArr = this.copyRoom.floorData; return; Loading Loading @@ -465,7 +466,9 @@ export default { this.isRoom = false; this.isBase = true; this.show = true; this.copyRoom.isCopy = false; }, // 更新画布高度 updateLayoutHeight() { const max = Math.max( Loading src/views/riskProject/add/addInherent.vue +1 −0 Original line number Diff line number Diff line Loading @@ -1047,6 +1047,7 @@ export default { params: { floorId: this.form.floorId, isView: false, buildingId: this.form.buildingIds }, }); }, Loading Loading
src/views/drawCanvas/riskView.vue +13 −10 Original line number Diff line number Diff line Loading @@ -95,8 +95,8 @@ </van-cell-group> </van-dialog> <van-popup v-model="showPicker" round position="bottom"> <van-picker v-if="!copyRoom.isCopy" show-toolbar :columns="isRoom ? roomArr : baseArr" @cancel="showPicker = false" @confirm="onConfirm" value-key="dictLabel" /> <van-picker v-if="!copyRoom.isCopy" show-toolbar :columns="isRoom ? roomArr : baseArr" @cancel="showPicker = false" @confirm="onConfirm" value-key="dictLabel" /> <van-picker v-else show-toolbar :columns="copyRoom.copyArr" @cancel="showPicker = false" @confirm="onConfirm" :value-key="copyRoom.type != 'type' ? 'name' : 'dictLabel'" /> </van-popup> Loading Loading @@ -220,6 +220,7 @@ export default { this.copyRoom.type = "floor"; this.showPicker = true; this.copyRoom.roomData = []; debugger if (this.copyRoom.floorData.length) { this.copyRoom.copyArr = this.copyRoom.floorData; return; Loading Loading @@ -465,7 +466,9 @@ export default { this.isRoom = false; this.isBase = true; this.show = true; this.copyRoom.isCopy = false; }, // 更新画布高度 updateLayoutHeight() { const max = Math.max( Loading
src/views/riskProject/add/addInherent.vue +1 −0 Original line number Diff line number Diff line Loading @@ -1047,6 +1047,7 @@ export default { params: { floorId: this.form.floorId, isView: false, buildingId: this.form.buildingIds }, }); }, Loading