mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 05:46:44 +08:00
理赔审批列表页面,切换tab至审批记录,切换至未审批, 点击全选,无法反向全部取消
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
<div class="bottom-btn bg-white pt10 pb10 flex justify-content-s" style="border-top: 1px solid #dadada;" v-if="active == 'notApproved'">
|
||||
<div>
|
||||
<van-button class="ml10 mr10" type="danger" :plain='total != claimApprovalIds.length' round size="small" @click="checkAll">全选</van-button>
|
||||
<!-- <van-button class="ml10 mr10" type="danger" round size="small" @click="collapseAll">展开</van-button> -->
|
||||
<van-button class="ml10 mr10" type="danger" round size="small" @click="collapseAll">展开</van-button>
|
||||
<span class="fs12">合计:{{totalMoney}}元</span>
|
||||
</div>
|
||||
<div>
|
||||
@@ -160,6 +160,7 @@ export default {
|
||||
},
|
||||
//右上角,全部展开、全部收起
|
||||
collapseAll(){
|
||||
this.isOpen = this.isOpen == '0' ? (this.isOpen = '1') : (this.isOpen = '0')
|
||||
let that = this
|
||||
if(that.isOpen == '0'){
|
||||
that.activeNames = []
|
||||
@@ -201,6 +202,9 @@ export default {
|
||||
that.$forceUpdate()
|
||||
if(that.claimApprovalIds.length){
|
||||
that.getTotalMoneyFunc()
|
||||
}else{
|
||||
//重置金额
|
||||
that.totalMoney = 0
|
||||
}
|
||||
//审批弹框点击取消之后,操作checkbox或全选时,统计通过、拒绝按钮数量
|
||||
// 按钮状态 0通过 1拒绝
|
||||
@@ -303,6 +307,7 @@ export default {
|
||||
//初始化列表
|
||||
async getList(plainStatus) {
|
||||
let that = this
|
||||
that.total = 0
|
||||
let status
|
||||
that.claimApprovalIds = []
|
||||
//审批记录切换按钮时,1已通过,0未通过按钮状态
|
||||
|
||||
Reference in New Issue
Block a user