Lou
2024-01-12 6c2aa8e5a465c712d7855b77bc0b83bb4aa53231
src/views/publicSecurity/components/userHouseList.vue
@@ -839,8 +839,14 @@
    mounted() {},
    methods: {
      init(row) {
        console.log(JSON.stringify(row))
        this.query.regionCode = row.communityCode
        if (row.regionCode) {
          this.query.regionCode = row.regionCode
        }
        if (row.communityCode) {
          this.query.regionCode = row.communityCode
        }
        this.query.labelId = row.labelId
        this.query.parentId = 103
        this.onLoad(this.page, this.query)
      },
      onsubmit() {
@@ -864,6 +870,7 @@
          this.labelForm.houseCode = this.currentRow.houseCode
          this.labelForm.householdId = this.currentRow.id
          this.labelForm.labelId = this.currentLabel.id
          this.labelForm.userId = this.currentRow.associatedUserId
          this.labelForm.lableType = 1
          saveOrUpdateHouseholdLabel(this.labelForm).then(res => {