WXL (wul)
4 天以前 cfa5a3aacd38eab6e89818098a9675456bf52625
src/views/knowledge/Medication/index.vue
@@ -398,175 +398,184 @@
      total: 0,
      // 用药记录数据
medicationList: [
  {
    id: 1,
    patientId: 'P1001',
    patientName: '张清扬',
    patientAge: 65,
    patientGender: '1',
    patientNo: '20241209001',
    allergyHistory: '青霉素过敏',
    drugId: 'D1001',
    drugName: '阿司匹林肠溶片',
    drugSpecification: '100mg*30片/盒',
    dosage: 1,
    dosageUnit: '片',
    frequency: '1',
    usageMethod: '口服',
    startTime: '2024-12-01 08:00:00',
    endTime: '',
    durationType: '1',
    instructions: '饭后服用,注意胃肠道反应。长期服用需定期检查血常规。',
    medicationStatus: '1',
    prescribingDoctor: '李成白',
    stopReason: '',
    stopDescription: ''
  },
  {
    id: 2,
    patientId: 'P1001',
    patientName: '张清扬',
    patientAge: 65,
    patientGender: '1',
    patientNo: '20241209001',
    allergyHistory: '青霉素过敏',
    drugId: 'D1002',
    drugName: '阿托伐他汀钙片',
    drugSpecification: '20mg*7片/盒',
    dosage: 1,
    dosageUnit: '片',
    frequency: '1',
    usageMethod: '口服',
    startTime: '2024-11-20 20:00:00',
    endTime: '',
    durationType: '1',
    instructions: '每晚睡前服用。注意监测肝功能,如有肌肉酸痛请及时就医。',
    medicationStatus: '1',
    prescribingDoctor: '李成白',
    stopReason: '',
    stopDescription: ''
  },
  {
    id: 3,
    patientId: 'P2001',
    patientName: '王芳',
    patientAge: 33,
    patientGender: '0',
    patientNo: '20241115002',
    allergyHistory: '无',
    drugId: 'D1003',
    drugName: '泼尼松片',
    drugSpecification: '5mg*100片/瓶',
    dosage: 2,
    dosageUnit: '片',
    frequency: '3',
    usageMethod: '口服',
    startTime: '2024-12-05 09:00:00',
    endTime: '2024-12-20 09:00:00',
    durationType: '2',
    instructions: '早、中、晚餐后服用。需严格遵医嘱逐渐减量,不可突然停药。',
    medicationStatus: '0',
    prescribingDoctor: '刘翊惠',
    stopReason: '疗程结束',
    stopDescription: '标准疗程用药完毕,血小板计数已恢复正常范围。'
  },
  {
    id: 4,
    patientId: 'P2001',
    patientName: '王芳',
    patientAge: 33,
    patientGender: '0',
    patientNo: '20241115002',
    allergyHistory: '无',
    drugId: 'D1004',
    drugName: '多糖铁复合物胶囊',
    drugSpecification: '150mg*10粒/盒',
    dosage: 1,
    dosageUnit: '粒',
    frequency: '2',
    usageMethod: '口服',
    startTime: '2024-12-05 09:00:00',
    endTime: '',
    durationType: '1',
    instructions: '餐后服用,可减轻胃肠道刺激。服药后可能出现黑便,属正常现象。',
    medicationStatus: '1',
    prescribingDoctor: '刘翊惠',
    stopReason: '',
    stopDescription: ''
  },
  {
    id: 5,
    patientId: 'P3001',
    patientName: '李伟',
    patientAge: 58,
    patientGender: '1',
    patientNo: '20241022005',
    allergyHistory: '磺胺类药物过敏',
    drugId: 'D1005',
    drugName: '盐酸二甲双胍片',
    drugSpecification: '0.5g*20片/板',
    dosage: 1,
    dosageUnit: '片',
    frequency: '2',
    usageMethod: '口服',
    startTime: '2024-10-22 08:00:00',
    endTime: '',
    durationType: '1',
    instructions: '随餐或餐后立即服用,以减少胃肠道不适。',
    medicationStatus: '1',
    prescribingDoctor: '张孟涵',
    stopReason: '',
    stopDescription: ''
  },
  {
    id: 6,
    patientId: 'P4001',
    patientName: '赵磊',
    patientAge: 70,
    patientGender: '1',
    patientNo: '20241202011',
    allergyHistory: '海鲜过敏',
    drugId: 'D1006',
    drugName: '呋塞米片',
    drugSpecification: '20mg*100片/瓶',
    dosage: 1,
    dosageUnit: '片',
    frequency: '1',
    usageMethod: '口服',
    startTime: '2024-12-02 07:00:00',
    endTime: '',
    durationType: '1',
    instructions: '晨起服用,避免夜间多次起夜。注意监测电解质水平。',
    medicationStatus: '1',
    prescribingDoctor: '吴思翰',
    stopReason: '',
    stopDescription: ''
  },
  {
    id: 7,
    patientId: 'P5001',
    patientName: '周华',
    patientAge: 52,
    patientGender: '0',
    patientNo: '20241128009',
    allergyHistory: '无',
    drugId: 'D1007',
    drugName: '硝苯地平控释片',
    drugSpecification: '30mg*7片/盒',
    dosage: 1,
    dosageUnit: '片',
    frequency: '1',
    usageMethod: '口服',
    startTime: '2024-11-28 08:00:00',
    endTime: '',
    durationType: '1',
    instructions: '整片吞服,不可嚼碎或掰开。',
    medicationStatus: '1',
    prescribingDoctor: '陈政倩',
    stopReason: '',
    stopDescription: ''
  }
],
        {
          id: 1,
          patientId: 'C1001',
          patientName: '李俊宝',
          patientAge: 2,
          ageGroup: '婴幼儿(0-3岁)',
          patientGender: '1',
          patientNo: 'P202412001',
          allergyHistory: '青霉素过敏、鸡蛋过敏',
          drugId: 'D1001',
          drugName: '布洛芬混悬滴剂',
          drugSpecification: '100mg:5ml*15ml/瓶',
          drugCategory: '解热镇痛药',
          dosage: 2.5,
          dosageUnit: 'ml',
          frequency: '3',
          usageMethod: '口服',
          startTime: '2024-12-10 08:00:00',
          endTime: '',
          durationType: '1',
          instructions: '用于发热,体重10kg,按体重计算剂量。饭后服用,注意观察有无胃肠道反应。',
          medicationStatus: '1',
          prescribingDoctor: '王医生',
          guardianName: '李爸爸'
        },
        {
          id: 2,
          patientId: 'C1002',
          patientName: '张萌',
          patientAge: 4,
          ageGroup: '学龄前(3-6岁)',
          patientGender: '0',
          patientNo: 'P202411002',
          allergyHistory: '无',
          drugId: 'D1002',
          drugName: '阿莫西林颗粒',
          drugSpecification: '125mg*12袋/盒',
          drugCategory: '抗生素',
          dosage: 1,
          dosageUnit: '袋',
          frequency: '3',
          usageMethod: '口服',
          startTime: '2024-12-08 09:00:00',
          endTime: '2024-12-18 09:00:00',
          durationType: '2',
          instructions: '治疗急性中耳炎,需连续服用10天,不可自行停药。注意观察有无过敏反应。',
          medicationStatus: '0',
          prescribingDoctor: '刘医生',
          guardianName: '张妈妈',
          stopReason: '疗程结束',
          stopDescription: '完成10天抗生素疗程,中耳炎症状完全缓解。'
        },
        {
          id: 3,
          patientId: 'C1003',
          patientName: '王青宇',
          patientAge: 8,
          ageGroup: '学龄期(7-12岁)',
          patientGender: '1',
          patientNo: 'P202412003',
          allergyHistory: '海鲜过敏',
          drugId: 'D1003',
          drugName: '孟鲁司特钠咀嚼片',
          drugSpecification: '5mg*5片/盒',
          drugCategory: '抗过敏药',
          dosage: 1,
          dosageUnit: '片',
          frequency: '1',
          usageMethod: '口服',
          startTime: '2024-11-15 20:00:00',
          endTime: '',
          durationType: '1',
          instructions: '每晚睡前咀嚼服用,用于控制哮喘症状。注意监测身高体重变化。',
          medicationStatus: '1',
          prescribingDoctor: '陈医生',
          guardianName: '王妈妈'
        },
        {
          id: 4,
          patientId: 'C1004',
          patientName: '刘驰欣',
          patientAge: 14,
          ageGroup: '青少年(13-18岁)',
          patientGender: '0',
          patientNo: 'P202410004',
          allergyHistory: '磺胺类药物过敏',
          drugId: 'D1004',
          drugName: '异维A酸软胶囊',
          drugSpecification: '10mg*20粒/盒',
          drugCategory: '皮肤科用药',
          dosage: 1,
          dosageUnit: '粒',
          frequency: '2',
          usageMethod: '口服',
          startTime: '2024-10-20 08:00:00',
          endTime: '2025-01-20 08:00:00',
          durationType: '2',
          instructions: '治疗重度痤疮,需定期检查肝功能。服药期间及停药后1个月内避免怀孕。',
          medicationStatus: '1',
          prescribingDoctor: '赵医生',
          guardianName: '刘爸爸'
        },
        {
          id: 5,
          patientId: 'C1005',
          patientName: '陈浩',
          patientAge: 1,
          ageGroup: '婴幼儿(0-3岁)',
          patientGender: '1',
          patientNo: 'P202412005',
          allergyHistory: '牛奶蛋白过敏',
          drugId: 'D1005',
          drugName: '盐酸西替利嗪滴剂',
          drugSpecification: '10mg:1ml*5ml/瓶',
          drugCategory: '抗过敏药',
          dosage: 0.25,
          dosageUnit: 'ml',
          frequency: '1',
          usageMethod: '口服',
          startTime: '2024-12-05 08:00:00',
          endTime: '',
          durationType: '1',
          instructions: '用于过敏性鼻炎,体重8kg,按体重精确计算剂量。注意观察有无嗜睡副作用。',
          medicationStatus: '1',
          prescribingDoctor: '孙医生',
          guardianName: '陈妈妈'
        },
        {
          id: 6,
          patientId: 'C1006',
          patientName: '杨芷悦',
          patientAge: 16,
          ageGroup: '青少年(13-18岁)',
          patientGender: '0',
          patientNo: 'P202409006',
          allergyHistory: '无',
          drugId: 'D1006',
          drugName: '左甲状腺素钠片',
          drugSpecification: '50μg*100片/盒',
          drugCategory: '内分泌用药',
          dosage: 1,
          dosageUnit: '片',
          frequency: '1',
          usageMethod: '口服',
          startTime: '2024-09-01 07:00:00',
          endTime: '',
          durationType: '1',
          instructions: '治疗甲状腺功能减退症,每日清晨空腹服用,需终身服药。定期复查甲状腺功能。',
          medicationStatus: '1',
          prescribingDoctor: '周医生',
          guardianName: '杨爸爸'
        },
        {
          id: 7,
          patientId: 'C1007',
          patientName: '黄铭轩',
          patientAge: 5,
          ageGroup: '学龄前(3-6岁)',
          patientGender: '1',
          patientNo: 'P202412007',
          allergyHistory: '花粉过敏',
          drugId: 'D1007',
          drugName: '沙丁胺醇气雾剂',
          drugSpecification: '100μg*200揿/瓶',
          drugCategory: '平喘药',
          dosage: 1,
          dosageUnit: '揿',
          frequency: '0',
          usageMethod: '吸入',
          startTime: '2024-11-20 08:00:00',
          endTime: '',
          durationType: '1',
          instructions: '用于哮喘急性发作时缓解症状,按需使用。教导正确吸入方法。',
          medicationStatus: '1',
          prescribingDoctor: '吴医生',
          guardianName: '黄妈妈'
        }
      ],
      // 分配用药弹出层
      assignOpen: false,
      assignTitle: "",