|
@@ -409,6 +409,8 @@
|
|
|
if(!this.theCustomListFlg) {
|
|
|
param.type = this.exportParam.type*1
|
|
|
}
|
|
|
+ console.log(this.radio)
|
|
|
+
|
|
|
if(this.theCustomListFlg) {
|
|
|
url = '/project/exportTimeCostByUserCustom'
|
|
|
fileName = this.radio + this.$t('statistical') + '.xlsx'
|
|
@@ -424,6 +426,16 @@
|
|
|
if(this.permissions.countCost && this.permissions.countHours && (this.radio == this.$t('other.project') || this.radio == this.$t('projectclassification'))){
|
|
|
param.exportContent = this.exportParam.exportContent
|
|
|
}
|
|
|
+
|
|
|
+ if(this.radio == this.namess) {
|
|
|
+ url = '/project/exportDegreeCost'
|
|
|
+ param = {
|
|
|
+ startDate:this.exportParam.dateRange[0],
|
|
|
+ endDate: this.exportParam.dateRange[1],
|
|
|
+ projectId: this.exportParam.projectId,
|
|
|
+ }
|
|
|
+ fileName = this.radio + '成本统计' + '.xlsx'
|
|
|
+ }
|
|
|
this.http.post(url, param,
|
|
|
res => {
|
|
|
if (res.code == "ok") {
|