This commit is contained in:
曹辉 2023-04-11 10:04:50 +08:00
parent 73a9b1e9ce
commit b12b9ebe85
4 changed files with 8 additions and 10 deletions

View File

@ -58,7 +58,7 @@
</view>
<view class="nursetype " style="border: none;">
证书上传
<view class="upload" @tap='uploadcertificateimg' v-if="certificateimg.length==0">
<view class="upload" @tap='uploadcertificate' v-if="certificateimg.length==0">
<view class="">
<u-icon name="plus" color='#E6E6E6' label='拍摄上传' label-color='#E6E6E6'></u-icon>
</view>
@ -69,7 +69,7 @@
</image>
<image class="itemimg" :src="item" mode=""></image>
</view>
<view class="item" @tap='uploadcertificateimg'>
<view class="item" @tap='uploadcertificate'>
<image src="../../static/paishe.png" mode=""></image>
<view class="title">
拍摄上传
@ -153,7 +153,7 @@
this.certificateimg = this.certificateimg.filter(e => e != item)
},
//
uploadcertificateimg() {
uploadcertificate() {
var that = this;
uni.chooseImage({
count: 9,
@ -235,7 +235,6 @@
gofinish() {
var that = this
if (this.image) {
console.log(3)
uni.uploadFile({
url: baseurl + '/nurseApp/personLogin/updateHeadAvatarHead',
filePath: that.myimg, //file: (filePath)
@ -246,11 +245,10 @@
timeout: 5000,
success(res) {
that.appPersonallist.avatar = JSON.parse(res.data).imgUrl
// that.updateNursePerson();
that.updateNursePerson();
}
})
} else {
console.log(2)
that.updateNursePerson();
}
},

View File

@ -33,7 +33,7 @@
</view>
</view>
<view class="TemplateMessage" @tap='goTemplate' v-if="personRoleLoginFlag=='stationRole'">
管理员模板消息订阅
护理机构运营人员模板消息订阅
</view>
<view class="centerfloat">
<view class="title">

View File

@ -3,7 +3,7 @@
<view class="title">
<image src="../../static/logo.png" mode=""></image>
<view class="text">
泉医到家
泉医助手
</view>
</view>
<button class="loginbtn" open-type="getPhoneNumber" @getphonenumber="getPhoneNumberp">微信一键登录</button>

View File

@ -25,7 +25,7 @@
let pages = getCurrentPages();
let url = pages[pages.length - 1].$page.fullPath
return {
title: '泉医到家',
title: '泉医助手',
path: url,
}
},
@ -34,7 +34,7 @@
let pages = getCurrentPages();
let url = pages[pages.length - 1].$page.fullPath
return {
title: '泉医到家',
title: '泉医助手',
path: url,
}
},