|
|
@@ -135,6 +135,8 @@
|
|
|
methods: {
|
|
|
handleSelectDanyuan(item) {
|
|
|
console.log('切换单元', item)
|
|
|
+ this.danyuanId =item.danyuanId
|
|
|
+ this.loadDataFromApi()
|
|
|
},
|
|
|
handleClickMulu() {
|
|
|
this.$refs.dyMlRef.showPopup(this.banbenId)
|
|
|
@@ -160,11 +162,7 @@
|
|
|
banbenId: this.banbenId,
|
|
|
danyuanId: this.danyuanId,
|
|
|
dengjiId: this.dengjiId
|
|
|
- })
|
|
|
- // 初始化当前单元
|
|
|
- // if (this.danyuanList.length > 0) {
|
|
|
- // this.currentUnitName = this.danyuanList[0].danyuanName
|
|
|
- // }
|
|
|
+ })
|
|
|
})
|
|
|
},
|
|
|
|