From 192533e8470deca91d4c5b1754cf49c52ff01da0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Tue, 18 Jul 2023 16:01:45 +0800 Subject: [PATCH] =?UTF-8?q?bug-=E8=87=AA=E5=AE=9A=E4=B9=89=E7=A6=8F?= =?UTF-8?q?=E5=88=A9=E5=85=B3=E9=97=AD=E5=90=AF=E7=94=A8=E6=97=B6=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../socialSecurityBenefits/programme/customBenefitsTable.js | 2 +- .../hrmSalary/pages/socialSecurityBenefits/programme/index.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/programme/customBenefitsTable.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/programme/customBenefitsTable.js index 58b51944..ab5cb070 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/programme/customBenefitsTable.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/programme/customBenefitsTable.js @@ -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 }) => { diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/programme/index.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/programme/index.js index d9350651..1181f8a0 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/programme/index.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/programme/index.js @@ -16,7 +16,6 @@ import CopySchemaModal from "./copySchemaModal"; import CustomBenefitsTable from "./customBenefitsTable"; import "./index.less"; - const { getLabel } = WeaLocaleProvider; @inject("programmeStore", "taxAgentStore", "salaryFileStore") @observer