在线签约 修改

This commit is contained in:
shidongli 2023-11-13 15:56:20 +08:00
parent 46fd3fa289
commit f5954a4e18
3 changed files with 20 additions and 12 deletions

View File

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

View File

@ -259,17 +259,19 @@
title: '请选择现住区县',
type: 'error',
})
} else if (!this.query.townName) {
this.$refs.uToast.show({
title: '请选择乡镇/街道',
type: 'error',
})
} else if (!this.query.committeeName) {
this.$refs.uToast.show({
title: '请选择村/社区',
type: 'error',
})
} else if (!this.query.address) {
}
// else if (!this.query.townName) {
// this.$refs.uToast.show({
// title: '/',
// type: 'error',
// })
// } else if (!this.query.committeeName) {
// this.$refs.uToast.show({
// title: '/',
// type: 'error',
// })
// }
else if (!this.query.address) {
this.$refs.uToast.show({
title: '请输入详细地址',
type: 'error',
@ -609,6 +611,7 @@
},
//
residentAutographPath(data) {
console.log(data,'1111')
this.query.residentAutographPath = data.residentAutographPath
// this.protocolshow = false
},

View File

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