Merge branch 'dev-lijianqi20250709' into 'dev'
签章图片修改处理BUG See merge request itc-framework/ma/2024/front!102
This commit is contained in:
@ -241,24 +241,22 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
async function submit() {
|
async function submit() {
|
||||||
let valid = await onCheck();
|
let valid = await onCheck();
|
||||||
let res = false;
|
let res = false;
|
||||||
if (valid) {
|
if (valid) {
|
||||||
if (data.info.fileType === StampFileTypeAttributes.UPLOAD_PICTURES) {
|
if (data.info.fileType === StampFileTypeAttributes.UPLOAD_PICTURES) {
|
||||||
if (!data.photoUrl) {
|
if (!data.photoUrl) {
|
||||||
message.error(t('照片未上传'));
|
message.error(t('照片未上传'));
|
||||||
return false;
|
return false;
|
||||||
} else {
|
}
|
||||||
data.info.fileUrl = data.photoUrl;
|
} else {
|
||||||
}
|
if (!data.signUrl) {
|
||||||
} else {
|
message.error(t('签名未上传'));
|
||||||
if (!data.signUrl) {
|
return false;
|
||||||
message.error(t('签名未上传'));
|
} else {
|
||||||
return false;
|
data.info.fileUrl = data.signUrl;
|
||||||
} else {
|
}
|
||||||
data.info.fileUrl = data.signUrl;
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
try {
|
try {
|
||||||
if (props.id) {
|
if (props.id) {
|
||||||
res = await putStamp(props.id, props.type, data.info);
|
res = await putStamp(props.id, props.type, data.info);
|
||||||
|
|||||||
Reference in New Issue
Block a user