楼盘表取消选中
Showing
1 changed file
with
24 additions
and
0 deletions
... | @@ -92,6 +92,13 @@ | ... | @@ -92,6 +92,13 @@ |
92 | @click="batchUpload" | 92 | @click="batchUpload" |
93 | ><i class="iconfont iconshangchuan"></i>批量上传</el-button | 93 | ><i class="iconfont iconshangchuan"></i>批量上传</el-button |
94 | > | 94 | > |
95 | <el-button | ||
96 | class="radioBtn" | ||
97 | label="7" | ||
98 | border | ||
99 | @click="batchCancelChoosed" | ||
100 | ><i class="iconfont iconshangchuan"></i>取消选中</el-button | ||
101 | > | ||
95 | </div> | 102 | </div> |
96 | </el-col> | 103 | </el-col> |
97 | </el-row> | 104 | </el-row> |
... | @@ -536,6 +543,23 @@ export default { | ... | @@ -536,6 +543,23 @@ export default { |
536 | this.uploadVisible = true | 543 | this.uploadVisible = true |
537 | } | 544 | } |
538 | }, | 545 | }, |
546 | //取消选中 | ||
547 | batchCancelChoosed(){ | ||
548 | this.cbsmList = []; | ||
549 | this.bsms = []; | ||
550 | this.qsztList = []; | ||
551 | this.$refs.lpbContent.hbsmList = []; | ||
552 | this.$refs.lpbContent.cbsmList = []; | ||
553 | this.$refs.lpbContent.choosedList = []; | ||
554 | this.$refs.lpbContent.$refs.hBsm.forEach((item) => { | ||
555 | item.style.border = ''; | ||
556 | item.className = ""; | ||
557 | }); | ||
558 | this.$refs.lpbContent.$refs.cBsm.forEach((item) => { | ||
559 | item.style.border = ''; | ||
560 | item.className = ""; | ||
561 | }); | ||
562 | }, | ||
539 | uploadError(err, file, fileList) { | 563 | uploadError(err, file, fileList) { |
540 | Message.error("上传文件失败") | 564 | Message.error("上传文件失败") |
541 | console.log("上传文件失败", err) | 565 | console.log("上传文件失败", err) | ... | ... |
-
Please register or sign in to post a comment