const time24 = [
  {
    key: "8888",
    selected: true,
    showname: "00:00"
  }, {
    key: "2",
    selected: false,
    showname: "01:00"
  }, {
    key: "3",
    selected: false,
    showname: "02:00"
  }, {
    key: "4",
    selected: false,
    showname: "03:00"
  }, {
    key: "5",
    selected: false,
    showname: "04:00"
  }, {
    key: "6",
    selected: false,
    showname: "05:00"
  }, {
    key: "7",
    selected: false,
    showname: "06:00"
  }, {
    key: "8",
    selected: false,
    showname: "07:00"
  }, {
    key: "9",
    selected: false,
    showname: "08:00"
  }, {
    key: "10",
    selected: false,
    showname: "09:00"
  }, {
    key: "11",
    selected: false,
    showname: "10:00"
  }, {
    key: "13",
    selected: false,
    showname: "11:00"
  }, {
    key: "13",
    selected: false,
    showname: "12:00"
  }, {
    key: "13",
    selected: false,
    showname: "13:00"
  }, {
    key: "13",
    selected: false,
    showname: "14:00"
  }, {
    key: "13",
    selected: false,
    showname: "15:00"
  }, {
    key: "13",
    selected: false,
    showname: "16:00"
  }, {
    key: "13",
    selected: false,
    showname: "17:00"
  }, {
    key: "13",
    selected: false,
    showname: "18:00"
  }, {
    key: "13",
    selected: false,
    showname: "19:00"
  }, {
    key: "13",
    selected: false,
    showname: "20:00"
  }, {
    key: "13",
    selected: false,
    showname: "21:00"
  }, {
    key: "13",
    selected: false,
    showname: "22:00"
  }, {
    key: "13",
    selected: false,
    showname: "23:00"
  },

]
const newFormCondition =
  [{
    title: "基本信息",
    defaultshow: true,
    items: [{
      colSpan: 2,
      conditionType: "SWITCH",
      detailtype: 1,
      domkey: ["asdf"],
      fieldcol: 18,
      helpfulTipProps: {},
      isQuickSearch: false,
      label: "启用",
      labelcol: 6,
    }, {
      "colSpan": 2,
      "conditionType": "SELECT",
      "domkey": [
        "intetype"
      ],
      "fieldcol": 12,
      "isQuickSearch": false,
      "label": "集成方式",
      "labelcol": 6,
      "options": [
        {
          "key": "1",
          "selected": true,
          "showname": "数据库"
        },
        {
          "key": "2",
          "selected": false,
          "showname": "Webservice 接口方式"
        },
        {
          "key": "3",
          "selected": false,
          "showname": "自定义方式"
        }
      ],
      "viewAttr": 2
    }, {
      "colSpan": 2,
      "conditionType": "SELECT",
      "domkey": [
        "datasource"
      ],
      "fieldcol": 12,
      "isQuickSearch": false,
      "label": "数据源",
      "labelcol": 6,
      "options": [
        {
          "key": "",
          "selected": true,
          "showname": ""
        },
        {
          "key": "0",
          "selected": false,
          "showname": "80s"
        },
        {
          "key": "1",
          "selected": false,
          "showname": "test"
        }
      ],
      "viewAttr": 2
    }, {
      "colSpan": 2,
      "conditionType": "SELECT",
      "domkey": [
        "syncmethod"
      ],
      "fieldcol": 12,
      "isQuickSearch": false,
      "label": "同步方式",
      "labelcol": 6,
      "options": [
        {
          "key": "",
          "selected": true,
          "showname": "手工同步"
        },
        {
          "key": "0",
          "selected": false,
          "showname": "自动同步"
        },
        {
          "key": "1",
          "selected": false,
          "showname": "手工同步和自动同步"
        }
      ],
      "viewAttr": 2
    }, {
      "colSpan": 2,
      "conditionType": "CASCADER",
      "domkey": [
        "syncmethodHz"
      ],
      "fieldcol": 12,
      "isQuickSearch": false,
      "label": "同步频率",
      "labelcol": 6,
      "compDef": {
        type: 'SELECT',
        key: 'one',
        options: [
          {
            key: "1",
            selected: true,
            showname: "按天"
          }, {
            key: "2",
            selected: false,
            showname: "按周"
          }, {
            key: "3",
            selected: false,
            showname: "按月"
          }, {
            key: "4",
            selected: false,
            showname: "按年"
          }
        ],
        parent: {
          type: 'div',
          style: { float: 'left' }
        },
        subChildren: {
          "1": {
            type: 'SELECT',
            key: 'one',
            label: "每日",
            options: time24,
            parent: {
              type: 'div',
              style: { float: 'left' }
            }
          },
          "2": [{
            type: 'SELECT',
            key: 'one',
            options: time24
          }, {
            type: 'SELECT',
            key: 'two',
            label: "每周",
            options: [
              {
                key: "1",
                selected: true,
                showname: "周一"
              },
              {
                key: "2",
                selected: false,
                showname: "周二"
              },
              {
                key: "3",
                selected: false,
                showname: "周三"
              },
              {
                key: "4",
                selected: false,
                showname: "周四"
              },
              {
                key: "5",
                selected: false,
                showname: "周五"
              },
              {
                key: "6",
                selected: false,
                showname: "周六"
              },
              {
                key: "7",
                selected: false,
                showname: "周日"
              }
            ],
          }],
          "3": [{
            type: 'SELECT',
            key: 'three',
            label: '每月',
            options: [{
              key: "1",
              selected: true,
              showname: "正数"
            }, {
              key: "2",
              selected: false,
              showname: "倒数"
            },
            ],
          }, {
            type: 'INPUT',
            key: 'one',
            label: '第',
            style: { width: 50 },
          }, {
            type: 'SELECT',
            key: 'two',
            label: '天',
            options: time24
          }],
          "4": [{
            type: 'SELECT',
            key: 'three',
            label: '每年',
            options: [{
              key: "1",
              selected: true,
              showname: "01"
            }, {
              key: "2",
              selected: false,
              showname: "02"
            },{
              key: "3",
              selected: false,
              showname: "03"
            },{
              key: "4",
              selected: false,
              showname: "04"
            },{
              key: "4",
              selected: false,
              showname: "05"
            },{
              key: "4",
              selected: false,
              showname: "06"
            },{
              key: "4",
              selected: false,
              showname: "07"
            },{
              key: "4",
              selected: false,
              showname: "08"
            },{
              key: "4",
              selected: false,
              showname: "09"
            },{
              key: "4",
              selected: false,
              showname: "10"
            },{
              key: "4",
              selected: false,
              showname: "11"
            },{
              key: "4",
              selected: false,
              showname: "12"
            }
            ],
          },{
            type: 'SELECT',
            key: "a12j",
            label: '月',
            options: [{
              key: "1",
              selected: true,
              showname: "正数"
            }, {
              key: "1",
              selected: false,
              showname: "倒数"
            }]
          }, {
            type: 'INPUT',
            key: 'one',
            label: '第',
            style: { width: 50 },
          }, {
            type: 'SELECT',
            key: 'two',
            label: '天',
            options: time24
          }]
        }
      },
      className: "custom__hr__style",
      "viewAttr": 2
    },
    {
      colSpan: 2,
      conditionType: "INPUT",
      detailtype: 1,
      domkey: ["cctv"],
      fieldcol: 18,
      helpfulTipProps: {},
      isQuickSearch: false,
      label: "默认密码",
      labelcol: 6,
      otherParams: {
        type: "password",
      }
    }
    ]
  },{
    title: "自定义",
    defaultshow: true,
    items: []
  }]

