90px thumb for all images
This commit is contained in:
@@ -198,7 +198,7 @@ const photoItemList = computed(() => (customer.value?.attachmentList || [])
|
|||||||
.map(item => ({
|
.map(item => ({
|
||||||
attachType: item.attachType || "PHOTO",
|
attachType: item.attachType || "PHOTO",
|
||||||
previewUrl: getAttachmentReadURL(item.id || ""),
|
previewUrl: getAttachmentReadURL(item.id || ""),
|
||||||
url: getAttachmentReadURL(item.id || "", 64)
|
url: getAttachmentReadURL(item.id || "", 90)
|
||||||
})));
|
})));
|
||||||
const photoList = computed(() => photoItemList.value.map(item => item.url));
|
const photoList = computed(() => photoItemList.value.map(item => item.url));
|
||||||
const selectedAreas = computed<BodyAreaValue>({
|
const selectedAreas = computed<BodyAreaValue>({
|
||||||
|
|||||||
@@ -390,7 +390,7 @@ async function loadDetail() {
|
|||||||
attachment: item,
|
attachment: item,
|
||||||
attachType: normalizeAttachmentType(item.attachType),
|
attachType: normalizeAttachmentType(item.attachType),
|
||||||
previewUrl: getAttachmentReadURL(item.id || ""),
|
previewUrl: getAttachmentReadURL(item.id || ""),
|
||||||
url: getAttachmentReadURL(item.id || "", 64)
|
url: getAttachmentReadURL(item.id || "", 90)
|
||||||
}));
|
}));
|
||||||
selectedAreas.value = normalizeBodyAreaValue(customer.conditioningPart);
|
selectedAreas.value = normalizeBodyAreaValue(customer.conditioningPart);
|
||||||
introducerCustomerId.value = customer.introducerCustomerId || customer.introducerCustomer?.id || "";
|
introducerCustomerId.value = customer.introducerCustomerId || customer.introducerCustomer?.id || "";
|
||||||
|
|||||||
@@ -732,7 +732,7 @@ async function loadRecordForEdit(): Promise<void> {
|
|||||||
.map(item => ({
|
.map(item => ({
|
||||||
attachment: item,
|
attachment: item,
|
||||||
previewUrl: getAttachmentReadURL(item.id || ""),
|
previewUrl: getAttachmentReadURL(item.id || ""),
|
||||||
url: getAttachmentReadURL(item.id || "", 64)
|
url: getAttachmentReadURL(item.id || "", 90)
|
||||||
}));
|
}));
|
||||||
await loadRecentRecordList();
|
await loadRecentRecordList();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -533,7 +533,7 @@ function syncCustomerPhoto(customer?: Customer): void {
|
|||||||
attachment: item,
|
attachment: item,
|
||||||
attachType: normalizeCustomerAttachmentType(item.attachType),
|
attachType: normalizeCustomerAttachmentType(item.attachType),
|
||||||
previewUrl: getAttachmentReadURL(item.id || ""),
|
previewUrl: getAttachmentReadURL(item.id || ""),
|
||||||
url: getAttachmentReadURL(item.id || "", 64)
|
url: getAttachmentReadURL(item.id || "", 90)
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user