傅行帆 5 лет назад
Родитель
Сommit
c24051d2f2
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      src/pages/house/raise/edit/components/HouseInfo/index.jsx

+ 2
- 2
src/pages/house/raise/edit/components/HouseInfo/index.jsx Просмотреть файл

77
       dataIndex: 'houseLockingStatus',
77
       dataIndex: 'houseLockingStatus',
78
       key: 'houseLockingStatus',
78
       key: 'houseLockingStatus',
79
       align: 'center',
79
       align: 'center',
80
-      render: (x, row) => <><span>{row.houseLockingStatus === 0?'未锁定':'已锁定'}</span></>,
80
+      render: (x, row) => <><span>{row.houseLockingStatus === 'locked'?'已锁定':'未锁定'}</span></>,
81
     },
81
     },
82
     {
82
     {
83
       title: '锁定人',
83
       title: '锁定人',
92
       align: 'center',
92
       align: 'center',
93
       render: (text, record) => (
93
       render: (text, record) => (
94
         <AuthButton name="admin.salesBatch.detail.get" noRight={null}>
94
         <AuthButton name="admin.salesBatch.detail.get" noRight={null}>
95
-          <a style={{ color: '#66B3FF' }} onClick={updateLockingStatus(record)} >{record.houseLockingStatus === '0' ? '锁定':'解锁'}</a>
95
+          <a style={{ color: '#66B3FF' }} onClick={updateLockingStatus(record)} >{record.houseLockingStatus === 'locked' ? '解锁':'锁定'}</a>
96
         </AuthButton>
96
         </AuthButton>
97
       ),
97
       ),
98
     },
98
     },