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.
16 lines
1.0 KiB
16 lines
1.0 KiB
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")] }) }))); |
|
}
|
|
|