1 Star 0 Fork 107

小胖孩 / cmpage

forked from 老牛 / cmpage 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

本项目已经升级到ThinkJS3,之前的版本已挪到分支 cmpage-thinkjs2 中

项目简介

用Node.js实现的企业信息化开发框架,并增加了工作流的设计和实现,其中采用的开源框架主要有:UI端采用BJUI,后端采用ThinkJS(已升级到3.x版本),数据库采用MySql,手机端采用MUI。

本框架通过配置模块的显示列、编辑列、查询列、按钮等,可以从数据库的表或者视图取数据,生成页面,通过Url: /cmpage/page/list?modulename=Customer 可以访问Customer模块,实现了常用的分页列表、新增、编辑、查看、删除、条件查询等功能, 手机端页面功能类似,框架也实现了轻量级的工作流引擎,方便于实现流程多而经常变化的业务场景,待本框架基本稳定后,会基于此框架做一些通用的OA、CRM、库存管理等开源系统。

运行步骤简述如下(具体参照 thinkjs.org):

  1. 在Mysql中导入备份文件(/db/cmpage_my.sql),生成配置数据库cmpage;
  2. 在Mysql中导入备份文件(/db/admin_my.sql),生成业务数据库admin,导入数据库视图(/db/admin_view.sql);
  3. 如果要查看单据的事例,需要导入备份文件(/db/docu_my.sql),生成单据数据库docu,然后导入相关存储过程(/db/docu_my_proc.sql);
  4. 在/src/config/adapter.js 中配置数据库连接参数;
  5. 运行:npm install 或者 npm install --registry=https://registry.npm.taobao.org
  6. 运行:npm start
  7. 访问:http://localhost:8300
  8. 手机端项目的目录:/mob,独立项目,请用HBuider打开,然后用USB连上手机就可以调试了,具体参见 http://www.dcloud.io/runtime.html, 也可以用手机扫描下面的二维码体验一下

演示地址: --> gogogo

更新日志: --> gogogo

帮助文档: --> gogogo

输入图片说明

输入图片说明

输入图片说明


输入图片说明

输入图片说明

Copyright [defans] defans@sina.cn Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

用Node.js实现的企业信息化开发框架,包括账套、用户权限等管理模块,轻量级工作流引擎,以及业务模块的快速开发等,采用了ThinkJS、BJUI、MUI等开源框架。 展开 收起
NodeJS
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
NodeJS
1
https://gitee.com/whereu/cmpage.git
git@gitee.com:whereu/cmpage.git
whereu
cmpage
cmpage
master

搜索帮助