上海预案管理平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
760 B

import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-training-recordinfo',
templateUrl: './training-recordinfo.component.html',
styleUrls: ['./training-recordinfo.component.scss']
})
export class TrainingRecordinfoComponent implements OnInit {
tabsSelectedIndex:any = 0//当前选项卡值
constructor() { }
title:any = "训练记录信息"
sixeditpattern = true
ngOnInit(): void {
if(sessionStorage.getItem("six") == "edit"){
this.sixeditpattern = true
}else{
this.sixeditpattern = false
}
}
onCustom($event){
console.log($event);//data from child
this.tabsSelectedIndex = 1
}
selectedtab(e){
sessionStorage.setItem("tabsindex",e.index)
// console.log(e.index)
}
}