File tree Expand file tree Collapse file tree 7 files changed +841
-1
lines changed
Expand file tree Collapse file tree 7 files changed +841
-1
lines changed Original file line number Diff line number Diff line change 1+ import { request } from '@/utils/request'
2+
3+ export const variablesApi = {
4+ save : ( data : any ) => request . post ( '/sys_variable/save' , data ) ,
5+ listAll : ( ) => request . post ( '/sys_variable/listAll' ) ,
6+ listPage : ( pageNum : any , pageSize : any , data : any ) =>
7+ request . post ( `/sys_variable/listPage/${ pageNum } /${ pageSize } ` , data ) ,
8+ delete : ( data : any ) => request . post ( `/sys_variable/delete` , data ) ,
9+ }
Original file line number Diff line number Diff line change 77 "AI Model Configuration" : " AI Model Config" ,
88 "Details" : " Details"
99 },
10+ "variables" : {
11+ "system_variables" : " System Variables" ,
12+ "system" : " System" ,
13+ "search_variables" : " Search Variables" ,
14+ "add_variable" : " Add Variable" ,
15+ "variable_name" : " Variable Name" ,
16+ "variable_type" : " Variable Type" ,
17+ "variable_value" : " Variable Value" ,
18+ "edit_variable" : " Edit Variable" ,
19+ "no_variables_yet" : " No Variables Yet" ,
20+ "please_enter_value" : " Please Enter Value" ,
21+ "date" : " Date" ,
22+ "start_date" : " Start Date" ,
23+ "end_date" : " End Date" ,
24+ "enter_variable_name" : " Please Enter Variable Name" ,
25+ "enter_variable_value" : " Please Enter Variable Value"
26+ },
1027 "sync" : {
1128 "integration" : " Platform integration needs to be enabled." ,
1229 "the_existing_user" : " If the user already exists, overwrite the existing user." ,
Original file line number Diff line number Diff line change 2323 "continue_syncing" : " 동기화 계속" ,
2424 "return_to_view" : " 화면으로 돌아가기"
2525 },
26+ "variables" : {
27+ "system_variables" : " 시스템 변수" ,
28+ "system" : " 체계" ,
29+ "search_variables" : " 변수 검색" ,
30+ "add_variable" : " 변수 추가" ,
31+ "variable_name" : " 변수 이름" ,
32+ "variable_type" : " 변수 유형" ,
33+ "variable_value" : " 변수 값" ,
34+ "edit_variable" : " 변수 편집" ,
35+ "no_variables_yet" : " 아직 변수가 없습니다" ,
36+ "please_enter_value" : " 값을 입력하세요" ,
37+ "date" : " 날짜" ,
38+ "start_date" : " 시작일" ,
39+ "end_date" : " 종료일" ,
40+ "enter_variable_name" : " 변수 이름을 입력하세요" ,
41+ "enter_variable_value" : " 변수 값을 입력하세요"
42+ },
2643 "parameter" : {
2744 "execution_details" : " 실행 세부 정보" ,
2845 "overview" : " 개요" ,
Original file line number Diff line number Diff line change 2323 "continue_syncing" : " 继续同步" ,
2424 "return_to_view" : " 返回查看"
2525 },
26+ "variables" : {
27+ "system_variables" : " 系统变量" ,
28+ "system" : " 系统" ,
29+ "search_variables" : " 搜索变量" ,
30+ "add_variable" : " 添加变量" ,
31+ "variable_name" : " 变量名称" ,
32+ "variable_type" : " 变量类型" ,
33+ "variable_value" : " 变量值" ,
34+ "edit_variable" : " 编辑变量" ,
35+ "no_variables_yet" : " 暂无变量" ,
36+ "please_enter_value" : " 请输入数值" ,
37+ "date" : " 日期" ,
38+ "start_date" : " 开始日期" ,
39+ "end_date" : " 结束日期" ,
40+ "enter_variable_name" : " 请输入变量名称" ,
41+ "enter_variable_value" : " 请输入变量值"
42+ },
2643 "parameter" : {
2744 "execution_details" : " 执行详情" ,
2845 "overview" : " 概览" ,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import Model from '@/views/system/model/Model.vue'
1212// import Embedded from '@/views/system/embedded/index.vue'
1313// import SetAssistant from '@/views/system/embedded/iframe.vue'
1414import SystemEmbedded from '@/views/system/embedded/Page.vue'
15+ import Variables from '@/views/system/variables/index.vue'
1516
1617import assistantTest from '@/views/system/embedded/Test.vue'
1718import assistant from '@/views/embedded/index.vue'
@@ -219,6 +220,12 @@ export const routes = [
219220 component : Parameter ,
220221 meta : { title : t ( 'parameter.parameter_configuration' ) } ,
221222 } ,
223+ {
224+ path : 'variables' ,
225+ name : 'variables' ,
226+ component : Variables ,
227+ meta : { title : t ( 'variables.system_variables' ) } ,
228+ } ,
222229 {
223230 path : 'authentication' ,
224231 name : 'authentication' ,
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ const props = withDefaults(
149149 cursor : pointer ;
150150 margin-left : 8px ;
151151 & :hover {
152- color : #189e7a ;
152+ color : var ( --ed-color-primary-15-d , #189e7a ) ;
153153 background : #1f23291a ;
154154 }
155155 }
You can’t perform that action at this time.
0 commit comments