shared-ritm 1.0.69 → 1.0.71

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.
@@ -6,7 +6,6 @@ declare class MetricsService extends ApiService {
6
6
  fetchPersonnelData(queryString: string): Promise<ResponseApi<any>>;
7
7
  fetchPersonnelInfo(params: string): Promise<ResponseApi<any>>;
8
8
  fetchPiePersonnelInfo(params: string): Promise<any>;
9
- fetchPieWorkZone(queryString: string): Promise<ResponseApi<any>>;
10
9
  fetchPieCriticalPath(queryString: string): Promise<any[]>;
11
10
  fetchPieCriticalPathInfo(params: string): Promise<any>;
12
11
  fetchPieTmc(queryString: string): Promise<ResponseApi<any>>;
@@ -22,6 +21,8 @@ declare class MetricsService extends ApiService {
22
21
  fetchEconomicsInfo(params: string): Promise<any>;
23
22
  fetchQualityMetrics(params: string): Promise<any>;
24
23
  fetchQualityInfo(params: string): Promise<any>;
24
+ fetchPieWorkZone(queryString: string): Promise<ResponseApi<any>>;
25
+ fetchWorkZoneInfo(queryString: string): Promise<ResponseApi<any>>;
25
26
  }
26
27
  export default function useMetricsService(): MetricsService;
27
28
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shared-ritm",
3
- "version": "1.0.69",
3
+ "version": "1.0.71",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -25,10 +25,6 @@ class MetricsService extends ApiService {
25
25
  return await this.get(`repairs/metrics/get_list_user_by_position?${params}`)
26
26
  }
27
27
 
28
- public async fetchPieWorkZone(queryString: string): Promise<ResponseApi<any>> {
29
- return await this.get('repairs/metrics/get_list_work_zone_instrument' + '?' + queryString)
30
- }
31
-
32
28
  public async fetchPieCriticalPath(queryString: string): Promise<any[]> {
33
29
  return await this.get('repairs/metrics/get_critical_path_group_by_status' + '?' + queryString)
34
30
  }
@@ -87,6 +83,14 @@ class MetricsService extends ApiService {
87
83
  public async fetchQualityInfo(params: string): Promise<any> {
88
84
  return await this.get(`repairs/metrics/get_list_task_by_quality?${params}`)
89
85
  }
86
+
87
+ public async fetchPieWorkZone(queryString: string): Promise<ResponseApi<any>> {
88
+ return await this.get('repairs/metrics/get_list_work_zone_instrument' + '?' + queryString)
89
+ }
90
+
91
+ public async fetchWorkZoneInfo(queryString: string): Promise<ResponseApi<any>> {
92
+ return await this.get('repairs/metrics/get_list_work_zone_instrument_by_status' + '?' + queryString)
93
+ }
90
94
  }
91
95
 
92
96
  let api: MetricsService
@@ -3,14 +3,20 @@
3
3
  <!-- <div v-if="logged" :class="$style['loader-backdrop']">-->
4
4
  <!-- <q-spinner size="md" color="white" :class="$style['loader-spinner']" />-->
5
5
  <!-- </div>-->
6
- <app-loader :loading="logged" size="md" :thickness="3" :backdrop="true" />
7
- <slot name="drawer"></slot>
8
- <slot name="header"></slot>
6
+ <Suspense>
7
+ <app-loader :loading="logged" size="md" :thickness="3" :backdrop="true" />
8
+ </Suspense>
9
+ <aside>
10
+ <slot name="drawer"></slot>
11
+ <slot name="header"></slot>
12
+ </aside>
9
13
  <q-page-container :class="{ container: container }" @wheel="mouseMove">
10
14
  <q-page>
11
- <slot></slot>
15
+ <Suspense>
16
+ <slot></slot>
12
17
 
13
- <slot name="page-bottom"></slot>
18
+ <slot name="page-bottom"></slot>
19
+ </Suspense>
14
20
  </q-page>
15
21
  </q-page-container>
16
22