|
@@ -155,6 +155,18 @@ const Dashboard = ({ dispatch, permData = {}, groupList = [] }) => {
|
|
|
height: 230,
|
|
height: 230,
|
|
|
xField: 'time',
|
|
xField: 'time',
|
|
|
yField: ['value', 'increment'],
|
|
yField: ['value', 'increment'],
|
|
|
|
|
+ yAxis: {
|
|
|
|
|
+ value: {
|
|
|
|
|
+ label: {
|
|
|
|
|
+ formatter: text => `${text}个`
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ increment: {
|
|
|
|
|
+ label: {
|
|
|
|
|
+ formatter: text => `${text}%`
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
meta: {
|
|
meta: {
|
|
|
increment: {
|
|
increment: {
|
|
|
alias: '增幅'
|
|
alias: '增幅'
|
|
@@ -170,7 +182,16 @@ const Dashboard = ({ dispatch, permData = {}, groupList = [] }) => {
|
|
|
{
|
|
{
|
|
|
geometry: 'line',
|
|
geometry: 'line',
|
|
|
lineStyle: { lineWidth: 2 },
|
|
lineStyle: { lineWidth: 2 },
|
|
|
- color: '#FEB51A'
|
|
|
|
|
|
|
+ smooth: true,
|
|
|
|
|
+ color: '#FEB51A',
|
|
|
|
|
+ point: {
|
|
|
|
|
+ size: 3,
|
|
|
|
|
+ style: {
|
|
|
|
|
+ fill: 'white',
|
|
|
|
|
+ stroke: '#5B8FF9',
|
|
|
|
|
+ lineWidth: 2
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
}
|
|
}
|
|
@@ -224,7 +245,9 @@ const Dashboard = ({ dispatch, permData = {}, groupList = [] }) => {
|
|
|
<h3 className="text-xl text-green-500">
|
|
<h3 className="text-xl text-green-500">
|
|
|
{state.customerChainRatio.percentage}
|
|
{state.customerChainRatio.percentage}
|
|
|
</h3>
|
|
</h3>
|
|
|
- <span>较上月</span>
|
|
|
|
|
|
|
+ <span>
|
|
|
|
|
+ {cyclicalOp.find(item => item.value === state.params.cyclical)?.title}
|
|
|
|
|
+ </span>
|
|
|
</Col>
|
|
</Col>
|
|
|
</Row>
|
|
</Row>
|
|
|
</div>
|
|
</div>
|
|
@@ -243,7 +266,9 @@ const Dashboard = ({ dispatch, permData = {}, groupList = [] }) => {
|
|
|
</Col>
|
|
</Col>
|
|
|
<Col span={9} className="text-right">
|
|
<Col span={9} className="text-right">
|
|
|
<h3 className="text-xl text-red-500">{state.clientChainRatio.percentage}</h3>
|
|
<h3 className="text-xl text-red-500">{state.clientChainRatio.percentage}</h3>
|
|
|
- <span>较上月</span>
|
|
|
|
|
|
|
+ <span>
|
|
|
|
|
+ {cyclicalOp.find(item => item.value === state.params.cyclical)?.title}
|
|
|
|
|
+ </span>
|
|
|
</Col>
|
|
</Col>
|
|
|
</Row>
|
|
</Row>
|
|
|
</div>
|
|
</div>
|
|
@@ -264,7 +289,9 @@ const Dashboard = ({ dispatch, permData = {}, groupList = [] }) => {
|
|
|
<h3 className="text-xl text-green-500">
|
|
<h3 className="text-xl text-green-500">
|
|
|
{state.businessChainRatio.percentage}
|
|
{state.businessChainRatio.percentage}
|
|
|
</h3>
|
|
</h3>
|
|
|
- <span>较上月</span>
|
|
|
|
|
|
|
+ <span>
|
|
|
|
|
+ {cyclicalOp.find(item => item.value === state.params.cyclical)?.title}
|
|
|
|
|
+ </span>
|
|
|
</Col>
|
|
</Col>
|
|
|
</Row>
|
|
</Row>
|
|
|
</div>
|
|
</div>
|
|
@@ -285,7 +312,9 @@ const Dashboard = ({ dispatch, permData = {}, groupList = [] }) => {
|
|
|
<h3 className="text-xl text-green-500">
|
|
<h3 className="text-xl text-green-500">
|
|
|
{state.serviceLogChainRatio.percentage}
|
|
{state.serviceLogChainRatio.percentage}
|
|
|
</h3>
|
|
</h3>
|
|
|
- <span>较上月</span>
|
|
|
|
|
|
|
+ <span>
|
|
|
|
|
+ {cyclicalOp.find(item => item.value === state.params.cyclical)?.title}
|
|
|
|
|
+ </span>
|
|
|
</Col>
|
|
</Col>
|
|
|
</Row>
|
|
</Row>
|
|
|
</div>
|
|
</div>
|