|
|
@ -1038,15 +1038,20 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 生成世界地图 |
|
|
|
// 生成世界地图 |
|
|
|
async renderMap() { |
|
|
|
async renderMap() { |
|
|
|
// 获取利率全部表id和name |
|
|
|
// 利率全部表id和name |
|
|
|
const res = await this.$post(`${this.api.getIdQueryTable}?categoryId=19&pageNum=1&pageSize=20&updateTime=&showName=`) |
|
|
|
const param = [ |
|
|
|
const param = [] |
|
|
|
{tableId: 2, tableName: 'll_yh_usa'}, |
|
|
|
res.pageList.records.map(e => { |
|
|
|
{tableId: 3, tableName: 'll_yh_euro'}, |
|
|
|
param.push({ |
|
|
|
{tableId: 4, tableName: 'll_yh_newzealand'}, |
|
|
|
tableId: e.id, |
|
|
|
{tableId: 5, tableName: 'll_yh_china'}, |
|
|
|
tableName: e.name |
|
|
|
{tableId: 6, tableName: 'll_yh_switzerland'}, |
|
|
|
}) |
|
|
|
{tableId: 7, tableName: 'll_yh_english'}, |
|
|
|
}) |
|
|
|
{tableId: 8, tableName: 'll_yh_australia'}, |
|
|
|
|
|
|
|
{tableId: 9, tableName: 'll_yh_japan'}, |
|
|
|
|
|
|
|
{tableId: 10, tableName: 'll_yh_russia'}, |
|
|
|
|
|
|
|
{tableId: 11, tableName: 'll_yh_india'}, |
|
|
|
|
|
|
|
{tableId: 12, tableName: 'll_yh_brazil'} |
|
|
|
|
|
|
|
] |
|
|
|
this.$post(this.api.multipleTablePreview, param).then(res => { |
|
|
|
this.$post(this.api.multipleTablePreview, param).then(res => { |
|
|
|
// 每个国家的央行利率,因为国家名称无法直接取数据库里的,所以这里固定好 |
|
|
|
// 每个国家的央行利率,因为国家名称无法直接取数据库里的,所以这里固定好 |
|
|
|
const data = [ |
|
|
|
const data = [ |
|
|
|