修改三维无用注释
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){
|
||||
// console.log(data);
|
||||
if(data.code = "336"){
|
||||
console.log(data);
|
||||
}
|
||||
// if(data.code = "336"){
|
||||
// console.log(data);
|
||||
// }
|
||||
if(data.code != trainmodel.code){
|
||||
trainmodel.code = 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++){
|
||||
if(data.body[i].section == jl3dpass.nowstation.topsection){
|
||||
console.log(data.body[i]);
|
||||
if(toptrain.nowcode != data.body[i].code){
|
||||
toptrain.nowcode = data.body[i].code;
|
||||
}
|
||||
|
@ -121,6 +121,7 @@ function fbxpromise(asset,mixers,model){
|
||||
// child.receiveShadow = true;
|
||||
// }
|
||||
// } );
|
||||
console.log(asset);
|
||||
if(asset.type == "cctvTrain"){
|
||||
// let mixer = new THREE.AnimationMixer( object );
|
||||
let realtrain = new THREE.Group();
|
||||
|
@ -118,7 +118,6 @@ import axios from 'axios';
|
||||
async mounted() {
|
||||
if(this.$route.query.group){
|
||||
getSimulationInfoNew(this.$route.query.group).then(netdata => {
|
||||
console.log(netdata);
|
||||
if(netdata.data.type == "SCRIPT_MAKING"){
|
||||
this.tuoguanbutton = true;
|
||||
}
|
||||
@ -253,13 +252,10 @@ import axios from 'axios';
|
||||
if(this.tuoguanbutton == true){
|
||||
|
||||
let netdata = this.$store.state.training.memberData;
|
||||
console.log(netdata);
|
||||
for(let k in netdata){
|
||||
if(netdata[k].userId == this.userId){
|
||||
console.log("=================");
|
||||
// console.log(this.$store.state.scriptRecord.type);
|
||||
this.userrole = netdata[k].type;
|
||||
console.log(netdata[k].trust);
|
||||
if(netdata[k].trust){
|
||||
this.tuoguanstatus = netdata[k].trust;
|
||||
if(this.tuoguanstatus){
|
||||
|
Loading…
Reference in New Issue
Block a user