import moment from "moment";

export const htconditions = [
  {
    items: [
      {
        conditionType: "INPUT",
        domkey: ["userName"],
        fieldcol: 16,
        label: "姓名",
        lanId: 25034,
        labelcol: 8,
        value: "",
        viewAttr: 2
      },
      {
        browserConditionParam: {
          completeParams: {},
          conditionDataParams: {},
          dataParams: {},
          destDataParams: {},
          hasAddBtn: false,
          hasAdvanceSerach: false,
          idSeparator: ",",
          isAutoComplete: 1,
          isDetail: 0,
          isMultCheckbox: false,
          isSingle: false,
          icon: "icon-coms-hrm",
          linkUrl: "",
          pageSize: 10,
          quickSearchName: "",
          replaceDatas: [],
          title: "",
          type: "57",
          viewAttr: 2
        },
        conditionType: "BROWSER",
        domkey: ["departmentIds"],
        fieldcol: 16,
        label: "部门",
        lanId: 27511,
        labelcol: 8,
        viewAttr: 2
      }
    ],
    defaultshow: true,
    title: ""
  }
];
export const htReportConditions = [
  {
    items: [
      {
        conditionType: "MONTHPICKER",
        domkey: ["billMonth"],
        fieldcol: 16,
        label: "账单月份",
        lanId: 111,
        labelcol: 8,
        value: moment(new Date()).format("YYYY-MM"),
        viewAttr: 2
      }
    ],
    defaultshow: true,
    title: ""
  }
];

