shared-ritm 1.3.128 → 1.3.129
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -31,6 +31,7 @@ declare class MetricsService extends ApiService {
|
|
|
31
31
|
fetchWorkZoneInfo(queryString: string): Promise<any>;
|
|
32
32
|
fetchPieAllTasks(queryString: string): Promise<any>;
|
|
33
33
|
fetchPieAllTasksInfo(params: any): Promise<Api_Metrics_Task_By_Status>;
|
|
34
|
+
exportAllTasksInfo(params: any): Promise<Blob>;
|
|
34
35
|
fetchPersonnelPlan(params: any): Promise<Api_Metrics_Personnel_Plan>;
|
|
35
36
|
fetchPersonnelPlanProjects(body: Api_Metrics_Personnel_Plan_Project_Body): Promise<Api_Metrics_Personnel_Plan_Project[]>;
|
|
36
37
|
fetchInstrumentsPlan(params: any): Promise<Api_Metrics_Instruments_Plan[]>;
|
package/package.json
CHANGED
|
@@ -127,6 +127,10 @@ class MetricsService extends ApiService {
|
|
|
127
127
|
return await this.get('repairs/metrics/get_list_task_by_status', { params })
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
+
public async exportAllTasksInfo(params: any): Promise<Blob> {
|
|
131
|
+
return await this.get('repairs/metrics/get_list_task_by_status', { params, responseType: 'blob' })
|
|
132
|
+
}
|
|
133
|
+
|
|
130
134
|
public fetchPersonnelPlan(params: any): Promise<Api_Metrics_Personnel_Plan> {
|
|
131
135
|
return this.get('repairs/metrics/personnel_plan', { params })
|
|
132
136
|
}
|