export const conditions = [
  {
    items: [
      {
        conditionType: "SELECT",
        domkey: ["rule"],
        fieldcol: 10,
        label: "人员字段",
        lanId: 543352,
        labelcol: 8,
        options: [],
        viewAttr: 2
      }
    ],
    title: "人员校验规则",
    lanId: 543357,
    defaultshow: true
  },
  {
    items: [
      {
        conditionType: "SELECT",
        domkey: ["orderRule"],
        fieldcol: 10,
        label: "排序字段",
        lanId: 15512,
        labelcol: 8,
        options: [],
        viewAttr: 2
      },
      {
        conditionType: "SELECT",
        domkey: ["ascOrDesc"],
        fieldcol: 10,
        label: "正序/倒序",
        lanId: 543351,
        labelcol: 8,
        options: [],
        viewAttr: 2
      }
    ],
    title: "排序规则",
    lanId: 543356,
    defaultshow: true
  },
  {
    items: [
      {
        conditionType: "SWITCH",
        domkey: ["OPEN_APPLICATION_ENCRYPT"],
        fieldcol: 10,
        label: "加密设置",
        lanId: 526997,
        labelcol: 8,
        viewAttr: 2
      }
    ],
    title: "加密规则",
    lanId: 543358,
    defaultshow: true
  },
  {
    items: [
      {
        conditionType: "SWITCH",
        domkey: ["openSecondaryAccount"],
        fieldcol: 10,
        label: "启用主次账号",
        tip: "启用后，若有次账号相关档案，则此功能不能关闭。",
        tipLanId: 111,
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      }
    ],
    title: "主次身份",
    lanId: 111,
    defaultshow: true
  },
  {
    items: [
      {
        conditionType: "SWITCH",
        domkey: ["salaryShowStatus"],
        fieldcol: 10,
        label: "显示工资单页签",
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      },
      {
        conditionType: "SWITCH",
        domkey: ["adjustShowStatus"],
        fieldcol: 10,
        label: "显示调薪记录页签",
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      },
      {
        conditionType: "SWITCH",
        domkey: ["taxAgentShowStatus"],
        fieldcol: 10,
        label: "显示【个税扣缴义务人】信息",
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      }
    ],
    title: "我的薪资福利设置",
    lanId: 111,
    defaultshow: true
  },
  {
    items: [
      {
        conditionType: "SWITCH",
        domkey: ["welBaseDiffByPerAndCom"],
        fieldcol: 10,
        label: "区分个人和公司",
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      },
      {
        conditionType: "SWITCH",
        domkey: ["welBaseAutoAdjust"],
        fieldcol: 10,
        label: "导入基数自动调整上/下限",
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      }
    ],
    title: "福利档案基数",
    lanId: 111,
    defaultshow: true
  },
  {
    items: [
      {
        conditionType: "SWITCH",
        domkey: ["salaryArchiveDelete"],
        fieldcol: 10,
        label: "允许删除档案",
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      }
    ],
    title: "薪资档案",
    lanId: 538004,
    defaultshow: true
  },
  {
    items: [
      {
        conditionType: "SWITCH",
        domkey: ["ATTENDANCE_SERIAL_COLLECTION_BTN"],
        fieldcol: 10,
        label: "考勤引用是否采集班次数据",
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      }
    ],
    title: "数据采集",
    lanId: 111,
    defaultshow: true
  },
  {
    items: [
      {
        conditionType: "SELECT",
        domkey: ["matchRule"],
        fieldcol: 10,
        label: "匹配规则",
        lanId: 111,
        options: [],
        labelcol: 8,
        viewAttr: 2
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["salaryAcctFixedColumns"],
        fieldcol: 10,
        label: "固定数",
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      },
      {
        conditionType: "SWITCH",
        domkey: ["SHOT_EMP_BTN"],
        fieldcol: 10,
        label: "启用人事信息快照",
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      },
      {
        conditionType: "SWITCH",
        domkey: ["SALARY_ACCT_SYNC_TYPE"],
        fieldcol: 10,
        label: "是否采用线程池",
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      }
    ],
    title: "薪资核算",
    lanId: 111,
    defaultshow: true
  },
  {
    items: [
      {
        conditionType: "SWITCH",
        domkey: ["taxDeclarationFunction"],
        fieldcol: 10,
        label: "系统算税",
        lanId: 111,
        labelcol: 8,
        viewAttr: 1
      },
      {
        conditionType: "SWITCH",
        domkey: ["WITHDRAW_TAX_DECLARATION"],
        fieldcol: 10,
        label: "撤回申报表",
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      },
      {
        conditionType: "SELECT",
        domkey: ["TAX_DECLARATION_DATE_TYPE"],
        fieldcol: 10,
        label: "申报日期类型",
        lanId: 111,
        labelcol: 8,
        options: [],
        viewAttr: 2
      }
    ],
    title: "算税规则",
    lanId: 111,
    defaultshow: true
  },
  {
    items: [
      {
        conditionType: "SELECT",
        domkey: ["REPORT_ORGANIZATIN_TYPE"],
        fieldcol: 10,
        label: "组织信息",
        lanId: 111,
        options: [],
        labelcol: 8,
        viewAttr: 2
      },
      // {
      //   conditionType: "SELECT",
      //   domkey: ["SALARY_DETAILS_REPORT_SHOW_TYPE"],
      //   fieldcol: 10,
      //   label: "薪资明细显示模式",
      //   lanId: 111,
      //   options: [],
      //   labelcol: 8,
      //   viewAttr: 2
      // }
    ],
    title: "薪资报表",
    lanId: 111,
    defaultshow: true
  }
  // {
  //   items: [
  //     {
  //       conditionType: "SWITCH",
  //       domkey: ["extEmpsWitch"],
  //       fieldcol: 10,
  //       label: "开启非系统人员",
  //       lanId: 111,
  //       labelcol: 8,
  //       viewAttr: 2
  //     }
  //   ],
  //   title: "非系统人员",
  //   lanId: 111,
  //   defaultshow: true
  // },
];
export const salaryApprovalConditions = [
  {
    items: [
      {
        conditionType: "SWITCH",
        domkey: ["SALARY_APPROVAL_STATUS"],
        fieldcol: 10,
        label: "薪资审批",
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      },
      {
        conditionType: "SWITCH",
        domkey: ["APPROVAL_CAN_MANUAL_FILE_STATUS"],
        fieldcol: 10,
        label: "开启审批的核算记录允许手动归档",
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      },
      {
        conditionType: "SWITCH",
        domkey: ["APPROVAL_CAN_RE_CALC_STATUS"],
        fieldcol: 10,
        label: "开启审批的核算记录允许重新核算",
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      },
      {
        conditionType: "SWITCH",
        domkey: ["APPROVAL_CAN_EDIT_RESULT_STATUS"],
        fieldcol: 10,
        label: "审批流程发起后允许修改核算数据",
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      }
    ],
    title: "薪资审批设置",
    lanId: 111,
    defaultshow: true
  }
];
export const payloadList = [
  { enumClass: "com.engine.salary.sys.enums.SalaryAcctEmployeeRuleEnum" },
  { enumClass: "com.engine.salary.sys.enums.OrderRuleEnum" },
  { enumClass: "com.engine.salary.sys.enums.AscOrDescEnum" },
  { enumClass: "com.engine.salary.sys.enums.MatchEmployeeModeEnum" }
];
