| | |
| | | type GetDataBoardLastQuarterEnterpriseClientUserCountInput = Record<string, any>; |
| | | |
| | | interface GetDataBoardLastQuarterEnterpriseClientUserCountOutput { |
| | | /** 标题 */ |
| | | title?: string; |
| | | /** X轴 */ |
| | | x?: string[]; |
| | | /** 上季度数据 */ |
| | |
| | | } |
| | | |
| | | interface GetDataBoardLastQuarterOutputValueCountOutput { |
| | | /** 标题 */ |
| | | title?: string; |
| | | /** X轴 */ |
| | | x?: string[]; |
| | | /** 上季度数据 */ |
| | |
| | | interface GetDataBoardNewBountyUseAmountCountOutput { |
| | | /** X轴 */ |
| | | x?: string[]; |
| | | /** 当月标题 */ |
| | | currentMonthTitle?: string; |
| | | /** 当月数据 */ |
| | | currentMonthData?: number[]; |
| | | /** 上月标题 */ |
| | | lastMonthTitle?: string; |
| | | /** 上月数据 */ |
| | | lastMonthData?: number[]; |
| | | } |
| | |
| | | creatDataBoardLeftLineChartOptions({ |
| | | data: lastQuarterOutputValueCount.value.data, |
| | | xAxisData: lastQuarterOutputValueCount.value.x, |
| | | name: '2025年第三季度', |
| | | name: lastQuarterOutputValueCount.value.title, |
| | | yAxisName: '单位/万元', |
| | | smooth: true, |
| | | color: '#FECD07', |
| | |
| | | creatDataBoardLeftLineChartOptions({ |
| | | data: lastQuarterEnterpriseClientUserCount.value.data, |
| | | xAxisData: lastQuarterEnterpriseClientUserCount.value.x, |
| | | name: '2025年第三季度', |
| | | name: lastQuarterEnterpriseClientUserCount.value.title, |
| | | yAxisName: '单位/人', |
| | | smooth: false, |
| | | color: '#00A6FF', |
| | |
| | | creatDataBoardLeftBarChartOptions({ |
| | | data: newBountyUseAmountCount.value.currentMonthData, |
| | | xAxisData: newBountyUseAmountCount.value.x, |
| | | name: newBountyUseAmountCount.value.currentMonthTitle, |
| | | }) |
| | | ); |
| | | |
| | |
| | | type CreatDataBoardLeftBarChartOptions = { |
| | | data: number[]; |
| | | xAxisData: (number | string)[]; |
| | | name: string; |
| | | }; |
| | | |
| | | export function creatDataBoardLeftBarChartOptions({ |
| | | data, |
| | | xAxisData, |
| | | name, |
| | | }: CreatDataBoardLeftBarChartOptions) { |
| | | return _.merge({}, CommonBarChartOptions, { |
| | | xAxis: { |
| | |
| | | }, |
| | | series: [ |
| | | { |
| | | name: '本月', |
| | | name: name, |
| | | type: 'bar', |
| | | data: data, |
| | | itemStyle: { |