diff --git a/.env.development b/.env.development index 2a13b08..164df16 100644 --- a/.env.development +++ b/.env.development @@ -1,10 +1,10 @@ # 页面标题 -VUE_APP_TITLE = 企业管理系统 +VUE_APP_TITLE = 客户业务系统 # 开发环境配置 ENV = 'development' -# 企业管理系统/开发环境 +# 客户业务系统/开发环境 VUE_APP_BASE_API = '/dev-api' # 路由懒加载 diff --git a/.env.production b/.env.production index 1d9fb19..2565459 100644 --- a/.env.production +++ b/.env.production @@ -1,8 +1,8 @@ # 页面标题 -VUE_APP_TITLE = 企业管理系统 +VUE_APP_TITLE = 客户业务系统 # 生产环境配置 ENV = 'production' -# 企业管理系统/生产环境 +# 客户业务系统/生产环境 VUE_APP_BASE_API = '/prod-api' diff --git a/.env.staging b/.env.staging index 774cb9c..cb921e9 100644 --- a/.env.staging +++ b/.env.staging @@ -1,10 +1,10 @@ # 页面标题 -VUE_APP_TITLE = 企业管理系统 +VUE_APP_TITLE = 客户业务系统 NODE_ENV = production # 测试环境配置 ENV = 'staging' -# 企业管理系统/测试环境 +# 客户业务系统/测试环境 VUE_APP_BASE_API = '/stage-api' diff --git a/.gitignore b/.gitignore index 09bdfea..78a752d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,46 +1,23 @@ -###################################################################### -# Build Tools - -.gradle -/build/ -!gradle/wrapper/gradle-wrapper.jar - -target/ -!.mvn/wrapper/maven-wrapper.jar - -###################################################################### -# IDE - -### STS ### -.apt_generated -.classpath -.factorypath -.project -.settings -.springBeans - -### IntelliJ IDEA ### -.idea -*.iws -*.iml -*.ipr - -### JRebel ### -rebel.xml -### NetBeans ### -nbproject/private/ -build/* -nbbuild/ +.DS_Store +node_modules/ dist/ -nbdist/ -.nb-gradle/ +npm-debug.log* +yarn-debug.log* +yarn-error.log* +**/*.log -###################################################################### -# Others -*.log -*.xml.versionsBackup -*.swp +tests/**/coverage/ +tests/e2e/reports +selenium-debug.log -!*/build/*.java -!*/build/*.html -!*/build/*.xml \ No newline at end of file +# Editor directories and files +.idea +.vscode +*.suo +*.ntvs* +*.njsproj +*.sln +*.local + +package-lock.json +yarn.lock diff --git a/README.md b/README.md index cf4627d..cf2bc13 100644 --- a/README.md +++ b/README.md @@ -1,26 +1,30 @@ -## 系统模块 +## 开发 -~~~ -com.muyu -├── muyu-ui // 前端框架 [80] -├── muyu-gateway // 网关模块 [8080] -├── muyu-auth // 认证中心 [9200] -├── muyu-common // 通用模块 -│ └── muyu-common-core // 核心模块 -│ └── muyu-common-datascope // 权限范围 -│ └── muyu-common-datasource // 多数据源 -│ └── muyu-common-log // 日志记录 -│ └── muyu-common-redis // 缓存服务 -│ └── muyu-common-seata // 分布式事务 -│ └── muyu-common-security // 安全模块 -│ └── muyu-common-swagger // 系统接口 -│ └── muyu-common-system // 系统基础 -├── muyu-modules // 业务模块 -│ └── muyu-system // 系统模块 [9201] -│ └── muyu-gen // 代码生成 [9202] -│ └── muyu-job // 定时任务 [9203] -│ └── muyu-file // 文件服务 [9300] -├── muyu-visual // 图形化管理模块 -│ └── muyu-visual-monitor // 监控中心 [9100] -├──pom.xml // 公共依赖 -~~~ +```bash +# 克隆项目 +git clone https://gitea.qinmian.online/ruoyi/cloud-ui.git + +# 进入项目目录 +cd cloud-ui + +# 安装依赖 +npm install + +# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 +npm install --registry=https://registry.npmmirror.com + +# 启动服务 +npm run dev +``` + +浏览器访问 http://localhost:80 + +## 发布 + +```bash +# 构建测试环境 +npm run build:stage + +# 构建生产环境 +npm run build:prod +``` \ No newline at end of file diff --git a/bin/package.bat b/bin/package.bat index c693ec0..0e5bc0f 100644 --- a/bin/package.bat +++ b/bin/package.bat @@ -1,12 +1,12 @@ @echo off echo. -echo [Ϣ] Weḅwar/jarļ +echo [Ϣ] װWeḅnode_modulesļ echo. %~d0 cd %~dp0 cd .. -call mvn clean package -Dmaven.test.skip=true +npm install --registry=https://registry.npmmirror.com pause \ No newline at end of file diff --git a/package.json b/package.json index 45cd4a0..7c2777c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "muyu", "version": "3.6.3", - "description": "企业管理系统", + "description": "客户业务系统", "author": "若依", "license": "MIT", "scripts": { @@ -36,12 +36,13 @@ "url": "https://gitee.com/y_project/MuYu-Cloud.git" }, "dependencies": { + "@amap/amap-jsapi-loader": "^1.0.1", "@riophae/vue-treeselect": "0.4.0", "axios": "0.24.0", "clipboard": "2.0.8", "core-js": "3.25.3", "echarts": "5.4.0", - "element-ui": "2.15.14", + "element-ui": "2.15.13", "file-saver": "2.0.5", "fuse.js": "6.4.3", "highlight.js": "9.18.5", @@ -67,7 +68,7 @@ "babel-eslint": "10.1.0", "babel-plugin-dynamic-import-node": "2.3.3", "chalk": "4.1.0", - "compression-webpack-plugin": "6.1.2", + "compression-webpack-plugin": "5.0.2", "connect": "3.6.6", "eslint": "7.15.0", "eslint-plugin-vue": "7.2.0", diff --git a/public/index.html b/public/index.html index 99f7ed8..69506b1 100644 --- a/public/index.html +++ b/public/index.html @@ -7,8 +7,11 @@
领取阿里云通用云产品1888优惠券
-- 企业后台管理框架
+若依后台管理框架
- 一直想做一款后台管理系统,看了很多优秀的开源项目但是发现没有合适自己的。于是利用空闲休息时间开始自己写一套后台系统。如此有了若依管理系统,她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA等等,当然,您也可以对她进行深度定制,以做出更强系统。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。 + 一直想做一款后台管理系统,看了很多优秀的开源项目但是发现没有合适自己的。于是利用空闲休息时间开始自己写一套后台系统。如此有了客户业务系统,她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA等等,当然,您也可以对她进行深度定制,以做出更强系统。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。
当前版本: v{{ version }} @@ -885,7 +884,6 @@ diff --git a/src/views/register.vue b/src/views/register.vue index e7b3535..9b4dc96 100644 --- a/src/views/register.vue +++ b/src/views/register.vue @@ -1,7 +1,7 @@
- 企业运营平台
+若依后台管理系统
diff --git a/vue.config.js b/vue.config.js index fdf7d7a..9746c44 100644 --- a/vue.config.js +++ b/vue.config.js @@ -7,7 +7,7 @@ function resolve(dir) { const CompressionPlugin = require('compression-webpack-plugin') -const name = process.env.VUE_APP_TITLE || '企业管理系统' // 网页标题 +const name = process.env.VUE_APP_TITLE || '客户业务系统' // 网页标题 const port = process.env.port || process.env.npm_config_port || 80 // 端口