完善体检客户报告邮寄地址功能
This commit is contained in:
@@ -873,6 +873,12 @@ export interface OutputReportSendInfo {
|
||||
address_contact?: string | null;
|
||||
/** 联系电话 */
|
||||
address_mobile?: string | null;
|
||||
/** 省份名称 */
|
||||
province_name?: string | null;
|
||||
/** 城市名称 */
|
||||
city_name?: string | null;
|
||||
/** 区县名称 */
|
||||
country_name?: string | null;
|
||||
/** 寄送地址 */
|
||||
address_content?: string | null;
|
||||
}
|
||||
|
||||
@@ -40,6 +40,15 @@ export const ExamDeliveryPanel = ({ client }: { client: ExamClient }) => {
|
||||
if (data.address_mobile) {
|
||||
setAddressMobile(data.address_mobile);
|
||||
}
|
||||
if (data.province_name) {
|
||||
setProvinceName(data.province_name);
|
||||
}
|
||||
if (data.city_name) {
|
||||
setCityName(data.city_name);
|
||||
}
|
||||
if (data.country_name) {
|
||||
setCountryName(data.country_name);
|
||||
}
|
||||
if (data.address_content) {
|
||||
setAddressContent(data.address_content);
|
||||
}
|
||||
@@ -101,6 +110,9 @@ export const ExamDeliveryPanel = ({ client }: { client: ExamClient }) => {
|
||||
|
||||
{viewMode === 'form' ? (
|
||||
<>
|
||||
{infoLoading && (
|
||||
<div className='mb-3 text-xs text-gray-500'>正在加载地址信息...</div>
|
||||
)}
|
||||
<div className='grid grid-cols-2 gap-3 mb-3'>
|
||||
<div>
|
||||
收件人姓名
|
||||
|
||||
Reference in New Issue
Block a user