|
@@ -228,7 +228,7 @@ const Welcome: React.FC = () => {
|
|
|
// 表外业务风险暴露(一级)风险加权资产占比
|
|
|
setOutTableAssetType(resData.OutTableAssetType?.pieData);
|
|
|
// 前十大机构信用风险加权资产合计
|
|
|
- if (resData.Top10OrgAssetAccount.pieData && resData.Top10OrgAssetAccount?.pieData.length > 0) {
|
|
|
+ if (resData.Top10OrgAssetAccount?.pieData && resData.Top10OrgAssetAccount?.pieData.length > 0) {
|
|
|
resData.Top10OrgAssetAccount?.pieData.forEach((item,index)=>{
|
|
|
if (item?.name) {
|
|
|
top10OrgAssetAccountName.push(item?.name);
|
|
@@ -657,21 +657,29 @@ const chartSeven ={
|
|
|
|
|
|
return (
|
|
|
<PageContainer>
|
|
|
- <ECharts
|
|
|
- elementId={"chartOne"} height={'400px'} option={chartOne} width={'100%'}></ECharts>
|
|
|
- <ECharts
|
|
|
- elementId={"chartTwo"} height={'400px'} option={chartTwo} width={'100%'}></ECharts>
|
|
|
- <ECharts
|
|
|
- elementId={"chartThree"} height={'400px'} option={chartThree} width={'100%'}></ECharts>
|
|
|
- <ECharts
|
|
|
- elementId={"chartFour"} height={'400px'} option={chartFour} width={'100%'}></ECharts>
|
|
|
- <ECharts
|
|
|
- elementId={"chartFive"} height={'400px'} option={chartFive} width={'100%'}></ECharts>
|
|
|
- <ECharts
|
|
|
- elementId={"chartSix"} height={'400px'} option={chartSix} width={'100%'}></ECharts>
|
|
|
- <ECharts
|
|
|
- elementId={"chartSeven"} height={'400px'} option={chartSeven} width={'100%'}></ECharts>
|
|
|
- </PageContainer>
|
|
|
+ <div style={{ display: 'flex', justifyContent: 'space-between' }}><div style={{ flex: 1 }}>
|
|
|
+<ECharts
|
|
|
+ elementId={"chartOne"} height={'400px'} option={chartOne} width={'100%'}></ECharts>
|
|
|
+ </div>
|
|
|
+ <div style={{ flex: 1 }}> <ECharts
|
|
|
+ elementId={"chartTwo"} height={'400px'} option={chartTwo} width={'100%'}></ECharts>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+<ECharts
|
|
|
+ elementId={"chartThree"} height={'400px'} option={chartThree} width={'100%'}></ECharts>
|
|
|
+ <div style={{ display: 'flex', justifyContent: 'space-between' }}><div style={{ flex: 1 }}>
|
|
|
+<ECharts
|
|
|
+ elementId={"chartFour"} height={'400px'} option={chartFour} width={'100%'}></ECharts>
|
|
|
+ </div>
|
|
|
+ <div style={{ flex: 1 }}> <ECharts
|
|
|
+ elementId={"chartFive"} height={'400px'} option={chartFive} width={'100%'}></ECharts>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <ECharts
|
|
|
+ elementId={"chartSix"} height={'400px'} option={chartSix} width={'100%'}></ECharts>
|
|
|
+<ECharts
|
|
|
+ elementId={"chartSeven"} height={'400px'} option={chartSeven} width={'100%'}></ECharts>
|
|
|
+</PageContainer>
|
|
|
);
|
|
|
};
|
|
|
export default Welcome;
|