Merge branch 'hotfix/2.8.3.2307.02' into release/2.8.3.2307.02
This commit is contained in:
commit
f323bc6b7c
|
|
@ -87,7 +87,7 @@ class CustomBenefitsTable extends Component {
|
|||
handleCustomBenefitsSwitch = ({ id }, isUse) => {
|
||||
Modal.confirm({
|
||||
title: "信息确认",
|
||||
content: `确认要${isUse ? "启用" : "停用"}吗`,
|
||||
content: `确认要${isUse === "1" ? "启用" : "停用"}吗`,
|
||||
onOk: () => {
|
||||
const payload = { id, isUse };
|
||||
updateCustomCategoryStatus(payload).then(({ status, errormsg }) => {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ import CopySchemaModal from "./copySchemaModal";
|
|||
import CustomBenefitsTable from "./customBenefitsTable";
|
||||
import "./index.less";
|
||||
|
||||
|
||||
const { getLabel } = WeaLocaleProvider;
|
||||
@inject("programmeStore", "taxAgentStore", "salaryFileStore")
|
||||
@observer
|
||||
|
|
|
|||
Loading…
Reference in New Issue