const data1 = ref({ xData: [], yData: [], tittle: '项目类型统计', type: 'pie', center: ['40%', '50%'], padding: [0, 50, 0, 0], x: '35%', y: '40%', legend: [''], itemStyle: { normal: { color: function (colors) { var colorList = ['#fc8251', '#5470c6', '#9A60B4', '#ef6567', '#f9c956', '#3BA272']; return colorList[colors.dataIndex]; }, }, }, }); const data2 = ref({ xData: [], yData: [], type: 'pie', center: ['19.9%', '38%'], x: '15%', y: '30%', legend: [''], padding: [0, 0, 0, 0], itemStyle: { normal: { color: function (colors) { var colorList = ['#9A60B4', '#f9c956', '#3BA272', '#fc8251', '#5470c6', '#ef6567']; return colorList[colors.dataIndex]; }, }, }, }); const data3 = ref({ xData: [], yData: [], tittle: '', type: 'bar', color: '#0F69FF', title: '统计数据', interval: 5, legend: ['金额(万元)'], }); const data4 = ref({ xData: [], yData: {}, legend: ['金额(万元)', '数量'], tittle: '', type: 'bar', color: '#0F69FF', }); const data5 = ref({ xData: [], yData: [], tittle: '', type: 'bar', areaStyle: {}, color: '#0F69FF', title: '发放金额(万元)', interval: 5, }); const conttList = ref([ { label: '已发放奖励金额', value: 'issuedMoney' }, { label: '发放中的金额', value: 'underReleaseMoney' }, { label: '当年拨付的奖励金额', value: 'currentYearMoney' }, { label: '当月拨付的奖励金额', value: 'currentMonthMoney' }, ]); const projectCont = ref([ { label: '项目合同数', value: 'count' }, { label: '合同金额', value: 'contractMoney' }, { label: '当年合同数', value: 'currentContractCount' }, { label: '当年合同金额', value: 'currentContractMoney' }, { label: '年度计划支付金额', value: 'currentYearPlanMoney' }, { label: '年度实际支付金额', value: 'currentYearRealityPayMoney' }, ]); const projectList = ref([ { label: '累计申请奖励项目数', value: 'projectCount' }, { label: '审核中', value: 'workFlowIng' }, { label: '审核通过', value: 'workFlowSuccess' }, { label: '审核驳回', value: 'workFlowReject' }, ]); export { data1, data2, data3, data4, data5, conttList, projectCont, projectList, }