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.
18 lines
1.1 KiB
18 lines
1.1 KiB
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; |
|
import { PageContainer } from '@ant-design/pro-components'; |
|
import React from 'react'; |
|
import { Tabs } from 'antd'; |
|
import DangerInfo from './dangerInfo'; |
|
import { getRiskRecord } from './action'; |
|
import { useRoutes } from '@component/utils'; |
|
import Process from '../process.record'; |
|
const { TabPane } = Tabs; |
|
export default function ({ client, serviceUrl, policyUrl }) { |
|
const { paramsParse } = useRoutes(); |
|
return (_jsx(PageContainer, Object.assign({ header: { |
|
title: null, |
|
} }, { children: _jsxs(Tabs, Object.assign({ defaultActiveKey: "1" }, { children: [_jsx(TabPane, Object.assign({ tab: "\u9690\u60A3\u4FE1\u606F" }, { children: _jsx(DangerInfo, { client: client, serviceUrl: serviceUrl, policyUrl: policyUrl }) }), "1"), _jsx(TabPane, Object.assign({ tab: "\u8FC7\u7A0B\u8BB0\u5F55" }, { children: _jsx(Process, { service: getRiskRecord, params: { |
|
businessId: paramsParse.hiddenDangerId, |
|
businessType: 'hidden_danger', |
|
} }) }), "2")] })) }))); |
|
}
|
|
|