const hrSyncSettingsForm = 
{"WeaTableEdit_hrmSyncFieldSet":[{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"browserConditionParam":{"completeParams":{},"conditionDataParams":{},"dataParams":{"dmltablename":"hrmresource"},"destDataParams":{},"hasAddBtn":false,"hasAdvanceSerach":true,"hasBorder":false,"hideVirtualOrg":false,"idSeparator":",","isAutoComplete":1,"isDetail":0,"isMultCheckbox":false,"isSingle":true,"pageSize":10,"quickSearchName":"","replaceDatas":[],"showCheckStrictly":true,"type":"hrmSyncTableFields","viewAttr":2},"disabled":false,"editType":"1","key":"oafield","label":"","type":"BROWSER","viewAttr":2,"width":120}],"dataIndex":"oafield","key":"oafield","title":"人员表属性字段","useRecord":false,"width":"20%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"browserConditionParam":{"completeParams":{},"conditionDataParams":{},"dataParams":{"callSource":"hrsetting","dmltablename":"","datasourceid":""},"destDataParams":{},"hasAddBtn":false,"hasAdvanceSerach":true,"hasBorder":false,"hideVirtualOrg":false,"idSeparator":",","isAutoComplete":1,"isDetail":0,"isMultCheckbox":false,"isSingle":true,"pageSize":10,"quickSearchName":"","replaceDatas":[],"showCheckStrictly":true,"type":"dmlTableFields","viewAttr":2},"disabled":false,"editType":"1","key":"outfield","label":"","type":"BROWSER","viewAttr":2,"width":120}],"dataIndex":"outfield","key":"outfield","title":"同步对应字段/XML属性","useRecord":false,"width":"20%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"disabled":false,"editType":"1","key":"iskeyfield","label":"","type":"CHECKBOX","viewAttr":2,"width":120}],"dataIndex":"iskeyfield","key":"iskeyfield","title":"关键匹配字段","useRecord":false,"width":"10%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"disabled":false,"editType":"1","key":"isparentfield","label":"","type":"CHECKBOX","viewAttr":2,"width":120}],"dataIndex":"isparentfield","key":"isparentfield","title":"上级标识字段","useRecord":false,"width":"10%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"disabled":false,"editType":"1","key":"ishrmdeptfield","label":"","type":"CHECKBOX","viewAttr":2,"width":120}],"dataIndex":"ishrmdeptfield","key":"ishrmdeptfield","title":"部门标识字段","useRecord":false,"width":"10%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"disabled":false,"editType":"1","key":"ishrmjobfield","label":"","type":"CHECKBOX","viewAttr":2,"width":120}],"dataIndex":"ishrmjobfield","key":"ishrmjobfield","title":"岗位标识字段","useRecord":false,"width":"10%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"disabled":false,"editType":"1","key":"transql","label":"","type":"TEXTAREA","viewAttr":2,"width":120}],"dataIndex":"transql","key":"transql","title":"转换规则","useRecord":false,"width":"20%"}],"WeaTableEdit_deptSyncFieldData":[],"syncFieldSettingsGroupLabel":{"summary":"同步关系设置说明","sub":"分部同步对应关系设置","hrm":"人员同步对应关系设置","dept":"部门同步对应关系设置","job":"岗位同步对应关系设置"},"WeaTableEdit_WebserviceParameterSet":[{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"disabled":false,"editType":"1","key":"paramname","label":"","type":"TEXT","viewAttr":1,"width":120}],"dataIndex":"paramname","key":"paramname","title":"参数名","useRecord":false,"width":"15%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"disabled":false,"editType":"1","key":"paramtype","label":"","type":"TEXT","viewAttr":1,"width":120}],"dataIndex":"paramtype","key":"paramtype","title":"参数类型","useRecord":false,"width":"15%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"disabled":false,"editType":"1","key":"isarray","label":"","type":"CHECKBOX","viewAttr":2,"width":120}],"dataIndex":"isarray","key":"isarray","title":"是否数组","useRecord":false,"width":"15%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"disabled":false,"editType":"1","key":"paramsplit","label":"","type":"INPUT","viewAttr":2,"width":120}],"dataIndex":"paramsplit","key":"paramsplit","title":"分隔符","useRecord":false,"width":"15%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"disabled":false,"editType":"1","key":"paramvalue","label":"","type":"INPUT","viewAttr":2,"width":120}],"dataIndex":"paramvalue","key":"paramvalue","title":"参数值","useRecord":false,"width":"15%"}],"syncWebserviceGroupLabel":{"sub":"同步分部接口方法","hrm":"同步人员接口方法","dept":"同步部门接口方法","job":"同步岗位接口方法"},"WeaTableEdit_hrmSyncFieldData":[],"fieldValues":{},"deptWebserviceParamValuesData":[],"WeaTableEdit_jobSyncFieldSet":[{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"browserConditionParam":{"completeParams":{},"conditionDataParams":{},"dataParams":{"dmltablename":"hrmjobtitles"},"destDataParams":{},"hasAddBtn":false,"hasAdvanceSerach":true,"hasBorder":false,"hideVirtualOrg":false,"idSeparator":",","isAutoComplete":1,"isDetail":0,"isMultCheckbox":false,"isSingle":true,"pageSize":10,"quickSearchName":"","replaceDatas":[],"showCheckStrictly":true,"type":"hrmSyncTableFields","viewAttr":2},"disabled":false,"editType":"1","key":"oafield","label":"","type":"BROWSER","viewAttr":2,"width":120}],"dataIndex":"oafield","key":"oafield","title":"岗位表属性字段","useRecord":false,"width":"20%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"browserConditionParam":{"completeParams":{},"conditionDataParams":{},"dataParams":{"callSource":"hrsetting","dmltablename":"","datasourceid":""},"destDataParams":{},"hasAddBtn":false,"hasAdvanceSerach":true,"hasBorder":false,"hideVirtualOrg":false,"idSeparator":",","isAutoComplete":1,"isDetail":0,"isMultCheckbox":false,"isSingle":true,"pageSize":10,"quickSearchName":"","replaceDatas":[],"showCheckStrictly":true,"type":"dmlTableFields","viewAttr":2},"disabled":false,"editType":"1","key":"outfield","label":"","type":"BROWSER","viewAttr":2,"width":120}],"dataIndex":"outfield","key":"outfield","title":"同步对应字段/XML属性","useRecord":false,"width":"20%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"disabled":false,"editType":"1","key":"iskeyfield","label":"","type":"CHECKBOX","viewAttr":2,"width":120}],"dataIndex":"iskeyfield","key":"iskeyfield","title":"关键匹配字段","useRecord":false,"width":"10%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"disabled":false,"editType":"1","key":"transql","label":"","type":"TEXTAREA","viewAttr":2,"width":120}],"dataIndex":"transql","key":"transql","title":"转换规则","useRecord":false,"width":"20%"}],"hiddenFields":{"invoketype":"1","operation":""},"condition":[{"title":"基本信息","defaultshow":true,"items":[{"colSpan":2,"conditionType":"CHECKBOX","detailtype":1,"domkey":["isuselhr"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"启用","labelcol":6,"length":0,"otherParams":{"display":"switch"},"precision":0,"showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"","viewAttr":2},{"colSpan":2,"conditionType":"SELECT","detailtype":1,"domkey":["intetype"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"集成方式","labelcol":6,"length":0,"options":[{"disabled":false,"key":"1","selected":true,"showname":"数据库","visible":true},{"disabled":false,"key":"2","selected":false,"showname":"接口方式","visible":true},{"disabled":false,"key":"3","selected":false,"showname":"自定义方式","visible":true}],"precision":0,"showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"1","viewAttr":2},{"colSpan":2,"conditionType":"SELECT","detailtype":1,"domkey":["dbsource"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"数据源","labelcol":6,"length":0,"options":[{"disabled":false,"key":"local","selected":false,"showname":"local","visible":true},{"disabled":false,"key":"bua","selected":false,"showname":"bua","visible":true}],"precision":0,"rules":"required","showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"","viewAttr":3},{"colSpan":2,"conditionType":"SELECT","detailtype":1,"domkey":["webserviceurl"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"WEBSERVICE地址","labelcol":6,"length":0,"options":[{"disabled":false,"key":"","selected":false,"showname":"","visible":true},{"disabled":false,"key":"1","selected":false,"showname":"WorkflowService","visible":true},{"disabled":false,"key":"5","selected":false,"showname":"test_yy","visible":true},{"disabled":false,"key":"8","selected":false,"showname":"zhong","visible":true},{"disabled":false,"key":"9","selected":false,"showname":"Ofs","visible":true},{"disabled":false,"key":"11","selected":false,"showname":"1","visible":true},{"disabled":false,"key":"12","selected":false,"showname":"HrmService","visible":true},{"disabled":false,"key":"15","selected":false,"showname":"229576-接口可以解析，添加的方法输入输出类型均可正常识别","visible":true},{"disabled":false,"key":"16","selected":false,"showname":"229576-接口不可以解析","visible":true},{"disabled":false,"key":"17","selected":false,"showname":"229576-接口可以解析，添加的方法输入可以识别，输出识别不出","visible":true},{"disabled":false,"key":"18","selected":false,"showname":"229576-接口可以解析，添加的方法输入识别不出，输出可以识别","visible":true},{"disabled":false,"key":"19","selected":false,"showname":"229576-接口可以解析，添加的方法输入输出类型特殊","visible":true},{"disabled":false,"key":"21","selected":false,"showname":"Test1","visible":true},{"disabled":false,"key":"22","selected":false,"showname":"流程列表","visible":true},{"disabled":false,"key":"23","selected":false,"showname":"new","visible":true},{"disabled":false,"key":"27","selected":false,"showname":"ceshiwebservice","visible":true},{"disabled":false,"key":"32","selected":false,"showname":"webservicetest","visible":true},{"disabled":false,"key":"38","selected":false,"showname":"JYT_测试","visible":true},{"disabled":false,"key":"45","selected":false,"showname":"测试HrmService","visible":true},{"disabled":false,"key":"46","selected":false,"showname":"测试CfDemoService","visible":true},{"disabled":false,"key":"50","selected":false,"showname":"test20171108_01","visible":true},{"disabled":false,"key":"51","selected":false,"showname":"test","visible":true},{"disabled":false,"key":"52","selected":false,"showname":"HrmService20171215","visible":true},{"disabled":false,"key":"53","selected":false,"showname":"OAService","visible":true}],"precision":0,"rules":"required","showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"","viewAttr":3},{"colSpan":2,"conditionType":"INPUT","detailtype":1,"domkey":["custominterface"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"自定义接口名称","labelcol":6,"length":0,"precision":0,"rules":"required","showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"","viewAttr":3},{"colSpan":2,"conditionType":"SELECT","detailtype":1,"domkey":["hrmethod"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"同步方式","labelcol":6,"length":0,"options":[{"disabled":false,"key":"1","selected":false,"showname":"手工同步","visible":true},{"disabled":false,"key":"2","selected":false,"showname":"自动同步","visible":true},{"disabled":false,"key":"3","selected":false,"showname":"手工同步和自动同步","visible":true}],"precision":0,"showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"","viewAttr":2},{"className":"custom__hr__style","colSpan":2,"compDef":{"parent":{"style":{"float":"left"},"type":"div"},"options":[{"showname":"按天","key":"3","selected":true},{"showname":"按周","key":"0","selected":false},{"showname":"按月","key":"1","selected":false},{"showname":"按年","key":"2","selected":false}],"subChildren":{"0":[{"options":[{"showname":"00:00","key":"00:00","selected":true},{"showname":"01:00","key":"01:00","selected":false},{"showname":"02:00","key":"02:00","selected":false},{"showname":"03:00","key":"03:00","selected":false},{"showname":"04:00","key":"04:00","selected":false},{"showname":"05:00","key":"05:00","selected":false},{"showname":"06:00","key":"06:00","selected":false},{"showname":"07:00","key":"07:00","selected":false},{"showname":"08:00","key":"08:00","selected":false},{"showname":"09:00","key":"09:00","selected":false},{"showname":"10:00","key":"10:00","selected":false},{"showname":"11:00","key":"11:00","selected":false},{"showname":"12:00","key":"12:00","selected":false},{"showname":"13:00","key":"13:00","selected":false},{"showname":"14:00","key":"14:00","selected":false},{"showname":"15:00","key":"15:00","selected":false},{"showname":"16:00","key":"16:00","selected":false},{"showname":"17:00","key":"17:00","selected":false},{"showname":"18:00","key":"18:00","selected":false},{"showname":"19:00","key":"19:00","selected":false},{"showname":"20:00","key":"20:00","selected":false},{"showname":"21:00","key":"21:00","selected":false},{"showname":"22:00","key":"22:00","selected":false},{"showname":"23:00","key":"23:00","selected":false}],"type":"SELECT","key":"weekTime"},{"options":[{"showname":"周一","key":"1","selected":true},{"showname":"周二","key":"2","selected":false},{"showname":"周三","key":"3","selected":false},{"showname":"周四","key":"4","selected":false},{"showname":"周五","key":"5","selected":false},{"showname":"周六","key":"6","selected":false},{"showname":"周日","key":"7","selected":false}],"label":"每周","type":"SELECT","key":"fer_0"}],"1":[{"options":[{"showname":"正数","key":"0","selected":true},{"showname":"倒数","key":"1","selected":false}],"label":"每月","type":"SELECT","key":"monthType"},{"style":{"width":50},"label":"第","type":"INPUT","key":"frey"},{"options":[{"showname":"00:00","key":"00:00","selected":true},{"showname":"01:00","key":"01:00","selected":false},{"showname":"02:00","key":"02:00","selected":false},{"showname":"03:00","key":"03:00","selected":false},{"showname":"04:00","key":"04:00","selected":false},{"showname":"05:00","key":"05:00","selected":false},{"showname":"06:00","key":"06:00","selected":false},{"showname":"07:00","key":"07:00","selected":false},{"showname":"08:00","key":"08:00","selected":false},{"showname":"09:00","key":"09:00","selected":false},{"showname":"10:00","key":"10:00","selected":false},{"showname":"11:00","key":"11:00","selected":false},{"showname":"12:00","key":"12:00","selected":false},{"showname":"13:00","key":"13:00","selected":false},{"showname":"14:00","key":"14:00","selected":false},{"showname":"15:00","key":"15:00","selected":false},{"showname":"16:00","key":"16:00","selected":false},{"showname":"17:00","key":"17:00","selected":false},{"showname":"18:00","key":"18:00","selected":false},{"showname":"19:00","key":"19:00","selected":false},{"showname":"20:00","key":"20:00","selected":false},{"showname":"21:00","key":"21:00","selected":false},{"showname":"22:00","key":"22:00","selected":false},{"showname":"23:00","key":"23:00","selected":false}],"label":"天","type":"SELECT","key":"monthTime"}],"2":[{"options":[{"showname":"01","key":"01","selected":true},{"showname":"02","key":"02","selected":false},{"showname":"03","key":"03","selected":false},{"showname":"04","key":"04","selected":false},{"showname":"05","key":"05","selected":false},{"showname":"06","key":"06","selected":false},{"showname":"07","key":"07","selected":false},{"showname":"08","key":"08","selected":false},{"showname":"09","key":"09","selected":false},{"showname":"10","key":"10","selected":false},{"showname":"11","key":"11","selected":false},{"showname":"12","key":"12","selected":false}],"label":"每年","type":"SELECT","key":"fer_2"},{"options":[{"showname":"正数","key":"0","selected":true},{"showname":"倒数","key":"1","selected":false}],"label":"月","type":"SELECT","key":"yearType"},{"style":{"width":50},"label":"第","type":"INPUT","key":"frey"},{"options":[{"showname":"00:00","key":"00:00","selected":true},{"showname":"01:00","key":"01:00","selected":false},{"showname":"02:00","key":"02:00","selected":false},{"showname":"03:00","key":"03:00","selected":false},{"showname":"04:00","key":"04:00","selected":false},{"showname":"05:00","key":"05:00","selected":false},{"showname":"06:00","key":"06:00","selected":false},{"showname":"07:00","key":"07:00","selected":false},{"showname":"08:00","key":"08:00","selected":false},{"showname":"09:00","key":"09:00","selected":false},{"showname":"10:00","key":"10:00","selected":false},{"showname":"11:00","key":"11:00","selected":false},{"showname":"12:00","key":"12:00","selected":false},{"showname":"13:00","key":"13:00","selected":false},{"showname":"14:00","key":"14:00","selected":false},{"showname":"15:00","key":"15:00","selected":false},{"showname":"16:00","key":"16:00","selected":false},{"showname":"17:00","key":"17:00","selected":false},{"showname":"18:00","key":"18:00","selected":false},{"showname":"19:00","key":"19:00","selected":false},{"showname":"20:00","key":"20:00","selected":false},{"showname":"21:00","key":"21:00","selected":false},{"showname":"22:00","key":"22:00","selected":false},{"showname":"23:00","key":"23:00","selected":false}],"label":"天","type":"SELECT","key":"yearTime"}],"3":{"parent":{"style":{"float":"left"},"type":"div"},"options":[{"showname":"00:00","key":"00:00","selected":true},{"showname":"01:00","key":"01:00","selected":false},{"showname":"02:00","key":"02:00","selected":false},{"showname":"03:00","key":"03:00","selected":false},{"showname":"04:00","key":"04:00","selected":false},{"showname":"05:00","key":"05:00","selected":false},{"showname":"06:00","key":"06:00","selected":false},{"showname":"07:00","key":"07:00","selected":false},{"showname":"08:00","key":"08:00","selected":false},{"showname":"09:00","key":"09:00","selected":false},{"showname":"10:00","key":"10:00","selected":false},{"showname":"11:00","key":"11:00","selected":false},{"showname":"12:00","key":"12:00","selected":false},{"showname":"13:00","key":"13:00","selected":false},{"showname":"14:00","key":"14:00","selected":false},{"showname":"15:00","key":"15:00","selected":false},{"showname":"16:00","key":"16:00","selected":false},{"showname":"17:00","key":"17:00","selected":false},{"showname":"18:00","key":"18:00","selected":false},{"showname":"19:00","key":"19:00","selected":false},{"showname":"20:00","key":"20:00","selected":false},{"showname":"21:00","key":"21:00","selected":false},{"showname":"22:00","key":"22:00","selected":false},{"showname":"23:00","key":"23:00","selected":false}],"label":"每日","type":"SELECT","key":"dayTime"}},"type":"SELECT","key":"TimeModul"},"compValue":{"frey":"","weekTime":"","fer_0":"","fer_1":"","fer_2":"","monthTime":"","monthType":"","TimeModul":"0","yearTime":"","dayTime":"","yearType":""},"conditionType":"CASCADER","detailtype":1,"domkey":["syncmethodHz"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"同步频率","labelcol":6,"length":0,"precision":0,"showOrder":0,"stringLength":0,"tipPosition":"bottom","viewAttr":2},{"colSpan":2,"conditionType":"INPUT","detailtype":1,"domkey":["defaultPwd"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"默认密码","labelcol":6,"length":0,"precision":0,"showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"","viewAttr":2},{"colSpan":2,"conditionType":"SELECT","detailtype":1,"domkey":["pwdsynctype"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"密码同步规则","labelcol":6,"length":0,"options":[{"disabled":false,"key":"1","selected":false,"showname":"MD5加密","visible":true},{"disabled":false,"key":"2","selected":false,"showname":"复制","visible":true}],"precision":0,"showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"","viewAttr":2},{"colSpan":2,"conditionType":"CHECKBOX","detailtype":1,"domkey":["issynrtx"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"同步","labelcol":6,"length":0,"precision":0,"showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"1","viewAttr":2}]},{"title":"同步表设置","defaultshow":true,"items":[{"colSpan":2,"conditionType":"INPUT","detailtype":1,"domkey":["subcomtable"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"同步分部表设置","labelcol":6,"length":0,"precision":0,"rules":"required","showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"","viewAttr":3},{"browserConditionParam":{"completeParams":{},"conditionDataParams":{"mouldID":"integration","callSource":"hrsetting","dmltablename":"","datasourceid":""},"dataParams":{"mouldID":"integration","callSource":"hrsetting","dmltablename":"","datasourceid":""},"destDataParams":{},"hasAddBtn":false,"hasAdvanceSerach":true,"hasBorder":false,"hideVirtualOrg":false,"idSeparator":",","isAutoComplete":1,"isDetail":0,"isMultCheckbox":false,"isSingle":true,"linkUrl":"","pageSize":10,"quickSearchName":"","replaceDatas":[{"name":"","id":""}],"showCheckStrictly":true,"type":"dmlTableFields","viewAttr":2},"colSpan":2,"conditionType":"BROWSER","detailtype":1,"domkey":["subcomouternew"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"增量标识字段","labelcol":6,"length":0,"precision":0,"showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"","viewAttr":2},{"colSpan":2,"conditionType":"INPUT","detailtype":1,"domkey":["depttable"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"同步部门表设置","labelcol":6,"length":0,"precision":0,"rules":"required","showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"","viewAttr":3},{"browserConditionParam":{"completeParams":{},"conditionDataParams":{"mouldID":"integration","callSource":"hrsetting","dmltablename":"","datasourceid":""},"dataParams":{"mouldID":"integration","callSource":"hrsetting","dmltablename":"","datasourceid":""},"destDataParams":{},"hasAddBtn":false,"hasAdvanceSerach":true,"hasBorder":false,"hideVirtualOrg":false,"idSeparator":",","isAutoComplete":1,"isDetail":0,"isMultCheckbox":false,"isSingle":true,"linkUrl":"","pageSize":10,"quickSearchName":"","replaceDatas":[{"name":"","id":""}],"showCheckStrictly":true,"type":"dmlTableFields","viewAttr":2},"colSpan":2,"conditionType":"BROWSER","detailtype":1,"domkey":["deptouternew"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"增量标识字段","labelcol":6,"length":0,"precision":0,"showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"","viewAttr":2},{"colSpan":2,"conditionType":"INPUT","detailtype":1,"domkey":["jobtable"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"同步岗位表设置","labelcol":6,"length":0,"precision":0,"rules":"required","showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"","viewAttr":3},{"browserConditionParam":{"completeParams":{},"conditionDataParams":{"mouldID":"integration","callSource":"hrsetting","dmltablename":"","datasourceid":""},"dataParams":{"mouldID":"integration","callSource":"hrsetting","dmltablename":"","datasourceid":""},"destDataParams":{},"hasAddBtn":false,"hasAdvanceSerach":true,"hasBorder":false,"hideVirtualOrg":false,"idSeparator":",","isAutoComplete":1,"isDetail":0,"isMultCheckbox":false,"isSingle":true,"linkUrl":"","pageSize":10,"quickSearchName":"","replaceDatas":[{"name":"","id":""}],"showCheckStrictly":true,"type":"dmlTableFields","viewAttr":2},"colSpan":2,"conditionType":"BROWSER","detailtype":1,"domkey":["jobouternew"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"增量标识字段","labelcol":6,"length":0,"precision":0,"showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"","viewAttr":2},{"colSpan":2,"conditionType":"INPUT","detailtype":1,"domkey":["hrmtable"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"同步人员表设置","labelcol":6,"length":0,"precision":0,"rules":"required","showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"","viewAttr":3},{"browserConditionParam":{"completeParams":{},"conditionDataParams":{"mouldID":"integration","callSource":"hrsetting","dmltablename":"","datasourceid":""},"dataParams":{"mouldID":"integration","callSource":"hrsetting","dmltablename":"","datasourceid":""},"destDataParams":{},"hasAddBtn":false,"hasAdvanceSerach":true,"hasBorder":false,"hideVirtualOrg":false,"idSeparator":",","isAutoComplete":1,"isDetail":0,"isMultCheckbox":false,"isSingle":true,"linkUrl":"","pageSize":10,"quickSearchName":"","replaceDatas":[{"name":"","id":""}],"showCheckStrictly":true,"type":"dmlTableFields","viewAttr":2},"colSpan":2,"conditionType":"BROWSER","detailtype":1,"domkey":["hrmouternew"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"增量标识字段","labelcol":6,"length":0,"precision":0,"showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"","viewAttr":2}]},{"title":"同步接口方法","defaultshow":true,"items":[{"colSpan":2,"conditionType":"SELECT","detailtype":1,"domkey":["subcommothod"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"同步分部接口方法","labelcol":6,"length":0,"options":[{"disabled":false,"key":"","selected":false,"showname":"","visible":true}],"precision":0,"rules":"required","showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"","viewAttr":3},{"colSpan":2,"conditionType":"SELECT","detailtype":1,"domkey":["deptmothod"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"同步部门接口方法","labelcol":6,"length":0,"options":[{"disabled":false,"key":"","selected":false,"showname":"","visible":true}],"precision":0,"rules":"required","showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"","viewAttr":3},{"colSpan":2,"conditionType":"SELECT","detailtype":1,"domkey":["jobmothod"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"同步岗位接口方法","labelcol":6,"length":0,"options":[{"disabled":false,"key":"","selected":false,"showname":"","visible":true}],"precision":0,"rules":"required","showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"","viewAttr":3},{"colSpan":2,"conditionType":"SELECT","detailtype":1,"domkey":["hrmmethod"],"fieldcol":18,"helpfulTipProps":{},"isQuickSearch":false,"label":"同步人员接口方法","labelcol":6,"length":0,"options":[{"disabled":false,"key":"","selected":false,"showname":"","visible":true}],"precision":0,"rules":"required","showOrder":0,"stringLength":0,"tipPosition":"bottom","value":"","viewAttr":3}]},{"title":"同步对应字段设置方法","defaultshow":true,"items":[]}],"WeaTableEdit_jobSyncFieldData":[],"syncFieldRelationShipSummaryLabel":{"1":"1、“关键匹配标识”，表示字段为外部组织数据主键或者唯一标示，此设置在分部、部门、岗位、人员中都必须设置。","2":"2、“增量标识字段”，用以区分数据是否发生变化，如果发生变化，那么进行同步操作；","3":"3、分部设置中，“上级分部标识字段”用以标记是否为上级分部字段，用以找到当前分部上级单位。","4":"4、部门设置中，“上级部门标识字段”用以标记是否为上级部门字段，用以找到当前部门上级部门。","5":"5、部门设置中，“分部标识字段”用以标记是否为部门所属分部字段，用以找到当前部门所属分部，必须设置。","6":"6、人员设置中，“上级标识字段”，用以标记是否为人员上级字段，用以找到当前人员上级。","7":"7、人员设置中，“部门标识字段”用以标记是否为人员所属部门字段，用以找到当前人员所属部门，必须设置。","8":"8、人员设置中，“岗位标识字段”用以标记是否为人员所属岗位字段，用以找到当前人员所属岗位。","9":"9、转换规则是以sql的形式进行数据转换，格式如：select newvalue from table_name where somefield={?currentvalue}，{?currentvalue}为当前值。"},"WeaTableEdit_deptSyncFieldSet":[{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"browserConditionParam":{"completeParams":{},"conditionDataParams":{},"dataParams":{"dmltablename":"hrmdepartment"},"destDataParams":{},"hasAddBtn":false,"hasAdvanceSerach":true,"hasBorder":false,"hideVirtualOrg":false,"idSeparator":",","isAutoComplete":1,"isDetail":0,"isMultCheckbox":false,"isSingle":true,"pageSize":10,"quickSearchName":"","replaceDatas":[],"showCheckStrictly":true,"type":"hrmSyncTableFields","viewAttr":2},"disabled":false,"editType":"1","key":"oafield","label":"","type":"BROWSER","viewAttr":2,"width":120}],"dataIndex":"oafield","key":"oafield","title":"部门表属性字段","useRecord":false,"width":"20%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"browserConditionParam":{"completeParams":{},"conditionDataParams":{},"dataParams":{"callSource":"hrsetting","dmltablename":"","datasourceid":""},"destDataParams":{},"hasAddBtn":false,"hasAdvanceSerach":true,"hasBorder":false,"hideVirtualOrg":false,"idSeparator":",","isAutoComplete":1,"isDetail":0,"isMultCheckbox":false,"isSingle":true,"pageSize":10,"quickSearchName":"","replaceDatas":[],"showCheckStrictly":true,"type":"dmlTableFields","viewAttr":2},"disabled":false,"editType":"1","key":"outfield","label":"","type":"BROWSER","viewAttr":2,"width":120}],"dataIndex":"outfield","key":"outfield","title":"同步对应字段/XML属性","useRecord":false,"width":"20%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"disabled":false,"editType":"1","key":"iskeyfield","label":"","type":"CHECKBOX","viewAttr":2,"width":120}],"dataIndex":"iskeyfield","key":"iskeyfield","title":"关键匹配字段","useRecord":false,"width":"10%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"disabled":false,"editType":"1","key":"isparentfield","label":"","type":"CHECKBOX","viewAttr":2,"width":120}],"dataIndex":"isparentfield","key":"isparentfield","title":"上级部门标识字段","useRecord":false,"width":"10%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"disabled":false,"editType":"1","key":"issubcomfield","label":"","type":"CHECKBOX","viewAttr":2,"width":120}],"dataIndex":"issubcomfield","key":"issubcomfield","title":"分部标识字段","useRecord":false,"width":"10%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"disabled":false,"editType":"1","key":"transql","label":"","type":"TEXTAREA","viewAttr":2,"width":120}],"dataIndex":"transql","key":"transql","title":"转换规则","useRecord":false,"width":"20%"}],"syncFrequencyInfoMap":{"$ref":"$.condition[0].items[6].compValue"},"WeaTableEdit_subSyncFieldData":[],"hrmWebserviceParamValuesData":[],"WeaTableEdit_subSyncFieldSet":[{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"browserConditionParam":{"completeParams":{},"conditionDataParams":{},"dataParams":{"dmltablename":"hrmsubcompany"},"destDataParams":{},"hasAddBtn":false,"hasAdvanceSerach":true,"hasBorder":false,"hideVirtualOrg":false,"idSeparator":",","isAutoComplete":1,"isDetail":0,"isMultCheckbox":false,"isSingle":true,"pageSize":10,"quickSearchName":"","replaceDatas":[],"showCheckStrictly":true,"type":"hrmSyncTableFields","viewAttr":2},"disabled":false,"editType":"1","key":"oafield","label":"","type":"BROWSER","viewAttr":2,"width":120}],"dataIndex":"oafield","key":"oafield","title":"分部表属性字段","useRecord":false,"width":"20%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"browserConditionParam":{"completeParams":{},"conditionDataParams":{},"dataParams":{"callSource":"hrsetting","dmltablename":"","datasourceid":""},"destDataParams":{},"hasAddBtn":false,"hasAdvanceSerach":true,"hasBorder":false,"hideVirtualOrg":false,"idSeparator":",","isAutoComplete":1,"isDetail":0,"isMultCheckbox":false,"isSingle":true,"pageSize":10,"quickSearchName":"","replaceDatas":[],"showCheckStrictly":true,"type":"dmlTableFields","viewAttr":2},"disabled":false,"editType":"1","key":"outfield","label":"","type":"BROWSER","viewAttr":2,"width":120}],"dataIndex":"outfield","key":"outfield","title":"同步对应字段/XML属性","useRecord":false,"width":"20%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"disabled":false,"editType":"1","key":"iskeyfield","label":"","type":"CHECKBOX","viewAttr":2,"width":120}],"dataIndex":"iskeyfield","key":"iskeyfield","title":"关键匹配字段","useRecord":false,"width":"10%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"disabled":false,"editType":"1","key":"isparentfield","label":"","type":"CHECKBOX","viewAttr":2,"width":120}],"dataIndex":"isparentfield","key":"isparentfield","title":"上级分部标识字段","useRecord":false,"width":"10%"},{"className":"wea-table-edit-triggerName","colSpan":"1","com":[{"disabled":false,"editType":"1","key":"transql","label":"","type":"TEXTAREA","viewAttr":2,"width":120}],"dataIndex":"transql","key":"transql","title":"转换规则","useRecord":false,"width":"20%"}],"jobWebserviceParamValuesData":[],"subWebserviceParamValuesData":[],"status":"1"}

export {
  hrSyncSettingsForm
}