未审批页面,所有赔案的每一个字段需纵向对齐

This commit is contained in:
liyuetong
2021-08-04 09:39:12 +08:00
parent de131c7d99
commit ba5e696f0a

View File

@@ -42,7 +42,7 @@
<span class="w30 h30 inline-b" v-if="active == 'notApproved'" @click.stop="checkBoxSwitch(item01.id,item01.isChecked)"> <span class="w30 h30 inline-b" v-if="active == 'notApproved'" @click.stop="checkBoxSwitch(item01.id,item01.isChecked)">
<i :class="item01.isChecked=='0'?'checked':'nochecked'"></i> <i :class="item01.isChecked=='0'?'checked':'nochecked'"></i>
</span> </span>
<span class="ml5 mr10 fwb">{{index01+1}}.{{item01.insuredName}}</span> <span class="ml5 mr10 fwb w80 inline-b v-middle">{{index01+1}}.{{item01.insuredName}}</span>
<span class="mr10 fwb">{{item01.caseEndDate}}</span> <span class="mr10 fwb">{{item01.caseEndDate}}</span>
<span class="mr10 fwb">{{item01.getMoney}}</span> <span class="mr10 fwb">{{item01.getMoney}}</span>
</template> </template>
@@ -124,7 +124,7 @@ export default {
totalMoney:0,//赔案ids(数组) totalMoney:0,//赔案ids(数组)
claimApprovalIds:[],//赔案ids(数组) claimApprovalIds:[],//赔案ids(数组)
total:0, //统计list中有多少条子数据 total:0, //统计list中有多少条子数据
btnStatus:0, //按钮状态 0通过 1拒绝 btnStatus:1, //按钮状态 0-不通过1-通过
activeNames:[],//控制展开的面板列表 activeNames:[],//控制展开的面板列表
isOpen:0 //右上角按钮状态 0 全部收起 1 全部展开 isOpen:0 //右上角按钮状态 0 全部收起 1 全部展开
} }
@@ -206,11 +206,11 @@ export default {
that.totalMoney = 0 that.totalMoney = 0
} }
//审批弹框点击取消之后操作checkbox或全选时统计通过、拒绝按钮数量 //审批弹框点击取消之后操作checkbox或全选时统计通过、拒绝按钮数量
// 按钮状态 0通过 1拒绝 // 按钮状态 0-不通过1-通过
if(this.btnStatus == 0){ if(this.btnStatus == 1){
this.refuseNum = 0 this.refuseNum = 0
this.passNum = this.claimApprovalIds.length this.passNum = this.claimApprovalIds.length
}else if(this.btnStatus == 1){ }else if(this.btnStatus == 0){
this.refuseNum = this.claimApprovalIds.length this.refuseNum = this.claimApprovalIds.length
this.passNum = 0 this.passNum = 0
} }
@@ -237,11 +237,11 @@ export default {
that.totalMoney = 0 that.totalMoney = 0
} }
// 审批弹框点击取消之后操作checkbox或全选时统计通过、拒绝按钮数量 // 审批弹框点击取消之后操作checkbox或全选时统计通过、拒绝按钮数量
// 按钮状态 0通过 1拒绝 // 按钮状态 0-不通过1-通过
if(this.btnStatus == 0){ if(this.btnStatus == 1){
this.refuseNum = 0 this.refuseNum = 0
this.passNum = this.claimApprovalIds.length this.passNum = this.claimApprovalIds.length
}else if(this.btnStatus == 1){ }else if(this.btnStatus == 0){
this.refuseNum = this.claimApprovalIds.length this.refuseNum = this.claimApprovalIds.length
this.passNum = 0 this.passNum = 0
} }
@@ -251,7 +251,7 @@ export default {
//通过按钮 //通过按钮
passHandle(){ passHandle(){
if(this.claimApprovalIds.length){ if(this.claimApprovalIds.length){
this.btnStatus = 0 //按钮状态 0通过 1拒绝 this.btnStatus = 1 //按钮状态 0-不通过1-通过
this.refuseNum = 0 this.refuseNum = 0
this.passNum = this.claimApprovalIds.length this.passNum = this.claimApprovalIds.length
this.claimApprovalFunc(0) this.claimApprovalFunc(0)
@@ -262,7 +262,7 @@ export default {
//拒绝按钮 //拒绝按钮
refuseHandle(){ refuseHandle(){
if(this.claimApprovalIds.length){ if(this.claimApprovalIds.length){
this.btnStatus = 1 //按钮状态 0通过 1拒绝 this.btnStatus = 0 //按钮状态 0-不通过1-通过
this.refuseNum = this.claimApprovalIds.length this.refuseNum = this.claimApprovalIds.length
this.passNum = 0 this.passNum = 0
this.claimApprovalFunc(1) this.claimApprovalFunc(1)