Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
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
szse
Commits
98d8ed69
Commit
98d8ed69
authored
Jul 10, 2023
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资产热力图与首页保持一致
parent
74a7ba70
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
11 deletions
+17
-11
Thermodynamic.jsx
src/view/Manage/AssetBrowse/Component/Thermodynamic.jsx
+15
-11
ExportDDLModal.jsx
src/view/Manage/Model/Component/ExportDDLModal.jsx
+1
-0
VersionCompare.jsx
src/view/Manage/Model/Component/VersionCompare.jsx
+1
-0
No files found.
src/view/Manage/AssetBrowse/Component/Thermodynamic.jsx
View file @
98d8ed69
...
...
@@ -43,24 +43,21 @@ const init = (ctx) => function (container, data, onClick) {
return
[
{
itemStyle
:
{
borderColor
:
((
data
||
[]).
length
>
0
)
&&
(
data
[
0
].
dataAssetAndSubDirCount
===
0
||
(
data
[
0
].
children
||
[]).
reduce
((
preVal
,
item
)
=>
item
?.
dataAssetAndSubDirCount
+
preVal
,
0
)
===
0
)
?
'#97aeed'
:
'#777
'
,
// borderColor: '#fff
',
borderWidth
:
0
,
gapWidth
:
1
gapWidth
:
5
},
upperLabel
:
{
show
:
false
}
},
//
color
:[
'#A7CEFF'
,
'#7C94DD'
,
'#92D6C9'
,
'#6DC3FF'
,
'#18A7B0'
,
'#5470c6'
],
},
{
colorSaturation
:
[
0.35
,
0.5
],
itemStyle
:
{
borderColor
:
'#555'
,
borderWidth
:
5
,
gapWidth
:
1
},
emphasis
:
{
itemStyle
:
{
borderColor
:
'#ddd'
}
gapWidth
:
1
,
borderColorSaturation
:
0.8
}
},
{
...
...
@@ -68,7 +65,14 @@ const init = (ctx) => function (container, data, onClick) {
itemStyle
:
{
borderWidth
:
5
,
gapWidth
:
1
,
borderColorSaturation
:
0.6
borderColorSaturation
:
0.6
,
}
},
{
colorAlpha
:[
0.3
,
0.5
],
colorSaturation
:
[
0.3
,
0.5
],
itemStyle
:
{
borderColorSaturation
:
0.1
,
}
}
];
...
...
src/view/Manage/Model/Component/ExportDDLModal.jsx
View file @
98d8ed69
...
...
@@ -364,6 +364,7 @@ class ExportDDLModal extends React.Component {
visible=
{
visible
}
title=
{
title
}
loading=
{
confirmLoading
}
width=
{
ddlExportSuccess
?
'80%'
:
520
}
onCancel=
{
()
=>
{
this
.
reset
();
onCancel
&&
onCancel
();
...
...
src/view/Manage/Model/Component/VersionCompare.jsx
View file @
98d8ed69
...
...
@@ -92,6 +92,7 @@ const VersionCompare = (props) => {
const
onBasicChange
=
(
value
)
=>
{
setBasicVersion
(
value
);
setIncVersion
(
''
);
setCompareData
(
null
);
let
index
=
-
1
;
(
basicVersions
||
[]).
forEach
((
version
,
i
)
=>
{
...
...
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