825e118c by 杨威

楼盘表取消选中

1 parent a62bc25b
......@@ -92,6 +92,13 @@
@click="batchUpload"
><i class="iconfont iconshangchuan"></i>批量上传</el-button
>
<el-button
class="radioBtn"
label="7"
border
@click="batchCancelChoosed"
><i class="iconfont iconshangchuan"></i>取消选中</el-button
>
</div>
</el-col>
</el-row>
......@@ -536,6 +543,23 @@ export default {
this.uploadVisible = true
}
},
//取消选中
batchCancelChoosed(){
this.cbsmList = [];
this.bsms = [];
this.qsztList = [];
this.$refs.lpbContent.hbsmList = [];
this.$refs.lpbContent.cbsmList = [];
this.$refs.lpbContent.choosedList = [];
this.$refs.lpbContent.$refs.hBsm.forEach((item) => {
item.style.border = '';
item.className = "";
});
this.$refs.lpbContent.$refs.cBsm.forEach((item) => {
item.style.border = '';
item.className = "";
});
},
uploadError(err, file, fileList) {
Message.error("上传文件失败")
console.log("上传文件失败", err)
......