| | |
| | | axisPointer: {type: 'cross'} |
| | | }, |
| | | title: { |
| | | text: '一般公共预算收支(亿元)', |
| | | text: '区域负债(亿元)', |
| | | x: 'center', //水平安放位置,默认为'left',可选为:'center' | 'left' | 'right' | {number}(x坐标,单位px) |
| | | // y: 'top', //垂直安放位置,默认为top,可选为:'top' | 'bottom' | 'center' | {number}(y坐标,单位px) |
| | | textAlign: 'left', |
| | |
| | | // let option6 = JSON.parse(JSON.stringify(this.option)) |
| | | // let option7 = JSON.parse(JSON.stringify(this.option)) |
| | | // let option8 = JSON.parse(JSON.stringify(this.option)) |
| | | option1.title.text = '租赁资产风险分布图 - 按租赁项目数量' |
| | | option1.title.text = '租赁资产风险分布图 - 按承租人数量' |
| | | option2.title.text = '租赁资产风险分布图 - 按资产余额(单位:元)' |
| | | option3.title.text = '租赁资产行业分布图 - 按租赁项目数量' |
| | | option3.title.text = '租赁资产行业分布图 - 按承租人数量' |
| | | option4.title.text = '租赁资产行业分布图 - 按投放金额(单位:元)' |
| | | option5.title.text = '租赁资产行业分布图 - 按资产余额(单位:元)' |
| | | // option6.title.text = '租赁资产地区分布图 - 按租赁项目数量' |
| | |
| | | align: 'right', |
| | | minWidth: 200, |
| | | render: (h, params) => { |
| | | return h('span', this.CustomMethods.numTo$(params.row['2020'])) |
| | | // return h('span', this.CustomMethods.numTo$(params.row['2020'])) |
| | | return h('span', params.row[2020] ? this.CustomMethods.numTo$(params.row[2020]) : '--') |
| | | }, |
| | | }) |
| | | columns.push({ |
| | |
| | | align: 'right', |
| | | minWidth: 200, |
| | | render: (h, params) => { |
| | | return h('span', this.CustomMethods.numTo$(params.row['2019'])) |
| | | // return h('span', this.CustomMethods.numTo$(params.row['2019'])) |
| | | return h('span', params.row[2019] ? this.CustomMethods.numTo$(params.row[2019]) : '--') |
| | | |
| | | }, |
| | | }) |
| | | columns.push({ |
| | |
| | | align: 'right', |
| | | minWidth: 200, |
| | | render: (h, params) => { |
| | | return h('span', this.CustomMethods.numTo$(params.row['2018'])) |
| | | // return h('span', this.CustomMethods.numTo$(params.row['2018'])) |
| | | return h('span', params.row[2018] ? this.CustomMethods.numTo$(params.row[2018]) : '--') |
| | | |
| | | }, |
| | | }) |
| | | columns.push({ |
| | |
| | | // slot: 'contentparams', |
| | | minWidth: 200, |
| | | render: (h, params) => { |
| | | return h('span', this.CustomMethods.numTo$(params.row['2017'])) |
| | | // return h('span', this.CustomMethods.numTo$(params.row['2017'])) |
| | | return h('span', params.row[2017] ? this.CustomMethods.numTo$(params.row[2017]) : '--') |
| | | |
| | | }, |
| | | }) |
| | | return columns |