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

Loading…
Cancel
Save