release/2.18.1.2412.01

This commit is contained in:
lys 2024-12-17 16:03:52 +08:00
parent d9844eed9b
commit ef1c529941
2 changed files with 19 additions and 1 deletions

View File

@ -152,6 +152,22 @@ export const conditions = [
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: [
{

View File

@ -153,6 +153,7 @@ class RuleConfig extends Component {
case "APPROVAL_CAN_MANUAL_FILE_STATUS":
case "APPROVAL_CAN_RE_CALC_STATUS":
case "APPROVAL_CAN_EDIT_RESULT_STATUS":
case "ATTENDANCE_SERIAL_COLLECTION_BTN":
if (!this.handleDebounce) {
this.handleDebounce = _.debounce(() => {
const confTitle = {
@ -169,7 +170,8 @@ class RuleConfig extends Component {
SALARY_APPROVAL_STATUS: getLabel(111, "是否开启薪资审批"),
APPROVAL_CAN_MANUAL_FILE_STATUS: getLabel(111, "开启审批的核算记录允许手动归档"),
APPROVAL_CAN_RE_CALC_STATUS: getLabel(111, "开启审批的核算记录允许重新核算"),
APPROVAL_CAN_EDIT_RESULT_STATUS: getLabel(111, "审批流程发起后允许修改核算数据")
APPROVAL_CAN_EDIT_RESULT_STATUS: getLabel(111, "审批流程发起后允许修改核算数据"),
ATTENDANCE_SERIAL_COLLECTION_BTN: getLabel(111, "考勤引用是否采集班次数据")
};
this.unifiedSettings(key, confTitle[key]);
this.handleDebounce = null;