import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { PageContainer } from '@ant-design/pro-components'; import { Tabs } from 'antd'; import { useRoutes } from '@component/utils'; import RiskInfo from './risk.info'; import { getRiskRecord } from './action'; import Process from '../process.record'; export default function ({ serviceUrl, policyUrl, client }) { const { paramsParse } = useRoutes(); return (_jsx(PageContainer, Object.assign({ header: { title: null, } }, { children: _jsxs(Tabs, { children: [_jsx(Tabs.TabPane, Object.assign({ tab: "\u98CE\u9669\u4FE1\u606F" }, { children: _jsx(RiskInfo, { params: paramsParse, serviceUrl: serviceUrl, policyUrl: policyUrl, client: client }) }), "1"), _jsx(Tabs.TabPane, Object.assign({ tab: "\u8FC7\u7A0B\u8BB0\u5F55" }, { children: _jsx(Process, { service: getRiskRecord, params: { businessId: paramsParse.riskId, businessType: 'risk', } }) }), "2")] }) }))); }