master
This commit is contained in:
parent
9c2dce83f7
commit
dbe3ba0e9d
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue