forked from gzzfw/frontEnd/gzDyh

dminyi
2024-08-26 430b1bce2f9bf0c5e9aa269fb0ee3aee22be49d6
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>