Browse Source

房屋积分批量调整功能

master
mk 9 months ago
parent
commit
c44ecee117
  1. 19
      src/views/modules/communityService/measure/housePoints.vue

19
src/views/modules/communityService/measure/housePoints.vue

@ -17,6 +17,7 @@
</div>
</el-card>
<el-card class="resi-card-table">
<el-button class="diy-button--search" type="primary" style="margin-bottom: 10px;" @click="handelClickBatch">批量调整</el-button>
<el-table
:data="tableData"
row-key="id"
@ -29,6 +30,9 @@
>
<el-table-column label="序号" type="index" align="center" width="50">
</el-table-column>
<el-table-column type="selection"
width="55"
fixed="left"></el-table-column>
<el-table-column
prop="name"
label="户主姓名"
@ -246,8 +250,8 @@ export default {
statement:"",
pointValue:0,
houseId:"",
pointTotal:""
pointTotal:"",
seleceIds:[]
}
},
@ -283,6 +287,14 @@ export default {
},
methods: {
handelClickBatch(){
if(!this.selectionList.length != 0){
this.$message.error('请选择需要操作的房屋')
}else{
this.dialogFormVisiblePoint = true
this.seleceIds = this.selectionList.map(item=>item.subjectId)
}
},
handleSelection(val) {
this.selectionList = [...val]
},
@ -414,7 +426,8 @@ export default {
houseId: this.houseId,
businessCode: this.businessCode,
statement: this.statement,
pointValue: this.pointValue
pointValue: this.pointValue,
ids:this.seleceIds
}
// console.log(params)
this.$http

Loading…
Cancel
Save