import { resultSuccess } from '../_util';

const emergencySupplyList = {
  records: [
    {
      id: 1,
      emergencyType: 'flood_typhoon_prevention',
      supplyType: 'protective',
      supplyName: '雨衣',
      requiredQuantity: 100,
      currentQuantity: 50,
      unit: '件',
      park: 'zhangjiang',
      location: '10号楼',
      keeperName: '张三',
      expirationDate: '2025-05-23 10:00',
      status: 1,
      supplementQuantity: 50,
      remark: '需要补充50件雨衣',
    },
    {
      id: 2,
      emergencyType: 'fire',
      supplyType: 'rescue',
      supplyName: '救生衣',
      requiredQuantity: 150,
      currentQuantity: 150,
      unit: '件',
      park: 'dachang',
      location: '7号楼',
      keeperName: '李四',
      expirationDate: '2025-05-23 10:00',
      status: 0,
      supplementQuantity: 0,
      remark: '无需补充',
    },
  ],
  totalRow: 2,
};
export default [
  {
    url: '/safety_mock_api/emergencySupplies/queryEmergencySuppliesInfoPage',
    timeout: 500,
    method: 'post',
    response: () => {
      return resultSuccess(emergencySupplyList);
    },
  },
];
