...
|
...
|
@@ -3,7 +3,7 @@ import { BasicColumn, FormSchema } from '/@/components/Table'; |
3
|
3
|
import { screenLinkOrganizationGetApi } from '/@/api/ruleengine/ruleengineApi';
|
4
|
4
|
import { scheduleOptions } from './formatData';
|
5
|
5
|
import { copyTransFun } from '/@/utils/fnUtils';
|
6
|
|
-import { numberAndNonegativeRule } from '/@/utils/rules';
|
|
6
|
+import { numberAndNonegativeRule,numberAndEngLishRule } from '/@/utils/rules';
|
7
|
7
|
|
8
|
8
|
/**
|
9
|
9
|
* 所使用的枚举值
|
...
|
...
|
@@ -265,6 +265,7 @@ export const trigger_condition_schema: FormSchema[] = [ |
265
|
265
|
},
|
266
|
266
|
ifShow: ({ values }) => isDevice(values.triggerType),
|
267
|
267
|
colProps: { span: 6 },
|
|
268
|
+ rules: numberAndEngLishRule,
|
268
|
269
|
},
|
269
|
270
|
{
|
270
|
271
|
field: 'operationType',
|
...
|
...
|
|