diff --git a/main.js b/main.js index 3f8bff2..6940d00 100644 --- a/main.js +++ b/main.js @@ -134,7 +134,8 @@ export function createApp() { // app.config.globalProperties.url_config = 'http://huli.zjzhiliao.com/jxjgdapi'//金林湾测试 // app.config.globalProperties.url_config = 'http://8.136.222.164:8808/'//中科安信 // app.config.globalProperties.url_config = 'http://101.43.164.214:11111/'// 百色三标段 - + app.config.globalProperties.url_config = 'http://101.43.164.214:11000/' // 包头(外网) + app.config.globalProperties.work_url = 'http://101.43.164.214:11000/wflowApp/#/' // 包头(外网) } else { // 生产环境 diff --git a/pages/carViolation/indexTwo.vue b/pages/carViolation/indexTwo.vue index fb86a6e..3ec2d4b 100644 --- a/pages/carViolation/indexTwo.vue +++ b/pages/carViolation/indexTwo.vue @@ -229,7 +229,14 @@ } // console.log('--------') // this.listData = res.result.records - this.listData = [...this.listData, ...res.result.records] + const dataList = res.result.records.map(item => { + return { + ...item, + imageUrl: item.imageUrl.includes("http") ? item.imageUrl : this.url_config+'image/'+item.imageUrl, + } + }) + + this.listData = [...this.listData, ...dataList] uni.hideLoading() //关闭加载中 } }