fields.json 7.57 KB
{
  "lables": [
    "title",
    "label",
    "showname",
    "content",
    "helpfulTip"
  ],
  "fields": [
    {
      "title": "82743",
      "defaultshow": true,
      "items": [
		{
          "labelcol": 8,
          "colSpan": 1,
          "fieldcol": 16,
          "viewAttr": 1,
          "conditionType": "INPUT",
          "label": "505352",
          "value": "",
		  "hasBorder":"",
          "domkey": [
            "transformCode"
          ]
        },
		{
          "labelcol": 8,
          "colSpan": 1,
          "fieldcol": 16,
          "viewAttr": 1,
          "conditionType": "INPUT",
          "label": "19829",
          "value": "",
		  "hasBorder":"",
          "domkey": [
            "transformName"
          ]
        },
		{
          "labelcol": 8,
          "colSpan": 1,
          "fieldcol": 16,
          "viewAttr": 1,
          "conditionType": "INPUT",
          "label": "",
          "value": "",
		  "hasBorder":"",
          "domkey": [
            "transformType"
          ]
        },
		{
          "labelcol": 8,
          "colSpan": 1,
          "fieldcol": 16,
          "viewAttr": 1,
          "conditionType": "INPUT",
          "label": "388897",
          "value": "",
          "domkey": [
            "transformTypeDesc"
          ]
        },
		{
          "labelcol": 8,
          "colSpan": 1,
          "fieldcol": 16,
          "viewAttr": 1,
          "conditionType": "TEXTAREA",
          "label": "85",
		  "value":"",
		  "hasBorder":"",
		  "maxRows": 4,
          "domkey": [
            "instruction"
          ]
        },
		{
          "labelcol": 8,
          "colSpan": 1,
          "rules": "reqWhen:transformType:3",
          "fieldcol": 16,
          "viewAttr": 3,
          "conditionType": "BROWSER",
          "label": "505815",
          "value":"",
		  "needSelect": 1,
          "contextType": "1",
          "browserConditionParam": {
            "type": "nodeTreeList",
            "title": "18214",
            "icon": "icon-coms-hrm",
            "iconBgcolor": "#217346",
            "hasAddBtn": false,
            "hasAdvanceSerach": true,
            "hasBorder": false,
            "hideVirtualOrg": false,
            "idSeparator": ",",
            "isAutoComplete": 1,
            "isDetail": 0,
            "isMultCheckbox": false,
            "isSingle": true,
            "linkUrl": "",
            "showCheckStrictly": true,
			"selectUrl":"/api/integration/esb/publish/contextNodeOptions",
			"dataURL":"/api/integration/esb/service/returnsContextData",
            "dataParams": {
            },
			"replaceDatas":""
          },
          "domkey": [
            "matchData"
          ],
          "showWhere": [
            {
              "domkey": "transformType",
              "value": [
                "3"
              ]
            }
          ]
        },
        {
          "labelcol": 8,
          "colSpan": 1,
          "fieldcol": 16,
          "viewAttr": 2,
          "conditionType": "SELECT",
          "label": "516549",
          "value": "",
          "domkey": [
            "returnType"
          ],
          "detailtype": 3,
          "options" :  [
            {
              "key": "0",
              "showname": "19206",
              "selected": true
            },{
              "key": "1",
              "showname": "6056"
            }
          ],
          "showWhere": [
            {
              "domkey": "transformType",
              "value": [
                "3"
              ]
            }
          ]
        },
        {
          "labelcol": 8,
          "colSpan": 1,
          "fieldcol": 16,
          "viewAttr": 2,
          "conditionType": "INPUT",
          "label": "19206",
          "value": "",
          "domkey": [
            "defaultValue"
          ],
          "tipPosition": "right",
          "helpfulTip": "516486",
          "showWhere": [
            {
              "domkey": "transformType",
              "value": [
                "3"
              ]
            },
            {
              "domkey": "returnType",
              "value": [
                "0"
              ]
            }
          ]
        }
      ]
    }
  ],
  "transformParams": {
    "rowKey": "id",
    "title": "505816",
    "ref": "transformParams",
    "showTitle": true,
    "showCollapse": true,
    "showCopy": false,
    "showAdd": false,
    "showDelete": false,
    "rowClassName": "wea-search-group",
    "columns": [{
      "com": [{
        "key": "paramName",
        "viewAttr": 1,
        "type": "INPUT",
		"regExp": "^[A-Za-z][0-9A-Za-z_]*$",
        "isTreeNode": true
      },
        {
          "key": "paramKey",
          "type": "HIDDENFIELD",
          "hasHiddenField": true
        },
        {
          "key": "parentName",
          "hasHiddenField": true,
          "type": "HIDDENFIELD",
          "defaultValue": ""
        },
        {
          "key": "transmitType",
          "hasHiddenField": true,
          "type": "HIDDENFIELD",
          "defaultValue": "request"
        },
        {
          "key": "levels",
          "hasHiddenField": true,
          "type": "HIDDENFIELD",
          "defaultValue": ""
        },
		{
          "key": "arrs",
          "hasHiddenField": true,
          "type": "HIDDENFIELD",
          "defaultValue": ""
        },
        {
          "key": "isAnaly",
          "hasHiddenField": true,
          "type": "HIDDENFIELD",
          "defaultValue": ""
        }
      ],
      "dataIndex": "paramName",
      "colSpan": 1,
      "useRecord": true,
      "viewAttr": 1,
      "width": "15%",
      "title": "126481",
      "key": "paramName"
    },
      {
        "com": [{
          "key": "showName",
          "type": "INPUT",
		  "viewAttr": 1
        }],
        "dataIndex": "showName",
        "colSpan": 1,
        "useRecord": true,
        "viewAttr": 1,
        "width": "15%",
        "title": "30828",
        "key": "showName"
      },
	  {
		"com": [{
			"key": "paramType",
			"type": "SELECT",
			"viewAttr": 1,
			"options": [{
					"key": "json",
					"showname": "JSON"
				},
				{
					"key": "xml",
					"showname": "XML"
				},
				{
					"key": "string",
					"showname": "608"
				},
				{
					"key": "int",
					"showname": "696"
				},
				{
					"key": "double",
					"showname": "697"
				},
				{
					"key": "date",
					"showname": "97"
				},
				{
					"key": "datetime",
					"showname": "277"
				},
				{
					"key": "boolean",
					"showname": "506864"
				}
			]
		}],
		"dataIndex": "paramType",
		"colSpan": 1,
		"useRecord": true,
		"viewAttr": 1,
		"width": "15%",
		"title": "503477",
		"key": "paramType"
	},
      {
        "com": [
          {
            "key": "required",
            "type": "INPUT",
            "viewAttr": 1
          }
        ],
        "dataIndex": "required",
        "colSpan": 1,
        "useRecord": true,
        "viewAttr": 1,
        "width": "5%",
        "title": "514006",
        "key": "required"
      },
	  {
        "com": [
          {
            "key": "assign",
            "type": "SELECT",
			"value": "",
			"defaultValue": "",
			"viewAttr": 3,
			"options": [
				{
					"key": "",
					"showname": ""
				},
				{
					"key": "1",
					"showname": "453"
				},
				{
					"key": "2",
					"showname": "130008"
				},
				{
					"key": "3",
					"showname": "504711"
				},
				{
					"key": "5",
					"showname": "82216"
				}
			]
          }
        ],
        "dataIndex": "assign",
        "colSpan": 1,
        "useRecord": true,
        "viewAttr": 3,
        "width": "40%",
        "title": "504713",
        "key": "assign"
      }
    ],
	"validator": {
		"rules": {
			"assign": "required"
		}
	}
  }
}