20230115
This commit is contained in:
parent
e6d2920b1b
commit
78724a68b1
|
@ -152,9 +152,9 @@
|
|||
//传触发数据
|
||||
function getChuFa(string){
|
||||
// console.log("string",string)
|
||||
// if(unity!=null){
|
||||
if(unity!=null){
|
||||
unity.SendMessage('AAA', 'SendJT_JianCeQi', string);
|
||||
// }
|
||||
}
|
||||
}
|
||||
//获取图形数据
|
||||
function getfigureData(string,string1,string2){
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="数据看板" name="second">
|
||||
<dataBoard :activeName="activeName"></dataBoard>
|
||||
<dataBoard :activeName="activeName" :triggerData="triggerData"></dataBoard>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="分析配置" name="third">
|
||||
<analysisConfiguration :analysisConfigurationdata="analysisConfigurationdata"></analysisConfiguration>
|
||||
|
@ -368,19 +368,9 @@ export default {
|
|||
loadingShow1: true,
|
||||
number:'',
|
||||
componentId:'',
|
||||
analysisConfigurationdata:{}
|
||||
// carInfo: [], //小车信息
|
||||
// carName: '',
|
||||
// palletizerInfo: [], //码垛机信息
|
||||
// palletizerName: '',
|
||||
// destackerInfo: [], //拆垛机信息
|
||||
// destackerName: '',
|
||||
// hoistInfo: [], //提升机信息’
|
||||
// hoistName: '',
|
||||
// battaryStationInfo: [],//快换电池装置
|
||||
// battaryStationName: "",
|
||||
// conveyorInfo: [], //输送机信息
|
||||
// conveyorName: "",
|
||||
analysisConfigurationdata:{},
|
||||
//触发数据
|
||||
triggerData:''
|
||||
};
|
||||
},
|
||||
|
||||
|
@ -396,7 +386,7 @@ destroyed: function () {
|
|||
// window.getModifyTheName = this.getModifyTheNameN;
|
||||
window.getSingleComponentId = this.getSingleComponentIdN;
|
||||
window.getSimulationAreaEdit = this.getSimulationAreaEdit;
|
||||
window.OnScene = this.OnSceneN;
|
||||
window.OnScene = this.OnSceneN;
|
||||
this.getAllSectionalData(this.$route.query.id)
|
||||
this.VideoId = this.$route.query.id
|
||||
this.number = this.$route.query.num
|
||||
|
@ -505,6 +495,8 @@ destroyed: function () {
|
|||
// console.log("temp",temp)
|
||||
var detId = []
|
||||
const msgN = JSON.parse(temp)
|
||||
// console.log("msgN",msgN)
|
||||
this.triggerData = msgN
|
||||
if(temp.length!=0){
|
||||
for (let i = 0; i < msgN.length; i++) {
|
||||
detId.push(msgN[i].det_id)
|
||||
|
|
Loading…
Reference in New Issue