类型检查
This commit is contained in:
parent
824d465ec9
commit
71e1fba723
@ -289,7 +289,7 @@ export const retryOperationReasonRecord: Record<Api.Common.RetryOperationReason,
|
|||||||
};
|
};
|
||||||
export const retryOperationReasonOptions = transformRecordToNumberOption(retryOperationReasonRecord);
|
export const retryOperationReasonOptions = transformRecordToNumberOption(retryOperationReasonRecord);
|
||||||
|
|
||||||
export const systemVariableTypeRecord: Record<Api.GroupConfig.VariableType, App.I18n.I18nKey> = {
|
export const systemVariableTypeRecord: Record<Api.SystemVariable.VariableType, App.I18n.I18nKey> = {
|
||||||
1: 'common.variableType.variableType1',
|
1: 'common.variableType.variableType1',
|
||||||
2: 'common.variableType.variableType2'
|
2: 'common.variableType.variableType2'
|
||||||
};
|
};
|
||||||
|
@ -144,7 +144,7 @@ const local: App.I18n.Schema = {
|
|||||||
python: 'Python'
|
python: 'Python'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
variableType:{
|
variableType: {
|
||||||
variableType1: '字符变量',
|
variableType1: '字符变量',
|
||||||
variableType2: '表达式变量'
|
variableType2: '表达式变量'
|
||||||
},
|
},
|
||||||
@ -396,7 +396,8 @@ const local: App.I18n.Schema = {
|
|||||||
job_task: '任务管理',
|
job_task: '任务管理',
|
||||||
job_batch: '执行批次',
|
job_batch: '执行批次',
|
||||||
system: '系统参数',
|
system: '系统参数',
|
||||||
system_variable: '参数管理'
|
system_variable: '参数管理',
|
||||||
|
system_manager: '参数管理'
|
||||||
},
|
},
|
||||||
page: {
|
page: {
|
||||||
common: {
|
common: {
|
||||||
@ -971,7 +972,6 @@ const local: App.I18n.Schema = {
|
|||||||
editVariable: '编辑变量',
|
editVariable: '编辑变量',
|
||||||
variableType1: '字符变量',
|
variableType1: '字符变量',
|
||||||
variableType2: '表达式变量',
|
variableType2: '表达式变量',
|
||||||
|
|
||||||
form: {
|
form: {
|
||||||
variableName: '请输入变量名称',
|
variableName: '请输入变量名称',
|
||||||
variableKey: '请输入变量标识',
|
variableKey: '请输入变量标识',
|
||||||
|
@ -280,7 +280,7 @@ export const generatedRoutes: GeneratedRoute[] = [
|
|||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
name: 'system_variable',
|
name: 'system_manager',
|
||||||
path: '/system/manager',
|
path: '/system/manager',
|
||||||
component: 'view.system_manager',
|
component: 'view.system_manager',
|
||||||
meta: {
|
meta: {
|
||||||
|
1
src/typings/api.d.ts
vendored
1
src/typings/api.d.ts
vendored
@ -381,7 +381,6 @@ declare namespace Api {
|
|||||||
type GroupStatusType = 0 | 1;
|
type GroupStatusType = 0 | 1;
|
||||||
|
|
||||||
type YesOrNoType = 0 | 1;
|
type YesOrNoType = 0 | 1;
|
||||||
type VariableType = 1 | 2;
|
|
||||||
/** groupConfig */
|
/** groupConfig */
|
||||||
type GroupConfig = Common.CommonRecord<{
|
type GroupConfig = Common.CommonRecord<{
|
||||||
/** 命名空间id */
|
/** 命名空间id */
|
||||||
|
Loading…
Reference in New Issue
Block a user