5a5ec20b by 杨威
2 parents 69bd0ece a9651d72
......@@ -41,7 +41,7 @@
class="radioBtn"
label="4"
border
@click="plcVisible"
@click="openPlC"
>批量层</el-button
>
<el-button
......@@ -238,7 +238,7 @@
<!-- 批量操作弹出框 -->
<pl-h :plh-visible="plhVisible" :bsms="bsms" @close="plhClose" @lodding="lodding"></pl-h>
<pl-zl :pl-zl-visible="plzlVisible" :bsms="bsms" @close="plZlClose" @lodding="lodding"></pl-zl>
<pl-c :plc-visible="plcVisible" :bsms="bsms" @close="plcClose" @lodding="lodding"></pl-c>
<pl-c :plc-visible="plcVisible" :bsms="cbsmList" @close="plcClose" @lodding="lodding"></pl-c>
<pl-sh :plShVisible="plShVisible" :bsms="bsms" @close="plshClose" @lodding="lodding"></pl-sh>
<h-cxlz
:h-cxlz-visble="hcxlzVisible"
......@@ -393,6 +393,13 @@ export default {
}, 100);
},
methods: {
openPlC(){
if (this.cbsmList.length <= 0) {
Message.warning("请选择层")
return
}
this.plcVisible=true
},
openPl(val){
if (this.bsms.length <= 0) {
Message.warning("请选择操作户")
......@@ -413,8 +420,7 @@ export default {
}
},
lodding(){
let zrzbsm=this.$store.state.zrzbsm;
this.$refs.lpbContent.getLpb(zrzbsm,this.syclx);
this.getlpbData();
},
hcxlzClose() {
this.hcxlzVisible = false;
......@@ -534,7 +540,7 @@ export default {
},
//户保存
hbjSaveInfo() {
this.$refs.hbj.onSave(this.bsms[this.bsms.length - 1], this.syclx);
this.$refs.hbj.onSave(this.bsms[this.bsms.length - 1], this.tabPosition);
},
//户编辑表单重置
hbjResetInfo() {
......@@ -542,7 +548,7 @@ export default {
},
//调用楼盘表信息查询接口
getlpbData() {
this.$refs.lpbContent.getLpb(this.$store.state.zrzbsm,this.syclx);
this.$refs.lpbContent.getLpb(this.$store.state.zrzbsm);
//改变楼盘表子组件的key值,重新渲染
this.time = new Date().getTime();
},
......