| | |
| | | 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() { |
| | |
| | | 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 => { |