Files
taimed/pages/home/inquiryFormData.js
Hannah 4f5372bf4b feat(home): 重构首页问诊表单为模块化可折叠结构
- 将原有的简单表单替换为模块化问诊表单,包含就诊类型、基本信息、病史信息等7个模块
- 新增可折叠功能,每个模块在填写完成后自动收起
- 添加表单数据管理文件 inquiryFormData.js,包含638行结构化问诊字段
- 调整登录后默认跳转页面为首页而非医生页面
- 开发环境API切换为线上正式环境
- 启用首页作为应用启动页
2026-01-24 22:39:53 +08:00

639 lines
11 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
const inquiryFormData = [
{
title: '就诊类型',
content: [
{
label: '就诊类型',
type: 'radio',
field: 'visitType',
value: '',
options: ['初诊', '复诊']
}
]
},
{
title: '基本信息',
content: [
{
label: '性别',
type: 'radio',
field: 'gender',
value: '',
options: ['男', '女']
},
{
label: '年龄',
type: 'input',
field: 'age',
value: '',
options: []
},
{
label: '婚姻状况',
type: 'radio',
field: 'isMarried',
value: '',
options: ['已婚', '未婚']
},
{
label: '孕',
type: 'input',
field: 'pregnancyCount',
value: '',
options: []
},
{
label: '产',
type: 'input',
field: 'deliveryCount',
value: '',
options: []
},
{
label: '是否哺乳',
type: 'radio',
field: 'isBreastfeeding',
value: '',
options: ['是', '否']
},
{
label: '肿瘤家族史',
type: 'input',
field: 'familyCancerHistory',
value: '',
options: []
}
]
},
{
title: '病史信息',
content: [
{
label: '确诊时间(年/月)',
type: 'input',
field: 'diagnosisTime',
value: '',
options: []
},
{
label: '派杰氏病',
type: 'radio',
field: 'pagetDisease',
value: '',
options: ['有', '无']
},
{
label: '乳头溢液或溢血',
type: 'radio',
field: 'nippleDischarge',
value: '',
options: ['有', '无']
},
{
label: '骨转移',
type: 'radio',
field: 'boneMetastasis',
value: '',
options: ['有', '无']
},
{
label: '肺转移',
type: 'radio',
field: 'lungMetastasis',
value: '',
options: ['有', '无']
},
{
label: '胸腔积液(就诊当下情况)',
type: 'radio',
field: 'pleuralEffusion',
value: '',
options: ['有', '无']
},
{
label: '肝转移',
type: 'radio',
field: 'liverMetastasis',
value: '',
options: ['有', '无']
},
{
label: '脑转移',
type: 'radio',
field: 'brainMetastasis',
value: '',
options: ['有', '无']
},
{
label: '其他转移部位',
type: 'input',
field: 'otherMetastasisSites',
value: '',
options: []
},
{
label: '治疗史',
type: 'input',
field: 'treatmentHistory',
value: '',
options: []
},
{
label: '手术史',
type: 'input',
field: 'surgeryHistory',
value: '',
options: []
},
{
label: '化疗史',
type: 'input',
field: 'chemoHistory',
value: '',
options: []
},
{
label: '放疗史',
type: 'input',
field: 'radiotherapyHistory',
value: '',
options: []
},
{
label: '靶向治疗史',
type: 'input',
field: 'targetedTherapyHistory',
value: '',
options: []
},
{
label: '免疫治疗史',
type: 'input',
field: 'immunotherapyHistory',
value: '',
options: []
}
]
},
{
title: '病理信息',
content: [
{
label: 'ER',
type: 'radio',
field: 'erStatus',
value: '',
options: ['阳性', '阴性']
},
{
label: 'PR',
type: 'radio',
field: 'prStatus',
value: '',
options: ['阳性', '阴性']
},
{
label: 'HER2',
type: 'radio',
field: 'her2Status',
value: '',
options: ['阳性', '阴性']
},
{
label: '导管扩张或液体潴留',
type: 'radio',
field: 'ductDilation',
value: '',
options: ['有', '无']
},
{
label: 'Ki-67%',
type: 'input',
field: 'ki67',
value: '',
options: []
},
{
label: '淋巴结转移',
type: 'radio',
field: 'lymphNodeMetastasis',
value: '',
options: ['有', '无']
},
{
label: '硬癌',
type: 'radio',
field: 'hardCarcinoma',
value: '',
options: ['是', '否']
},
{
label: '炎性乳癌',
type: 'radio',
field: 'inflammatoryBreastCancer',
value: '',
options: ['是', '否']
}
]
},
{
title: '基因检测',
content: [
{
label: '基因检测异常结果',
type: 'input',
field: 'geneTestAbnormal',
value: '',
options: []
}
]
},
{
title: '实验室检查',
content: [
{
label: '催乳素',
type: 'radio',
field: 'prolactin',
value: '',
options: ['正常', '升高']
},
{
label: '血小板',
type: 'radio',
field: 'platelet',
value: '',
options: ['10万以下', '正常', '30万以上']
},
{
label: '白细胞',
type: 'radio',
field: 'whiteBloodCell',
value: '',
options: ['正常', '升高', '降低']
},
{
label: '红细胞',
type: 'radio',
field: 'redBloodCell',
value: '',
options: ['正常', '升高', '降低']
},
{
label: '凝血酶原时间PT',
type: 'input',
field: 'pt',
value: '',
options: []
},
{
label: '部分凝血活酶时间APTT',
type: 'input',
field: 'aptt',
value: '',
options: []
},
{
label: 'D-二聚体',
type: 'input',
field: 'dDimer',
value: '',
options: []
},
{
label: '血尿酸',
type: 'radio',
field: 'uricAcid',
value: '',
options: ['正常', '升高']
},
{
label: '直接胆红素',
type: 'radio',
field: 'directBilirubinStatus',
value: '',
options: ['正常', '升高']
},
{
label: '直接胆红素(数值)',
type: 'input',
field: 'directBilirubinValue',
value: '',
options: []
},
{
label: '间接胆红素',
type: 'radio',
field: 'indirectBilirubinStatus',
value: '',
options: ['正常', '升高']
},
{
label: '间接胆红素(数值)',
type: 'input',
field: 'indirectBilirubinValue',
value: '',
options: []
},
{
label: 'ALT',
type: 'radio',
field: 'altStatus',
value: '',
options: ['正常', '升高']
},
{
label: 'ALT数值',
type: 'input',
field: 'altValue',
value: '',
options: []
},
{
label: 'AST',
type: 'radio',
field: 'astStatus',
value: '',
options: ['正常', '升高']
},
{
label: 'AST数值',
type: 'input',
field: 'astValue',
value: '',
options: []
},
{
label: 'GGT',
type: 'radio',
field: 'ggtStatus',
value: '',
options: ['正常', '升高']
},
{
label: 'GGT数值',
type: 'input',
field: 'ggtValue',
value: '',
options: []
},
{
label: 'ALP',
type: 'radio',
field: 'alpStatus',
value: '',
options: ['正常', '升高']
},
{
label: 'ALP数值',
type: 'input',
field: 'alpValue',
value: '',
options: []
},
{
label: '肿瘤标志物(最近一次异常及数值)',
type: 'input',
field: 'tumorMarkers',
value: '',
options: []
}
]
},
{
title: '症状与体征',
content: [
{
label: '四肢冰凉',
type: 'radio',
field: 'coldLimbs',
value: '',
options: ['有', '无']
},
{
label: '乏力',
type: 'radio',
field: 'fatigue',
value: '',
options: ['有', '无']
},
{
label: '失眠',
type: 'radio',
field: 'insomnia',
value: '',
options: ['有', '无']
},
{
label: '便秘',
type: 'radio',
field: 'constipation',
value: '',
options: ['有', '无']
},
{
label: '腹泻',
type: 'radio',
field: 'diarrhea',
value: '',
options: ['有', '无']
},
{
label: '厌食',
type: 'radio',
field: 'anorexia',
value: '',
options: ['有', '无']
},
{
label: '胃痛',
type: 'radio',
field: 'stomachPain',
value: '',
options: ['有', '无']
},
{
label: '恶心呕吐',
type: 'radio',
field: 'nauseaVomiting',
value: '',
options: ['有', '无']
},
{
label: '口苦',
type: 'radio',
field: 'bitterTaste',
value: '',
options: ['有', '无']
},
{
label: '心悸',
type: 'radio',
field: 'palpitation',
value: '',
options: ['有', '无']
},
{
label: '多汗',
type: 'radio',
field: 'hyperhidrosis',
value: '',
options: ['有', '无']
},
{
label: '潮热',
type: 'radio',
field: 'hotFlush',
value: '',
options: ['有', '无']
},
{
label: '口舌生疮',
type: 'radio',
field: 'mouthSores',
value: '',
options: ['有', '无']
},
{
label: '外阴瘙痒',
type: 'radio',
field: 'vulvarItching',
value: '',
options: ['有', '无']
},
{
label: '腰膝酸软',
type: 'radio',
field: 'lowBackWeakness',
value: '',
options: ['有', '无']
},
{
label: '腿抽筋',
type: 'radio',
field: 'legCramps',
value: '',
options: ['有', '无']
},
{
label: '烦躁',
type: 'radio',
field: 'irritability',
value: '',
options: ['有', '无']
},
{
label: '紧张',
type: 'radio',
field: 'tension',
value: '',
options: ['有', '无']
},
{
label: '焦虑',
type: 'radio',
field: 'anxiety',
value: '',
options: ['有', '无']
},
{
label: '抑郁',
type: 'radio',
field: 'depression',
value: '',
options: ['有', '无']
},
{
label: '疼痛',
type: 'radio',
field: 'pain',
value: '',
options: ['有', '无']
},
{
label: '疼痛部位',
type: 'input',
field: 'painLocation',
value: '',
options: []
},
{
label: '肿瘤破溃',
type: 'radio',
field: 'tumorUlceration',
value: '',
options: ['有', '无']
},
{
label: '上肢淋巴水肿',
type: 'radio',
field: 'upperLimbLymphedema',
value: '',
options: ['有', '无']
},
{
label: '手术切口不愈合',
type: 'radio',
field: 'incisionNonHealing',
value: '',
options: ['有', '无']
},
{
label: '手术切口不愈合描述',
type: 'input',
field: 'incisionNonHealingDetail',
value: '',
options: []
},
{
label: '其他症状',
type: 'input',
field: 'otherSymptoms',
value: '',
options: []
}
]
},
{
title: '中医舌脉信息',
content: [
{
label: '舌色',
type: 'radio',
field: 'tongueColor',
value: '',
options: ['淡', '正常', '红']
},
{
label: '舌形态',
type: 'checkbox',
field: 'tongueShape',
value: [],
options: ['胖大', '瘦小', '舌边沿肿大', '齿痕']
},
{
label: '苔色',
type: 'radio',
field: 'coatingColor',
value: '',
options: ['白', '黄', '黄白夹杂']
},
{
label: '苔厚度',
type: 'radio',
field: 'coatingThickness',
value: '',
options: ['厚腻', '正常', '薄、少', '花剥', '无苔']
},
{
label: '脉象',
type: 'checkbox',
field: 'pulseType',
value: [],
options: ['沉', '缓', '迟', '数', '滑', '涩', '微', '洪', '大', '细', '弦', '芤']
}
]
}
]
export default inquiryFormData