入司影像处理: 影像显示异常处理 --提交人:阳华祥

This commit is contained in:
yang.huaxiang
2020-12-29 11:03:39 +08:00
parent 27af6cd286
commit 45c8e880d2
3 changed files with 14 additions and 3 deletions

View File

@@ -5,7 +5,7 @@
*
*/
let apiDomain, imgDomain, assetsUrl, mainUrl, payUrl, zssqUrl ,REQ_PWD, CACHE_ENCRYP, API_VERSION// 保融支付的收银台服务地址
let apiDomain, imgDomain, assetsUrl, mainUrl, payUrl, zssqUrl ,REQ_PWD, CACHE_ENCRYP, API_VERSION, assetsUpUrl// 保融支付的收银台服务地址
// 可以多个接口域名,按需添加
console.log('环境:', process.env.VUE_APP_FLAG)
@@ -15,6 +15,8 @@ switch (process.env.VUE_APP_FLAG) {
imgDomain = 'http://211.159.248.123:7012/updown' // dev
// 静态服务资源
assetsUrl = 'http://139.199.50.151:8000/app/'
// 上传影像地址 98 服务器地址
assetsUpUrl = 'http://211.159.248.123:80'
mainUrl = 'http://139.199.50.151'
payUrl = 'https://funduat.e-guofu.com/s3-modules-gateway/embed/gateway.action'
zssqUrl = 'http://139.199.50.151/html/test/index.html#/'
@@ -27,6 +29,8 @@ switch (process.env.VUE_APP_FLAG) {
imgDomain = 'http://139.199.50.145:7012/updown'
// 静态服务资源
assetsUrl = 'http://115.159.235.59:8000/app/'
// 上传影像地址 98 服务器地址
assetsUpUrl = 'http://211.159.248.123:80'
mainUrl = 'http://115.159.235.59'
payUrl = 'https://funduat.e-guofu.com/s3-modules-gateway/embed/gateway.action'
zssqUrl = ''
@@ -38,6 +42,8 @@ switch (process.env.VUE_APP_FLAG) {
apiDomain = 'https://iagentsales.e-guofu.com/api/v2'
imgDomain = 'https://iagentsales-ud.e-guofu.com:8553/updown'
assetsUrl = 'https://iagentsales-sr.e-guofu.com:8443/'
// 上传影像地址 挂载共享盘 地址
assetsUpUrl = 'https://iagentsales.e-guofu.com'
mainUrl = 'https://iagentsales.e-guofu.com'
payUrl = 'https://uns3.e-guofu.com/s3-modules-gateway/embed/gateway.action'
zssqUrl = ''
@@ -50,6 +56,8 @@ switch (process.env.VUE_APP_FLAG) {
imgDomain = ''
// 静态服务资源
assetsUrl = ''
// 上传影像地址
assetsUpUrl = ''
mainUrl = ''
payUrl = ''
zssqUrl = ''
@@ -71,6 +79,8 @@ export default {
imgDomain, // 存储图片域名
// 静态服务资源
assetsUrl,
//上传影像地址
assetsUpUrl,
mainUrl,
payUrl,
zssqUrl, //知识社区地址

View File

@@ -37,6 +37,7 @@ Vue.use(Lazyload, {
})
Vue.prototype.$assetsUrl = config.assetsUrl
Vue.prototype.$assetsUpUrl = config.assetsUpUrl
Vue.prototype.$mainUrl = config.mainUrl
Vue.prototype.$zssqUrl = config.zssqUrl
Vue.prototype.$MD5 = md5

View File

@@ -297,8 +297,8 @@ export default {
}
},
handlePhoto(url) {
let index = url.indexOf('images')
return this.$assetsUrl + url.substring(index)
//let index = url.indexOf('images')
return this.$assetsUpUrl + url
},
handlePdf(url) {
this.pdfShow = true