摘 要: 医院药品类别繁多且数量大,合理利用信息化手段,有助于科学地规范、优化药品业务流程,提高医院药品管理工作效率。系统采用前后端分离的开发架构,在Electron平台下使用MVVM(Model-View-ViewModel)模式对其进行详细的技术设计和实现。前端采用Vue.js负责视图渲染,实现数据驱动视图;后端采用Node.js负责业务处理,并提供数据接口。数据库采用MongoDB结合Redis进行缓存和性能优化。系统以组件化、模块化为基准,充分复用开发资源,避免多重操作DOM,实现药房管理系统客户端与后台端细化协作,解决了目前传统药房系统开发效率低下、系统性能差、维护难的问题。 |
关键词: 药品管理;前后端分离;前端工程化;MVVM;Electron |
中图分类号: TP399
文献标识码: A
|
基金项目: 2021校级创新创业训练计划项目(X202111810052);第三批海南省普通本科高校应用型试点转型专业项目(信息管理与信息系统专业). |
|
Design and Implementation of Front-end Engineering for Hospital Pharmacy Management System |
LI Sirui, ZHENG Daxiang, LI Zhifang
|
(Hainan Medical University, Haikou 571199, China)
847520303@qq.com; 2505663420@qq.com; 19143212@qq.com
|
Abstract: In view of a great variety and large quantities of drugs in hospitals, rational use of information technology will be helpful in scientifically regulating and optimizing the drug business process, and improving the efficiency of hospital drug management. The proposed system adopts a development architecture with front and back ends separated, and uses the MVVM (Model-View-ViewModel) pattern to carry out detailed technical design and implementation under the Electron platform. Vue.js is applied in the front-end for rendering the view and realizing data-driven views; Node.js is used in the back-end for processing the business and providing data interfaces. The application of MongoDB and Redis has contributed to database caching and performance optimization. Based on component and modularization, the development resources are reused fully, which avoids multiple operations of DOM, and realizes the refined collaboration between the client-end and the back-end of the pharmacy management system. The proposed system solves the problems of low development efficiency, poor system performance and difficult maintenance of the existing pharmacy system. |
Keywords: drug management; front-end and back-end separation; front-end engineering; MVVM; Electron |