|
|
|
@ -41,10 +41,16 @@ const customTableTitle: FunctionComponent<Props> = (props) => {
|
|
|
|
|
{
|
|
|
|
|
!!lockStatus && !calcDetail &&
|
|
|
|
|
<div className={styles["toogle-lock-tool"]}>
|
|
|
|
|
<Icon type="icon-piliangsuoding" title={i18n["点击锁定所有解锁的项目值"]}
|
|
|
|
|
onClick={() => handleToggleSalaryItemVal(dataIndex as string, "LOCK")}/>
|
|
|
|
|
<Icon type="icon-piliangjiesuo" title={i18n["点击解锁所有锁定的项目值"]}
|
|
|
|
|
onClick={() => handleToggleSalaryItemVal(dataIndex as string, "UNLOCK")}/>
|
|
|
|
|
{
|
|
|
|
|
lockStatus === "UNLOCK" &&
|
|
|
|
|
<Icon type="icon-piliangsuoding" title={i18n["点击锁定所有解锁的项目值"]}
|
|
|
|
|
onClick={() => handleToggleSalaryItemVal(dataIndex as string, "LOCK")}/>
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
lockStatus === "LOCK" &&
|
|
|
|
|
<Icon type="icon-piliangjiesuo" title={i18n["点击解锁所有锁定的项目值"]}
|
|
|
|
|
onClick={() => handleToggleSalaryItemVal(dataIndex as string, "UNLOCK")}/>
|
|
|
|
|
}
|
|
|
|
|
<Icon type="icon-pilianggengxin" title={i18n["批量更新"]}
|
|
|
|
|
onClick={() => handleToggleSalaryItemVal(dataIndex as string, "BATCHUPDATE", {
|
|
|
|
|
pattern, salaryItemName: title, dataType
|
|
|
|
|