修改三维无用注释
This commit is contained in:
parent
eb14634f2f
commit
a292a4a6d2
@ -187,9 +187,9 @@ export function Jl3dDrivingNew(mixers,updatemmi,sound,translation,routegroup,sta
|
|||||||
|
|
||||||
function trainrun(data){
|
function trainrun(data){
|
||||||
// console.log(data);
|
// console.log(data);
|
||||||
if(data.code = "336"){
|
// if(data.code = "336"){
|
||||||
console.log(data);
|
// console.log(data);
|
||||||
}
|
// }
|
||||||
if(data.code != trainmodel.code){
|
if(data.code != trainmodel.code){
|
||||||
trainmodel.code = data.code;
|
trainmodel.code = data.code;
|
||||||
trainmodel.nowcode = data.code;
|
trainmodel.nowcode = data.code;
|
||||||
|
@ -93,6 +93,7 @@ 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;
|
||||||
}
|
}
|
||||||
|
@ -121,6 +121,7 @@ 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();
|
||||||
|
@ -118,7 +118,6 @@ import axios from 'axios';
|
|||||||
async mounted() {
|
async mounted() {
|
||||||
if(this.$route.query.group){
|
if(this.$route.query.group){
|
||||||
getSimulationInfoNew(this.$route.query.group).then(netdata => {
|
getSimulationInfoNew(this.$route.query.group).then(netdata => {
|
||||||
console.log(netdata);
|
|
||||||
if(netdata.data.type == "SCRIPT_MAKING"){
|
if(netdata.data.type == "SCRIPT_MAKING"){
|
||||||
this.tuoguanbutton = true;
|
this.tuoguanbutton = true;
|
||||||
}
|
}
|
||||||
@ -253,13 +252,10 @@ import axios from 'axios';
|
|||||||
if(this.tuoguanbutton == true){
|
if(this.tuoguanbutton == true){
|
||||||
|
|
||||||
let netdata = this.$store.state.training.memberData;
|
let netdata = this.$store.state.training.memberData;
|
||||||
console.log(netdata);
|
|
||||||
for(let k in netdata){
|
for(let k in netdata){
|
||||||
if(netdata[k].userId == this.userId){
|
if(netdata[k].userId == this.userId){
|
||||||
console.log("=================");
|
|
||||||
// console.log(this.$store.state.scriptRecord.type);
|
// console.log(this.$store.state.scriptRecord.type);
|
||||||
this.userrole = netdata[k].type;
|
this.userrole = netdata[k].type;
|
||||||
console.log(netdata[k].trust);
|
|
||||||
if(netdata[k].trust){
|
if(netdata[k].trust){
|
||||||
this.tuoguanstatus = netdata[k].trust;
|
this.tuoguanstatus = netdata[k].trust;
|
||||||
if(this.tuoguanstatus){
|
if(this.tuoguanstatus){
|
||||||
|
Loading…
Reference in New Issue
Block a user