shared-ritm 1.3.25 → 1.3.27

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.
@@ -1,4 +1,6 @@
1
1
  import { Api_Status_DTO, Api_Tasks_Task_Dto } from '@/api/types/Api_Tasks';
2
+ import { Api_Project_Category } from '@/api/types/Api_Projects';
3
+ import { Api_User_Dto } from '@/api/types/Api_Controls';
2
4
  export type Api_Team = {
3
5
  id: string;
4
6
  display_name: string;
@@ -96,6 +98,16 @@ export type Api_Repair_Dto = {
96
98
  end_date: string;
97
99
  projects: Api_Projects[];
98
100
  equipments: Api_Equipment_Full_Dto[];
101
+ category: Api_Project_Category;
102
+ completed_at: string | null;
103
+ controllers: Api_User_Dto[];
104
+ cost_per_MWh: number | null;
105
+ power_output_MWh: number | null;
106
+ has_instruments_plan: boolean;
107
+ has_positions_plan: boolean;
108
+ plan_start_date: string | null;
109
+ status: Api_Status_DTO;
110
+ teams: Api_Team[];
99
111
  };
100
112
  export type Api_Repair_Template = {
101
113
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shared-ritm",
3
- "version": "1.3.25",
3
+ "version": "1.3.27",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -1,4 +1,6 @@
1
1
  import { Api_Status_DTO, Api_Tasks_Task_Dto } from '@/api/types/Api_Tasks'
2
+ import { Api_Project_Category } from '@/api/types/Api_Projects'
3
+ import { Api_User_Dto } from '@/api/types/Api_Controls'
2
4
 
3
5
  export type Api_Team = {
4
6
  id: string
@@ -104,6 +106,16 @@ export type Api_Repair_Dto = {
104
106
  end_date: string
105
107
  projects: Api_Projects[]
106
108
  equipments: Api_Equipment_Full_Dto[]
109
+ category: Api_Project_Category
110
+ completed_at: string | null
111
+ controllers: Api_User_Dto[]
112
+ cost_per_MWh: number | null
113
+ power_output_MWh: number | null
114
+ has_instruments_plan: boolean
115
+ has_positions_plan: boolean
116
+ plan_start_date: string | null
117
+ status: Api_Status_DTO
118
+ teams: Api_Team[]
107
119
  }
108
120
 
109
121
  export type Api_Repair_Template = {
@@ -9,8 +9,18 @@
9
9
  <p>{{ content }}</p>
10
10
  </q-card-section>
11
11
  <q-card-section :class="$style.footer">
12
- <app-button :class="$style['footer__btn--ok']" label="Подтвердить" @click="onDialogOK" />
13
- <app-button :class="$style['footer__btn--cancel']" label="Отменить" @click="onDialogHide" />
12
+ <app-button
13
+ data-test="confirm-button"
14
+ :class="$style['footer__btn--ok']"
15
+ label="Подтвердить"
16
+ @click="onDialogOK"
17
+ />
18
+ <app-button
19
+ data-test="cancel-button"
20
+ :class="$style['footer__btn--cancel']"
21
+ label="Отменить"
22
+ @click="onDialogHide"
23
+ />
14
24
  </q-card-section>
15
25
  </q-card>
16
26
  </q-dialog>