export const copyConditions = [
  {
    items: [
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["name"],
        fieldcol: 14,
        label: "工资单名称",
        lanId: 543600,
        labelcol: 6,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        colSpan: 1,
        conditionType: "SELECT",
        domkey: ["salarySobId"],
        fieldcol: 14,
        label: "薪资账套",
        lanId: 538010,
        labelcol: 6,
        value: "",
        options: [],
        rules: "required|string",
        viewAttr: 3
      }
    ],
    defaultshow: true,
    title: ""
  }
];

export const tempBaseSetConditions = [
  {
    items: [
      {
        colSpan: 1,
        conditionType: "SELECT",
        domkey: ["salarySob"],
        fieldcol: 14,
        label: "薪资账套",
        lanId: 538010,
        labelcol: 6,
        options: [],
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["name"],
        fieldcol: 14,
        label: "工资单模板名称",
        rules: "required|string",
        lanId: 543584,
        labelcol: 6,
        value: "",
        viewAttr: 3
      },
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["replenishName"],
        fieldcol: 14,
        label: "补发工资单模板名称",
        lanId: 543585,
        labelcol: 6,
        rules: "required|string",
        value: "",
        viewAttr: 3
      },
      {
        colSpan: 1,
        conditionType: "SELECT",
        domkey: ["reissueRule"],
        fieldcol: 14,
        label: "补发工资单名单生成规则",
        lanId: 543586,
        labelcol: 6,
        options: [],
        value: "0",
        detailtype: 3,
        rules: "required|string",
        viewAttr: 3
      },
      {
        colSpan: 1,
        conditionType: "SELECT",
        domkey: ["replenishRule"],
        fieldcol: 14,
        label: "规则设置",
        lanId: 126876,
        labelcol: 6,
        options: [],
        value: "",
        hide: true
      },
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["description"],
        fieldcol: 14,
        label: "备注",
        lanId: 536726,
        labelcol: 6,
        value: "",
        viewAttr: 2
      }
    ],
    defaultshow: true,
    title: "baseSet"
  },
  {
    items: [
      {
        colSpan: 1,
        conditionType: "SWITCH",
        domkey: ["msgStatus"],
        fieldcol: 2,
        label: "系统消息",
        lanId: 543707,
        labelcol: 6,
        value: "1",
        viewAttr: 2
      },
      {
        colSpan: 1,
        conditionType: "SWITCH",
        domkey: ["emailStatus"],
        fieldcol: 2,
        label: "邮件",
        lanId: 71,
        labelcol: 6,
        value: "0",
        viewAttr: 2
      },
      {
        colSpan: 1,
        conditionType: "SWITCH",
        domkey: ["smsStatus"],
        fieldcol: 2,
        label: "短信",
        lanId: 111,
        labelcol: 6,
        value: "0",
        viewAttr: 2
      },
      {
        colSpan: 1,
        conditionType: "TEXTAREA",
        domkey: ["smsSetting"],
        fieldcol: 14,
        label: "短信设置",
        lanId: 111,
        labelcol: 6,
        value: "",
        hide: true
      },
      {
        colSpan: 1,
        conditionType: "SWITCH",
        domkey: ["autoSendStatus"],
        fieldcol: 2,
        label: "定时发送",
        lanId: 32028,
        labelcol: 6,
        value: "0",
        viewAttr: 2
      }
    ],
    defaultshow: true,
    title: "sendSet"
  }
];
export const tempBaseSetFbConditions = [
  {
    items: [
      {
        colSpan: 1,
        conditionType: "SWITCH",
        domkey: ["ackFeedbackStatus"],
        fieldcol: 2,
        label: "启用工资单确认",
        lanId: 544094,
        labelcol: 6,
        value: "1",
        viewAttr: 2
      },
      {
        colSpan: 1,
        conditionType: "INPUTNUMBER",
        domkey: ["autoAckDays"],
        fieldcol: 14,
        label: "自动确认超时天数",
        lanId: 544095,
        labelcol: 6,
        value: 7,
        viewAttr: 3,
        hide: false,
        rules: "required"
      },
      {
        colSpan: 1,
        conditionType: "SWITCH",
        domkey: ["feedbackStatus"],
        fieldcol: 2,
        label: "启用工资单反馈",
        lanId: 111,
        labelcol: 6,
        value: "1",
        viewAttr: 2
      },
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["feedbackUrl"],
        fieldcol: 14,
        label: "PC端反馈流程地址",
        lanId: 111,
        labelcol: 6,
        value: "/",
        viewAttr: 3,
        hide: false,
        rules: "required|string"
      },
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["mobileFeedbackUrl"],
        fieldcol: 14,
        label: "移动端反馈流程地址",
        lanId: 111,
        labelcol: 6,
        value: "/",
        viewAttr: 3,
        hide: false,
        rules: "required|string"
      }
    ],
    defaultshow: true,
    title: "feedbackSet"
  }
];

//正常工资单模板主题设置
export const tempNormalSetConditions = [
  {
    items: [
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["theme"],
        fieldcol: 8,
        label: "工资单标题",
        lanId: 543588,
        labelcol: 6,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        colSpan: 1,
        conditionType: "UPLOAD",
        domkey: ["background"],
        fieldcol: 10,
        label: "工资单图片",
        lanId: 543589,
        labelcol: 6,
        value: "",
        showClearAll: false,
        showListBottom: false,
        showListTop: false,
        // listType: "img",
        limitType: "jpg,jpeg,png",
        uploadUrl: "/api/doc/upload/uploadFile",
        category: "string",
        maxFilesNumber: 1,
        viewAttr: 2
      },
      {
        colSpan: 1,
        conditionType: "TEXTAREA",
        domkey: ["textContent"],
        fieldcol: 14,
        label: "文本内容",
        lanId: 20749,
        labelcol: 6,
        value: "",
        viewAttr: 2
      },
      {
        colSpan: 1,
        conditionType: "SELECT",
        domkey: ["textContentPosition"],
        fieldcol: 14,
        label: "文本内容位置",
        lanId: 543590,
        labelcol: 6,
        options: [],
        value: "",
        detailtype: 3,
        viewAttr: 2
      },
      {
        colSpan: 1,
        conditionType: "SWITCH",
        domkey: ["salaryItemNullStatus"],
        fieldcol: 2,
        label: "薪资项为空时不显示",
        lanId: 543591,
        labelcol: 6,
        value: "",
        viewAttr: 2
      },
      {
        colSpan: 1,
        conditionType: "SWITCH",
        domkey: ["salaryItemZeroStatus"],
        fieldcol: 2,
        label: "薪资项为0时不显示",
        lanId: 543592,
        labelcol: 6,
        value: "",
        viewAttr: 2
      }
    ],
    defaultshow: true,
    title: "themeSet"
  }
];

