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

View File

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

View File

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

View File

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