diff --git a/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/index.js b/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/index.js index ad620f88..6b2125b4 100644 --- a/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/index.js +++ b/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/index.js @@ -38,8 +38,8 @@ class Index extends Component { keyword: "", year: moment().format("YYYY"), dateRange: [ - moment(new Date()).subtract(6, "months").format("YYYY-MM"), - moment(new Date()).format("YYYY-MM") + moment(new Date()).subtract(1, "months").format("YYYY-MM"), + moment(new Date()).subtract(1, "months").format("YYYY-MM") ], showSearchAd: false, isQuery: false, @@ -379,4 +379,4 @@ class Index extends Component { } } -export default Index; +export default Index; \ No newline at end of file diff --git a/pc4mobx/hrmSalary/pages/calculate/calculate.js b/pc4mobx/hrmSalary/pages/calculate/calculate.js index eeddb359..a91cf275 100644 --- a/pc4mobx/hrmSalary/pages/calculate/calculate.js +++ b/pc4mobx/hrmSalary/pages/calculate/calculate.js @@ -43,8 +43,8 @@ class Calculate extends Component { queryParams: { name: "", lastOperates: [], dateRange: [ - moment(new Date()).subtract(1, "year").startOf("year").format("YYYY-MM"), - moment(new Date()).endOf("year").format("YYYY-MM") + moment(new Date()).subtract(1, "month").format("YYYY-MM"), + moment(new Date()).subtract(1, "month").format("YYYY-MM") ] }, isRefresh: false, logDialogVisible: false, conditions: [], progressModule: { visible: false, progress: 0, title: getLabel(111, "正在归档中请稍后") }, @@ -296,9 +296,9 @@ class Calculate extends Component { + })}>{getLabel(111, "账套生成")}