mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 13:56:44 +08:00
银保代理人文件展示类型修改4
This commit is contained in:
@@ -6,6 +6,8 @@
|
|||||||
* @Description:
|
* @Description:
|
||||||
* @FilePath: \ebiz-h5\src\config\index.js
|
* @FilePath: \ebiz-h5\src\config\index.js
|
||||||
*/
|
*/
|
||||||
|
import YB_agentSign from "../router/ebiz/YB_agentSign";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 配置编译环境和线上环境之间的切换
|
* 配置编译环境和线上环境之间的切换
|
||||||
* 默认三套环境,可以增添
|
* 默认三套环境,可以增添
|
||||||
@@ -13,7 +15,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
let apiDomain, imgDomain, assetsUrl, mainUrl, payUrl, zssqUrl, REQ_PWD, CACHE_ENCRYP, API_VERSION, assetsUpUrl, YB_APP // 保融支付的收银台服务地址
|
let apiDomain, imgDomain, assetsUrl, mainUrl, payUrl, zssqUrl, REQ_PWD, CACHE_ENCRYP, API_VERSION, YB_agenturl, assetsUpUrl, YB_APP // 保融支付的收银台服务地址
|
||||||
function getSearchString (key) {
|
function getSearchString (key) {
|
||||||
var str = window.location.href.split('?')[1]
|
var str = window.location.href.split('?')[1]
|
||||||
str = str.substring(1, str.length) // 获取URL中?之后的字符(去掉第一位的问号)
|
str = str.substring(1, str.length) // 获取URL中?之后的字符(去掉第一位的问号)
|
||||||
@@ -68,6 +70,7 @@ switch (process.env.VUE_APP_FLAG) {
|
|||||||
// YB_APP = 'http://10.10.100.98:7001'
|
// YB_APP = 'http://10.10.100.98:7001'
|
||||||
// YB_APP = 'https://iagentsales-test2.e-guofu.com:5200/api/v1'
|
// YB_APP = 'https://iagentsales-test2.e-guofu.com:5200/api/v1'
|
||||||
YB_APP = 'https://iagentsales-test2.e-guofu.com:5200/api/' + apiVersion
|
YB_APP = 'https://iagentsales-test2.e-guofu.com:5200/api/' + apiVersion
|
||||||
|
YB_agenturl ='https://iagentsales-test2.e-guofu.com:443'
|
||||||
API_VERSION = apiVersion
|
API_VERSION = apiVersion
|
||||||
break
|
break
|
||||||
case 'uat':
|
case 'uat':
|
||||||
@@ -91,6 +94,7 @@ switch (process.env.VUE_APP_FLAG) {
|
|||||||
// 上传影像地址 挂载共享盘 地址
|
// 上传影像地址 挂载共享盘 地址
|
||||||
assetsUpUrl = 'https://iagentsales.e-guofu.com'
|
assetsUpUrl = 'https://iagentsales.e-guofu.com'
|
||||||
mainUrl = 'https://iagentsales.e-guofu.com'
|
mainUrl = 'https://iagentsales.e-guofu.com'
|
||||||
|
YB_agenturl = 'https://iagentsales.e-guofu.com'
|
||||||
payUrl = 'https://uns3.e-guofu.com/s3-modules-gateway/embed/gateway.action'
|
payUrl = 'https://uns3.e-guofu.com/s3-modules-gateway/embed/gateway.action'
|
||||||
zssqUrl = ''
|
zssqUrl = ''
|
||||||
REQ_PWD = '41424344454631323334353637383930'
|
REQ_PWD = '41424344454631323334353637383930'
|
||||||
@@ -130,6 +134,7 @@ export default {
|
|||||||
assetsUpUrl,
|
assetsUpUrl,
|
||||||
mainUrl,
|
mainUrl,
|
||||||
payUrl,
|
payUrl,
|
||||||
|
YB_agenturl,
|
||||||
zssqUrl, //知识社区地址
|
zssqUrl, //知识社区地址
|
||||||
REQ_PWD, //报文加密密码
|
REQ_PWD, //报文加密密码
|
||||||
CACHE_ENCRYP, //缓存加密密码
|
CACHE_ENCRYP, //缓存加密密码
|
||||||
|
|||||||
@@ -91,7 +91,7 @@
|
|||||||
// this.pdfUrl = config.assetsUpUrl + res.content.rgssUrl
|
// this.pdfUrl = config.assetsUpUrl + res.content.rgssUrl
|
||||||
//实例化
|
//实例化
|
||||||
this.pdfh5 = new Pdfh5("#pdfH5ID", {
|
this.pdfh5 = new Pdfh5("#pdfH5ID", {
|
||||||
pdfurl: config.assetsUpUrl + res.content.rgssUrl,
|
pdfurl: config.YB_agenturl + res.content.rgssUrl,
|
||||||
// pdfurl: 'https://iagentsales-test2.e-guofu.com/opt/ebiz/webapps/ebiz-epolicy/pdf/2023/08/09/1000001078372351/1000001078372351.pdf',
|
// pdfurl: 'https://iagentsales-test2.e-guofu.com/opt/ebiz/webapps/ebiz-epolicy/pdf/2023/08/09/1000001078372351/1000001078372351.pdf',
|
||||||
lazy:false,
|
lazy:false,
|
||||||
scale:1
|
scale:1
|
||||||
|
|||||||
Reference in New Issue
Block a user