在线签约 修改
This commit is contained in:
parent
46fd3fa289
commit
f5954a4e18
@ -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',
|
||||||
|
|||||||
@ -259,17 +259,19 @@
|
|||||||
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: '请输入详细地址',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
@ -609,6 +611,7 @@
|
|||||||
},
|
},
|
||||||
//接收拍照或签名
|
//接收拍照或签名
|
||||||
residentAutographPath(data) {
|
residentAutographPath(data) {
|
||||||
|
console.log(data,'1111')
|
||||||
this.query.residentAutographPath = data.residentAutographPath
|
this.query.residentAutographPath = data.residentAutographPath
|
||||||
// this.protocolshow = false
|
// this.protocolshow = false
|
||||||
},
|
},
|
||||||
|
|||||||
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user