@@ -62,7 +62,7 @@
>
<i
class="zoniot_font zoniot-icon-shanchu redText"
- @click="deleteOne(scope.row.id)"
+ @click="deleteOne(scope.row)"
></i>
</el-tooltip>
</div>
@@ -101,6 +101,15 @@ export default {
}
},
methods: {
+
+ deleteOne (row) {
+ // alert(1)
+ // var res = [];
+ // res.push(row.id)
+ this.$http.post('/sc-community-web/scResident/unboundHouse/batchDelete', [row.id]).then(({ status, data, msg }) => {
+ this.mixins_search();
+ });
+ },
// 删除
deleteRow () {
// 获取选中列表的ids