Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hnyc-data
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaochengxiang
hnyc-data
Commits
845b0ff0
Commit
845b0ff0
authored
Jul 03, 2020
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除不需要的功能
parent
9fe2040b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
28 deletions
+27
-28
index.less
src/layout/index.less
+7
-6
Home.less
src/view/Home/Home.less
+0
-1
AssetList.js
src/view/Manage/Assets/components/AssetList.js
+9
-10
AssetListHelper.js
src/view/Manage/Assets/components/AssetListHelper.js
+11
-11
No files found.
src/layout/index.less
View file @
845b0ff0
...
...
@@ -31,6 +31,13 @@
color: #fff;
}
}
.logout-menu {
.anticon-user {
margin-right: 0 !important;
font-size: 18px !important;
}
}
}
.home-header {
...
...
@@ -53,12 +60,6 @@
}
}
.logout-menu {
.anticon-user {
margin-right: 0 !important;
font-size: 18px !important;
}
}
}
.manage-sider-logo {
...
...
src/view/Home/Home.less
View file @
845b0ff0
...
...
@@ -2,7 +2,6 @@
.home-container {
.home-search {
width: 100%;
height: calc(100vh - 64px - 143px);
...
...
src/view/Manage/Assets/components/AssetList.js
View file @
845b0ff0
...
...
@@ -8,7 +8,6 @@ import {
Typography
,
Icon
,
Button
,
Rate
,
Tabs
,
message
}
from
'antd'
;
...
...
@@ -143,8 +142,8 @@ class AssetListCOM extends Component {
{
item
.
departMent
}
<
/Col
>
<
Col
md
=
{
6
}
>
<
Text
>
更新
时间
:
<
/Text
>
{
item
.
update
Time_str
}
<
Text
>
更新
周期
:
<
/Text
>
{
item
.
update
Cycle
}
<
/Col
>
<
Col
md
=
{
6
}
>
<
Text
>
发布时间:
<
/Text
>
...
...
@@ -160,7 +159,7 @@ class AssetListCOM extends Component {
<
Text
>
资产名称:
<
/Text
>
<
span
dangerouslySetInnerHTML
=
{{
__html
:
item
.
name
}}
/
>
<
/Col
>
<
Col
md
=
{
6
}
>
{
/*
<Col md={6}>
<Text>评分:</Text>{' '}
<Rate
allowHalf
...
...
@@ -181,7 +180,7 @@ class AssetListCOM extends Component {
});
}}
/>
<
/Col
>
</Col>
*/
}
<
/Row
>
<
Row
>
<
Col
md
=
{
18
}
>
...
...
@@ -266,11 +265,11 @@ class AssetListCOM extends Component {
renderItem
=
{
item
=>
(
<
List
.
Item
actions
=
{[
<
IconText
type
=
"cloud-download"
text
=
{
item
.
downloadCount
}
key
=
"list-cloud-download"
/>
,
//
<IconText
//
type="cloud-download"
//
text={item.downloadCount}
//
key="list-cloud-download"
/
/ /
>,
<
IconText
type
=
"eye"
text
=
{
item
.
visitCount
}
key
=
"list-eye"
/>
,
...
getActions
(
item
),
]}
...
...
src/view/Manage/Assets/components/AssetListHelper.js
View file @
845b0ff0
...
...
@@ -19,10 +19,10 @@ const despColumns = [
{
key
:
'displayName'
,
dataIndex
:
'displayName'
,
title
:
'显示名称'
},
{
key
:
'typeName'
,
dataIndex
:
'typeName'
,
title
:
'数据格式'
},
{
key
:
'remarks'
,
dataIndex
:
'remarks'
,
title
:
'备注'
},
{
key
:
'filterAble_Desc'
,
dataIndex
:
'filterAble_Desc'
,
title
:
'是否筛选项'
},
{
key
:
'filterType_Desc'
,
dataIndex
:
'filterType_Desc'
,
title
:
'筛选类型'
},
{
key
:
'filterConditonDesc'
,
dataIndex
:
'filterConditonDesc'
,
title
:
'条件描述'
},
{
key
:
'filterMatchStandard'
,
dataIndex
:
'filterMatchStandard'
,
title
:
'匹配标准'
},
//
{ key: 'filterAble_Desc', dataIndex: 'filterAble_Desc', title: '是否筛选项' },
//
{ key: 'filterType_Desc', dataIndex: 'filterType_Desc', title: '筛选类型' },
//
{ key: 'filterConditonDesc', dataIndex: 'filterConditonDesc', title: '条件描述' },
//
{ key: 'filterMatchStandard', dataIndex: 'filterMatchStandard', title: '匹配标准' },
];
export
const
DataDesc
=
({
dataDesc
})
=>
{
...
...
@@ -100,7 +100,7 @@ export class DataPreview extends Component {
export
class
DataDetail
extends
Component
{
render
()
{
const
{
tableModel
,
metaData
,
showApplyButton
,
isAppling
,
onApply
}
=
this
.
props
;
const
{
tableModel
,
showApplyButton
,
isAppling
,
onApply
}
=
this
.
props
;
return
(
<
Descriptions
size
=
"small"
column
=
{
3
}
>
...
...
@@ -110,15 +110,15 @@ export class DataDetail extends Component {
<
Descriptions
.
Item
label
=
"所属目录"
>
{
tableModel
.
topic
}
<
/Descriptions.Item
>
<
Descriptions
.
Item
label
=
"所属系统"
>
{
tableModel
.
system
}
<
/Descriptions.Item
>
<
Descriptions
.
Item
label
=
"发布时间"
>
{
tableModel
.
createTime_str
}
<
/Descriptions.Item
>
<
Descriptions
.
Item
label
=
"资产密级"
>
{
tableModel
.
assetStrictLevel_
}
<
/Descriptions.Item
>
<
Descriptions
.
Item
label
=
"更新
时间"
>
{
tableModel
.
updateTime_str
}
<
/Descriptions.Item
>
<
Descriptions
.
Item
label
=
"表内容及业务含义"
>
{
metaData
.
business
}
<
/Descriptions.Item
>
<
Descriptions
.
Item
label
=
"
源系统"
>
{
metaData
.
sourceSystem
}
<
/Descriptions.Item
>
<
Descriptions
.
Item
label
=
"数据更新特点"
>
{
metaData
.
updateFeature
}
<
/Descriptions.Item
>
{
/* <Descriptions.Item label="资产密级">{tableModel.assetStrictLevel_}</Descriptions.Item> */
}
<
Descriptions
.
Item
label
=
"更新
周期"
>
{
tableModel
.
updateCycle
}
<
/Descriptions.Item
>
{
/* <Descriptions.Item label="表内容及业务含义">{metaData.business}</Descriptions.Item> */
}
<
Descriptions
.
Item
label
=
"
数据周期"
>
{
tableModel
.
dataCycle
}
<
/Descriptions.Item
>
{
/*
<Descriptions.Item label="数据更新特点">{metaData.updateFeature}</Descriptions.Item>
<Descriptions.Item label="主题域">{metaData.domain}</Descriptions.Item>
{metaData.hasOwnProperty('leaderInfo') && (
<Descriptions.Item label="负责人">{metaData.leaderInfo}</Descriptions.Item>
)}
)}
*/
}
<
Descriptions
.
Item
label
=
"描述"
>
<
span
dangerouslySetInnerHTML
=
{{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment