可视化世界地图完善

dev_2022-04-07
yujialong 3 years ago
parent d471fd2733
commit 0423f8e589
  1. 23
      src/pages/screen/list/index.vue
  2. 2
      src/setting.js

@ -1038,15 +1038,20 @@ export default {
}, },
// //
async renderMap() { async renderMap() {
// idname // idname
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 = [

@ -25,7 +25,7 @@ const Setting = {
* 正式http://www.dataforward.cn:9000 * 正式http://www.dataforward.cn:9000
* */ * */
// apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : 'http://39.108.250.202:9000', // apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : 'http://39.108.250.202:9000',
apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : `${location.origin}:9000`, apiBaseURL: env === 'development' ? 'http://39.108.250.202:9000' : `${location.origin}:9000`,
// 加密货币接口地址 // 加密货币接口地址
cryptoBaseURL: `http://159.138.53.111/`, cryptoBaseURL: `http://159.138.53.111/`,
// 接口请求返回错误时,弹窗的持续时间,单位:秒 // 接口请求返回错误时,弹窗的持续时间,单位:秒

Loading…
Cancel
Save