This commit is contained in:
haomingming
2023-03-14 18:53:05 +08:00
parent 959bfc61b1
commit 9a392a445b
28 changed files with 251 additions and 125 deletions
+18 -15
View File
@@ -638,23 +638,26 @@ Component({
params.qualification_cert = this.data.zige_file_list.map(e => e.url);//医生资格证
if(this.data.zhicheng_file_list.length == 0){wx.showToast({title: '请上传职称证',icon: "error"});return}
params.work_cert = this.data.zhicheng_file_list.map(e => e.url);//工作证,职称证
console.log(params);
api.postDoctorAuthIden(params).then(response => {
console.log(response);
wx.showToast({
title: '提交成功',
icon: "success"
})
this.setData({
iden_auth_status_txt: "审核中",
iden_auth_disabled: true
})
}).catch(errors => {console.error(errors);})
let _this = this;
wx.requestSubscribeMessage({
tmplIds: ['kUy70xHlr7ADo4aIHiictM4Te7MSec3E5kHsYvFQu40'],
success (res) {
console.log(res);
api.postDoctorAuthIden(params).then(response => {
console.log(response);
wx.showToast({
title: '提交成功',
icon: "success"
})
_this.setData({
iden_auth_status_txt: "审核中",
iden_auth_disabled: true
})
}).catch(errors => {console.error(errors);})
}
})
},
doUploadFile(event) {
console.log("index douploadFIle: ", event);
+10 -4
View File
@@ -80,10 +80,16 @@ Component({
})
},
goChat(e){
let from_account = e.currentTarget.dataset.from_account;
let order_inquiry_id = e.currentTarget.dataset.order_inquiry_id;
wx.navigateTo({
url: e.currentTarget.dataset.url+"?from_account="+from_account+"&order_inquiry_id="+order_inquiry_id
wx.requestSubscribeMessage({
tmplIds: ['jhYUf91ULCTX_f69hazqAYwImdFf8ELasRAwB6X-MTM'],
success (res) {
console.log(res);
let from_account = e.currentTarget.dataset.from_account;
let order_inquiry_id = e.currentTarget.dataset.order_inquiry_id;
wx.navigateTo({
url: e.currentTarget.dataset.url+"?from_account="+from_account+"&order_inquiry_id="+order_inquiry_id
})
}
})
},
tabShow(){