我的薪资福利页面查询优化
This commit is contained in:
parent
8b1b16d5e4
commit
1d2705931f
|
|
@ -22,7 +22,7 @@ export default class MySalary extends React.Component {
|
|||
selectedKey: "0",
|
||||
salaryBillVisible: false,
|
||||
salaryInfoId: "",
|
||||
salaryRange: [moment().format("YYYY-MM"), moment().format("YYYY-MM")]
|
||||
salaryRange: [moment().startOf("year").format("YYYY-MM"), moment().format("YYYY-MM")]
|
||||
};
|
||||
this.pageInfo = { current: 1, pageSize: 10 };
|
||||
this.historyPageInfo = { current: 1, pageSize: 10 };
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ export class MySalaryStore {
|
|||
// Object.assign(this._reqParams, { token });
|
||||
// this.getFormData({ viewAttr: 1 });
|
||||
this.hasRight = true;
|
||||
isRoot && this.mySalaryBillList([moment().format("YYYY-MM"), moment().format("YYYY-MM")]);
|
||||
isRoot && this.mySalaryBillList([moment().startOf("year").format("YYYY-MM"), moment().format("YYYY-MM")]);
|
||||
} else {
|
||||
this.hasRight = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue