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">
|
||||
跳转list
|
||||
</Button>
|
||||
<Button
|
||||
onClick={() => navigate("/root/viewer")}
|
||||
data-tracking-id="test-btn"
|
||||
>
|
||||
根部分析
|
||||
</Button>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
import { TableColumnsType } from "antd";
|
||||
|
||||
export const columns: TableColumnsType<any> = [
|
||||
{ title: "#", dataIndex: "id", key: "id" },
|
||||
{ title: "病历号", dataIndex: "PatientID", key: "PatientID" },
|
||||
{ title: "PatientID", dataIndex: "PatientID", key: "PatientID" },
|
||||
{
|
||||
title: "创建时间",
|
||||
render: (_, record) => {
|
||||
|
|
|
@ -2,7 +2,7 @@ import { useEffect, useState } from "react";
|
|||
import { useDomain } from "@/hook/useDomain";
|
||||
import { Button, Space, Table, Tooltip } from "antd";
|
||||
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";
|
||||
|
||||
interface ArchiveListProps {
|
||||
|
@ -41,17 +41,20 @@ export const ArchiveList = (props: ArchiveListProps) => {
|
|||
dataIndex: "operation",
|
||||
render: (_: any, record: any) => (
|
||||
<Space>
|
||||
<Tooltip title="在线阅片">
|
||||
<Button
|
||||
type="primary"
|
||||
size="small"
|
||||
icon={<EyeOutlined />}
|
||||
type="text"
|
||||
icon={<DesktopOutlined />}
|
||||
onClick={() => onViewDicom(record)}
|
||||
>
|
||||
阅片
|
||||
</Button>
|
||||
<Button type="primary" size="small" icon={<TagOutlined />}>
|
||||
添加
|
||||
</Button>
|
||||
/>
|
||||
</Tooltip>
|
||||
<Tooltip title="添加标签">
|
||||
<Button
|
||||
type="text"
|
||||
icon={<TagOutlined />}
|
||||
onClick={() => {}}
|
||||
/>
|
||||
</Tooltip>
|
||||
</Space>
|
||||
),
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user