Hwt 3 years ago
parent
commit
c92f1dcfb2
1 changed files with 10 additions and 1 deletions
  1. 10 1
      operationSupport/src/views/ownerManagement/houselessHolds/index.vue

+ 10 - 1
operationSupport/src/views/ownerManagement/houselessHolds/index.vue

@@ -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