|
@@ -160,7 +160,10 @@
|
|
|
onLoad(options) {
|
|
onLoad(options) {
|
|
|
that = this;
|
|
that = this;
|
|
|
this.model.residentialId = uni.getStorageSync('residentialId')
|
|
this.model.residentialId = uni.getStorageSync('residentialId')
|
|
|
- this.model.personId = app.globalData.userId;
|
|
|
|
|
|
|
+ this.model.personPhone = this.vuex_member.tel;
|
|
|
|
|
+ this.model.memberId = this.vuex_member.id;
|
|
|
|
|
+ this.model.idCard = this.vuex_member.idcard;
|
|
|
|
|
+ this.model.personName = this.vuex_member.name;
|
|
|
//获取字典
|
|
//获取字典
|
|
|
this.getDict()
|
|
this.getDict()
|
|
|
this.parseParams(options)
|
|
this.parseParams(options)
|
|
@@ -229,7 +232,6 @@
|
|
|
}
|
|
}
|
|
|
let that = this;
|
|
let that = this;
|
|
|
this.model.residentialId = uni.getStorageSync('residentialId')
|
|
this.model.residentialId = uni.getStorageSync('residentialId')
|
|
|
- this.model.personId = app.globalData.userId;
|
|
|
|
|
// let operation = 'car/saveOrUpdate';
|
|
// let operation = 'car/saveOrUpdate';
|
|
|
that.$http.saveOrUpdateCar(this.model).then (res=>{
|
|
that.$http.saveOrUpdateCar(this.model).then (res=>{
|
|
|
console.log(res);
|
|
console.log(res);
|