From b55a54b84e9699e8d5dde18658d40e01069850dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rube=CC=81n=20Barroso?=
<1204625+rbarroso@users.noreply.github.com>
Date: Mon, 9 May 2022 15:45:07 +0200
Subject: [PATCH] [AAE-6807] Simulate real form
---
.../components/form-renderer.component.scss | 14 +-
.../widgets/number/number.widget.html | 8 +-
.../widgets/number/number.widget.scss | 17 +-
.../components/widgets/text/text.widget.html | 46 +-
.../components/widgets/text/text.widget.scss | 9 +-
lib/core/mock/form/demo-form.mock.ts | 5787 +++++++++++++++--
.../dropdown/dropdown-cloud.widget.html | 5 +-
.../widgets/dropdown/dropdown-cloud.widget.ts | 12 +
8 files changed, 5440 insertions(+), 458 deletions(-)
diff --git a/lib/core/form/components/form-renderer.component.scss b/lib/core/form/components/form-renderer.component.scss
index 49559b488d..8022ec9b44 100644
--- a/lib/core/form/components/form-renderer.component.scss
+++ b/lib/core/form/components/form-renderer.component.scss
@@ -97,13 +97,25 @@
&-compact-field {
font-size: 12px;
.mat-form-field-wrapper {
- padding-bottom: 0;
+ padding-bottom: 6px;
}
&.mat-form-field-invalid {
.mat-form-field-wrapper {
padding-bottom: 18px;
}
}
+ .mat-form-field-label {
+ top: 0;
+ margin-top: 0;
+ }
+ }
+
+ &-compact-dropdown {
+ font-size: 12px;
+
+ .mat-form-field-wrapper > div {
+ background-color: var(--theme-card-bg-color);
+ }
}
&-form-mat-card-actions {
diff --git a/lib/core/form/components/widgets/number/number.widget.html b/lib/core/form/components/widgets/number/number.widget.html
index c24af190c4..ad46bf9654 100644
--- a/lib/core/form/components/widgets/number/number.widget.html
+++ b/lib/core/form/components/widgets/number/number.widget.html
@@ -4,9 +4,7 @@
{{field.name | translate }}
*
-
+
-
-
+
+
\ No newline at end of file
diff --git a/lib/core/form/components/widgets/number/number.widget.scss b/lib/core/form/components/widgets/number/number.widget.scss
index 42f1647d92..2e918e28cb 100644
--- a/lib/core/form/components/widgets/number/number.widget.scss
+++ b/lib/core/form/components/widgets/number/number.widget.scss
@@ -1,15 +1,10 @@
.adf {
- // &-number-widget {
+ &-number-widget {
- // display: flex;
+ width: 100%;
- // div {
- // width: 100%;
- // padding-right: 1%;
- // }
-
- // .mat-form-field-label-wrapper {
- // top: 20px;
- // }
- // }
+ .mat-form-field-label-wrapper label {
+ top: 20px;
+ }
+ }
}
diff --git a/lib/core/form/components/widgets/text/text.widget.html b/lib/core/form/components/widgets/text/text.widget.html
index 27767d0f8e..12db9e3774 100644
--- a/lib/core/form/components/widgets/text/text.widget.html
+++ b/lib/core/form/components/widgets/text/text.widget.html
@@ -1,26 +1,26 @@
-
-
-
-
-
-
-
-
-
+
+ {{field.name | translate }}
+ *
+
+
+
+
+
+
diff --git a/lib/core/form/components/widgets/text/text.widget.scss b/lib/core/form/components/widgets/text/text.widget.scss
index e312e5c8dd..8f95cb8ecf 100644
--- a/lib/core/form/components/widgets/text/text.widget.scss
+++ b/lib/core/form/components/widgets/text/text.widget.scss
@@ -1,14 +1,9 @@
.adf {
&-text-widget {
- display: flex;
+ width: 100%;
- div {
- width: 100%;
- padding-right: 1%;
- }
-
- .mat-form-field-label-wrapper {
+ .mat-form-field-label-wrapper label {
top: 20px;
}
}
diff --git a/lib/core/mock/form/demo-form.mock.ts b/lib/core/mock/form/demo-form.mock.ts
index 4f65fb09b7..1efa949f37 100644
--- a/lib/core/mock/form/demo-form.mock.ts
+++ b/lib/core/mock/form/demo-form.mock.ts
@@ -1773,425 +1773,5394 @@ export class DemoForm {
cloudFormDefinition: any = {
"formRepresentation": {
- "id": "form-bd97eb82-493a-4f6d-926a-55fa95c19c51",
- "name": "f1",
+ "id": "form-747e3681-119d-4807-831b-259058e91f4b",
+ "name": "bh-ch-overtime-nonstandard",
"description": "",
"version": 0,
"standAlone": true,
"compactFields": true,
"formDefinition": {
- "tabs": [
- {
- "id": "b7aaa257-e202-4ce4-87d0-0f87ed50a413",
- "title": "New Tab",
- "visibilityCondition": null
+ "tabs": [],
+ "fields": [{
+ "id": "Formnameheader",
+ "name": "BH Overtime Application",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
},
- {
- "id": "7a5cc1aa-b62b-4b49-aaf8-57f725d9e6ea",
- "title": "New Tab",
- "visibilityCondition": null
- }
- ],
- "fields": [
- {
- "id": "1e653ba3-f7bc-473d-91f1-6713022bd24d",
- "name": "Label",
- "type": "container",
- "tab": "b7aaa257-e202-4ce4-87d0-0f87ed50a413",
- "numberOfColumns": 2,
- "fields": {
- "1": [
- {
- "id": "Text0vrwjf",
- "name": "Text",
- "type": "text",
- "readOnly": false,
- "required": true,
- "colspan": 1,
- "rowspan": 1,
- "placeholder": null,
- "minLength": 0,
- "maxLength": 0,
- "regexPattern": null,
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2
- }
- },
- {
- "id": "Number0au8cm4",
- "name": "Number4",
- "type": "integer",
- "readOnly": false,
- "colspan": 1,
- "rowspan": 1,
- "placeholder": null,
- "minValue": null,
- "maxValue": null,
- "required": true,
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2
- }
- },
- {
- "id": "Number0au8cm3",
- "name": "Number3",
- "type": "integer",
- "readOnly": false,
- "colspan": 1,
- "rowspan": 1,
- "placeholder": null,
- "minValue": null,
- "maxValue": null,
- "required": true,
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2
- }
- },
- {
- "id": "Number0au8cm2",
- "name": "Number2",
- "type": "integer",
- "readOnly": false,
- "colspan": 1,
- "rowspan": 1,
- "placeholder": null,
- "minValue": null,
- "maxValue": null,
- "required": true,
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2
- }
- },
- {
- "id": "Number0au8cm1",
- "name": "Number1",
- "type": "integer",
- "readOnly": false,
- "colspan": 1,
- "rowspan": 1,
- "placeholder": null,
- "minValue": null,
- "maxValue": null,
- "required": true,
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2
- }
- },
- {
- "id": "Date06j610",
- "name": "Date",
- "type": "date",
- "readOnly": false,
- "required": false,
- "colspan": 1,
- "rowspan": 1,
- "placeholder": null,
- "minValue": null,
- "maxValue": null,
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2
- },
- "dateDisplayFormat": "YYYY-MM-DD"
- },
- {
- "id": "Dropdown0rk1ud",
- "name": "Dropdown",
- "type": "dropdown",
- "readOnly": false,
- "required": false,
- "colspan": 1,
- "rowspan": 1,
- "optionType": "manual",
- "options": [],
- "authName": null,
- "restUrl": null,
- "restResponsePath": null,
- "restIdProperty": null,
- "restLabelProperty": null,
- "selectionType": "single",
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2
- },
- "rule": null
- },
- {
- "id": "Radiobuttons0ixsge",
- "name": "Radio buttons",
- "type": "radio-buttons",
- "readOnly": false,
- "required": false,
- "colspan": 1,
- "rowspan": 1,
- "optionType": "manual",
- "options": [
- {
- "id": "Id_1",
- "name": "Label 1"
- },
- {
- "id": "Id_2",
- "name": "Label 2"
- }
- ],
- "authName": null,
- "restUrl": null,
- "restResponsePath": null,
- "restIdProperty": null,
- "restLabelProperty": null,
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2
- }
- },
- {
- "id": "Attachfile0le6s4",
- "name": "Attach file",
- "type": "upload",
- "readOnly": false,
- "required": false,
- "colspan": 1,
- "rowspan": 1,
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2,
- "fileSource": {
- "name": "Alfresco Content",
- "serviceId": "alfresco-content"
- },
- "multiple": false,
- "link": false,
- "menuOptions": {
- "show": true,
- "download": true,
- "retrieveMetadata": false,
- "remove": true
- },
- "displayableCMProperties": []
- }
- },
- {
- "id": "Hyperlink081lmk",
- "name": "Hyperlink",
- "type": "hyperlink",
- "colspan": 1,
- "rowspan": 1,
- "hyperlinkUrl": null,
- "displayText": null,
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2
- }
- },
- {
- "id": "Fileviewer08bizj",
- "name": "File viewer",
- "type": "file-viewer",
- "readOnly": false,
- "required": false,
- "colspan": 1,
- "rowspan": 1,
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2
- }
- }
- ],
- "2": [
- {
- "id": "People027fto",
- "name": "People",
- "type": "people",
- "readOnly": false,
- "required": false,
- "colspan": 1,
- "rowspan": 1,
- "optionType": "single",
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2
- },
- "selectLoggedUser": false
- },
- {
- "id": "Amount0bflna",
- "name": "Amount",
- "type": "amount",
- "readOnly": false,
- "required": false,
- "colspan": 1,
- "rowspan": 1,
- "placeholder": "123",
- "minValue": null,
- "maxValue": null,
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2
- },
- "enableFractions": false,
- "currency": "$"
- },
- {
- "id": "Multilinetext0bwk6t",
- "name": "Multiline text",
- "type": "multi-line-text",
- "readOnly": false,
- "colspan": 1,
- "rowspan": 1,
- "placeholder": null,
- "minLength": 0,
- "maxLength": 0,
- "regexPattern": null,
- "required": false,
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2
- }
- },
- {
- "id": "Checkbox04obiv",
- "name": "Checkbox",
- "type": "boolean",
- "readOnly": false,
- "required": false,
- "colspan": 1,
- "rowspan": 1,
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2
- }
- },
- {
- "id": "Groupofpeople00lqxw",
- "name": "Group of people",
- "type": "functional-group",
- "readOnly": false,
- "required": false,
- "colspan": 1,
- "rowspan": 1,
- "optionType": "single",
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2
- }
- },
- {
- "id": "Dateandtime0pqokp",
- "name": "Date and time",
- "type": "datetime",
- "readOnly": false,
- "required": false,
- "colspan": 1,
- "rowspan": 1,
- "placeholder": null,
- "minValue": null,
- "maxValue": null,
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2
- },
- "dateDisplayFormat": "YYYY-MM-DD HH:mm"
- },
- {
- "id": "Displaytext0o147e",
- "name": "Display text",
- "type": "readonly-text",
- "readOnly": false,
- "value": "Display text as part of the form",
- "colspan": 1,
- "rowspan": 1,
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2
- }
- },
- {
- "id": "Metadataviewer0rqi1s",
- "name": "Metadata viewer",
- "type": "properties-viewer",
- "readOnly": false,
- "required": false,
- "colspan": 1,
- "rowspan": 1,
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2,
- "propertiesViewerOptions": {
- "displayDefaultProperties": true,
- "expanded": true,
- "preset": "default",
- "displayEmpty": false,
- "editable": false,
- "multi": false,
- "displayAspect": null,
- "copyToClipboardAction": true,
- "useChipsForMultiValueProperty": true
- }
- }
- },
- {
- "id": "Displayvalue01ly0f",
+ "numberOfColumns": 2,
+ "fields": {
+ "1": [{
+ "id": "requestId",
+ "name": "Request ID",
+ "type": "text",
+ "value": "No field selected",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2,
+ "field": {
+ "id": "Displayvalue0i1dat",
"name": "Display value",
- "type": "readonly",
- "value": "No field selected",
- "readOnly": false,
- "colspan": 1,
- "rowspan": 1,
- "visibilityCondition": null,
- "params": {
- "existingColspan": 1,
- "maxColspan": 2,
- "field": {
- "id": "Displayvalue01ly0f",
- "name": "Display value",
- "type": "text"
- },
- "responseVariable": true
- }
- }
- ]
- }
+ "type": "text"
+ },
+ "responseVariable": true
+ }
+ }],
+ "2": [{
+ "id": "workflowstate",
+ "name": "Workflow State",
+ "type": "readonly",
+ "value": "No field selected",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2,
+ "field": {
+ "id": "Displayvalue06gi1p",
+ "name": "Display value",
+ "type": "text"
+ },
+ "responseVariable": true
+ }
+ }]
}
- ],
- "outcomes": [
- {
- "id": "1cfe6797-7c70-4113-b16d-94a776f03451",
- "name": "New Outcome"
+ }, {
+ "id": "requestorheader",
+ "name": "Requestor Details",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
},
- {
- "id": "a53a0d3a-09c5-495c-919c-4fd1bf942130",
- "name": "New Outcome"
- },
- {
- "id": "e5eecf9b-e54c-42fe-89bc-dd80593fc369",
- "name": "New Outcome"
+ "numberOfColumns": 2,
+ "fields": {
+ "1": [{
+ "id": "emprequestorname",
+ "name": "Requestor",
+ "type": "text",
+ "value": "No field selected",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "required": true,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2,
+ "field": {
+ "id": "Displayvalue0aobe5",
+ "name": "Display value",
+ "type": "text"
+ },
+ "responseVariable": true
+ }
+ }, {
+ "id": "emprequestorsso",
+ "name": "Requestor SSO",
+ "type": "readonly",
+ "value": "No field selected",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2,
+ "field": {
+ "id": "Displayvalue0w7udn",
+ "name": "Display value",
+ "type": "text"
+ },
+ "responseVariable": true
+ }
+ }, {
+ "id": "requestorphone",
+ "name": "Requestor Phone",
+ "type": "readonly",
+ "value": "No field selected",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2,
+ "field": {
+ "id": "Displayvalue0nfps2",
+ "name": "Display value",
+ "type": "text"
+ },
+ "responseVariable": true
+ }
+ }, {
+ "id": "empreqbusinessname",
+ "name": "Business Name",
+ "type": "readonly",
+ "value": "No field selected",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2,
+ "field": {
+ "id": "Displayvalue0596x0",
+ "name": "Display value",
+ "type": "text"
+ },
+ "responseVariable": true
+ }
+ }, {
+ "id": "empreqbusinesssegment",
+ "name": "Business Segment",
+ "type": "readonly",
+ "value": "No field selected",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2,
+ "field": {
+ "id": "Displayvalue0nom7m",
+ "name": "Display value",
+ "type": "text"
+ },
+ "responseVariable": true
+ }
+ }, {
+ "id": "empreqleid",
+ "name": "Legal Entity ID",
+ "type": "readonly",
+ "value": "No field selected",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2,
+ "field": {
+ "id": "Displayvalue0o23nc",
+ "name": "Display value",
+ "type": "text"
+ },
+ "responseVariable": true
+ }
+ }, {
+ "id": "empreqmgrname",
+ "name": "Manager Name",
+ "type": "readonly",
+ "value": "No field selected",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2,
+ "field": {
+ "id": "Displayvalue0jxdad",
+ "name": "Display value",
+ "type": "text"
+ },
+ "responseVariable": true
+ }
+ }, {
+ "id": "requestorcountry",
+ "name": "Requestor Country",
+ "type": "readonly",
+ "value": "No field selected",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2,
+ "field": {
+ "id": "Displayvalue0byh35",
+ "name": "Display value",
+ "type": "text"
+ },
+ "responseVariable": true
+ }
+ }],
+ "2": [{
+ "id": "emprequestorid",
+ "name": "Requestor ID",
+ "type": "readonly",
+ "value": "No field selected",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2,
+ "field": {
+ "id": "Displayvalue0swup0",
+ "name": "Display value",
+ "type": "text"
+ },
+ "responseVariable": true
+ }
+ }, {
+ "id": "emprequestorwdid",
+ "name": "Requestor Workday ID",
+ "type": "readonly",
+ "value": "No field selected",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2,
+ "field": {
+ "id": "Displayvalue0drucu",
+ "name": "Display value",
+ "type": "text"
+ },
+ "responseVariable": true
+ }
+ }, {
+ "id": "empreqdeptname",
+ "name": "Department Name",
+ "type": "readonly",
+ "value": "No field selected",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2,
+ "field": {
+ "id": "Displayvalue0w9zp9",
+ "name": "Display value",
+ "type": "text"
+ },
+ "responseVariable": true
+ }
+ }, {
+ "id": "empreqifg",
+ "name": "Industry Focus Group",
+ "type": "readonly",
+ "value": "No field selected",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2,
+ "field": {
+ "id": "Displayvalue0s017q",
+ "name": "Display value",
+ "type": "text"
+ },
+ "responseVariable": true
+ }
+ }, {
+ "id": "empreqlename",
+ "name": "Legal Entity Name",
+ "type": "readonly",
+ "value": "No field selected",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2,
+ "field": {
+ "id": "Displayvalue08ui5t",
+ "name": "Display value",
+ "type": "text"
+ },
+ "responseVariable": true
+ }
+ }, {
+ "id": "empreqlocation",
+ "name": "Location",
+ "type": "readonly",
+ "value": "No field selected",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2,
+ "field": {
+ "id": "Displayvalue0wsuyd",
+ "name": "Display value",
+ "type": "text"
+ },
+ "responseVariable": true
+ }
+ }, {
+ "id": "empreqmgrsso",
+ "name": "Manager SSO",
+ "type": "readonly",
+ "value": "No field selected",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2,
+ "field": {
+ "id": "Displayvalue0705s1",
+ "name": "Display value",
+ "type": "text"
+ },
+ "responseVariable": true
+ }
+ }, {
+ "id": "requestorregion",
+ "name": "Request Region",
+ "type": "readonly",
+ "value": "No field selected",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2,
+ "field": {
+ "id": "Displayvalue06u4jq",
+ "name": "Display value",
+ "type": "text"
+ },
+ "responseVariable": true
+ }
+ }]
}
- ],
+ }, {
+ "id": "heading1",
+ "name": "Section Heading",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "information1",
+ "name": "Display text1",
+ "type": "readonly-text",
+ "readOnly": false,
+ "value": "请阅读以下内容,确保您能够正确提交并通过加班申请:\nPls read below content to ensure your application can be submitted and approved correctly.",
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "information2",
+ "name": "Display text2",
+ "type": "readonly-text",
+ "readOnly": false,
+ "value": "1. 根据规定:实行标准工时制的员工工作日加班, 每天不超过3小时, 每月不超过36小时; 实行不定时工时制的员工, 不适用标准工时的加班规定,当地另有规定的,按当地规定执行。/According to the regulation: OT hours for employees under standard working hours system cannot exceed 3 hours per day and 36 hours per month. Employees under non-fixed working hours system are not eligible for such regulation. The OT payment will be calculated according to the local policy if any.",
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "information3",
+ "name": "Display text3",
+ "type": "readonly-text",
+ "readOnly": false,
+ "value": "2. 所有支付报酬的加班都必须获得预先批准。/ All the OT hours with compensation have to be approved in advance",
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "information4",
+ "name": "Display text4",
+ "type": "readonly-text",
+ "readOnly": false,
+ "value": "3. 请确保您勾选的加班发生月份与加班日期的月份一致。/ Please ensure the OT month and the month of the Date are consistent.",
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "information5",
+ "name": "Display text5",
+ "type": "readonly-text",
+ "readOnly": false,
+ "value": "4. 如同一个月中您有多条加班记录,请在同一个Workflow中递交。如分批递交,系统将自动拒绝该月的第二次申请。/ If you have more than one OT records in the same month, please apply all the OT happened in one OT Workflow. Otherwise, system will reject the second application for this month automatically.",
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "information6",
+ "name": "Display text6",
+ "type": "readonly-text",
+ "readOnly": false,
+ "value": "5.请正确选择自己所适用的工时制度,如需确认自己适用的工时制度,可联系您的HR经理或相关HR同事,您也可查询您所签订的劳动合同中的相关内容。/Please select the correct Working Hours System. If you are not sure about the working hour system you apply to, you could either contact your HR Manager or related HR colleagues, or go through your labor contract for check.",
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "information7",
+ "name": "Display text7",
+ "type": "readonly-text",
+ "readOnly": false,
+ "value": "6. 如果您申请的加班时间中包含用餐时间,请将用餐时间在加班时间扣除。/ Please exclude the meal time when you apply for the OT hours.",
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "information8",
+ "name": "Display text8",
+ "type": "readonly-text",
+ "readOnly": false,
+ "value": "7. 请每月10日前查看您的加班申请并提醒您的经理及时批准,每月10日前批准的申请将于当月结算。/ Please track the status of your OT application and remind your manager to approve it in time. The OT will be calculated in the current month if you get the approval before the 10th of the month.",
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "information9",
+ "name": "Display text9",
+ "type": "readonly-text",
+ "readOnly": false,
+ "value": "8. 所有在当月10号之后确认并被批准的加班将被计算在下个月的工资中。/ All confirmed and approved OT submission after 10th of the month will be calculated in the next month payroll.",
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "information10",
+ "name": "Display text10",
+ "type": "readonly-text",
+ "readOnly": false,
+ "value": "9. 如果业务部门另有规定的流程,请执行业务部门的流程。/ If business has its own process and application form, please follow business’ working procedure.",
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "information11",
+ "name": "Display text11",
+ "type": "readonly-text",
+ "readOnly": false,
+ "value": "10. 现场支持人员的工时津贴申请不适用于此工作表,请按业务部门规定的流程提交申请。/ The field service/site allowance is not eligible for this workflow . Please apply for the special service allowance according to the process of your business.",
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "acknowledgmentforcontent",
+ "name": "我已仔细阅读并确认以上内容 / I have read and acknowleged the content above",
+ "type": "boolean",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "information12",
+ "name": "Display text12",
+ "type": "readonly-text",
+ "readOnly": false,
+ "value": "***OTWF使用指南,请登陆员工福利网站 https://employeeportal.gechina.ge.com >>员工工具箱 >> 加班申请。/ Please find the Overtime Workflow User Guide in China Employee Portal (link: https://employeeportal.gechina.ge.com) >> Employee Toolkit >> Overtime Application.",
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }]
+ }
+ }, {
+ "id": "heading2",
+ "name": "Overtime Information Template",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "otyear",
+ "name": "加班发生年份 / OT Year",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "2018",
+ "name": "2018"
+ }, {
+ "id": "2019",
+ "name": "2019"
+ }, {
+ "id": "2020",
+ "name": "2020"
+ }, {
+ "id": "2021",
+ "name": "2021"
+ }, {
+ "id": "2022",
+ "name": "2022"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "otmonth",
+ "name": "加班发生月份 / OT Month",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "January",
+ "name": "January"
+ }, {
+ "id": "February",
+ "name": "February"
+ }, {
+ "id": "March",
+ "name": "March"
+ }, {
+ "id": "April",
+ "name": "April"
+ }, {
+ "id": "May",
+ "name": "May"
+ }, {
+ "id": "June",
+ "name": "June"
+ }, {
+ "id": "July",
+ "name": "July"
+ }, {
+ "id": "August",
+ "name": "August"
+ }, {
+ "id": "September",
+ "name": "September"
+ }, {
+ "id": "October",
+ "name": "October"
+ }, {
+ "id": "November",
+ "name": "November"
+ }, {
+ "id": "December",
+ "name": "December"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "people1",
+ "name": "请输入您的SSO / Input Your SSO ID",
+ "type": "people",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "single",
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "workinghourssystem",
+ "name": "适用的工时制度 / Working Hours System",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "swh",
+ "name": "标准工时制/Standard Working hours"
+ }, {
+ "id": "nswh",
+ "name": "Non-fixed Working Hours System不定时工作制"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "information13",
+ "name": "Display text13",
+ "type": "readonly-text",
+ "readOnly": false,
+ "value": "当天加班至隔天凌晨者,请在当日加班结束时间选择12:00 AM,并另外点击Add Row功能增加隔天加班小时数。",
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }]
+ }
+ }, {
+ "id": "heading4",
+ "name": "OT Form-不定时",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phnumberofrows",
+ "name": "Number of Days",
+ "type": "integer",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minValue": null,
+ "maxValue": 30,
+ "required": true,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "workinghourssystem",
+ "operator": "==",
+ "rightValue": "nswh",
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "value": 1
+ }]
+ },
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "workinghourssystem",
+ "operator": "==",
+ "rightValue": "nswh",
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ }
+ }, {
+ "id": "Header0491fl",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 4,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox1",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 1,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown1",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 1,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate1",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 1,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason1",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 1,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate1",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 1,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours1",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 1,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate1",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 1,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "Header0awat1",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox2",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 2,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown2",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 2,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate2",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 2,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason2",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 2,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate2",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 2,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours2",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 2,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate2",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 2,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "Header0jbqj2",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox3",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 3,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown3",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 3,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate3",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 3,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason3",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 3,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate3",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 3,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours3",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 3,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate3",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 3,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "Header08znyg",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox4",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 4,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown4",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 4,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate4",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 4,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason4",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 4,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate4",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 4,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours4",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 4,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate4",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 4,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "Header0bztva",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox5",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 5,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown5",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 5,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate5",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 5,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason5",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 5,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate5",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 5,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours5",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 5,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate5",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 5,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "Header0i5p3i",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox6",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 6,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown6",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 6,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate6",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 6,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason6",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 6,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate6",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 6,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours6",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 6,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate6",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 6,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "Header052whh",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox7",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 7,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown7",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 7,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate7",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 7,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason7",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 7,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate7",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 7,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours7",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 7,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate7",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 7,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "Header0tj71t",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox8",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 8,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown8",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 8,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate8",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 8,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason8",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 8,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate8",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 8,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours8",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 8,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate8",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 8,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "Header02nph3",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox9",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 9,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown9",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 9,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate9",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 9,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason9",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 9,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate9",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 9,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours9",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 9,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate9",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 9,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "Header0mol5f",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox10",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 10,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown10",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 10,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate10",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 10,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason10",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 10,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate10",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 10,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours10",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 10,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate10",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 10,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "Header0p0qpz",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox11",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 11,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown11",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 11,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate11",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 11,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason11",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 11,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate11",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 11,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours11",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 11,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate11",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 11,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "Header0piatr",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox12",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 12,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown12",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 12,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate12",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 12,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason12",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 12,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate12",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 12,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours12",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 12,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate12",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 12,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "Header0ynk43",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox13",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 13,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown13",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 13,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate13",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 13,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason13",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 13,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate13",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 13,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours13",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 13,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate13",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 13,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "Header03gm1w",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox14",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 14,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown14",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 14,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate14",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 14,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason14",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 14,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate14",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 14,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours14",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 14,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate14",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 14,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "Header0zeu4g",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox15",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 15,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown15",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 15,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate15",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 15,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason15",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 15,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate15",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 15,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours15",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 15,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate15",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 15,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "Header01ls99",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox16",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 16,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown16",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 16,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate16",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 16,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason16",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 16,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate16",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 16,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours16",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 16,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate16",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 16,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "Header0xsqpa",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox17",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 17,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown17",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 17,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate17",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 17,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason17",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 17,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate17",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 17,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours17",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 17,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate17",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 17,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "Header0fghto",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox18",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 18,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown18",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 18,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate18",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 18,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason18",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 18,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate18",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 18,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours18",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 18,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate18",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 18,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "Header0z2oic",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox19",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 19,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown19",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 19,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate19",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 19,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason19",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 19,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate19",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 19,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours19",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 19,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate19",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 19,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "Header00qiew",
+ "name": "",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "phcheckbox20",
+ "name": "",
+ "type": "boolean",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 20,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "bhdropdown20",
+ "name": "节假日 Public Holiday",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "manual",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }, {
+ "id": "ph",
+ "name": "国定假日/Public Holiday"
+ }],
+ "restUrl": null,
+ "restResponsePath": null,
+ "restIdProperty": null,
+ "restLabelProperty": null,
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 20,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }],
+ "2": [{
+ "id": "phdate20",
+ "name": "加班日期 Date",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdown",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 20,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phreason20",
+ "name": "加班原因 Reason",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 20,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "3": [{
+ "id": "phstartdate20",
+ "name": "起始时间 Start Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownstart",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 20,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }, {
+ "id": "phappliedothours20",
+ "name": "加班时长 Applied OT Hours",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 20,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }],
+ "4": [{
+ "id": "phenddate20",
+ "name": "结束时间 End Time",
+ "type": "dropdown",
+ "readOnly": false,
+ "required": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "rest",
+ "options": [{
+ "id": "empty",
+ "name": "Choose one..."
+ }],
+ "restUrl": "https://bhqmsdev.alfrescocloud.com/alfresco/s/ext/bakerhughes/testdropdownend",
+ "restResponsePath": null,
+ "restIdProperty": "id",
+ "restLabelProperty": "name",
+ "selectionType": "single",
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "phnumberofrows",
+ "operator": ">=",
+ "rightValue": 20,
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ },
+ "rule": null
+ }]
+ }
+ }, {
+ "id": "d7f6831e-cdf1-4fb4-9d27-04aa8016d19a",
+ "name": "Label",
+ "type": "container",
+ "tab": null,
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "othersupportingdocuments",
+ "name": "支持性文件/ Other supporting document:",
+ "type": "upload",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2,
+ "fileSource": {
+ "name": "Alfresco Content",
+ "serviceId": "alfresco-content"
+ },
+ "multiple": false,
+ "link": false,
+ "menuOptions": {
+ "show": true,
+ "download": true,
+ "retrieveMetadata": false,
+ "remove": false
+ },
+ "displayableCMProperties": []
+ }
+ }]
+ }
+ }, {
+ "id": "totalovertimepreapprove",
+ "name": "Total Overtime(Pre-approve)",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "totalweekdayothourspreapprove",
+ "name": "平日加班小时数-预申请 / Total Weekday OT Hours(标准)-Pre:",
+ "type": "text",
+ "readOnly": true,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "workinghourssystem",
+ "operator": "==",
+ "rightValue": "swh",
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "totalweekendothourspreapprove",
+ "name": "周末加班小时数-预申请 / Total Weekend OT Hours(标准)-Pre:",
+ "type": "text",
+ "readOnly": true,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "workinghourssystem",
+ "operator": "==",
+ "rightValue": "swh",
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "totalphothourspreapprove",
+ "name": "国定假期加班小时数-预申请 / Total Public Holiday OT Hours(标准)-Pre:",
+ "type": "text",
+ "readOnly": true,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }, {
+ "id": "totalothourspreapprove",
+ "name": "加班总小时数-预申请 / Total OT Hours(标准)-Pre:",
+ "type": "text",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "visibilityCondition": {
+ "leftType": "field",
+ "leftValue": "workinghourssystem",
+ "operator": "==",
+ "rightValue": "swh",
+ "rightType": "value",
+ "nextConditionOperator": "",
+ "nextCondition": null
+ },
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }]
+ }
+ }, {
+ "id": "b0787f35-ee48-4dbb-a4da-ca4af0b81e52",
+ "name": "Label",
+ "type": "container",
+ "tab": null,
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "ccthisrequestto",
+ "name": "CC this request to",
+ "type": "people",
+ "readOnly": false,
+ "required": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "optionType": "single",
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }]
+ }
+ }, {
+ "id": "commenthistory",
+ "name": "Comment History",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "commentHistorymtext",
+ "name": "",
+ "type": "multi-line-text",
+ "readOnly": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "required": false,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }]
+ }
+ }, {
+ "id": "d274b063-eb5f-4fae-bc3f-765fdf7e1554",
+ "name": "Label",
+ "type": "container",
+ "tab": null,
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "addcomments",
+ "name": "Add Comments",
+ "type": "multi-line-text",
+ "readOnly": false,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "required": false,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }]
+ }
+ }, {
+ "id": "audittrail",
+ "name": "Audit trail",
+ "type": "group",
+ "tab": null,
+ "params": {
+ "allowCollapse": false,
+ "collapseByDefault": false
+ },
+ "numberOfColumns": 1,
+ "fields": {
+ "1": [{
+ "id": "audittrailsummary",
+ "name": "",
+ "type": "multi-line-text",
+ "readOnly": true,
+ "colspan": 1,
+ "rowspan": 1,
+ "placeholder": null,
+ "minLength": 0,
+ "maxLength": 0,
+ "regexPattern": null,
+ "required": false,
+ "visibilityCondition": null,
+ "params": {
+ "existingColspan": 1,
+ "maxColspan": 2
+ }
+ }]
+ }
+ }],
+ "outcomes": [],
"metadata": {},
"variables": []
}
diff --git a/lib/process-services-cloud/src/lib/form/components/widgets/dropdown/dropdown-cloud.widget.html b/lib/process-services-cloud/src/lib/form/components/widgets/dropdown/dropdown-cloud.widget.html
index e739d6e333..6ce4afd77a 100644
--- a/lib/process-services-cloud/src/lib/form/components/widgets/dropdown/dropdown-cloud.widget.html
+++ b/lib/process-services-cloud/src/lib/form/components/widgets/dropdown/dropdown-cloud.widget.html
@@ -1,11 +1,12 @@