export const condition = [
  {
    items: [
      {
        conditionType: "SELECT",
        domkey: ["taxAgentId"],
        fieldcol: 12,
        label: "个税扣缴义务人",
        lanId: 537996,
        labelcol: 8,
        value: "",
        options: [],
        rules: "required|string",
        viewAttr: 3
      },
      {
        browserConditionParam: {
          completeParams: {},
          conditionDataParams: {},
          dataParams: {},
          destDataParams: {},
          hasAddBtn: false,
          hasAdvanceSerach: true,
          idSeparator: ",",
          isAutoComplete: 1,
          isDetail: 0,
          isMultCheckbox: false,
          isSingle: true,
          linkUrl: "",
          pageSize: 10,
          quickSearchName: "",
          replaceDatas: [],
          type: "1",
          viewAttr: 3
        },
        colSpan: 2,
        conditionType: "BROWSER",
        domkey: ["employeeId"],
        fieldcol: 12,
        isQuickSearch: false,
        label: "人员",
        lanId: 30042,
        labelcol: 8,
        rules: "required",
        viewAttr: 3
      }
    ],
    title: "基础信息",
    defaultshow: true,
    col: 1
  },
  {
    items: [
      {
        conditionType: "INPUTNUMBER",
        domkey: ["childrenEducation"],
        fieldcol: 14,
        label: "子女教育",
        labelcol: 8,
        value: "",
        precision: 2,
        viewAttr: 2
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["continuingEducation"],
        fieldcol: 14,
        label: "继续教育",
        labelcol: 8,
        value: "",
        precision: 2,
        viewAttr: 2
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["housingLoanInterest"],
        fieldcol: 14,
        label: "住房贷款利息",
        labelcol: 8,
        value: "",
        precision: 2,
        viewAttr: 2
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["housingRent"],
        fieldcol: 14,
        label: "住房租金",
        labelcol: 8,
        value: "",
        precision: 2,
        viewAttr: 2
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["supportingElder"],
        fieldcol: 14,
        label: "赡养老人",
        labelcol: 8,
        value: "",
        precision: 2,
        viewAttr: 2
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["seriousIllnessTreatment"],
        fieldcol: 14,
        label: "大病医疗",
        labelcol: 8,
        value: "",
        precision: 2,
        viewAttr: 2
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["infantCare"],
        fieldcol: 14,
        label: "婴幼儿照护",
        labelcol: 8,
        value: "",
        precision: 2,
        viewAttr: 2
      }
    ],
    title: "数据采集",
    defaultshow: true,
    col: 2
  }
];

export const searchCondition = [
  {
    items: [
      {
        conditionType: "INPUT",
        domkey: ["username"],
        fieldcol: 16,
        label: "姓名",
        labelcol: 8,
        value: "",
        viewAttr: 2
      },
      {
        conditionType: "BROWSER",
        domkey: ["departmentName"],
        browserConditionParam: {
          linkUrl: "/spa/hrm/engine.html#/hrmengine/organization?showTree=false&type=department&id=",
          tabs: [
            {
              dataParams: null,
              dataURL: null,
              isSearch: false,
              key: "2",
              name: "组织结构",
              selected: false,
              showOrder: 0
            },
            {
              dataParams: { list: "1" },
              dataURL: null,
              isSearch: true,
              key: "1",
              name: "按列表",
              selected: false,
              showOrder: 0
            }
          ],
          title: "部门",
          type: "4",
          viewAttr: 2,
          pageSize: 10,
          noOperate: true,
          isMultCheckbox: false,
          icon: "icon-coms-hrm",
          iconBgcolor: "#217346"
        },
        fieldcol: 16,
        label: "部门",
        labelcol: 8,
        value: "",
        viewAttr: 2
      },
      {
        conditionType: "INPUT",
        domkey: ["jobNum"],
        fieldcol: 16,
        label: "工号",
        labelcol: 8,
        value: "",
        viewAttr: 2
      }
    ],
    title: "常用条件",
    defaultshow: true
  }
];
