import {WeaLocaleProvider} from 'ecCom';

const getLabel = WeaLocaleProvider.getLabel;

export const SHARE_CONDITIONS = [

  {
    "colSpan": 2,
    "conditionType": "SELECT",
    "domkey": [
      "sharetype"
    ],
    "fieldcol": 18,
    "isQuickSearch": false,
    "label": getLabel(21956, "对象类型"),
    "labelcol": 6,
    "options": [
      {
        "key": "1",
        "selected": true,
        "showname": getLabel(179, "人力资源")
      }, {
        "key": "5",
        "selected": false,
        "showname": getLabel(141, "分部")
      }, {
        "key": "2",
        "selected": false,
        "showname": getLabel(124, "部门")
      }, {
        "key": "11",
        "selected": false,
        "showname": getLabel(6086, "岗位")
      }, {
        "key": "3",
        "selected": false,
        "showname": getLabel(122, "角色")
      }, {
        "key": "4",
        "selected": false,
        "showname": getLabel(1340, "所有人")
      }
    ],
    "viewAttr": 2
  }, {
    "2": [[
      {
        "browserConditionParam": {
          "completeParams": {},
          "conditionDataParams": {},
          "dataParams": {},
          "destDataParams": {},
          "hasAddBtn": false,
          "hasAdvanceSerach": true,
          "idSeparator": ",",
          "isAutoComplete": 1,
          "isDetail": 0,
          "isMultCheckbox": false,
          "isSingle": false,
          "pageSize": 10,
          "quickSearchName": "",
          "type": "57",
          "viewAttr": 3
        },
        "colSpan": 2,
        "conditionType": "BROWSER",
        "domkey": [
          "relatedshareid"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(106, "对象"),
        "labelcol": 6,
        "viewAttr": 3
      }
    ], [
      {
        "colSpan": 2,
        "conditionType": "INPUT_INTERVAL",
        "domkey": [
          "seclevel",
          "seclevelMax"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(683, "安全级别"),
        "labelcol": 6,
        "value": [
          10,
          100
        ],
        "viewAttr": 2
      }
    ], [
      {
        "colSpan": 2,
        "conditionType": "SELECT",
        "domkey": [
          "sharelevel"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(385, "权限"),
        "labelcol": 6,
        "options": [
          {
            "key": "1",
            "selected": true,
            "showname": getLabel(367, "查看")
          }, {
            "key": "2",
            "selected": false,
            "showname": getLabel(93, "编辑")
          }
        ],
        "viewAttr": 2
      }
    ]
    ],
    "5": [[
      {
        "browserConditionParam": {
          "completeParams": {},
          "conditionDataParams": {},
          "dataParams": {},
          "destDataParams": {},
          "hasAddBtn": false,
          "hasAdvanceSerach": true,
          "idSeparator": ",",
          "isAutoComplete": 1,
          "isDetail": 0,
          "isMultCheckbox": false,
          "isSingle": false,
          "pageSize": 10,
          "quickSearchName": "",
          "type": "194",
          "viewAttr": 3
        },
        "colSpan": 2,
        "conditionType": "BROWSER",
        "domkey": [
          "relatedshareid"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(106, "对象"),
        "labelcol": 6,
        "value": 3,
        "viewAttr": 2
      }
    ], [
      {
        "colSpan": 2,
        "conditionType": "INPUT_INTERVAL",
        "domkey": [
          "seclevel",
          "seclevelMax"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(683, "安全级别"),
        "labelcol": 6,
        "value": [
          10,
          0
        ],
        "viewAttr": 2
      }
    ], [
      {
        "colSpan": 2,
        "conditionType": "SELECT",
        "domkey": [
          "sharelevel"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(385, "权限"),
        "labelcol": 6,
        "options": [
          {
            "key": "1",
            "selected": true,
            "showname": getLabel(367, "查看")
          }, {
            "key": "2",
            "selected": false,
            "showname": getLabel(93, "编辑")
          }
        ],
        "viewAttr": 2
      }
    ]
    ],
    "1": [[
      {
        "browserConditionParam": {
          "completeParams": {},
          "conditionDataParams": {},
          "dataParams": {},
          "destDataParams": {},
          "hasAddBtn": false,
          "hasAdvanceSerach": true,
          "idSeparator": ",",
          "isAutoComplete": 1,
          "isDetail": 0,
          "isMultCheckbox": false,
          "isSingle": false,
          "pageSize": 10,
          "quickSearchName": "",
          "type": "17",
          "viewAttr": 3
        },
        "colSpan": 2,
        "conditionType": "BROWSER",
        "domkey": [
          "relatedshareid"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(106, "对象"),
        "labelcol": 6,
        "viewAttr": 3
      }
    ], [
      {
        "colSpan": 2,
        "conditionType": "SELECT",
        "domkey": [
          "sharelevel"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(385, "权限"),
        "labelcol": 6,
        "options": [
          {
            "key": "1",
            "selected": true,
            "showname": getLabel(367, "查看")
          }, {
            "key": "2",
            "selected": false,
            "showname": getLabel(93, "编辑")
          }
        ],
        "viewAttr": 2
      }
    ]
    ],
    "11": [[
      {
        "browserConditionParam": {
          "completeParams": {},
          "conditionDataParams": {},
          "dataParams": {},
          "destDataParams": {},
          "hasAddBtn": false,
          "hasAdvanceSerach": true,
          "idSeparator": ",",
          "isAutoComplete": 1,
          "isDetail": 0,
          "isMultCheckbox": false,
          "isSingle": false,
          "pageSize": 10,
          "quickSearchName": "",
          "type": "278",
          "viewAttr": 3
        },
        "colSpan": 2,
        "conditionType": "BROWSER",
        "domkey": [
          "relatedshareid"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(106, "对象"),
        "labelcol": 6,
        "viewAttr": 3
      }
    ], [
      {
        "colSpan": 2,
        "conditionType": "SELECT_LINKAGE",
        "domkey": [
          "joblevel"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(28169, "岗位级别"),
        "labelcol": 6,
        "options": [
          {
            "key": "0",
            "selected": true,
            "showname": getLabel(140, "总部")
          }, {
            "key": "2",
            "selected": false,
            "showname": getLabel(19437, "指定分部")
          }, {
            "key": "1",
            "selected": false,
            "showname": getLabel(19438, "指定部门")
          }
        ],
        "selectLinkageDatas": {
          "1": {
            "browserConditionParam": {
              "completeParams": {},
              "conditionDataParams": {},
              "dataParams": {},
              "destDataParams": {},
              "hasAddBtn": false,
              "hasAdvanceSerach": true,
              "idSeparator": ",",
              "isAutoComplete": 1,
              "isDetail": 0,
              "isMultCheckbox": false,
              "isSingle": false,
              "pageSize": 10,
              "quickSearchName": "",
              "type": "57",
              "viewAttr": 3
            },
            "colSpan": 2,
            "conditionType": "BROWSER",
            "domkey": [
              "jobtitledepartment"
            ],
            "fieldcol": 18,
            "isQuickSearch": false,
            "label": "",
            "labelcol": 6,
            "viewAttr": 3
          },
          "2": {
            "browserConditionParam": {
              "completeParams": {},
              "conditionDataParams": {},
              "dataParams": {},
              "destDataParams": {},
              "hasAddBtn": false,
              "hasAdvanceSerach": true,
              "idSeparator": ",",
              "isAutoComplete": 1,
              "isDetail": 0,
              "isMultCheckbox": false,
              "isSingle": false,
              "pageSize": 10,
              "quickSearchName": "",
              "type": "194",
              "viewAttr": 3
            },
            "colSpan": 2,
            "conditionType": "BROWSER",
            "domkey": [
              "jobtitlesubcompany"
            ],
            "fieldcol": 18,
            "isQuickSearch": false,
            "label": "",
            "labelcol": 6,
            "viewAttr": 3
          }
        },
        "viewAttr": 2
      }
    ], [
      {
        "colSpan": 2,
        "conditionType": "SELECT",
        "domkey": [
          "sharelevel"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(385, "权限"),
        "labelcol": 6,
        "options": [
          {
            "key": "1",
            "selected": true,
            "showname": getLabel(367, "查看")
          }, {
            "key": "2",
            "selected": false,
            "showname": getLabel(93, "编辑")
          }
        ],
        "viewAttr": 2
      }
    ]
    ],
    "4": [[
      {
        "colSpan": 2,
        "conditionType": "INPUT_INTERVAL",
        "domkey": [
          "seclevel",
          "seclevelMax"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(683, "安全级别"),
        "labelcol": 6,
        "value": [
          10,
          100
        ],
        "viewAttr": 2
      }
    ], [
      {
        "colSpan": 2,
        "conditionType": "SELECT",
        "domkey": [
          "sharelevel"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(385, "权限"),
        "labelcol": 6,
        "options": [
          {
            "key": "1",
            "selected": true,
            "showname": getLabel(367, "查看")
          }, {
            "key": "2",
            "selected": false,
            "showname": getLabel(93, "编辑")
          }
        ],
        "viewAttr": 2
      }
    ]
    ],
    "3": [[
      {
        "browserConditionParam": {
          "completeParams": {},
          "conditionDataParams": {},
          "dataParams": {},
          "destDataParams": {},
          "hasAddBtn": false,
          "hasAdvanceSerach": true,
          "idSeparator": ",",
          "isAutoComplete": 1,
          "isDetail": 0,
          "isMultCheckbox": false,
          "isSingle": false,
          "pageSize": 10,
          "quickSearchName": "",
          "type": "65",
          "viewAttr": 3
        },
        "colSpan": 2,
        "conditionType": "BROWSER",
        "domkey": [
          "relatedshareid"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(106, "对象"),
        "labelcol": 6,
        "viewAttr": 3
      }, {
        "colSpan": 2,
        "conditionType": "SELECT",
        "domkey": [
          "rolelevel"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": "级别",
        "labelcol": 6,
        "options": [
          {
            "key": "0",
            "selected": true,
            "showname": getLabel(6086, "岗位")
          }, {
            "key": "1",
            "selected": false,
            "showname": getLabel(141, "分部")
          }, {
            "key": "2",
            "selected": false,
            "showname": getLabel(140, "总部")
          }
        ],
        "viewAttr": 2
      }
    ], [
      {
        "colSpan": 2,
        "conditionType": "INPUT_INTERVAL",
        "domkey": [
          "seclevel",
          "seclevelMax"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(683, "安全级别"),
        "labelcol": 6,
        "value": [
          10,
          100
        ],
        "viewAttr": 2
      }
    ], [
      {
        "colSpan": 2,
        "conditionType": "SELECT",
        "domkey": [
          "sharelevel"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(385, "权限"),
        "labelcol": 6,
        "options": [
          {
            "key": "1",
            "selected": true,
            "showname": getLabel(367, "查看")
          }, {
            "key": "2",
            "selected": false,
            "showname": getLabel(93, "编辑")
          }
        ],
        "viewAttr": 2
      }
    ]
    ]
  }
]

export const GET_OFS_SEND_WHITE_HRM_CONDITIONS = (type) => {
  let options = [
    {
      "key": "1",
      "selected": true,
      "showname": getLabel(179, "人力资源")
    }, {
      "key": "2",
      "selected": false,
      "showname": getLabel(141, "分部")
    }, {
      "key": "3",
      "selected": false,
      "showname": getLabel('27511','部门')   
    }
    , {
      "key": "4",
      "selected": false,
      "showname": getLabel(122, "角色")
    }, {
      "key": "5",
      "selected": false,
      "showname": getLabel(1340, "所有人")
    }
  ];
  if(type != '1') {
    let index = options.findIndex(option => option.key === "5");
    if(index != -1) {
      options.splice(index, 1);
    }
  }
  return [
    {
      "colSpan": 2,
      "conditionType": "SELECT",
      "domkey": [
        "sharetype"
      ],
      "fieldcol": 18,
      "isQuickSearch": false,
      "label": getLabel(21956, "对象类型"),
      "labelcol": 6,
      "options": options,
      "viewAttr": 2
    }, {
      "3": [[
        {
          "browserConditionParam": {
            "completeParams": {},
            "conditionDataParams": {},
            "dataParams": {},
            "destDataParams": {},
            "hasAddBtn": false,
            "hasAdvanceSerach": true,
            "idSeparator": ",",
            "isAutoComplete": 1,
            "isDetail": 0,
            "isMultCheckbox": false,
            "isSingle": false,
            "pageSize": 10,
            "quickSearchName": "",
            "type": "57",
            "viewAttr": 3
          },
          "colSpan": 2,
          "conditionType": "BROWSER",
          "domkey": [
            "relatedshareid"
          ],
          "fieldcol": 18,
          "isQuickSearch": false,
          "label": getLabel(106, "对象"),
          "labelcol": 6,
          "viewAttr": 3
        }
      ], [
        {
          "colSpan": 2,
          "conditionType": "INPUT_INTERVAL",
          "domkey": [
            "seclevel",
            "seclevelMax"
          ],
          "fieldcol": 18,
          "isQuickSearch": false,
          "label": getLabel(683, "安全级别"),
          "labelcol": 6,
          "value": [
            10,
            100
          ],
          "viewAttr": 2
        }
      ]
      ],
      "2": [[
        {
          "browserConditionParam": {
            "completeParams": {},
            "conditionDataParams": {},
            "dataParams": {},
            "destDataParams": {},
            "hasAddBtn": false,
            "hasAdvanceSerach": true,
            "idSeparator": ",",
            "isAutoComplete": 1,
            "isDetail": 0,
            "isMultCheckbox": false,
            "isSingle": false,
            "pageSize": 10,
            "quickSearchName": "",
            "type": "194",
            "viewAttr": 3
          },
          "colSpan": 2,
          "conditionType": "BROWSER",
          "domkey": [
            "relatedshareid"
          ],
          "fieldcol": 18,
          "isQuickSearch": false,
          "label": getLabel(106, "对象"),
          "labelcol": 6,
          "value": 3,
          "viewAttr": 2
        }
      ], [
        {
          "colSpan": 2,
          "conditionType": "INPUT_INTERVAL",
          "domkey": [
            "seclevel",
            "seclevelMax"
          ],
          "fieldcol": 18,
          "isQuickSearch": false,
          "label": getLabel(683, "安全级别"),
          "labelcol": 6,
          "value": [
            10,
            0
          ],
          "viewAttr": 2
        }
      ]
      ],
      "1": [[
        {
          "browserConditionParam": {
            "completeParams": {},
            "conditionDataParams": {},
            "dataParams": {},
            "destDataParams": {},
            "hasAddBtn": false,
            "hasAdvanceSerach": true,
            "idSeparator": ",",
            "isAutoComplete": 1,
            "isDetail": 0,
            "isMultCheckbox": false,
            "isSingle": false,
            "pageSize": 10,
            "quickSearchName": "",
            "type": "17",
            "viewAttr": 3
          },
          "colSpan": 2,
          "conditionType": "BROWSER",
          "domkey": [
            "relatedshareid"
          ],
          "fieldcol": 18,
          "isQuickSearch": false,
          "label": getLabel(106, "对象"),
          "labelcol": 6,
          "viewAttr": 3
        }
      ]
      ],
      "11": [[
        {
          "browserConditionParam": {
            "completeParams": {},
            "conditionDataParams": {},
            "dataParams": {},
            "destDataParams": {},
            "hasAddBtn": false,
            "hasAdvanceSerach": true,
            "idSeparator": ",",
            "isAutoComplete": 1,
            "isDetail": 0,
            "isMultCheckbox": false,
            "isSingle": false,
            "pageSize": 10,
            "quickSearchName": "",
            "type": "278",
            "viewAttr": 3
          },
          "colSpan": 2,
          "conditionType": "BROWSER",
          "domkey": [
            "relatedshareid"
          ],
          "fieldcol": 18,
          "isQuickSearch": false,
          "label": getLabel(106, "对象"),
          "labelcol": 6,
          "viewAttr": 3
        }
      ], [
        {
          "colSpan": 2,
          "conditionType": "SELECT_LINKAGE",
          "domkey": [
            "joblevel"
          ],
          "fieldcol": 18,
          "isQuickSearch": false,
          "label": getLabel(28169, "岗位级别"),
          "labelcol": 6,
          "options": [
            {
              "key": "0",
              "selected": true,
              "showname": getLabel(140, "总部")
            }, {
              "key": "2",
              "selected": false,
              "showname": getLabel(19437, "指定分部")
            }, {
              "key": "1",
              "selected": false,
              "showname": getLabel(19438, "指定部门")
            }
          ],
          "selectLinkageDatas": {
            "1": {
              "browserConditionParam": {
                "completeParams": {},
                "conditionDataParams": {},
                "dataParams": {},
                "destDataParams": {},
                "hasAddBtn": false,
                "hasAdvanceSerach": true,
                "idSeparator": ",",
                "isAutoComplete": 1,
                "isDetail": 0,
                "isMultCheckbox": false,
                "isSingle": false,
                "pageSize": 10,
                "quickSearchName": "",
                "type": "57",
                "viewAttr": 3
              },
              "colSpan": 2,
              "conditionType": "BROWSER",
              "domkey": [
                "jobtitledepartment"
              ],
              "fieldcol": 18,
              "isQuickSearch": false,
              "label": "",
              "labelcol": 6,
              "viewAttr": 3
            },
            "2": {
              "browserConditionParam": {
                "completeParams": {},
                "conditionDataParams": {},
                "dataParams": {},
                "destDataParams": {},
                "hasAddBtn": false,
                "hasAdvanceSerach": true,
                "idSeparator": ",",
                "isAutoComplete": 1,
                "isDetail": 0,
                "isMultCheckbox": false,
                "isSingle": false,
                "pageSize": 10,
                "quickSearchName": "",
                "type": "194",
                "viewAttr": 3
              },
              "colSpan": 2,
              "conditionType": "BROWSER",
              "domkey": [
                "jobtitlesubcompany"
              ],
              "fieldcol": 18,
              "isQuickSearch": false,
              "label": "",
              "labelcol": 6,
              "viewAttr": 3
            }
          },
          "viewAttr": 2
        }
      ]
      ],
      "5": [[
        {
          "colSpan": 2,
          "conditionType": "INPUT_INTERVAL",
          "domkey": [
            "seclevel",
            "seclevelMax"
          ],
          "fieldcol": 18,
          "isQuickSearch": false,
          "label": getLabel(683, "安全级别"),
          "labelcol": 6,
          "value": [
            10,
            100
          ],
          "viewAttr": 2
        }
      ]
      ],
      "4": [[
        {
          "browserConditionParam": {
            "completeParams": {},
            "conditionDataParams": {},
            "dataParams": {},
            "destDataParams": {},
            "hasAddBtn": false,
            "hasAdvanceSerach": true,
            "idSeparator": ",",
            "isAutoComplete": 1,
            "isDetail": 0,
            "isMultCheckbox": false,
            "isSingle": false,
            "pageSize": 10,
            "quickSearchName": "",
            "type": "65",
            "viewAttr": 3
          },
          "colSpan": 2,
          "conditionType": "BROWSER",
          "domkey": [
            "relatedshareid"
          ],
          "fieldcol": 18,
          "isQuickSearch": false,
          "label": getLabel(106, "对象"),
          "labelcol": 6,
          "viewAttr": 3
        }, {
          "colSpan": 2,
          "conditionType": "SELECT",
          "domkey": [
            "rolelevel"
          ],
          "fieldcol": 18,
          "isQuickSearch": false,
          "label": getLabel(139, "级别"),
          "labelcol": 6,
          "options": [
            {
              "key": "0",
              "selected": true,
              "showname": getLabel(124, "部门")
            }, {
              "key": "1",
              "selected": false,
              "showname": getLabel(141, "分部")
            }, {
              "key": "2",
              "selected": false,
              "showname": getLabel(140, "总部")
            }
          ],
          "viewAttr": 2
        }
      ], [
        {
          "colSpan": 2,
          "conditionType": "INPUT_INTERVAL",
          "domkey": [
            "seclevel",
            "seclevelMax"
          ],
          "fieldcol": 18,
          "isQuickSearch": false,
          "label": getLabel(683, "安全级别"),
          "labelcol": 6,
          "value": [
            10,
            100
          ],
          "viewAttr": 2
        }
      ]
      ]
    }
  ]
}

export const OFS_SEND_WHITE_HRM_CONDITIONS = [

  {
    "colSpan": 2,
    "conditionType": "SELECT",
    "domkey": [
      "sharetype"
    ],
    "fieldcol": 18,
    "isQuickSearch": false,
    "label": getLabel(21956, "对象类型"),
    "labelcol": 6,
    "options": [
      {
        "key": "1",
        "selected": true,
        "showname": getLabel(179, "人力资源")
      }, {
        "key": "2",
        "selected": false,
        "showname": getLabel(141, "分部")
      }, {
        "key": "3",
        "selected": false,
        "showname": getLabel(124, "部门")
      }
      // , {
      //   "key": "11",
      //   "selected": false,
      //   "showname": getLabel(6086, "岗位")
      // }
      , {
        "key": "4",
        "selected": false,
        "showname": getLabel(122, "角色")
      }, {
        "key": "5",
        "selected": false,
        "showname": getLabel(1340, "所有人")
      }
    ],
    "viewAttr": 2
  }, {
    "3": [[
      {
        "browserConditionParam": {
          "completeParams": {},
          "conditionDataParams": {},
          "dataParams": {},
          "destDataParams": {},
          "hasAddBtn": false,
          "hasAdvanceSerach": true,
          "idSeparator": ",",
          "isAutoComplete": 1,
          "isDetail": 0,
          "isMultCheckbox": false,
          "isSingle": false,
          "pageSize": 10,
          "quickSearchName": "",
          "type": "57",
          "viewAttr": 3
        },
        "colSpan": 2,
        "conditionType": "BROWSER",
        "domkey": [
          "relatedshareid"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(106, "对象"),
        "labelcol": 6,
        "viewAttr": 3
      }
    ], [
      {
        "colSpan": 2,
        "conditionType": "INPUT_INTERVAL",
        "domkey": [
          "seclevel",
          "seclevelMax"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(683, "安全级别"),
        "labelcol": 6,
        "value": [
          10,
          100
        ],
        "viewAttr": 2
      }
    ]
    ],
    "2": [[
      {
        "browserConditionParam": {
          "completeParams": {},
          "conditionDataParams": {},
          "dataParams": {},
          "destDataParams": {},
          "hasAddBtn": false,
          "hasAdvanceSerach": true,
          "idSeparator": ",",
          "isAutoComplete": 1,
          "isDetail": 0,
          "isMultCheckbox": false,
          "isSingle": false,
          "pageSize": 10,
          "quickSearchName": "",
          "type": "194",
          "viewAttr": 3
        },
        "colSpan": 2,
        "conditionType": "BROWSER",
        "domkey": [
          "relatedshareid"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(106, "对象"),
        "labelcol": 6,
        "value": 3,
        "viewAttr": 2
      }
    ], [
      {
        "colSpan": 2,
        "conditionType": "INPUT_INTERVAL",
        "domkey": [
          "seclevel",
          "seclevelMax"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(683, "安全级别"),
        "labelcol": 6,
        "value": [
          10,
          0
        ],
        "viewAttr": 2
      }
    ]
    ],
    "1": [[
      {
        "browserConditionParam": {
          "completeParams": {},
          "conditionDataParams": {},
          "dataParams": {},
          "destDataParams": {},
          "hasAddBtn": false,
          "hasAdvanceSerach": true,
          "idSeparator": ",",
          "isAutoComplete": 1,
          "isDetail": 0,
          "isMultCheckbox": false,
          "isSingle": false,
          "pageSize": 10,
          "quickSearchName": "",
          "type": "17",
          "viewAttr": 3
        },
        "colSpan": 2,
        "conditionType": "BROWSER",
        "domkey": [
          "relatedshareid"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(106, "对象"),
        "labelcol": 6,
        "viewAttr": 3
      }
    ]
    ],
    "11": [[
      {
        "browserConditionParam": {
          "completeParams": {},
          "conditionDataParams": {},
          "dataParams": {},
          "destDataParams": {},
          "hasAddBtn": false,
          "hasAdvanceSerach": true,
          "idSeparator": ",",
          "isAutoComplete": 1,
          "isDetail": 0,
          "isMultCheckbox": false,
          "isSingle": false,
          "pageSize": 10,
          "quickSearchName": "",
          "type": "278",
          "viewAttr": 3
        },
        "colSpan": 2,
        "conditionType": "BROWSER",
        "domkey": [
          "relatedshareid"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(106, "对象"),
        "labelcol": 6,
        "viewAttr": 3
      }
    ], [
      {
        "colSpan": 2,
        "conditionType": "SELECT_LINKAGE",
        "domkey": [
          "joblevel"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(28169, "岗位级别"),
        "labelcol": 6,
        "options": [
          {
            "key": "0",
            "selected": true,
            "showname": getLabel(140, "总部")
          }, {
            "key": "2",
            "selected": false,
            "showname": getLabel(19437, "指定分部")
          }, {
            "key": "1",
            "selected": false,
            "showname": getLabel(19438, "指定部门")
          }
        ],
        "selectLinkageDatas": {
          "1": {
            "browserConditionParam": {
              "completeParams": {},
              "conditionDataParams": {},
              "dataParams": {},
              "destDataParams": {},
              "hasAddBtn": false,
              "hasAdvanceSerach": true,
              "idSeparator": ",",
              "isAutoComplete": 1,
              "isDetail": 0,
              "isMultCheckbox": false,
              "isSingle": false,
              "pageSize": 10,
              "quickSearchName": "",
              "type": "57",
              "viewAttr": 3
            },
            "colSpan": 2,
            "conditionType": "BROWSER",
            "domkey": [
              "jobtitledepartment"
            ],
            "fieldcol": 18,
            "isQuickSearch": false,
            "label": "",
            "labelcol": 6,
            "viewAttr": 3
          },
          "2": {
            "browserConditionParam": {
              "completeParams": {},
              "conditionDataParams": {},
              "dataParams": {},
              "destDataParams": {},
              "hasAddBtn": false,
              "hasAdvanceSerach": true,
              "idSeparator": ",",
              "isAutoComplete": 1,
              "isDetail": 0,
              "isMultCheckbox": false,
              "isSingle": false,
              "pageSize": 10,
              "quickSearchName": "",
              "type": "194",
              "viewAttr": 3
            },
            "colSpan": 2,
            "conditionType": "BROWSER",
            "domkey": [
              "jobtitlesubcompany"
            ],
            "fieldcol": 18,
            "isQuickSearch": false,
            "label": "",
            "labelcol": 6,
            "viewAttr": 3
          }
        },
        "viewAttr": 2
      }
    ]
    ],
    "5": [[
      {
        "colSpan": 2,
        "conditionType": "INPUT_INTERVAL",
        "domkey": [
          "seclevel",
          "seclevelMax"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(683, "安全级别"),
        "labelcol": 6,
        "value": [
          10,
          100
        ],
        "viewAttr": 2
      }
    ]
    ],
    "4": [[
      {
        "browserConditionParam": {
          "completeParams": {},
          "conditionDataParams": {},
          "dataParams": {},
          "destDataParams": {},
          "hasAddBtn": false,
          "hasAdvanceSerach": true,
          "idSeparator": ",",
          "isAutoComplete": 1,
          "isDetail": 0,
          "isMultCheckbox": false,
          "isSingle": false,
          "pageSize": 10,
          "quickSearchName": "",
          "type": "65",
          "viewAttr": 3
        },
        "colSpan": 2,
        "conditionType": "BROWSER",
        "domkey": [
          "relatedshareid"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(106, "对象"),
        "labelcol": 6,
        "viewAttr": 3
      }, {
        "colSpan": 2,
        "conditionType": "SELECT",
        "domkey": [
          "rolelevel"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(139, "级别"),
        "labelcol": 6,
        "options": [
          {
            "key": "0",
            "selected": true,
            "showname": getLabel(124, "部门")
          }, {
            "key": "1",
            "selected": false,
            "showname": getLabel(141, "分部")
          }, {
            "key": "2",
            "selected": false,
            "showname": getLabel(140, "总部")
          }
        ],
        "viewAttr": 2
      }
    ], [
      {
        "colSpan": 2,
        "conditionType": "INPUT_INTERVAL",
        "domkey": [
          "seclevel",
          "seclevelMax"
        ],
        "fieldcol": 18,
        "isQuickSearch": false,
        "label": getLabel(683, "安全级别"),
        "labelcol": 6,
        "value": [
          10,
          100
        ],
        "viewAttr": 2
      }
    ]
    ]
  }
]
