|
@@ -2,8 +2,8 @@
|
|
<view class="power-setting-main">
|
|
<view class="power-setting-main">
|
|
<navBar :name="$t('权限设置')" bgColor="transparent"></navBar>
|
|
<navBar :name="$t('权限设置')" bgColor="transparent"></navBar>
|
|
<view class="flex-row power-setting-head">
|
|
<view class="flex-row power-setting-head">
|
|
- <image class="head-img" :src="headimg" mode="aspectFit"></image>
|
|
|
|
- <view class="head-name">{{nickname}}</view>
|
|
|
|
|
|
+ <image class="head-img" :src="form.headimg"></image>
|
|
|
|
+ <view class="head-name">{{form.nickname}}</view>
|
|
<text class="head-email">{{form.email}}</text>
|
|
<text class="head-email">{{form.email}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="setting-card" style="margin-bottom: 20rpx;">
|
|
<view class="setting-card" style="margin-bottom: 20rpx;">
|
|
@@ -60,10 +60,10 @@
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
isSet:"",
|
|
isSet:"",
|
|
- headimg: "",
|
|
|
|
- nickname: "",
|
|
|
|
target_user_id:0,
|
|
target_user_id:0,
|
|
form: {
|
|
form: {
|
|
|
|
+ headimg: "",
|
|
|
|
+ nickname: "",
|
|
car_sn: "",
|
|
car_sn: "",
|
|
email: "",
|
|
email: "",
|
|
authority_list: [5]
|
|
authority_list: [5]
|
|
@@ -83,7 +83,7 @@
|
|
return
|
|
return
|
|
}
|
|
}
|
|
this.form.email = options.email;
|
|
this.form.email = options.email;
|
|
- this.headimg = options.headimg;
|
|
|
|
|
|
+ this.form.headimg = options.headimg;
|
|
this.form.nickname = options.nickname;
|
|
this.form.nickname = options.nickname;
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -100,8 +100,8 @@
|
|
})
|
|
})
|
|
this.form.authority_list = data.data.authority
|
|
this.form.authority_list = data.data.authority
|
|
this.form.email = data.data.email
|
|
this.form.email = data.data.email
|
|
- this.nickname = data.data.nickname
|
|
|
|
- this.headimg = data.data.headimg
|
|
|
|
|
|
+ this.form.nickname = data.data.nickname
|
|
|
|
+ this.form.headimg = data.data.headimg
|
|
}
|
|
}
|
|
},
|
|
},
|
|
async delSubmit() {
|
|
async delSubmit() {
|