fields.json 7.72 KB
{
  "lables": [
    "title",
    "label",
    "showname"
  ],
  "fields": [
    {
      "title": "82743",
      "defaultshow": true,
      "items": [
        {
          "labelcol": 8,
          "colSpan": 1,
          "fieldcol": 12,
          "viewAttr": 2,
          "conditionType": "SWITCH",
          "label": "26472",
          "value": "0",
          "domkey": [
            "isused"
          ]
        },
        {
          "labelcol": 8,
          "colSpan": 1,
          "regExp":"^[A-Za-z][0-9A-Za-z_]*$",
          "rules": "required|string",
          "fieldcol": 12,
          "viewAttr": 3,
          "conditionType": "INPUT",
          "label": "84",
          "value": "",
          "domkey": [
            "ldapid"
          ]
        },
        {
          "labelcol": 8,
          "colSpan": 1,
          "rules": "required|string",
          "fieldcol": 12,
          "viewAttr": 3,
          "conditionType": "INPUT",
          "label": "33439",
          "value": "",
          "otherParams": {
            "inputType": "multilang",
            "isBase64": true
          },
          "domkey": [
            "ldapname"
          ]
        },
        {
          "colSpan": 1,
          "conditionType": "SELECT",
          "detailtype": 1,
          "domkey": [
            "ldaptype"
          ],
          "fieldcol": 12,
          "label": "63",
          "labelcol": 8,
          "value": "AD",
          "options": [
            {
              "key": "AD",
              "showname": "AD"
            },
            {
              "key": "OpenLDAP",
              "showname": "OpenLDAP"
            },
            {
              "key": "SunOne",
              "showname": "SunOne"
            }
          ],
          "precision": 0,
          "showOrder": 0,
          "viewAttr": 3
        },
        {
          "labelcol": 8,
          "colSpan": 1,
          "rules": "required_if:ldaptype,AD",
          "fieldcol": 12,
          "viewAttr": 3,
          "conditionType": "INPUT",
          "label": "81647",
          "value": "",
          "showWhere": [
            {
              "domkey": "ldaptype",
              "value": ["AD"]
            }
          ],
          "domkey": [
            "basedomain"
          ]
        },
        {
          "labelcol": 8,
          "colSpan": 1,
          "rules": "required|string",
          "fieldcol": 12,
          "viewAttr": 3,
          "conditionType": "INPUT",
          "label": "32285",
          "value": "com.sun.jndi.ldap.LdapCtxFactory",
          "domkey": [
            "factoryclass"
          ]
        }
      ]
    },
    {
      "title": "385147",
      "defaultshow": true,
      "items": [
        {
          "labelcol": 8,
          "colSpan": 1,
          "fieldcol": 12,
          "viewAttr": 2,
          "conditionType": "SWITCH",
          "label": "385141",
          "value": "0",
          "domkey": [
            "isssl"
          ],
          "changeItem": [
            {
              "key":"isssl",
              "value": "1",
              "change":{
                "port": "636"
              }
            },
            {
              "key": "isssl",
              "change":{
                "port": "389"
              }
            }
          ]
        },
        {
          "labelcol": 8,
          "colSpan": 1,
          "fieldcol": 12,
          "viewAttr": 2,
          "conditionType": "SWITCH",
          "label": "132191",
          "value": "0",
          "showWhere": [
            {
              "domkey": "isssl",
              "value": ["1"]
            }
          ],
          "domkey": [
            "passingCert"
          ]
        },
        {
          "labelcol": 8,
          "colSpan": 1,
          "fieldcol": 12,
          "viewAttr": 3,
          "conditionType": "INPUT",
          "label": "81795",
          "value": "",
          "rules": "reqWhen:isssl:1&passingCert:0",
          "showWhere": [
            {
              "domkey": "isssl",
              "value": ["1"]
            },
            {
              "domkey": "passingCert",
              "value": ["0"]
            }
          ],
          "domkey": [
            "keystorepath"
          ]
        },
        {
          "labelcol": 8,
          "colSpan": 1,
          "fieldcol": 12,
          "viewAttr": 3,
          "conditionType": "INPUT",
          "label": "81796",
          "value": "",
          "rules": "reqWhen:isssl:1&passingCert:0",
          "showWhere": [
            {
              "domkey": "isssl",
              "value": ["1"]
            },
            {
              "domkey": "passingCert",
              "value": ["0"]
            }
          ],
          "otherParams": {
            "type": "password"
          },
          "domkey": [
            "keystorepassword"
          ]
        },
        {
          "labelcol": 8,
          "colSpan": 1,
          "fieldcol": 12,
          "viewAttr": 3,
          "conditionType": "INPUT",
          "label": "81796",
          "otherParams": {
            "type": "password"
          },
          "value": "",
          "showWhere": [
            {
              "domkey": "isNotExitField",
              "value": ["1"]
            }
          ],
          "domkey": [
            "keystorepasswordEncrypt"
          ]
        },
        {
          "labelcol": 8,
          "colSpan": 1,
          "rules": "required|string",
          "fieldcol": 12,
          "viewAttr": 3,
          "conditionType": "INPUT",
          "label": "32286",
          "value": "",
          "domkey": [
            "ip"
          ]
        },
        {
          "labelcol": 8,
          "colSpan": 1,
          "rules": "required",
          "fieldcol": 12,
          "viewAttr": 3,
          "conditionType": "INPUTNUMBER",
          "label": "84629",
          "value": "389",
          "domkey": [
            "port"
          ]
        },
        {
          "labelcol": 8,
          "colSpan": 1,
          "rules": "required",
          "fieldcol": 12,
          "viewAttr": 3,
          "conditionType": "INPUT",
          "label": "2072",
          "value": "",
          "domkey": [
            "ldapuser"
          ]
        },
        {
          "labelcol": 8,
          "colSpan": 1,
          "rules": "required",
          "fieldcol": 12,
          "viewAttr": 3,
          "conditionType": "INPUT",
          "label": "409",
          "otherParams": {
            "type": "password"
          },
          "value": "",
          "domkey": [
            "ldappassword"
          ]
        },
        {
          "labelcol": 8,
          "colSpan": 1,
          "fieldcol": 12,
          "viewAttr": 3,
          "conditionType": "INPUT",
          "label": "409",
          "otherParams": {
            "type": "password"
          },
          "value": "",
          "showWhere": [
            {
              "domkey": "isNotExitField",
              "value": ["1"]
            }
          ],
          "domkey": [
            "ldapPasswordEncrypt"
          ]
        },
        {
          "labelcol": 8,
          "colSpan": 1,
          "fieldcol": 7,
          "viewAttr": 3,
          "conditionType": "INPUT",
          "label": "22910",
          "validatecode": true,
          "value": "",
          "showWhere": [
            {
              "domkey": "isNotExitField",
              "value": ["1"]
            }
          ],
          "domkey": [
            "validatecode"
          ]
        }
      ]
    },
    {
      "title": "410",
      "defaultshow": true,
      "items": [
        {
          "labelcol": 8,
          "colSpan": 1,
          "fieldcol": 12,
          "viewAttr": 2,
          "conditionType": "SWITCH",
          "label": "385140",
          "value": "",
          "domkey": [
            "isadaccount"
          ]
        }
      ]
    }
  ]
}