Skip to content

Commit a55241e

Browse files
committed
fix(User Management): Supports binding users to system variables.
1 parent f05598f commit a55241e

File tree

5 files changed

+284
-15
lines changed

5 files changed

+284
-15
lines changed

โ€Žfrontend/src/api/variables.tsโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { request } from '@/utils/request'
22

33
export const variablesApi = {
44
save: (data: any) => request.post('/sys_variable/save', data),
5-
listAll: () => request.post('/sys_variable/listAll'),
5+
listAll: () => request.post('/sys_variable/listAll', {}),
66
listPage: (pageNum: any, pageSize: any, data: any) =>
77
request.post(`/sys_variable/listPage/${pageNum}/${pageSize}`, data),
88
delete: (data: any) => request.post(`/sys_variable/delete`, data),

โ€Žfrontend/src/i18n/en.jsonโ€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
"Details": "Details"
99
},
1010
"variables": {
11+
"โ€‹โ€‹cannot_be_empty": "Variable values โ€‹โ€‹cannot be empty.",
12+
"1_to_100": "{name}, the numerical range is {min} to {max}.",
13+
"1_to_100_de": "{name}, the date range is {min} to {max}.",
1114
"system_variables": "System Variables",
15+
"variables": "Variables",
1216
"system": "System",
1317
"search_variables": "Search Variables",
1418
"add_variable": "Add Variable",

โ€Žfrontend/src/i18n/ko-KR.jsonโ€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
"Details": "์„ธ๋ถ€"
99
},
1010
"variables": {
11+
"โ€‹โ€‹cannot_be_empty": "๋ณ€์ˆ˜ ๊ฐ’์€ ๋น„์–ด ์žˆ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.",
12+
"1_to_100": "{name}, ์ˆซ์ž ๋ฒ”์œ„๋Š” {min}๋ถ€ํ„ฐ {max}๊นŒ์ง€์ž…๋‹ˆ๋‹ค.",
13+
"1_to_100_de": "{name}, ๋‚ ์งœ ๋ฒ”์œ„๋Š” {min}๋ถ€ํ„ฐ {max}๊นŒ์ง€์ž…๋‹ˆ๋‹ค.",
1114
"system_variables": "์‹œ์Šคํ…œ ๋ณ€์ˆ˜",
15+
"variables": "๋ณ€์ˆ˜",
1216
"system": "์ฒด๊ณ„",
1317
"search_variables": "๋ณ€์ˆ˜ ๊ฒ€์ƒ‰",
1418
"add_variable": "๋ณ€์ˆ˜ ์ถ”๊ฐ€",

โ€Žfrontend/src/i18n/zh-CN.jsonโ€Ž

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
"Details": "่ฏฆๆƒ…"
99
},
1010
"variables": {
11+
"โ€‹โ€‹cannot_be_empty": "ๅ˜้‡ๅ€ผไธ่ƒฝไธบ็ฉบ",
12+
"1_to_100": "{name}ๆ•ฐๅ€ผ่Œƒๅ›ด {min}๏ฝž{max}",
13+
"1_to_100_de": "{name}ๆ—ฅๆœŸ่Œƒๅ›ด {min}๏ฝž{max}",
1114
"system_variables": "็ณป็ปŸๅ˜้‡",
15+
"variables": "ๅ˜้‡",
1216
"system": "็ณป็ปŸ",
1317
"search_variables": "ๆœ็ดขๅ˜้‡",
1418
"add_variable": "ๆทปๅŠ ๅ˜้‡",
@@ -885,4 +889,4 @@
885889
"to_doc": "ๆŸฅ็œ‹ API",
886890
"trigger_limit": "ๆœ€ๅคšๆ”ฏๆŒๅˆ›ๅปบ {0} ไธช API Key"
887891
}
888-
}
892+
}

0 commit comments

Comments
ย (0)