This commit is contained in:
chengdandan 2023-01-15 09:55:14 +08:00
parent e6d2920b1b
commit 78724a68b1
2 changed files with 9 additions and 17 deletions

View File

@ -152,9 +152,9 @@
//传触发数据 //传触发数据
function getChuFa(string){ function getChuFa(string){
// console.log("string",string) // console.log("string",string)
// if(unity!=null){ if(unity!=null){
unity.SendMessage('AAA', 'SendJT_JianCeQi', string); unity.SendMessage('AAA', 'SendJT_JianCeQi', string);
// } }
} }
//获取图形数据 //获取图形数据
function getfigureData(string,string1,string2){ function getfigureData(string,string1,string2){

View File

@ -28,7 +28,7 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="数据看板" name="second"> <el-tab-pane label="数据看板" name="second">
<dataBoard :activeName="activeName"></dataBoard> <dataBoard :activeName="activeName" :triggerData="triggerData"></dataBoard>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="分析配置" name="third"> <el-tab-pane label="分析配置" name="third">
<analysisConfiguration :analysisConfigurationdata="analysisConfigurationdata"></analysisConfiguration> <analysisConfiguration :analysisConfigurationdata="analysisConfigurationdata"></analysisConfiguration>
@ -368,19 +368,9 @@ export default {
loadingShow1: true, loadingShow1: true,
number:'', number:'',
componentId:'', componentId:'',
analysisConfigurationdata:{} analysisConfigurationdata:{},
// carInfo: [], // //
// carName: '', triggerData:''
// palletizerInfo: [], //
// palletizerName: '',
// destackerInfo: [], //
// destackerName: '',
// hoistInfo: [], //
// hoistName: '',
// battaryStationInfo: [],//
// battaryStationName: "",
// conveyorInfo: [], //
// conveyorName: "",
}; };
}, },
@ -396,7 +386,7 @@ destroyed: function () {
// window.getModifyTheName = this.getModifyTheNameN; // window.getModifyTheName = this.getModifyTheNameN;
window.getSingleComponentId = this.getSingleComponentIdN; window.getSingleComponentId = this.getSingleComponentIdN;
window.getSimulationAreaEdit = this.getSimulationAreaEdit; window.getSimulationAreaEdit = this.getSimulationAreaEdit;
window.OnScene = this.OnSceneN; window.OnScene = this.OnSceneN;
this.getAllSectionalData(this.$route.query.id) this.getAllSectionalData(this.$route.query.id)
this.VideoId = this.$route.query.id this.VideoId = this.$route.query.id
this.number = this.$route.query.num this.number = this.$route.query.num
@ -505,6 +495,8 @@ destroyed: function () {
// console.log("temp",temp) // console.log("temp",temp)
var detId = [] var detId = []
const msgN = JSON.parse(temp) const msgN = JSON.parse(temp)
// console.log("msgN",msgN)
this.triggerData = msgN
if(temp.length!=0){ if(temp.length!=0){
for (let i = 0; i < msgN.length; i++) { for (let i = 0; i < msgN.length; i++) {
detId.push(msgN[i].det_id) detId.push(msgN[i].det_id)