salary-management-front/pc4mobx/hrmSalary/pages/dataAcquisition/specialAddDeduction/components/condition.js

142 lines
3.3 KiB
JavaScript

import { WeaLocaleProvider } from "ecCom";
const getLabel = WeaLocaleProvider.getLabel;
export const condition = [
{
items: [
{
conditionType: "INPUT",
domkey: ["childrenEducation"],
fieldcol: 14,
label: getLabel(111, "子女教育"),
labelcol: 8,
value: "",
viewAttr: 2
},
{
conditionType: "INPUT",
domkey: ["continuingEducation"],
fieldcol: 14,
label: getLabel(111, "继续教育"),
labelcol: 8,
value: "",
viewAttr: 2
},
{
conditionType: "INPUT",
domkey: ["housingLoanInterest"],
fieldcol: 14,
label: getLabel(111, "住房贷款利息"),
labelcol: 8,
value: "",
viewAttr: 2
},
{
conditionType: "INPUT",
domkey: ["housingRent"],
fieldcol: 14,
label: getLabel(111, "住房租金"),
labelcol: 8,
value: "",
viewAttr: 2
},
{
conditionType: "INPUT",
domkey: ["supportingElder"],
fieldcol: 14,
label: getLabel(111, "赡养老人"),
labelcol: 8,
value: "",
viewAttr: 2
},
{
conditionType: "INPUT",
domkey: ["seriousIllnessTreatment"],
fieldcol: 14,
label: getLabel(111, "大病医疗"),
labelcol: 8,
value: "",
viewAttr: 2
},
{
conditionType: "INPUT",
domkey: ["infantCare"],
fieldcol: 14,
label: getLabel(111, "婴幼儿照护"),
labelcol: 8,
value: "",
viewAttr: 2
}
],
title: getLabel(111, "数据采集"),
defaultshow: true
}
];
export const searchCondition = [
{
items: [
{
conditionType: "INPUT",
domkey: ["username"],
fieldcol: 16,
label: getLabel(111, "姓名"),
labelcol: 8,
value: "",
viewAttr: 2
},
{
conditionType: "BROWSER",
domkey: ["departmentName"],
browserConditionParam: {
linkUrl: "/spa/hrm/engine.html#/hrmengine/organization?showTree=false&type=department&id=",
tabs: [
{
dataParams: null,
dataURL: null,
isSearch: false,
key: "2",
name: getLabel(111, "组织结构"),
selected: false,
showOrder: 0
},
{
dataParams: { list: "1" },
dataURL: null,
isSearch: true,
key: "1",
name: getLabel(111, "按列表"),
selected: false,
showOrder: 0
}
],
title: getLabel(111, "部门"),
type: "4",
viewAttr: 2,
pageSize: 10,
noOperate: true,
isMultCheckbox: false,
icon: "icon-coms-hrm",
iconBgcolor: "#217346"
},
fieldcol: 16,
label: getLabel(111, "部门"),
labelcol: 8,
value: "",
viewAttr: 2
},
{
conditionType: "INPUT",
domkey: ["jobNum"],
fieldcol: 16,
label: getLabel(111, "工号"),
labelcol: 8,
value: "",
viewAttr: 2
}
],
title: getLabel(111, "常用条件"),
defaultshow: true
}
];