From a30ae9c2331e5352a4f9d3f7e0ecfd36ff9d4e33 Mon Sep 17 00:00:00 2001 From: zhangyongtian <1181606322@qq.com> Date: Tue, 27 Aug 2024 10:57:24 +0800 Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh --- gz-customerSystem/src/components/basicInformation/personnel/PersonnelPage.jsx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gz-customerSystem/src/components/basicInformation/personnel/PersonnelPage.jsx b/gz-customerSystem/src/components/basicInformation/personnel/PersonnelPage.jsx index b5e18d1..ffe6ba8 100644 --- a/gz-customerSystem/src/components/basicInformation/personnel/PersonnelPage.jsx +++ b/gz-customerSystem/src/components/basicInformation/personnel/PersonnelPage.jsx @@ -2,8 +2,8 @@ * @Company: hugeInfo * @Author: ldh * @Date: 2022-02-25 14:40:57 - * @LastEditTime: 2022-11-03 11:35:05 - * @LastEditors: ldh + * @LastEditTime: 2024-08-26 10:56:05 + * @LastEditors: dminyi 1301963064@qq.com * @Version: 1.0.0 * @Description: 人员信息列表页面 */ @@ -121,7 +121,7 @@ title: '状态', dataIndex: 'status', width: 50, - render: (text) => <span style={{ color: text === '1' ? '#52C41A' : '#BFBFBF' }}>{text === '1' ? '正常' : '停用'}</span>, + render: (text) => <span style={{ color: text === 1 ? '#52C41A' : '#BFBFBF' }}>{text === 1 ? '正常' : '停用'}</span>, }, { title: '操作', @@ -138,7 +138,7 @@ {/* 22_00024-2超级管理员不可操作 */} {!record.ctUseroleList?.filter((item) => item.roleCode === '22_00024-2').length && ( <> - {record.status === '1' ? ( + {record.status === 1 ? ( <Popconfirm title="是否确认停用该账号?" onConfirm={() => handleEditPerson('stop', record)}> <Link disabled={userId === record.id}>停用</Link> </Popconfirm> -- Gitblit v1.8.0