Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
e04214085e
BIN
src/assets/icon/favicon_crsc.png
Normal file
BIN
src/assets/icon/favicon_crsc.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
BIN
src/assets/icon/link_crsc.png
Normal file
BIN
src/assets/icon/link_crsc.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
@ -161,9 +161,9 @@ export function StationStandList() {
|
|||||||
}
|
}
|
||||||
this.loadpromise = function(jlmap3ddata,standsdata,jlmapstanddata,scene,assetloader){
|
this.loadpromise = function(jlmap3ddata,standsdata,jlmapstanddata,scene,assetloader){
|
||||||
return new Promise(function(resolve, reject){
|
return new Promise(function(resolve, reject){
|
||||||
console.log(jlmap3ddata);
|
// console.log(jlmap3ddata);
|
||||||
console.log(standsdata);
|
// console.log(standsdata);
|
||||||
console.log(jlmapstanddata);
|
// console.log(jlmapstanddata);
|
||||||
let stations = jlmap3ddata.stationstandlist.list;
|
let stations = jlmap3ddata.stationstandlist.list;
|
||||||
let num;
|
let num;
|
||||||
let num2;
|
let num2;
|
||||||
|
@ -93,7 +93,6 @@ export function PassflowConnect(jl3dpass,deviceaction,toptrain,downtrain,routegr
|
|||||||
|
|
||||||
for(let i=0,leni = data.body.length;i<leni;i++){
|
for(let i=0,leni = data.body.length;i<leni;i++){
|
||||||
if(data.body[i].section == jl3dpass.nowstation.topsection){
|
if(data.body[i].section == jl3dpass.nowstation.topsection){
|
||||||
console.log(data.body[i]);
|
|
||||||
if(toptrain.nowcode != data.body[i].code){
|
if(toptrain.nowcode != data.body[i].code){
|
||||||
toptrain.nowcode = data.body[i].code;
|
toptrain.nowcode = data.body[i].code;
|
||||||
}
|
}
|
||||||
|
@ -412,7 +412,6 @@ export function Jl3dpassflow(dom,skinCode,routegroup) {
|
|||||||
let socktest = null;
|
let socktest = null;
|
||||||
|
|
||||||
getPublish3dMapDetail(skinCode).then(netdata3d => {
|
getPublish3dMapDetail(skinCode).then(netdata3d => {
|
||||||
console.log(JSON.parse(netdata3d.data.assets).cctvAssetList);
|
|
||||||
this.modelmanager.loadpromise(JSON.parse(netdata3d.data.assets).cctvAssetList, scope.mixers).then(function (data) {
|
this.modelmanager.loadpromise(JSON.parse(netdata3d.data.assets).cctvAssetList, scope.mixers).then(function (data) {
|
||||||
// console.log(scope.modelmanager);
|
// console.log(scope.modelmanager);
|
||||||
initstationanimation(scope.modelmanager.station.mesh);
|
initstationanimation(scope.modelmanager.station.mesh);
|
||||||
@ -652,6 +651,8 @@ export function Jl3dpassflow(dom,skinCode,routegroup) {
|
|||||||
};
|
};
|
||||||
stationwebwork.onmessage = function (event) {
|
stationwebwork.onmessage = function (event) {
|
||||||
if(aiswitch == 0){
|
if(aiswitch == 0){
|
||||||
|
// console.log(humanlist.children.length);
|
||||||
|
if(humanlist.children.length < 80){
|
||||||
let direct = Math.floor(Math.random()*(3-1+1))+1;
|
let direct = Math.floor(Math.random()*(3-1+1))+1;
|
||||||
//1--top
|
//1--top
|
||||||
//2-- down
|
//2-- down
|
||||||
@ -660,7 +661,6 @@ export function Jl3dpassflow(dom,skinCode,routegroup) {
|
|||||||
}else{
|
}else{
|
||||||
newhumancreate(stationzon.getzoneposition("enter2"),0);
|
newhumancreate(stationzon.getzoneposition("enter2"),0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(toppasseron){
|
if(toppasseron){
|
||||||
for(let i=0,leni=stationzon.list["standtop"].doorpoints.length;i<leni;i++ ){
|
for(let i=0,leni=stationzon.list["standtop"].doorpoints.length;i<leni;i++ ){
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
@ -678,7 +678,7 @@ export function Jl3dpassflow(dom,skinCode,routegroup) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -68,7 +68,6 @@ export function ModelManager(){
|
|||||||
|
|
||||||
this.loadpromise = function (data,mixers){
|
this.loadpromise = function (data,mixers){
|
||||||
let initlist = [];
|
let initlist = [];
|
||||||
console.log(data);
|
|
||||||
for(let i=0,leni=data.length;i<leni;i++){
|
for(let i=0,leni=data.length;i<leni;i++){
|
||||||
if(data[i].type == "man1" || data[i].type == "cctvMan1"){
|
if(data[i].type == "man1" || data[i].type == "cctvMan1"){
|
||||||
|
|
||||||
@ -121,7 +120,6 @@ function fbxpromise(asset,mixers,model){
|
|||||||
// child.receiveShadow = true;
|
// child.receiveShadow = true;
|
||||||
// }
|
// }
|
||||||
// } );
|
// } );
|
||||||
console.log(asset);
|
|
||||||
if(asset.type == "cctvTrain"){
|
if(asset.type == "cctvTrain"){
|
||||||
// let mixer = new THREE.AnimationMixer( object );
|
// let mixer = new THREE.AnimationMixer( object );
|
||||||
let realtrain = new THREE.Group();
|
let realtrain = new THREE.Group();
|
||||||
|
@ -47,6 +47,7 @@ export function SimulationLoadNew(data,scope,netdata,mapdata,camera,controls,sce
|
|||||||
|
|
||||||
function initnew3d(data,netdata){
|
function initnew3d(data,netdata){
|
||||||
// console.log(JSON.parse(netdata.assets));
|
// console.log(JSON.parse(netdata.assets));
|
||||||
|
console.log(JSON.parse(netdata.assets));
|
||||||
Materialload(scope,JSON.parse(netdata.assets).stationTextureList[0]);
|
Materialload(scope,JSON.parse(netdata.assets).stationTextureList[0]);
|
||||||
let mapdata = data;
|
let mapdata = data;
|
||||||
//初始化轨道和道岔
|
//初始化轨道和道岔
|
||||||
|
@ -21,7 +21,7 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
const project = getSessionStorage('project');
|
const project = getSessionStorage('project');
|
||||||
this.systemTitle = loginInfo[project].homeTitle || loginInfo[project].title;
|
this.systemTitle = loginInfo[project].homeTitle || loginInfo[project].title;
|
||||||
this.logoImg = ProjectIcon[project];
|
this.logoImg = loginInfo[project].titleIcon || ProjectIcon[project];
|
||||||
this.navigationLogoWidth = loginInfo[project].navigationLogoWidth;
|
this.navigationLogoWidth = loginInfo[project].navigationLogoWidth;
|
||||||
this.navigationMarginLeft = loginInfo[project].navigationMarginLeft;
|
this.navigationMarginLeft = loginInfo[project].navigationMarginLeft;
|
||||||
},
|
},
|
||||||
|
@ -9,7 +9,9 @@ import Bottom_Jyd from '@/assets/icon/bottom_jyd.png';
|
|||||||
import Link_Jyd from '@/assets/icon/link_jyd.png';
|
import Link_Jyd from '@/assets/icon/link_jyd.png';
|
||||||
import FaviconTky from '@/assets/icon/favicon_tky.png';
|
import FaviconTky from '@/assets/icon/favicon_tky.png';
|
||||||
import FaviconBxkc from '@/assets/icon/favicon_bxkc.png';
|
import FaviconBxkc from '@/assets/icon/favicon_bxkc.png';
|
||||||
|
import FaviconCrsc from '@/assets/icon/favicon_crsc.png';
|
||||||
import Link_Bxkc from '@/assets/icon/link_bxkc.png';
|
import Link_Bxkc from '@/assets/icon/link_bxkc.png';
|
||||||
|
import Link_Crsc from '@/assets/icon/link_crsc.png';
|
||||||
|
|
||||||
// title:页面title; loginPath:退出登录跳转路径; loginParam:登录接口参数project;loginTitle:登录页左上角title;logoWidth:登录页左上角logo宽度;
|
// title:页面title; loginPath:退出登录跳转路径; loginParam:登录接口参数project;loginTitle:登录页左上角title;logoWidth:登录页左上角logo宽度;
|
||||||
// homeTitle:导航栏title(没有采用title); browserTitle:浏览器窗口title;bottomColumn:底部栏描述;bottomIcon:底部栏Icon;linkIcon:浏览器窗口icon(没有采用ProjectIcon)
|
// homeTitle:导航栏title(没有采用title); browserTitle:浏览器窗口title;bottomColumn:底部栏描述;bottomIcon:底部栏Icon;linkIcon:浏览器窗口icon(没有采用ProjectIcon)
|
||||||
@ -179,6 +181,32 @@ export const loginInfo = {
|
|||||||
loginParam: 'DEFAULT',
|
loginParam: 'DEFAULT',
|
||||||
navigationLogoWidth: '160px',
|
navigationLogoWidth: '160px',
|
||||||
navigationMarginLeft: '175px'
|
navigationMarginLeft: '175px'
|
||||||
|
},
|
||||||
|
crsc: {
|
||||||
|
title: '城市轨道交通实训平台',
|
||||||
|
loginPath: '/login?project=xagy',
|
||||||
|
loginTitle: '空串',
|
||||||
|
logoWidth: '400px',
|
||||||
|
bottomIcon: FaviconCrsc,
|
||||||
|
bottomColumn: '',
|
||||||
|
linkIcon: Link_Crsc,
|
||||||
|
titleIcon: Link_Crsc,
|
||||||
|
loginParam: 'DEFAULT',
|
||||||
|
navigationLogoWidth: '100px',
|
||||||
|
navigationMarginLeft: '125px'
|
||||||
|
},
|
||||||
|
designcrsc: {
|
||||||
|
title: '城市轨道交通设计平台',
|
||||||
|
loginPath: '/design/login?project=xagy',
|
||||||
|
loginTitle: '空串',
|
||||||
|
logoWidth: '400px',
|
||||||
|
bottomIcon: FaviconCrsc,
|
||||||
|
bottomColumn: '',
|
||||||
|
linkIcon: Link_Crsc,
|
||||||
|
titleIcon: Link_Crsc,
|
||||||
|
loginParam: 'DEFAULT',
|
||||||
|
navigationLogoWidth: '100px',
|
||||||
|
navigationMarginLeft: '125px'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -200,7 +228,9 @@ export const ProjectIcon = {
|
|||||||
tky: FaviconTky,
|
tky: FaviconTky,
|
||||||
designtky: FaviconTky,
|
designtky: FaviconTky,
|
||||||
bxkc: FaviconBxkc,
|
bxkc: FaviconBxkc,
|
||||||
designbxkc: FaviconBxkc
|
designbxkc: FaviconBxkc,
|
||||||
|
crsc: FaviconCrsc,
|
||||||
|
designcrsc: FaviconCrsc
|
||||||
};
|
};
|
||||||
|
|
||||||
export const ProjectCode = {
|
export const ProjectCode = {
|
||||||
@ -217,15 +247,17 @@ export const ProjectCode = {
|
|||||||
tky: 'TKY',
|
tky: 'TKY',
|
||||||
designtky: 'TKY',
|
designtky: 'TKY',
|
||||||
bxkc: 'BXKC',
|
bxkc: 'BXKC',
|
||||||
designbxkc: 'BXKC'
|
designbxkc: 'BXKC',
|
||||||
|
crsc: 'CRSC',
|
||||||
|
designcrsc: 'CRSC'
|
||||||
};
|
};
|
||||||
export const BottomColumnOnlyConInfo = ['heb', 'designheb', 'jyd', 'designjyd', 'tky', 'designtky', 'bxkc', 'designbxkc']; // 底部栏仅展示公司信息不展示备案号
|
export const BottomColumnOnlyConInfo = ['heb', 'designheb', 'jyd', 'designjyd', 'tky', 'designtky', 'bxkc', 'designbxkc', 'crsc', 'designcrsc']; // 底部栏仅展示公司信息不展示备案号
|
||||||
export const GetMapListByProjectList = ['xty', 'designxty', 'gzb', 'designgzb', 'xadt', 'designxadt', 'heb', 'designheb']; // 实训设计平台通过项目code获取地图列表的项目
|
export const GetMapListByProjectList = ['xty', 'designxty', 'gzb', 'designgzb', 'xadt', 'designxadt', 'heb', 'designheb']; // 实训设计平台通过项目code获取地图列表的项目
|
||||||
export const CaseHideProjectList = ['heb', 'designheb']; // 案例展示隐藏的项目
|
export const CaseHideProjectList = ['heb', 'designheb']; // 案例展示隐藏的项目
|
||||||
export const VersionBaseNoShow = ['heb', 'designheb']; // 登录页右下角版本开发基于不展示
|
export const VersionBaseNoShow = ['heb', 'designheb']; // 登录页右下角版本开发基于不展示
|
||||||
export const MainBodyNoShow = ['heb', 'designheb', 'jyd', 'designjyd', 'tky', 'designtky', 'bxkc', 'designbxkc']; // 登录页右下角主体不展示
|
export const MainBodyNoShow = ['heb', 'designheb', 'jyd', 'designjyd', 'tky', 'designtky', 'bxkc', 'designbxkc', 'crsc', 'designcrsc']; // 登录页右下角主体不展示
|
||||||
export const GenerateRouteProjectList = ['jsxt', 'refereeJsxt'];// 需要在公共路由中生成登录页面的项目
|
export const GenerateRouteProjectList = ['jsxt', 'refereeJsxt'];// 需要在公共路由中生成登录页面的项目
|
||||||
export const ProjectLoginStyleList = ['jsxt', 'refereeJsxt', 'gzb', 'designgzb', 'xty', 'designxty', 'xadt', 'designxadt', 'tky', 'designtky', 'jyd', 'designjyd', 'bxkc', 'designbxkc']; // 登录页样式
|
export const ProjectLoginStyleList = ['jsxt', 'refereeJsxt', 'gzb', 'designgzb', 'xty', 'designxty', 'xadt', 'designxadt', 'tky', 'designtky', 'jyd', 'designjyd', 'bxkc', 'designbxkc', 'crsc', 'designcrsc']; // 登录页样式
|
||||||
export const NoQrcodeList = ['heb', 'designheb'];
|
export const NoQrcodeList = ['heb', 'designheb'];
|
||||||
export const goOtherPlatformMenu = { // 导航栏快速切换平台
|
export const goOtherPlatformMenu = { // 导航栏快速切换平台
|
||||||
login: '/design/login',
|
login: '/design/login',
|
||||||
@ -243,7 +275,9 @@ export const goOtherPlatformMenu = { // 导航栏快速切换平台
|
|||||||
tky: '/design/login?project=tky',
|
tky: '/design/login?project=tky',
|
||||||
designtky: '/login?project=tky',
|
designtky: '/login?project=tky',
|
||||||
bxkc: '/design/login?project=bxkc',
|
bxkc: '/design/login?project=bxkc',
|
||||||
designbxkc: '/login?project=bxkc'
|
designbxkc: '/login?project=bxkc',
|
||||||
|
crsc: '/design/login?project=crsc',
|
||||||
|
designcrsc: '/login?project=crsc'
|
||||||
};
|
};
|
||||||
export const PermissionParam = { // 路径权限处理所需参数配置(跳转白名单,路由处理类型)
|
export const PermissionParam = { // 路径权限处理所需参数配置(跳转白名单,路由处理类型)
|
||||||
heb: {
|
heb: {
|
||||||
@ -286,6 +320,10 @@ export const PermissionParam = { // 路径权限处理所需参数配置(跳
|
|||||||
whitePage: '/design/login?project=bxkc',
|
whitePage: '/design/login?project=bxkc',
|
||||||
systemType: '011'
|
systemType: '011'
|
||||||
},
|
},
|
||||||
|
designcrsc: {
|
||||||
|
whitePage: '/design/login?project=crsc',
|
||||||
|
systemType: '011'
|
||||||
|
},
|
||||||
xty: {
|
xty: {
|
||||||
whitePage: '/login?project=xty',
|
whitePage: '/login?project=xty',
|
||||||
systemType: '013'
|
systemType: '013'
|
||||||
@ -310,6 +348,10 @@ export const PermissionParam = { // 路径权限处理所需参数配置(跳
|
|||||||
whitePage: '/login?project=bxkc',
|
whitePage: '/login?project=bxkc',
|
||||||
systemType: '011'
|
systemType: '011'
|
||||||
},
|
},
|
||||||
|
crsc: {
|
||||||
|
whitePage: '/login?project=crsc',
|
||||||
|
systemType: '011'
|
||||||
|
},
|
||||||
jsxt: {
|
jsxt: {
|
||||||
whitePage: '/jsxt/login',
|
whitePage: '/jsxt/login',
|
||||||
systemType: '015'
|
systemType: '015'
|
||||||
|
@ -2,9 +2,9 @@ export function getBaseUrl() {
|
|||||||
let BASE_API;
|
let BASE_API;
|
||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
// BASE_API = 'https://joylink.club/jlcloud';
|
// BASE_API = 'https://joylink.club/jlcloud';
|
||||||
// BASE_API = 'https://test.joylink.club/jlcloud';
|
BASE_API = 'https://test.joylink.club/jlcloud';
|
||||||
// BASE_API = 'http://192.168.3.5:9000'; // 袁琪
|
// BASE_API = 'http://192.168.3.5:9000'; // 袁琪
|
||||||
BASE_API = 'http://192.168.3.6:9000'; // 旭强
|
// BASE_API = 'http://192.168.3.6:9000'; // 旭强
|
||||||
// BASE_API = 'http://192.168.3.41:9000'; // 张赛
|
// BASE_API = 'http://192.168.3.41:9000'; // 张赛
|
||||||
// BASE_API = 'http://192.168.3.82:9000'; // 杜康
|
// BASE_API = 'http://192.168.3.82:9000'; // 杜康
|
||||||
// BASE_API = 'http://b29z135112.zicp.vip';
|
// BASE_API = 'http://b29z135112.zicp.vip';
|
||||||
|
@ -23,7 +23,6 @@ import TrainingEdit from './addEdit';
|
|||||||
import AddBatch from './addBatch';
|
import AddBatch from './addBatch';
|
||||||
import SaveAs from './saveAs.vue';
|
import SaveAs from './saveAs.vue';
|
||||||
import { UrlConfig, getTrainingOperateTypeMap } from '@/scripts/ConstDic';
|
import { UrlConfig, getTrainingOperateTypeMap } from '@/scripts/ConstDic';
|
||||||
import CMD from '@/scripts/cmdPlugin/CommandEnum';
|
|
||||||
import ConstConfig from '@/scripts/ConstConfig';
|
import ConstConfig from '@/scripts/ConstConfig';
|
||||||
import Cookies from 'js-cookie';
|
import Cookies from 'js-cookie';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user