电子签名问题修复

This commit is contained in:
bb_pan 2025-07-05 15:55:42 +08:00
parent 73dd83fc40
commit c2a651c780
1 changed files with 5 additions and 0 deletions

View File

@ -190,6 +190,8 @@ const onCameraSuccess = (file) => {
id: opts.id, id: opts.id,
leaseSignUrl: signUrl, leaseSignUrl: signUrl,
leaseSignType: signType.value, leaseSignType: signType.value,
taskType: opts.taskType || '',
publishTask: opts.publishTask || '',
} }
console.log('🚀 ~ success: ~ params:', params) console.log('🚀 ~ success: ~ params:', params)
const res = updateLeaseApplyInfoSign(params).then((res) => { const res = updateLeaseApplyInfoSign(params).then((res) => {
@ -245,10 +247,13 @@ const uploadImg2 = async (base64Data) => {
try { try {
const signUrl = base64Data const signUrl = base64Data
if (opts.isLease) { if (opts.isLease) {
console.log('🚀 ~ uploadImg2 ~ opts:', opts)
const params = { const params = {
id: opts.id, id: opts.id,
leaseSignUrl: signUrl, leaseSignUrl: signUrl,
leaseSignType: signType.value, leaseSignType: signType.value,
taskType: opts.taskType || '',
publishTask: opts.publishTask || '',
} }
console.log('🚀 ~ success: ~ params:', params) console.log('🚀 ~ success: ~ params:', params)
const res = await updateLeaseApplyInfoSign(params) const res = await updateLeaseApplyInfoSign(params)