Commit 98d8ed69 by zhaochengxiang

资产热力图与首页保持一致

parent 74a7ba70
...@@ -43,24 +43,21 @@ const init = (ctx) => function (container, data, onClick) { ...@@ -43,24 +43,21 @@ const init = (ctx) => function (container, data, onClick) {
return [ return [
{ {
itemStyle: { 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, borderWidth: 0,
gapWidth: 1 gapWidth: 5
}, },
upperLabel: { upperLabel: {
show: false show: false
} },//
color:['#A7CEFF','#7C94DD','#92D6C9','#6DC3FF','#18A7B0','#5470c6'],
}, },
{ {
colorSaturation: [0.35, 0.5],
itemStyle: { itemStyle: {
borderColor: '#555',
borderWidth: 5, borderWidth: 5,
gapWidth: 1 gapWidth: 1,
}, borderColorSaturation: 0.8
emphasis: {
itemStyle: {
borderColor: '#ddd'
}
} }
}, },
{ {
...@@ -68,7 +65,14 @@ const init = (ctx) => function (container, data, onClick) { ...@@ -68,7 +65,14 @@ const init = (ctx) => function (container, data, onClick) {
itemStyle: { itemStyle: {
borderWidth: 5, borderWidth: 5,
gapWidth: 1, gapWidth: 1,
borderColorSaturation: 0.6 borderColorSaturation: 0.6,
}
},
{
colorAlpha:[0.3,0.5],
colorSaturation: [0.3,0.5],
itemStyle: {
borderColorSaturation: 0.1,
} }
} }
]; ];
......
...@@ -364,6 +364,7 @@ class ExportDDLModal extends React.Component { ...@@ -364,6 +364,7 @@ class ExportDDLModal extends React.Component {
visible={visible} visible={visible}
title={title} title={title}
loading={confirmLoading} loading={confirmLoading}
width={ddlExportSuccess?'80%':520}
onCancel={() => { onCancel={() => {
this.reset(); this.reset();
onCancel && onCancel(); onCancel && onCancel();
......
...@@ -92,6 +92,7 @@ const VersionCompare = (props) => { ...@@ -92,6 +92,7 @@ const VersionCompare = (props) => {
const onBasicChange = (value) => { const onBasicChange = (value) => {
setBasicVersion(value); setBasicVersion(value);
setIncVersion(''); setIncVersion('');
setCompareData(null);
let index = -1; let index = -1;
(basicVersions||[]).forEach((version, i) => { (basicVersions||[]).forEach((version, i) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment