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.
21 lines
1.4 KiB
21 lines
1.4 KiB
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; |
|
import { PageContainer } from '@ant-design/pro-components'; |
|
import { Tabs } from 'antd'; |
|
import Record from '../record'; |
|
import OrganInfo from './organ.info'; |
|
import ExpertList from './expert.list'; |
|
import { useRoutes } from '@component/utils'; |
|
import { getRecord } from './action'; |
|
import OrganEvaluate from './organ.evaluate/index'; |
|
import { useState } from 'react'; |
|
const { TabPane } = Tabs; |
|
export default function () { |
|
const { paramsParse } = useRoutes(); |
|
const [showVisit, setShow] = useState(false); |
|
return (_jsx(PageContainer, Object.assign({ header: { |
|
title: null, |
|
} }, { children: _jsxs(Tabs, Object.assign({ defaultActiveKey: "1" }, { children: [_jsx(TabPane, Object.assign({ tab: "\u673A\u6784\u4FE1\u606F" }, { children: _jsx(OrganInfo, { params: paramsParse, setShow: setShow }) }), "1"), _jsx(TabPane, Object.assign({ tab: "\u5408\u4F5C\u4E13\u5BB6" }, { children: _jsx(ExpertList, { params: paramsParse }) }), "2"), _jsx(TabPane, Object.assign({ tab: "\u5BA1\u6838\u8BB0\u5F55" }, { children: _jsx(Record, { service: getRecord, params: { |
|
businessId: paramsParse.organId, |
|
businessType: 'service_organ', |
|
} }) }), "5"), showVisit && (_jsx(TabPane, Object.assign({ tab: "\u670D\u52A1\u8003\u8BC4" }, { children: _jsx(OrganEvaluate, {}) }), "6"))] })) }))); |
|
}
|
|
|