|
@@ -37,41 +37,29 @@ export const DagDataView: React.FC<IProps> = ({ data, info, changePage }) => {
|
|
|
return (
|
|
|
<div className="dataview_wrapper">
|
|
|
<div className="dataview_info">
|
|
|
- <div className="table_name">{info.table_name}</div>
|
|
|
+ <div className="table_name">{info.name}</div>
|
|
|
<div className="dataview_row">
|
|
|
<div className="dataview_item">
|
|
|
- <span className="dataview_label">数据类型</span>
|
|
|
- {info.data_type}
|
|
|
+ <span className="dataview_label">创建人</span>
|
|
|
+ {info.user_name}
|
|
|
</div>
|
|
|
<div className="dataview_item">
|
|
|
- <span className="dataview_label">完整性</span>
|
|
|
- {info.integrity}
|
|
|
+ <span className="dataview_label">共享信息</span>
|
|
|
+ {info.share_status ? '是' : '否'}
|
|
|
</div>
|
|
|
<div className="dataview_item">
|
|
|
<span className="dataview_label">数据条数</span>
|
|
|
{tableData.length}
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div className="dataview_row">
|
|
|
- <div className="dataview_item">
|
|
|
- <span className="dataview_label">存储位置</span>
|
|
|
- {info.storage_location}
|
|
|
- </div>
|
|
|
- <div className="dataview_item">
|
|
|
- <span className="dataview_label">创建人</span>
|
|
|
- {info.user_name}
|
|
|
- </div>
|
|
|
- <div className="dataview_item">
|
|
|
- <span className="dataview_label">占用存储</span>
|
|
|
- {info.storage_usage}
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div className="dataview_row">
|
|
|
<div className="dataview_item">
|
|
|
<span className="dataview_label">创建时间</span>
|
|
|
{moment(info.create_time * 1000).format('YYYY-MM-DD HH:mm')}
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div className="dataview_row">
|
|
|
+ <span className="dataview_label">存储路径</span>
|
|
|
+ {info.location}
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div className="table_title">数据预览</div>
|
|
|
<div className="table_toolbar">
|