shared-ritm 1.3.133 → 1.3.135
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/index.css +1 -1
- package/dist/shared-ritm.es.js +3 -3
- package/dist/shared-ritm.umd.js +3 -3
- package/dist/types/api/types/Api_Controls.d.ts +1 -0
- package/package.json +1 -1
- package/src/api/services/UserService.ts +1 -1
- package/src/api/types/Api_Controls.ts +113 -112
- package/src/common/app-table/AppTable.vue +324 -313
- package/src/common/app-table/AppTableLayout.vue +1 -1
package/package.json
CHANGED
|
@@ -123,7 +123,7 @@ class UserService extends ApiService {
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
public async getListVisitorLog(params: Record<string, any>): Promise<ResponseApi<Api_Visitor_Dto[]>> {
|
|
126
|
-
return await this.get(`get_list_visitor_log
|
|
126
|
+
return await this.get(`get_list_visitor_log`, { params })
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
public entryVisitorLog(body: { user_id: string; task_id: string }): Promise<Api_Visitor_Dto> {
|
|
@@ -1,112 +1,113 @@
|
|
|
1
|
-
export type Api_User_Dto = {
|
|
2
|
-
id: string
|
|
3
|
-
full_name: string
|
|
4
|
-
}
|
|
5
|
-
export type Api_ControlsZone_Dto = {
|
|
6
|
-
id: string
|
|
7
|
-
name: string
|
|
8
|
-
}
|
|
9
|
-
export type Api_ControlZones_Dto = {
|
|
10
|
-
id: string
|
|
11
|
-
name: string
|
|
12
|
-
inventory_number: string
|
|
13
|
-
uuid: string
|
|
14
|
-
controller_zone: string
|
|
15
|
-
users?: Api_User_Dto[]
|
|
16
|
-
}
|
|
17
|
-
export type ControlsParams = {
|
|
18
|
-
search?: string
|
|
19
|
-
page?: number
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
1
|
+
export type Api_User_Dto = {
|
|
2
|
+
id: string
|
|
3
|
+
full_name: string
|
|
4
|
+
}
|
|
5
|
+
export type Api_ControlsZone_Dto = {
|
|
6
|
+
id: string
|
|
7
|
+
name: string
|
|
8
|
+
}
|
|
9
|
+
export type Api_ControlZones_Dto = {
|
|
10
|
+
id: string
|
|
11
|
+
name: string
|
|
12
|
+
inventory_number: string
|
|
13
|
+
uuid: string
|
|
14
|
+
controller_zone: string
|
|
15
|
+
users?: Api_User_Dto[]
|
|
16
|
+
}
|
|
17
|
+
export type ControlsParams = {
|
|
18
|
+
search?: string
|
|
19
|
+
page?: number
|
|
20
|
+
per_page?: number
|
|
21
|
+
filter?: Record<string, string[]>
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface ControlMeta {
|
|
25
|
+
total: number
|
|
26
|
+
perPage: number
|
|
27
|
+
totalPages: number
|
|
28
|
+
currentPage: number
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export type FiltersValue = {
|
|
32
|
+
users?: {
|
|
33
|
+
users: Api_User_Dto[]
|
|
34
|
+
}
|
|
35
|
+
controller?: {
|
|
36
|
+
controller: Api_User_Dto[]
|
|
37
|
+
}
|
|
38
|
+
controllers?: {
|
|
39
|
+
controllers: Api_User_Dto[]
|
|
40
|
+
}
|
|
41
|
+
responsible?: {
|
|
42
|
+
responsible: Api_User_Dto[]
|
|
43
|
+
}
|
|
44
|
+
controller_zones?: {
|
|
45
|
+
controller_zones: Api_ControlsZone_Dto[]
|
|
46
|
+
}
|
|
47
|
+
status?: {
|
|
48
|
+
status: boolean
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
export type Api_Instrument_Dto = {
|
|
52
|
+
id: string
|
|
53
|
+
name: string
|
|
54
|
+
storage_id?: string
|
|
55
|
+
}
|
|
56
|
+
export type Api_Warehouse_Dto = {
|
|
57
|
+
id: string
|
|
58
|
+
invoice_ref_key: string
|
|
59
|
+
inventory_number: string
|
|
60
|
+
instrument: Api_Instrument_Dto[]
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export type Api_ControlLogs_Dto = {
|
|
64
|
+
id: string
|
|
65
|
+
automatically: string
|
|
66
|
+
in_zone: string
|
|
67
|
+
uuid: string
|
|
68
|
+
controller_zone: string
|
|
69
|
+
controller: Api_User_Dto[]
|
|
70
|
+
user: Api_User_Dto[]
|
|
71
|
+
frame: Api_ControlZones_Dto[]
|
|
72
|
+
warehouse: Api_Warehouse_Dto[]
|
|
73
|
+
description: string | null
|
|
74
|
+
}
|
|
75
|
+
export type Api_New_Items = {
|
|
76
|
+
title: string
|
|
77
|
+
inventory_numbers: string
|
|
78
|
+
storage_id: string
|
|
79
|
+
}
|
|
80
|
+
export type Api_ManualEntry_Dto = {
|
|
81
|
+
user: string
|
|
82
|
+
items?: string[]
|
|
83
|
+
new_items?: Api_New_Items[]
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export type Api_Instrument_Type_Search = {
|
|
87
|
+
id: string
|
|
88
|
+
icon: string
|
|
89
|
+
name: string
|
|
90
|
+
storages: {
|
|
91
|
+
id: string
|
|
92
|
+
title: string
|
|
93
|
+
}[]
|
|
94
|
+
warehouse_statuses: boolean
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export type Api_Instrument_Category = {
|
|
98
|
+
id: string
|
|
99
|
+
title: string[]
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export type Api_instrument_Type_Create = {
|
|
103
|
+
name: string
|
|
104
|
+
storage_id: string
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export type Api_instrument_Type = {
|
|
108
|
+
id: string
|
|
109
|
+
name: string
|
|
110
|
+
storage_id: string
|
|
111
|
+
created_at: string
|
|
112
|
+
updated_at: string
|
|
113
|
+
}
|