|  | @@ -2,8 +2,8 @@ import { ref } from 'vue'; |  | @@ -2,8 +2,8 @@ import { ref } from 'vue'; | 
| 2 | import { BasicColumn, FormSchema } from '/@/components/Table'; | 2 | import { BasicColumn, FormSchema } from '/@/components/Table'; | 
| 3 | import { screenLinkOrganizationGetApi } from '/@/api/ruleengine/ruleengineApi'; | 3 | import { screenLinkOrganizationGetApi } from '/@/api/ruleengine/ruleengineApi'; | 
| 4 | import { scheduleOptions } from './formatData'; | 4 | import { scheduleOptions } from './formatData'; | 
| 5 | - |  |  | 
| 6 | import { copyTransFun } from '/@/utils/fnUtils'; | 5 | import { copyTransFun } from '/@/utils/fnUtils'; | 
|  |  | 6 | +import { numberAndNonegativeRule } from '/@/utils/rules'; | 
| 7 |  | 7 |  | 
| 8 | /** | 8 | /** | 
| 9 | * 所使用的枚举值 | 9 | * 所使用的枚举值 | 
|  | @@ -226,6 +226,7 @@ export const trigger_condition_schema: FormSchema[] = [ |  | @@ -226,6 +226,7 @@ export const trigger_condition_schema: FormSchema[] = [ | 
| 226 | }, | 226 | }, | 
| 227 | ifShow: ({ values }) => isReplace(values.triggered), | 227 | ifShow: ({ values }) => isReplace(values.triggered), | 
| 228 | colProps: { span: 6 }, | 228 | colProps: { span: 6 }, | 
|  |  | 229 | +    rules: numberAndNonegativeRule, | 
| 229 | }, | 230 | }, | 
| 230 | { | 231 | { | 
| 231 | field: 'triggerType', | 232 | field: 'triggerType', |