|
|
@ -2,7 +2,7 @@
|
|
|
|
* @Author: donghao donghao@supervision.ltd
|
|
|
|
* @Author: donghao donghao@supervision.ltd
|
|
|
|
* @Date: 2024-04-08 16:57:30
|
|
|
|
* @Date: 2024-04-08 16:57:30
|
|
|
|
* @LastEditors: donghao donghao@supervision.ltd
|
|
|
|
* @LastEditors: donghao donghao@supervision.ltd
|
|
|
|
* @LastEditTime: 2024-05-10 14:26:02
|
|
|
|
* @LastEditTime: 2024-05-11 09:33:08
|
|
|
|
* @FilePath: \general-ai-manage\src\pages\Business\BusinessState\components\deviceStateCard.tsx
|
|
|
|
* @FilePath: \general-ai-manage\src\pages\Business\BusinessState\components\deviceStateCard.tsx
|
|
|
|
* @Description: 设备状态项卡片
|
|
|
|
* @Description: 设备状态项卡片
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -33,7 +33,7 @@ const DeviceStateCard: React.FC<DeviceStateCardProps> = ({ info, renderActions,
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div className="flex justify-between w-full p-[12px] bs_card_header">
|
|
|
|
<div className="flex justify-between w-full p-[12px] bs_card_header">
|
|
|
|
<div className="flex items-center title_box">
|
|
|
|
<div className="flex items-center title_box">
|
|
|
|
<div className="bs_card_name single_line head4">{info?.deviceSort}</div>
|
|
|
|
<div className="bs_card_name single_line head4">{info?.name}</div>
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
className={`gn_card_tag ml-[8px] text-white ${
|
|
|
|
className={`gn_card_tag ml-[8px] text-white ${
|
|
|
|
info?.state === '1' ? 'bg_active_1' : ''
|
|
|
|
info?.state === '1' ? 'bg_active_1' : ''
|
|
|
|