Commit 80350bc227ce1b266211191a941ac8ac4440cf59
Merge branch 'fix/rule-chain-field' into 'main_dev'
fix: 放开隐藏的节点 See merge request yunteng/thingskit-front!1072
Showing
2 changed files
with
22 additions
and
22 deletions
1 | 1 | import type { CategoryConfigType, NodeItemConfigType } from '../../types/node'; |
2 | 2 | import { RuleNodeTypeEnum } from '../index.type'; |
3 | 3 | import { CreateAlarmConfig } from './CreateAlarm'; |
4 | -// import { PushToEdgeConfig } from './PushToEdge'; | |
4 | +import { PushToEdgeConfig } from './PushToEdge'; | |
5 | 5 | import { GeneratorConfig } from './Generator'; |
6 | 6 | import { AssignToCustomerConfig } from './AssignToCustomer'; |
7 | 7 | import { UnassignFromCustomerConfig } from './UnassignFromCustomer'; |
... | ... | @@ -9,19 +9,19 @@ import { SaveTimeseriesConfig } from './SaveTimeseries'; |
9 | 9 | import { GpsGeofencingEventsConfig } from './GpsGeofencingEvents'; |
10 | 10 | import { DeviceProfileConfig } from './DeviceProfile'; |
11 | 11 | import { RpcCallReplyConfig } from './RpcCallReply'; |
12 | -// import { CopyToViewConfig } from './CopyToView'; | |
12 | +import { CopyToViewConfig } from './CopyToView'; | |
13 | 13 | import { LogConfig } from './Log'; |
14 | 14 | import { SaveToCustomTableConfig } from './SaveToCustomTable'; |
15 | 15 | import { ClearAlarmConfig } from './ClearAlarm'; |
16 | -// import { DeleteRelationConfig } from './DeleteRelation'; | |
16 | +import { DeleteRelationConfig } from './DeleteRelation'; | |
17 | 17 | import { DelayDeprecatedConfig } from './DelayDeprecated'; |
18 | 18 | import { MessageCountConfig } from './MessageCount'; |
19 | 19 | import { SaveEventConfig } from './SaveEvent'; |
20 | 20 | import { RpcCallRequestConfig } from './RpcCallRequest'; |
21 | 21 | import { SynchronizationStartConfig } from './SynchronizationStart'; |
22 | 22 | import { SynchronizationEndConfig } from './SynchronizationEnd'; |
23 | -// import { SaveAttributesConfig } from './SaveAttributes'; | |
24 | -// import { CreateRelationConfig } from './CreateRelation'; | |
23 | +import { SaveAttributesConfig } from './SaveAttributes'; | |
24 | +import { CreateRelationConfig } from './CreateRelation'; | |
25 | 25 | import { useI18n } from '/@/hooks/web/useI18n'; |
26 | 26 | |
27 | 27 | const { t } = useI18n(); // 加载国际化 |
... | ... | @@ -36,20 +36,20 @@ export const ActionCategoryConfig: CategoryConfigType = { |
36 | 36 | export const ActionComponents: NodeItemConfigType[] = [ |
37 | 37 | AssignToCustomerConfig, |
38 | 38 | ClearAlarmConfig, |
39 | - // CopyToViewConfig, | |
39 | + CopyToViewConfig, | |
40 | 40 | CreateAlarmConfig, |
41 | - // CreateRelationConfig, | |
42 | - // DeleteRelationConfig, | |
41 | + CreateRelationConfig, | |
42 | + DeleteRelationConfig, | |
43 | 43 | DelayDeprecatedConfig, |
44 | 44 | DeviceProfileConfig, |
45 | 45 | GeneratorConfig, |
46 | 46 | GpsGeofencingEventsConfig, |
47 | 47 | LogConfig, |
48 | 48 | MessageCountConfig, |
49 | - // PushToEdgeConfig, | |
49 | + PushToEdgeConfig, | |
50 | 50 | RpcCallReplyConfig, |
51 | 51 | RpcCallRequestConfig, |
52 | - // SaveAttributesConfig, | |
52 | + SaveAttributesConfig, | |
53 | 53 | SaveEventConfig, |
54 | 54 | SaveTimeseriesConfig, |
55 | 55 | SaveToCustomTableConfig, | ... | ... |
1 | 1 | import type { CategoryConfigType, NodeItemConfigType } from '../../types/node'; |
2 | 2 | import { RuleNodeTypeEnum } from '../index.type'; |
3 | -// import { CustomerAttributesConfig } from './CustomerAttributes'; | |
3 | +import { CustomerAttributesConfig } from './CustomerAttributes'; | |
4 | 4 | import { OriginatorTelemetryConfig } from './OriginatorTelemetry'; |
5 | 5 | import { OriginatorFieldsConfig } from './OriginatorFields'; |
6 | 6 | import { CalculateDeltaConfig } from './CalculateDelta'; |
7 | -// import { TenantAttributesConfig } from './TenantAttributes'; | |
8 | -// import { RelatedDeviceAttributesConfig } from './RelatedDeviceAttributes'; | |
9 | -// import { RelatedAttributesConfig } from './RelatedAttributes'; | |
10 | -// import { TenantDetailsConfig } from './TenantDetails'; | |
7 | +import { TenantAttributesConfig } from './TenantAttributes'; | |
8 | +import { RelatedDeviceAttributesConfig } from './RelatedDeviceAttributes'; | |
9 | +import { RelatedAttributesConfig } from './RelatedAttributes'; | |
10 | +import { TenantDetailsConfig } from './TenantDetails'; | |
11 | 11 | import { OriginatorAttributesConfig } from './OriginatorAttributes'; |
12 | -// import { CustomerDetailsConfig } from './CustomerDetails'; | |
12 | +import { CustomerDetailsConfig } from './CustomerDetails'; | |
13 | 13 | import { useI18n } from '/@/hooks/web/useI18n'; |
14 | 14 | |
15 | 15 | const { t } = useI18n(); // 加载国际化 |
... | ... | @@ -23,13 +23,13 @@ export const EnrichmentCategoryConfig: CategoryConfigType = { |
23 | 23 | |
24 | 24 | export const EnrichmentComponents: NodeItemConfigType[] = [ |
25 | 25 | CalculateDeltaConfig, |
26 | - // CustomerAttributesConfig, | |
27 | - // CustomerDetailsConfig, | |
26 | + CustomerAttributesConfig, | |
27 | + CustomerDetailsConfig, | |
28 | 28 | OriginatorAttributesConfig, |
29 | 29 | OriginatorFieldsConfig, |
30 | 30 | OriginatorTelemetryConfig, |
31 | - // RelatedAttributesConfig, | |
32 | - // RelatedDeviceAttributesConfig, | |
33 | - // TenantAttributesConfig, | |
34 | - // TenantDetailsConfig, | |
31 | + RelatedAttributesConfig, | |
32 | + RelatedDeviceAttributesConfig, | |
33 | + TenantAttributesConfig, | |
34 | + TenantDetailsConfig, | |
35 | 35 | ]; | ... | ... |