我有一组JSON数据。我在屏幕上显示它以收集每个项目的复选框和福利限制数字。显示有效,但即使将其分配给ng-model,我也无法捕获此信息。
{
"Mental health and substance use disorder services, including behavioral health treatment": [
"Benefits for treating alcoholism & drug dependency",
"Benefits for mental health services",
"Coverage for autism spectrum disorders up to age 5"
],
"Pediatric services, including oral and vision care": [
"Preventive care - physician svcs",
"Immunizations",
"1 routine eye exam per year, to age 19",
"Routine hearing exams, to age 19",
"Dental - diagnostic & preventive",
"Dental - basic",
"Dental - major",
"Metabolic formula & low protein food for inborn errors of metabolism",
"Hearing aids to age 18",
"Amino acid-based elemental infant formula, up to age 2",
"Children's early intervention services, up to age 36 months"
],
"Prescription drugs": [
"Retail",
"Mail service (home delivery)",
"Off-label use for cancer & HIV/AIDS",
"Contraceptives",
"Home infusion therapy"
],
"Maternity and newborn care": [
"Pre- & postnatal care",
"Delivery & inpatient maternity services",
"Newborn child coverage",
"Lamaze"
],
"Emergency services": [
"Emergency room care",
"Ambulance service",
"Urgent care centers/facilities"
],
"Laboratory services": [
"Lab tests & X-ray services",
"Imaging/diagnostics (e.g., MRI, CT scan, PET scan"
],
"Preventive and wellness services and chronic disease management": [
"Preventive care",
"Colorectal cancer screening",
"Screening mammography",
"Foot care",
"Eye care & 1 routine eye exam per 2 yrs, unless over 65 or diabetic",
"Audiology/hearing tests",
"Nutritional counseling",
"Smoking cessation program",
"Allergy testing & injections",
"Family planning",
"Diabetes - medically necessary equip. & supplies; education",
"Screening Pap tests",
"Annual gynecological exam",
"Annual prostrate cancer screening for men 50-72 yrs."
],
"Others": [
"Acupuncture",
"Infertility treatment services",
"TMJ services",
"Biofeedback",
"Funeral Expenses",
"Bed ridden allowances"
],
"Rehabilitative and habilitative services and devices": [
"Physical, speech & occupational therapy",
"Cardiac rehabilitation",
"Pulmonary rehabilitation",
"Durable medical equipment",
"Prosthetics - arm or leg",
"Skilled nursing & rehab"
],
"Hospitalization - inpatient": [
"Inpatient medical and surgical care",
"Bariatric surgery",
"Organ & tissue transplants",
"Chemotherapy services",
"Radiation therapy",
"Anesthesia",
"Breast reconstruction",
"Breast reduction, symptomatic varicose vein surgery"
],
"Ambulatory patient services": [
"Primary care to treat illness/injury",
"Specialist visits",
"Outpatient surgery",
"Chiropractic (therapeutic, adjustive, manipulative)",
"Chemotherapy services",
"Radiation therapy",
"Anesthesia",
"Walk-in center services",
"Home health care",
"AIDS/HIV parity",
"Access to clinical trials",
"Hospice",
"Genetic evaluation & counseling"
]
}
这是我在页面上显示它的方式,添加输入字段以捕获我需要发送回数据库的值的更多细节
这是控制器 enter image description here
这是模板代码 enter image description here