feat: 下载dicom
This commit is contained in:
parent
c6834cb4c4
commit
ea5983776f
|
@ -13,6 +13,12 @@ export const Dashboard = (props: DashboardProps) => {
|
||||||
<Button onClick={() => navigate("/list")} data-tracking-id="test-btn">
|
<Button onClick={() => navigate("/list")} data-tracking-id="test-btn">
|
||||||
跳转list
|
跳转list
|
||||||
</Button>
|
</Button>
|
||||||
|
<Button
|
||||||
|
onClick={() => navigate("/root/viewer")}
|
||||||
|
data-tracking-id="test-btn"
|
||||||
|
>
|
||||||
|
根部分析
|
||||||
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
import { TableColumnsType } from "antd";
|
import { TableColumnsType } from "antd";
|
||||||
|
|
||||||
export const columns: TableColumnsType<any> = [
|
export const columns: TableColumnsType<any> = [
|
||||||
{ title: "#", dataIndex: "id", key: "id" },
|
{ title: "PatientID", dataIndex: "PatientID", key: "PatientID" },
|
||||||
{ title: "病历号", dataIndex: "PatientID", key: "PatientID" },
|
|
||||||
{
|
{
|
||||||
title: "创建时间",
|
title: "创建时间",
|
||||||
render: (_, record) => {
|
render: (_, record) => {
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { useEffect, useState } from "react";
|
||||||
import { useDomain } from "@/hook/useDomain";
|
import { useDomain } from "@/hook/useDomain";
|
||||||
import { Button, Space, Table, Tooltip } from "antd";
|
import { Button, Space, Table, Tooltip } from "antd";
|
||||||
import { columns } from "./columns";
|
import { columns } from "./columns";
|
||||||
import { EyeOutlined, TagOutlined } from "@ant-design/icons";
|
import { DesktopOutlined, TagOutlined } from "@ant-design/icons";
|
||||||
import { openOHIFViewer } from "@/modules/Admin/Dicom/Upload/util";
|
import { openOHIFViewer } from "@/modules/Admin/Dicom/Upload/util";
|
||||||
|
|
||||||
interface ArchiveListProps {
|
interface ArchiveListProps {
|
||||||
|
@ -41,17 +41,20 @@ export const ArchiveList = (props: ArchiveListProps) => {
|
||||||
dataIndex: "operation",
|
dataIndex: "operation",
|
||||||
render: (_: any, record: any) => (
|
render: (_: any, record: any) => (
|
||||||
<Space>
|
<Space>
|
||||||
<Button
|
<Tooltip title="在线阅片">
|
||||||
type="primary"
|
<Button
|
||||||
size="small"
|
type="text"
|
||||||
icon={<EyeOutlined />}
|
icon={<DesktopOutlined />}
|
||||||
onClick={() => onViewDicom(record)}
|
onClick={() => onViewDicom(record)}
|
||||||
>
|
/>
|
||||||
阅片
|
</Tooltip>
|
||||||
</Button>
|
<Tooltip title="添加标签">
|
||||||
<Button type="primary" size="small" icon={<TagOutlined />}>
|
<Button
|
||||||
添加
|
type="text"
|
||||||
</Button>
|
icon={<TagOutlined />}
|
||||||
|
onClick={() => {}}
|
||||||
|
/>
|
||||||
|
</Tooltip>
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user