Commit 0bd257a2 by Sweet Zhang

历史薪资isHistory传1

parent f7d43c34
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from "@angular/router";
import { Router } from '@angular/router';
import { debug } from 'console';
import { MyService } from '../my.service';
@Component({
......
......@@ -27,7 +27,7 @@
<div style="text-align: center;margin-top: 20px;" *ngIf="payScaleInfos?.length<=0">暂无数据</div>
</div>
<div id="salesContent" *ngIf="selectedId == 2">
<div id="salesContent" *ngIf="selectedId == 1">
<div *ngIf="nowYear>2021">
<div class="salesItem" *ngFor="let historyPartItem of historyPart2" (click)="enterDetail(historyPartItem.years,historyPartItem.month,historyPartItem.loginName,historyPartItem.isBasic)">
<div class="icon_bolck" style="top: 16px;"><span class="iconfont icon-xinzidan"></span></div>
......
......@@ -33,7 +33,7 @@ export class SalaryComponent implements OnInit {
this.payScaleListQuery();
this.tabList = [
{name:`${this.nowYear}年`,id:0},
{name:'历史薪资',id:2}
{name:'历史薪资',id:1}
]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment