Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
PPzXiao committed Jun 1, 2020
1 parent bb83db6 commit 3d404cb
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions src/views/label/labeling.vue
Original file line number Diff line number Diff line change
Expand Up @@ -862,17 +862,23 @@ const carouselPrefix = '?imageView2/2/h/440'
var filterArr =[]
setTimeout(() => {
// if (this.options.length>0) {
for (let i = 0; i < this.options.length; i++) {
// if (this.options[i].children) {
for (let j = 0; j < this.options[i].children.length; j++) {
this.options[i].children[j].groupname = this.options[i].label
filterArr.push(this.options[i].children[j])
}
// }
}
console.log('awdawd');
// if (JSON.stringify(this.labeledevent1) != "{}") {
var eventname = this.labeledevent1.name.split(this.labeledevent1.id)
for (let i = 0; i < this.options.length; i++) {
// if (this.options[i].children) {
for (let j = 0; j < this.options[i].children.length; j++) {
this.options[i].children[j].groupname = this.options[i].label
// if (this.options[i].label===eventname[0]) {
filterArr.push(this.options[i].children[j])
// }
}
// }
}
// }
console.log('addregular',filterArr);
// }
}, 500);
}, 1000);
return filterArr
},
dicoptionfilter(){
Expand Down Expand Up @@ -1438,8 +1444,8 @@ const carouselPrefix = '?imageView2/2/h/440'
labeledeventchange(){
console.log(this.labeledevent1);
var eventname = this.labeledevent1.name.split(this.labeledevent1.id)
console.log(eventname);
console.log('eventname',eventname);
this.eventoptions=[]
for (let i = 0; i < this.options.length; i++) {
if (eventname[0]===this.options[i].name && this.eventoptions.length===0) {
this.eventoptions.push(this.options[i])
Expand Down

0 comments on commit 3d404cb

Please sign in to comment.