|
@@ -349,7 +349,7 @@
|
|
|
param = {startDate:this.exportParam.dateRange[0], endDate: this.exportParam.dateRange[1],stateKey: 1};
|
|
|
}
|
|
|
var url = "/project/exportTimeCost";
|
|
|
- var fileName = this.$t('projectmanhourcoststatistics')+ '.xls';
|
|
|
+ var fileName = this.$t('projectmanhourcoststatistics')+ '.xlsx';
|
|
|
if(this.radio == this.$t('other.project')){
|
|
|
if (this.exportParam.userIds != null && this.exportParam.userIds.length > 0) {
|
|
|
var ids = '';
|
|
@@ -361,7 +361,7 @@
|
|
|
}
|
|
|
if (this.radio == this.$t('ren-yuan') ) {
|
|
|
// console.log(this.exportParam.userIds);
|
|
|
- fileName = this.$t('labortimecoststatistics')+ '.xls';
|
|
|
+ fileName = this.$t('labortimecoststatistics')+ '.xlsx';
|
|
|
url = '/department/exportUserStatistic';
|
|
|
if (this.exportParam.userIds != null && this.exportParam.userIds.length > 0) {
|
|
|
var ids = '';
|
|
@@ -372,7 +372,7 @@
|
|
|
}
|
|
|
}
|
|
|
if(this.radio == this.$t('projectclassification')){
|
|
|
- fileName = this.$t('projectclassificationlaborosttatistics')+ '.xls';
|
|
|
+ fileName = this.$t('projectclassificationlaborosttatistics')+ '.xlsx';
|
|
|
url = '/project/exportTimeCostByCategory'
|
|
|
if(this.exportParam.projectCategoryId){
|
|
|
param.projectCategoryId = this.exportParam.projectCategoryId
|
|
@@ -386,7 +386,7 @@
|
|
|
}
|
|
|
}
|
|
|
if(this.radio == this.$t('lable.department')){
|
|
|
- fileName = this.$t('departmenthourscoststatistics')+ '.xls'
|
|
|
+ fileName = this.$t('departmenthourscoststatistics')+ '.xlsx'
|
|
|
url = '/department/exportDeptStatistic'
|
|
|
}
|
|
|
|
|
@@ -411,7 +411,7 @@
|
|
|
}
|
|
|
if(this.theCustomListFlg) {
|
|
|
url = '/project/exportTimeCostByUserCustom'
|
|
|
- fileName = this.radio + this.$t('statistical') + '.xls'
|
|
|
+ fileName = this.radio + this.$t('statistical') + '.xlsx'
|
|
|
// param.subCustomName = this.customName
|
|
|
param.customId = this.theCustomListId
|
|
|
param.fieldName = this.theCustomListPlant
|