export const columns = [
  {
    title: "姓名",
    dataIndex: "username",
    key: "username"
  },
  {
    title: "个税扣缴义务人",
    dataIndex: "ywr",
    key: "ywr"
  },
  {
    title: "部门",
    dataIndex: "bm",
    key: "title"
  },
  {
    title: "手机号",
    dataIndex: "sjh",
    key: "sjh"
  },
  {
    title: "工号",
    dataIndex: "gh",
    key: "gh"
  },
  {
    title: "证件号码",
    dataIndex: "sfzh",
    key: "sfzh"
  },
  {
    title: "入职日期",
    dataIndex: "rzrq",
    key: "rzrq"
  },
  {
    title: "累计子女教育",
    dataIndex: "ljznjy",
    key: "ljznjy"
  },
  {
    title: "累计继续教育",
    dataIndex: "ljjxjy",
    key: "ljjxjy"
  },
  {
    title: "累计住房贷款利息",
    dataIndex: "ljzfdklx",
    key: "ljfdklx"
  },
  {
    title: "累计住房租金",
    dataIndex: "ljzfzj",
    key: "ljzfzj"
  },
  {
    title: "累计赡养老人",
    dataIndex: "ljsylr",
    key: "ljsylr"
  },
  {
    title: "操作",
    dataIndex: "cz",
    key: "cz",
    render: (text, record) => {

    }
  }
];
export const fieldsColumns = [
  {
    title: "id",
    dataIndex: "id",
    key: "id",
    display: true
  },
  {
    title: "字段名称",
    dataIndex: "fieldName",
    key: "fieldName",
    display: true
  },
  {
    title: "来源",
    dataIndex: "sourceType",
    key: "sourceType",
    display: true
  },
  {
    title: "类型",
    dataIndex: "fieldType",
    key: "fieldType",
    display: true
  },
  {
    title: "是否启用",
    dataIndex: "enableStatus",
    key: "enableStatus",
    display: true
  },
  {
    title: "备注",
    dataIndex: "description",
    key: "description",
    display: true
  }
];
export const conditions = [
  {
    items: [
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["fieldName"],
        fieldcol: 14,
        rules: "required|string",
        label: "字段名称",
        labelcol: 6,
        value: "",
        viewAttr: 3
      },
      {
        colSpan: 1,
        conditionType: "SELECT",
        domkey: ["fieldType"],
        fieldcol: 14,
        isQuickSearch: false,
        label: "类型",
        labelcol: 6,
        valueList: [],
        options: [
          {
            key: "NUMBER",
            selected: true,
            showname: "数值"
          },
          {
            key: "TEXT",
            selected: false,
            showname: "文本"
          }
        ],
        rules: "required|string",
        viewAttr: 3
      },
      {
        colSpan: 1,
        conditionType: "SWITCH",
        domkey: ["enableStatus"],
        fieldcol: 14,
        label: "是否启用",
        labelcol: 6,
        viewAttr: 3,
        rules: "required"
      },
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["description"],
        fieldcol: 14,
        label: "备注",
        labelcol: 6,
        value: "",
        viewAttr: 2
      }
    ],
    defaultshow: true
  }
];
export const reFrenceConditions = [
  {
    items: [
      {
        colSpan: 1,
        conditionType: "MONTHPICKER",
        domkey: ["salaryYearMonth"],
        fieldcol: 18,
        rules: "required|string",
        label: "薪资所属月",
        labelcol: 6,
        value: "",
        viewAttr: 3
      },
      {
        colSpan: 1,
        conditionType: "SELECT",
        domkey: ["salarySobIds"],
        fieldcol: 18,
        isQuickSearch: false,
        label: "薪资账套",
        labelcol: 6,
        valueList: [],
        options: [],
        multiple: true,
        rules: "required|string",
        viewAttr: 3
      },
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["description"],
        fieldcol: 18,
        label: "备注",
        labelcol: 6,
        value: "",
        viewAttr: 2
      }
    ],
    defaultshow: true
  }
];


