In summary, using network pharmacology methods and molecular docking techniques, this study identified quercetin and other active components in Salvia miltiorrhiza to be effective against acute pancreatitis by targeting PTGS2, NCOA1, and other key genes. The gene discussed is NCOA1; the disease is acute pancreatitis.