|
@@ -26,7 +26,7 @@
|
|
|
<icon :style="{ backgroundImage: 'url(' + data.jtIcon + ')' }"></icon>
|
|
<icon :style="{ backgroundImage: 'url(' + data.jtIcon + ')' }"></icon>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="form-label-input">
|
|
<view class="form-label-input">
|
|
|
- <view class="phone-form-label"><text class="form-label-require">*</text>具体地址</view>
|
|
|
|
|
|
|
+ <view class="phone-form-label"><text class="form-label-require"></text>具体地址</view>
|
|
|
<input v-model="data.juzhuDizhi" placeholder="请输入具体地址" />
|
|
<input v-model="data.juzhuDizhi" placeholder="请输入具体地址" />
|
|
|
<icon :style="{ backgroundImage: 'url(' + data.jtIcon + ')' }"></icon>
|
|
<icon :style="{ backgroundImage: 'url(' + data.jtIcon + ')' }"></icon>
|
|
|
</view>
|
|
</view>
|
|
@@ -37,7 +37,7 @@
|
|
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
|
import customNavbarVue from "@/components/custom-navbar/custom-navbar.vue";
|
|
import customNavbarVue from "@/components/custom-navbar/custom-navbar.vue";
|
|
|
- import * as myApi from "@/api/my.js";
|
|
|
|
|
|
|
+ import * as myApi from "@/api/kehu.js";
|
|
|
import {getAliyunPolicy} from "@/api/jiazheng.js"
|
|
import {getAliyunPolicy} from "@/api/jiazheng.js"
|
|
|
import {ref,reactive} from "vue"
|
|
import {ref,reactive} from "vue"
|
|
|
import {onLoad} from "@dcloudio/uni-app"
|
|
import {onLoad} from "@dcloudio/uni-app"
|
|
@@ -100,7 +100,7 @@
|
|
|
userId: data.userId,
|
|
userId: data.userId,
|
|
|
userName: data.userName,
|
|
userName: data.userName,
|
|
|
}
|
|
}
|
|
|
- myApi.getMineUpdate(opt).then(res => {
|
|
|
|
|
|
|
+ myApi.getKehuUpdate(opt).then(res => {
|
|
|
if (res.data) {
|
|
if (res.data) {
|
|
|
uni.showToast({
|
|
uni.showToast({
|
|
|
title: '更新成功'
|
|
title: '更新成功'
|
|
@@ -116,7 +116,7 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function initPage() {
|
|
function initPage() {
|
|
|
- myApi.getMineUser().then(res => {
|
|
|
|
|
|
|
+ myApi.getKehuUser().then(res => {
|
|
|
const {juzhuDizhi,idtype,idcard,realName,userName,userId} = res.data;
|
|
const {juzhuDizhi,idtype,idcard,realName,userName,userId} = res.data;
|
|
|
data.idtype = res.data.idtype;
|
|
data.idtype = res.data.idtype;
|
|
|
data.idcard = res.data.idcard;
|
|
data.idcard = res.data.idcard;
|