shared-ritm 1.1.57 → 1.1.59
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.
- package/dist/shared-ritm.es.js +81144 -61800
- package/dist/shared-ritm.umd.js +132 -122
- package/dist/types/api/services/TasksService.d.ts +1 -0
- package/package.json +1 -1
- package/src/api/services/TasksService.ts +6 -2
- package/src/api/settings/ApiService.ts +1 -0
- package/src/common/app-layout/components/AppLayoutHeader.vue +0 -1
|
@@ -7,6 +7,7 @@ declare class TasksService extends ApiService {
|
|
|
7
7
|
fetchSubtasksList(id: string): Promise<ResponseApi<Api_Tasks_Dto[]>>;
|
|
8
8
|
fetchTaskBranch(id: string): Promise<ResponseApi<any>>;
|
|
9
9
|
fetchInstrumentsList(params: any): Promise<ResponseApi<any[]>>;
|
|
10
|
+
fetchInstrumentTypeListWithPreparedWarehouse(params: any): Promise<unknown>;
|
|
10
11
|
fetchInstrumentsEquivalentList(params: any): Promise<ResponseApi<Api_Task_Instrument_Dto[]>>;
|
|
11
12
|
fetchDiffInstruments(params: any): Promise<ResponseApi<Api_Task_Module_Instrument_Condition>>;
|
|
12
13
|
replaceInstruments(payload: any): Promise<ResponseApi<any>>;
|
package/package.json
CHANGED
|
@@ -25,11 +25,15 @@ class TasksService extends ApiService {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
public async fetchInstrumentsList(params: any): Promise<ResponseApi<any[]>> {
|
|
28
|
-
return await this.get(
|
|
28
|
+
return await this.get('admin/instruments', { params })
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
public async fetchInstrumentTypeListWithPreparedWarehouse(params: any) {
|
|
32
|
+
return await this.get('/instrument_type/get_instrument_type_list_with_prepared_warehouse', { params })
|
|
29
33
|
}
|
|
30
34
|
|
|
31
35
|
public async fetchInstrumentsEquivalentList(params: any): Promise<ResponseApi<Api_Task_Instrument_Dto[]>> {
|
|
32
|
-
return await this.get(
|
|
36
|
+
return await this.get('tasks/instrument/list', { params })
|
|
33
37
|
}
|
|
34
38
|
|
|
35
39
|
public async fetchDiffInstruments(params: any): Promise<ResponseApi<Api_Task_Module_Instrument_Condition>> {
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
import { computed, defineProps } from 'vue'
|
|
32
32
|
//import AppInput from '@/common/app-input-search/AppInputSearch.vue'
|
|
33
33
|
import AppButton from '@/common/app-button/AppButton.vue'
|
|
34
|
-
import { b } from 'vite/dist/node/types.d-aGj9QkWt'
|
|
35
34
|
|
|
36
35
|
//import SmallCapsIcon from '@/icons/header/smallCapsIcon.vue'
|
|
37
36
|
//import SearchStatusIcon from '@/icons/header/searchStatusIcon.vue'
|