|
@@ -410,16 +410,18 @@ export const getUrlSrc = (item, caseId) => {
|
|
param.ossRoot = `${ip}${params.laserServicePort}${params.static}`;
|
|
param.ossRoot = `${ip}${params.laserServicePort}${params.static}`;
|
|
param.serviceUrl = `${ip}${params.servicePort}/fusion`;
|
|
param.serviceUrl = `${ip}${params.servicePort}/fusion`;
|
|
param.laserRoot = param.root;
|
|
param.laserRoot = param.root;
|
|
- console.log('param', param, ip);
|
|
|
|
param.swssUrl = `${params.swssUrl}?lang=${langKey}&serve_link=${param.laserRoot}&basePath=${param.laserRoot}&m=${item.num}`;
|
|
param.swssUrl = `${params.swssUrl}?lang=${langKey}&serve_link=${param.laserRoot}&basePath=${param.laserRoot}&m=${item.num}`;
|
|
param.swssmxUrl = `${params.swssUrl}?lang=${langKey}&serve_link=${param.laserRoot}&basePath=${param.laserRoot}&m=${item.num}`;
|
|
param.swssmxUrl = `${params.swssUrl}?lang=${langKey}&serve_link=${param.laserRoot}&basePath=${param.laserRoot}&m=${item.num}`;
|
|
param.swkkUrl = `${params.swkkUrl}?lang=${langKey}&app_server=${params.ip}:${params.swkkPort}&m=${item.num}&app_resource=${param.root}/${item.mapping}`;
|
|
param.swkkUrl = `${params.swkkUrl}?lang=${langKey}&app_server=${params.ip}:${params.swkkPort}&m=${item.num}&app_resource=${param.root}/${item.mapping}`;
|
|
- param.fuse = `${params.fuse}?caseId=${caseId}&ip=${params.ip}&ga=${params.ga}&swkkPort=${params.swkkPort}&swssUrl=${params.swssUrl }&swkkUrl=${params.swkkUrl && params.swkkUrl.replace('epg','spg')}&laserServicePort=${params.laserServicePort}&servicePort=${params.servicePort}&lang=${langKey}&app_server=${ip}${params.swkkPort}&testMap=1&static=${params.static||''}&`;
|
|
|
|
|
|
+ param.fuse = `${params.fuse}?caseId=${caseId}&ip=${params.ip}&ga=${params.ga}&swkkPort=${params.swkkPort}&swssUrl=${params.swssUrl }&swkkUrl=${params.swkkUrl && params.swkkUrl.replace('epg','spg')}&laserServicePort=${params.laserServicePort}&servicePort=${params.servicePort}&lang=${langKey}&app_server=${ip}${params.swkkPort}&static=${params.static||''}&`;
|
|
let param101 = ''
|
|
let param101 = ''
|
|
if(item.type == 101){
|
|
if(item.type == 101){
|
|
param101 = `title=${item.fileName}&single&type=${item.fileFormat}&fileUrl=${item.fileUrl}&convertType =${item.convertType}`
|
|
param101 = `title=${item.fileName}&single&type=${item.fileFormat}&fileUrl=${item.fileUrl}&convertType =${item.convertType}`
|
|
- item.wgs84 && (param101 + `&wgs84=${item.wgs84}&gcj02=${item.gcj02}`)
|
|
|
|
}
|
|
}
|
|
|
|
+ if(item.wgs84){
|
|
|
|
+ param101 = param101 + `&wgs84=${item.wgs84}&gcj02=${item.gcj02}`
|
|
|
|
+ }
|
|
|
|
+ console.log('param101', param101, item);
|
|
let SceneType = {
|
|
let SceneType = {
|
|
0: param.swkkUrl,//`/spg.html?m=${item.num}`,
|
|
0: param.swkkUrl,//`/spg.html?m=${item.num}`,
|
|
1: param.swkkUrl,//`/spg.html?m=${item.num}`,
|
|
1: param.swkkUrl,//`/spg.html?m=${item.num}`,
|