198 lines
4.5 KiB
JavaScript
198 lines
4.5 KiB
JavaScript
import React from "react";
|
|
import { WeaLocaleProvider } from "ecCom";
|
|
|
|
const getLabel = WeaLocaleProvider.getLabel;
|
|
|
|
export const conditions = [
|
|
{
|
|
items: [
|
|
{
|
|
conditionType: "SELECT",
|
|
domkey: ["orderRule"],
|
|
fieldcol: 10,
|
|
label: getLabel(15512, "排序字段"),
|
|
labelcol: 8,
|
|
options: [],
|
|
viewAttr: 2
|
|
},
|
|
{
|
|
conditionType: "SELECT",
|
|
domkey: ["ascOrDesc"],
|
|
fieldcol: 10,
|
|
label: getLabel(543351, "正序/倒序"),
|
|
labelcol: 8,
|
|
options: [],
|
|
viewAttr: 2
|
|
}
|
|
],
|
|
title: getLabel(543356, "排序规则"),
|
|
defaultshow: true
|
|
},
|
|
{
|
|
items: [
|
|
{
|
|
conditionType: "SELECT",
|
|
domkey: ["rule"],
|
|
fieldcol: 10,
|
|
label: getLabel(543352, "人员字段"),
|
|
labelcol: 8,
|
|
options: [],
|
|
viewAttr: 2
|
|
}
|
|
],
|
|
title: getLabel(543357, "人员校验规则"),
|
|
defaultshow: true
|
|
},
|
|
{
|
|
items: [
|
|
{
|
|
conditionType: "SWITCH",
|
|
domkey: ["OPEN_APPLICATION_ENCRYPT"],
|
|
fieldcol: 10,
|
|
label: getLabel(526997, "加密设置"),
|
|
labelcol: 8,
|
|
viewAttr: 2
|
|
}
|
|
],
|
|
title: getLabel(543358, "加密规则"),
|
|
defaultshow: true
|
|
},
|
|
{
|
|
items: [
|
|
{
|
|
conditionType: "SWITCH",
|
|
domkey: ["taxDeclarationFunction"],
|
|
fieldcol: 10,
|
|
label: getLabel(111, "系统算税"),
|
|
labelcol: 8,
|
|
viewAttr: 1
|
|
},
|
|
{
|
|
conditionType: "SWITCH",
|
|
domkey: ["WITHDRAW_TAX_DECLARATION"],
|
|
fieldcol: 10,
|
|
label: getLabel(111, "撤回申报表"),
|
|
labelcol: 8,
|
|
viewAttr: 2
|
|
}
|
|
],
|
|
title: getLabel(111, "算税规则"),
|
|
defaultshow: true
|
|
},
|
|
{
|
|
items: [
|
|
{
|
|
conditionType: "SWITCH",
|
|
domkey: ["salaryArchiveDelete"],
|
|
fieldcol: 10,
|
|
label: getLabel(111, "允许删除档案"),
|
|
labelcol: 8,
|
|
viewAttr: 2
|
|
}
|
|
],
|
|
title: getLabel(538004, "薪资档案"),
|
|
defaultshow: true
|
|
},
|
|
{
|
|
items: [
|
|
{
|
|
conditionType: "SWITCH",
|
|
domkey: ["welBaseDiffByPerAndCom"],
|
|
fieldcol: 10,
|
|
label: getLabel(111, "区分个人和公司"),
|
|
labelcol: 8,
|
|
viewAttr: 2
|
|
},
|
|
{
|
|
conditionType: "SWITCH",
|
|
domkey: ["welBaseAutoAdjust"],
|
|
fieldcol: 10,
|
|
label: getLabel(111, "导入基数自动调整上/下限"),
|
|
labelcol: 8,
|
|
viewAttr: 2
|
|
}
|
|
],
|
|
title: getLabel(111, "福利档案基数"),
|
|
defaultshow: true
|
|
},
|
|
{
|
|
items: [
|
|
{
|
|
conditionType: "SELECT",
|
|
domkey: ["matchRule"],
|
|
fieldcol: 10,
|
|
label: getLabel(111, "匹配规则"),
|
|
options: [],
|
|
labelcol: 8,
|
|
viewAttr: 2
|
|
}
|
|
],
|
|
title: getLabel(111, "薪资核算人员匹配规则"),
|
|
defaultshow: true
|
|
},
|
|
{
|
|
items: [
|
|
{
|
|
conditionType: "INPUTNUMBER",
|
|
domkey: ["salaryAcctFixedColumns"],
|
|
fieldcol: 10,
|
|
label: getLabel(111, "固定数"),
|
|
labelcol: 8,
|
|
viewAttr: 2
|
|
}
|
|
],
|
|
title: getLabel(111, "薪资核算固定列头数"),
|
|
defaultshow: true
|
|
},
|
|
{
|
|
items: [
|
|
{
|
|
conditionType: "SWITCH",
|
|
domkey: ["extEmpsWitch"],
|
|
fieldcol: 10,
|
|
label: getLabel(111, "开启非系统人员"),
|
|
labelcol: 8,
|
|
viewAttr: 2
|
|
}
|
|
],
|
|
title: getLabel(111, "非系统人员"),
|
|
defaultshow: true
|
|
},
|
|
{
|
|
items: [
|
|
{
|
|
conditionType: "SWITCH",
|
|
domkey: ["salaryShowStatus"],
|
|
fieldcol: 10,
|
|
label: getLabel(111, "显示工资单页签"),
|
|
labelcol: 8,
|
|
viewAttr: 2
|
|
},
|
|
{
|
|
conditionType: "SWITCH",
|
|
domkey: ["adjustShowStatus"],
|
|
fieldcol: 10,
|
|
label: getLabel(111, "显示调薪记录页签"),
|
|
labelcol: 8,
|
|
viewAttr: 2
|
|
},
|
|
{
|
|
conditionType: "SWITCH",
|
|
domkey: ["taxAgentShowStatus"],
|
|
fieldcol: 10,
|
|
label: getLabel(111, "显示【个税扣缴义务人】信息"),
|
|
labelcol: 8,
|
|
viewAttr: 2
|
|
}
|
|
],
|
|
title: getLabel(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" }
|
|
];
|