mirror of
https://gitee.com/java110/PropertyApp.git
synced 2026-02-23 21:36:39 +08:00
优化家庭成员修改 bug
This commit is contained in:
parent
ac23ac71bb
commit
a0141cf74d
@ -61,6 +61,7 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
memberId: '',
|
memberId: '',
|
||||||
|
ownerId:'',
|
||||||
name: "",
|
name: "",
|
||||||
sexArr: ["男", "女"],
|
sexArr: ["男", "女"],
|
||||||
index: 0,
|
index: 0,
|
||||||
@ -71,7 +72,7 @@
|
|||||||
address: "",
|
address: "",
|
||||||
ownerTypeCd:'',
|
ownerTypeCd:'',
|
||||||
communityId: '',
|
communityId: '',
|
||||||
photos: [],
|
photos: '',
|
||||||
uploadImage: {
|
uploadImage: {
|
||||||
maxPhotoNum: 1,
|
maxPhotoNum: 1,
|
||||||
imgTitle: '图片上传',
|
imgTitle: '图片上传',
|
||||||
@ -111,7 +112,8 @@
|
|||||||
"address": this.address,
|
"address": this.address,
|
||||||
sex: this.sex,
|
sex: this.sex,
|
||||||
"ownerPhoto": this.photos,
|
"ownerPhoto": this.photos,
|
||||||
memberId:this.memberId
|
memberId:this.memberId,
|
||||||
|
ownerId:this.ownerId
|
||||||
}
|
}
|
||||||
|
|
||||||
let msg = "";
|
let msg = "";
|
||||||
@ -153,6 +155,7 @@
|
|||||||
communityId: this.getCommunityId(),
|
communityId: this.getCommunityId(),
|
||||||
}).then(_data => {
|
}).then(_data => {
|
||||||
_that.memberId = _data.data[0].memberId;
|
_that.memberId = _data.data[0].memberId;
|
||||||
|
_that.ownerId = _data.data[0].ownerId;
|
||||||
_that.name = _data.data[0].name;
|
_that.name = _data.data[0].name;
|
||||||
_that.index = _data.data[0].sex;
|
_that.index = _data.data[0].sex;
|
||||||
_that.sex = _data.data[0].sex;
|
_that.sex = _data.data[0].sex;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user