fields.json 11.4 KB
{
  "lables": [
    "title",
    "content",
    "showname",
    "name"
  ],
  "tables": [
    {
      "items": [
        {
          "ref": "syncSet",
          "rowKey": "id",
          "showTitle": true,
          "title": "125555",
          "showCollapse": true,
          "showCopy": false,
          "deleteConfirm": true,
          "tableProps": {
            "scroll": {
              "x": 680
            }
          },
          "buttonsType": "inline",
          "dataUrl": "/api/integration/ldap/sync/pull",
          "rowClassName": "wea-search-group",
          "validator": {
            "rules": {
              "baseDomain": "required"
            }
          },
          "columns": [
            {
              "com": [
                {
                  "width": "25%",
                  "viewAttr": 3,
                  "editType": "1",
                  "label": "",
                  "type": "INPUT",
                  "defaultValue": "",
                  "key": "baseDomain"
                }
              ],
              "dataIndex": "baseDomain",
              "colSpan": 1,
              "useRecord": true,
              "viewAttr": 3,
              "width": "25%",
              "title": "32287",
              "key": "baseDomain"
            },
            {
              "com": [
                {
                  "type": "custom",
                  "key": "syncOrg",
                  "params": {
                    "type": "checkbox",
                    "fieldName": "syncOrg",
                    "diaplay": "switch",
                    "viewAttr": "3",
                    "defaultValue": "0"
                  }
                },
                {
                  "type": "HIDDENFIELD",
                  "key": "orgFilter",
                  "defaultValue": ""
                }
              ],
              "dataIndex": "syncOrg",
              "colSpan": 1,
              "useRecord": true,
              "viewAttr": 2,
              "width": "15%",
              "title": "81792",
              "key": "syncOrg"
            },
            {
              "com": [
                {
                  "type": "custom",
                  "key": "syncUser",
                  "params": {
                    "type": "checkbox",
                    "fieldName": "syncUser",
                    "defaultValue": "0",
                    "diaplay": "switch",
                    "viewAttr": "3"
                  }
                },
                {
                  "type": "HIDDENFIELD",
                  "key": "userFilter",
                  "defaultValue": ""
                }
              ],
              "dataIndex": "syncUser",
              "colSpan": 1,
              "useRecord": true,
              "viewAttr": 2,
              "width": "15%",
              "title": "81793",
              "key": "syncUser"
            },
            {
              "com": [
                {
                  "viewAttr": 2,
                  "editType": "1",
                  "label": "",
                  "type": "checkbox",
                  "key": "isCheckUsed",
                  "otherParams": {
                    "display": "switch"
                  }
                }
              ],
              "default": 1,
              "dataIndex": "isCheckUsed",
              "checkVauleType": [
                1,
                0
              ],
              "colSpan": 1,
              "useRecord": true,
              "viewAttr": 2,
              "width": "15%",
              "title": "506787",
              "key": "isCheckUsed"
            },
            {
              "com": [
                {
                  "viewAttr": 2,
                  "editType": "1",
                  "label": "",
                  "type": "checkbox",
                  "key": "isSynByGroup",
                  "otherParams": {
                    "display": "switch"
                  }
                }
              ],
              "default": 1,
              "dataIndex": "isSynByGroup",
              "checkVauleType": [
                1,
                0
              ],
              "colSpan": 1,
              "useRecord": true,
              "viewAttr": 2,
              "width": "8%",
              "title": "506785",
              "key": "isSynByGroup"
            },
            {
              "com": [
                {
                  "viewAttr": 2,
                  "editType": "1",
                  "label": "",
                  "type": "BROWSER",
                  "defaultValue": "",
                  "browserConditionParam": {
                    "type": "164",
                    "title": "141",
                    "icon": "icon-coms-hrm",
                    "iconBgcolor": "#217346",
                    "hasAddBtn": false,
                    "hasAdvanceSerach": true,
                    "hasBorder": false,
                    "hideVirtualOrg": false,
                    "idSeparator": ",",
                    "isAutoComplete": 1,
                    "isDetail": 0,
                    "isMultCheckbox": false,
                    "isSingle": true,
                    "linkUrl": "/spa/hrm/engine.html#/hrmengine/organization?showTree=false&type=subcompany&id=",
                    "showCheckStrictly": true,
                    "tabs": [
                      {
                        "isSearch": false,
                        "key": "2",
                        "name": "16455",
                        "selected": false,
                        "showOrder": 0
                      },
                      {
                        "dataParams": {
                          "list": "1"
                        },
                        "isSearch": true,
                        "key": "1",
                        "name": "130619",
                        "selected": false,
                        "showOrder": 0
                      }
                    ]
                  },
                  "key": "subcompanyId"
                }
              ],
              "dataIndex": "subcompanyId",
              "colSpan": 1,
              "useRecord": true,
              "viewAttr": 2,
              "width": "15%",
              "title": "19437",
              "key": "subcompanyId"
            },
            {
              "com": [
                {
                  "viewAttr": 2,
                  "editType": "1",
                  "label": "",
                  "type": "BROWSER",
                  "defaultValue": "",
                  "browserConditionParam": {
                    "type": "4",
                    "title": "124",
                    "icon": "icon-coms-hrm",
                    "iconBgcolor": "#217346",
                    "hasAddBtn": false,
                    "hasAdvanceSerach": true,
                    "hasBorder": false,
                    "hideVirtualOrg": false,
                    "idSeparator": ",",
                    "isAutoComplete": 1,
                    "isDetail": 0,
                    "isMultCheckbox": false,
                    "isSingle": true,
                    "linkUrl": "/spa/hrm/engine.html#/hrmengine/organization?showTree=false&type=department&id=",
                    "showCheckStrictly": true,
                    "dataParams": {
                      "subcompanyid1": -1
                    },
                    "tabs": [
                      {
                        "isSearch": false,
                        "key": "2",
                        "name": "16455",
                        "selected": false,
                        "showOrder": 0
                      },
                      {
                        "dataParams": {
                          "list": "1"
                        },
                        "isSearch": true,
                        "key": "1",
                        "name": "130619",
                        "selected": false,
                        "showOrder": 0
                      }
                    ]
                  },
                  "key": "departmentId"
                }
              ],
              "dataIndex": "departmentId",
              "colSpan": 1,
              "useRecord": true,
              "viewAttr": 2,
              "width": "15%",
              "title": "19438",
              "key": "departmentId"
            }
          ]
        },
        {
          "title": "82370",
          "ref": "attributeSet",
          "rowKey": "id",
          "showTitle": true,
          "showCollapse": true,
          "showCopy": false,
          "deleteConfirm": true,
          "buttonsType": "inline",
          "dataUrl": "/api/integration/ldap/mapping/ou",
          "rowClassName": "wea-search-group",
          "tableProps": {
            "scroll": {
              "x": 680
            }
          },
          "validator": {
            "rules": {
              "attributeName": "required",
              "attributeType": "required",
              "attributeValue": "required"
            }
          },
          "columns": [
            {
              "com": [
                {
                  "viewAttr": 3,
                  "editType": "1",
                  "label": "",
                  "type": "INPUT",
                  "key": "attributeName"
                },
                {
                  "type": "HIDDENFIELD",
                  "key": "showOrder",
                  "value": "0",
                  "defaultValue": "0"
                },
                {
                  "type": "HIDDENFIELD",
                  "key": "dataType",
                  "value": "ou",
                  "defaultValue": "ou"
                }
              ],
              "dataIndex": "attributeName",
              "colSpan": 1,
              "useRecord": true,
              "viewAttr": 3,
              "width": "35%",
              "title": "82372",
              "key": "attributeName"
            },
            {
              "com": [
                {
                  "viewAttr": 3,
                  "editType": "1",
                  "label": "",
                  "type": "SELECT",
                  "key": "attributeType",
                  "options": [
                    {
                      "key": "0",
                      "showname": "33553"
                    },
                    {
                      "key": "1",
                      "showname": "126029"
                    }
                  ]
                }
              ],
              "dataIndex": "attributeType",
              "colSpan": 1,
              "useRecord": true,
              "viewAttr": 3,
              "width": "20%",
              "title": "16850",
              "key": "attributeType"
            },
            {
              "com": [
                {
                  "viewAttr": 3,
                  "editType": "1",
                  "label": "",
                  "type": "INPUT",
                  "key": "attributeValue"
                }
              ],
              "dataIndex": "INPUT",
              "colSpan": 1,
              "useRecord": true,
              "viewAttr": 3,
              "width": "35%",
              "title": "129025",
              "key": "attributeValue"
            }
          ]
        }
      ]
    }
  ],
  "description": [
    {
      "title": "125555,131147",
      "shownum": true,
      "content": [
        "131156",
        "131157",
        "131313"
      ]
    },
    {
      "title": "82370,131147",
      "shownum": true,
      "content": [
        "389237",
        "131154",
        "131155"
      ]
    }
  ]
}