You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

14 lines
3.8 KiB

import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import React from 'react';
import { ProDescriptions } from '@ant-design/pro-components';
import { DescriptionsDetail, CardDetail } from '@component/ui';
import { getDetail } from './action';
import { useRequest } from 'ahooks';
import { useRoutes, dateFormatter } from '@component/utils';
export default function OneTab() {
const { paramsParse } = useRoutes();
const { data } = useRequest(getDetail, {
defaultParams: Object.assign({}, paramsParse),
});
return (_jsx(CardDetail, Object.assign({ title: data === null || data === void 0 ? void 0 : data.organName }, { children: _jsxs(DescriptionsDetail, Object.assign({ column: 2 }, { children: [_jsx(ProDescriptions.Item, Object.assign({ label: "\u5BA2\u6237\u7F16\u53F7" }, { children: data === null || data === void 0 ? void 0 : data.organId })), _jsx(ProDescriptions.Item, Object.assign({ label: "\u884C\u4E1A\u5927\u7C7B" }, { children: data === null || data === void 0 ? void 0 : data.industryTypeLargeName })), _jsx(ProDescriptions.Item, Object.assign({ label: "\u8BC1\u4EF6\u7C7B\u578B" }, { children: data === null || data === void 0 ? void 0 : data.idTypeName })), _jsx(ProDescriptions.Item, Object.assign({ label: "\u884C\u4E1A\u5C0F\u7C7B" }, { children: data === null || data === void 0 ? void 0 : data.industryTypeSmallName })), _jsx(ProDescriptions.Item, Object.assign({ label: "\u8BC1\u4EF6\u53F7\u7801" }, { children: data === null || data === void 0 ? void 0 : data.idNo })), _jsx(ProDescriptions.Item, Object.assign({ label: "\u6CD5\u5B9A\u4EE3\u8868\u4EBA" }, { children: data === null || data === void 0 ? void 0 : data.legalName })), _jsx(ProDescriptions.Item, Object.assign({ label: "\u5B89\u5168\u8D1F\u8D23\u4EBA" }, { children: data === null || data === void 0 ? void 0 : data.safetyDirectorName })), _jsx(ProDescriptions.Item, Object.assign({ label: "\u8D1F\u8D23\u4EBA\u7535\u8BDD" }, { children: data === null || data === void 0 ? void 0 : data.safetyDirectorTel })), _jsx(ProDescriptions.Item, Object.assign({ label: "\u4F01\u4E1A\u8054\u7CFB\u4EBA" }, { children: data === null || data === void 0 ? void 0 : data.contacts })), _jsx(ProDescriptions.Item, Object.assign({ label: "\u4F01\u4E1A\u8054\u7CFB\u7535\u8BDD" }, { children: data === null || data === void 0 ? void 0 : data.contactsPhone })), _jsx(ProDescriptions.Item, Object.assign({ label: "\u4F01\u4E1A\u90AE\u7BB1" }, { children: data === null || data === void 0 ? void 0 : data.email })), _jsx(ProDescriptions.Item, Object.assign({ label: "\u5355\u4F4D\u6027\u8D28" }, { children: data === null || data === void 0 ? void 0 : data.branchNatureName })), _jsx(ProDescriptions.Item, Object.assign({ label: "\u5E94\u6025\u503C\u73ED\u7535\u8BDD" }, { children: data === null || data === void 0 ? void 0 : data.emergencyDutyRoomRel })), _jsx(ProDescriptions.Item, Object.assign({ label: "\u4F01\u4E1A\u5B89\u5168\u5458" }, { children: data === null || data === void 0 ? void 0 : data.safetyOfficerName })), _jsx(ProDescriptions.Item, Object.assign({ label: "\u6CE8\u518C\u5730\u5740" }, { children: data === null || data === void 0 ? void 0 : data.orgRegistrationAddress })), _jsx(ProDescriptions.Item, Object.assign({ label: "\u5B89\u5168\u751F\u4EA7\u6807\u51C6\u5316\u9A8C\u6536\u60C5\u51B5" }, { children: data === null || data === void 0 ? void 0 : data.safeStandardSituationName })), _jsx(ProDescriptions.Item, Object.assign({ label: "\u5B89\u5168\u751F\u4EA7\u8BB8\u53EF\u8BC1\u8D77\u671F" }, { children: dateFormatter(data === null || data === void 0 ? void 0 : data.safetyProdEffectDate) })), _jsx(ProDescriptions.Item, Object.assign({ label: "\u5B89\u5168\u751F\u4EA7\u8BB8\u53EF\u8BC1\u6B62\u671F" }, { children: dateFormatter(data === null || data === void 0 ? void 0 : data.safetyOrodicenseWxpiryDate) }))] })) })));
}