shuishen
2024-01-24 d16d10d94fddff86bdfd87113e7fd2cebe8b7cd7
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.slice(0, 10)
        }
        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 => {
@@ -1119,4 +1126,4 @@
  .box .el-scrollbar__wrap {
    overflow: scroll;
  }
</style>
</style>