Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
2023-11-13 16:40:14 +08:00
commit 254664bdbb
7 changed files with 37 additions and 20 deletions

View File

@ -175,14 +175,17 @@
} }
}, },
openCamera() { openCamera() {
let that = this let that = this
that.meimage=''
uni.chooseImage({ uni.chooseImage({
sizeType: ['compressed'], sizeType: ['compressed'],
sourceType: ['camera'], sourceType: ['camera'],
success: function(res) { success: function(res) {
console.log(res,'000')
that.meimage = res.tempFilePaths[0] that.meimage = res.tempFilePaths[0]
uni.saveImageToPhotosAlbum({ uni.saveImageToPhotosAlbum({
filePath: tempFilePath, filePath: that.meimage,
success: (resp) => { success: (resp) => {
uni.uploadFile({ uni.uploadFile({
url: baseurl + url: baseurl +
@ -210,6 +213,7 @@
// // // //
userSignaturePicture(data) { userSignaturePicture(data) {
let that = this let that = this
console.log(data,'9999')
that.meimage = data that.meimage = data
uni.uploadFile({ uni.uploadFile({
url: baseurl + '/applet/sign/apply/residentSignatureUpload', url: baseurl + '/applet/sign/apply/residentSignatureUpload',

View File

@ -383,9 +383,17 @@
}, },
// //
Signing() { Signing() {
uni.navigateTo({ if (uni.getStorageSync('region') == 3) {
url: '/pagesB/mysigning/mysigning' this.$refs.uToast.show({
}) title: '当前地区不支持,请选择其它地区',
type: 'error',
})
} else {
uni.navigateTo({
url: '/pagesB/mysigning/mysigning'
})
}
}, },
// //
gologin() { gologin() {
@ -527,4 +535,4 @@
<style lang="scss"> <style lang="scss">
@import './myinformation.scss' @import './myinformation.scss'
</style> </style>

View File

@ -1,5 +1,5 @@
<template> <template>
<view class="screeningRecord"> <view class="screeningRecord" v-if="screeningResultData.length>0">
<view class="screeningRecordItem" v-for="(item,index) in screeningResultData" :key="index"> <view class="screeningRecordItem" v-for="(item,index) in screeningResultData" :key="index">
<!-- <view>筛查日期{{ item.screeningDate }}</view> --> <!-- <view>筛查日期{{ item.screeningDate }}</view> -->
<view style="font-size: 16px;font-weight: 900;">{{ item.screeningDate }}</view> <view style="font-size: 16px;font-weight: 900;">{{ item.screeningDate }}</view>
@ -12,8 +12,11 @@
<span>查看筛查结果</span> <span>查看筛查结果</span>
</view> </view>
</view> </view>
</view> </view>
<view v-else style="margin-top: 50%;">
<u-empty mode="order" icon-size='220' text="暂无筛查记录"></u-empty>
</view>
</template> </template>
<script> <script>

View File

@ -259,16 +259,17 @@
title: '请选择现住区县', title: '请选择现住区县',
type: 'error', type: 'error',
}) })
} else if (!this.query.townName) { // }
this.$refs.uToast.show({ // else if (!this.query.townName) {
title: '请选择乡镇/街道', // this.$refs.uToast.show({
type: 'error', // title: '/',
}) // type: 'error',
} else if (!this.query.committeeName) { // })
this.$refs.uToast.show({ // } else if (!this.query.committeeName) {
title: '请选择村/社区', // this.$refs.uToast.show({
type: 'error', // title: '/',
}) // type: 'error',
// })
} else if (!this.query.address) { } else if (!this.query.address) {
this.$refs.uToast.show({ this.$refs.uToast.show({
title: '请输入详细地址', title: '请输入详细地址',
@ -386,7 +387,7 @@
type: 'success', type: 'success',
duration: 1500, duration: 1500,
back: 1, back: 1,
}) })
// uni.switchTab({ // uni.switchTab({
// url: "/pages/homepage/homepage" // url: "/pages/homepage/homepage"

View File

@ -57,7 +57,7 @@
</view> --> </view> -->
<view class="item"> <view class="item">
诊断结果 诊断结果
<span>{{screeningResultData.diagnosticResult}}</span> <span v-if="screeningResultData.diagnosticResult">{{screeningResultData.diagnosticResult}}</span>
</view> </view>
</view> </view>
</view> </view>

View File

@ -89,7 +89,7 @@
this.$refs.uToast.show({ this.$refs.uToast.show({
title: '预约成功', title: '预约成功',
type: 'success', type: 'success',
url: '/pagesC/ServiceAppointment/ServiceAppointment' // url: '/pagesC/ServiceAppointment/ServiceAppointment'
}) })
} else if (res.code == '500') { } else if (res.code == '500') {
this.$refs.uToast.show({ this.$refs.uToast.show({

View File

@ -69,6 +69,7 @@
realname: { realname: {
handler(newval, oldval) { handler(newval, oldval) {
console.log(newval, oldval) console.log(newval, oldval)
this.pageNum=1;
this.getDoctorListinfo(); this.getDoctorListinfo();
} }
} }