| | |
| | | getResideApplyDetail, |
| | | updateResideApply |
| | | } from "@/api/reside/reside.js" |
| | | |
| | | import { |
| | | getHouseholdDetail, |
| | | getHouseholdLists |
| | | } from "@/api/house/household.js" |
| | | |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | } else { |
| | | this.$set(this.info, "houseCode", uni.getStorageSync("siteInfo").houseCode) |
| | | } |
| | | this.getHouseholdList(); |
| | | this.getHouseholdInfo() |
| | | |
| | | |
| | | }, |
| | | |
| | | onReady() { |
| | |
| | | }) |
| | | }, |
| | | |
| | | getHouseholdList() { |
| | | getHouseholdLists({ |
| | | houseCode: this.info.houseCode, |
| | | relationship: 1 |
| | | }).then(res => { |
| | | console.log(res) |
| | | }) |
| | | }, |
| | | |
| | | |
| | | |
| | | //获取业主信息 |
| | | getHouseholdInfo() { |
| | | getHouseholdDetail({ |
| | | houseCode: this.info.houseCode, |
| | | associatedUserId: uni.getStorageSync("userInfo").user_id |
| | | }).then(res => { |
| | | console.log(res) |
| | | }) |
| | | |
| | | |
| | | }, |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | sumitInfo() { |
| | | this.$refs.form.validate().then(valid => { |
| | | if (this.id) { |
| | | if (this.isEdit) { |
| | | this.updateInfoRequest(); |
| | | } else { |
| | | this.addInfoRequst(); |