预警基础服务前端

zhao.renji 1b582035b7 综合页面增加智能工况预警识别 4 mesi fa
public 69006f0620 提交 11 mesi fa
src 1b582035b7 综合页面增加智能工况预警识别 4 mesi fa
storage 69006f0620 提交 11 mesi fa
.dockerignore 69006f0620 提交 11 mesi fa
.editorconfig 69006f0620 提交 11 mesi fa
.env 69006f0620 提交 11 mesi fa
.env.development 1b582035b7 综合页面增加智能工况预警识别 4 mesi fa
.env.production 69006f0620 提交 11 mesi fa
.env.test 69006f0620 提交 11 mesi fa
.eslintignore 69006f0620 提交 11 mesi fa
.gitattributes 69006f0620 提交 11 mesi fa
.gitignore 69006f0620 提交 11 mesi fa
.prettierrc 69006f0620 提交 11 mesi fa
Dockerfile 69006f0620 提交 11 mesi fa
LICENSE 69006f0620 提交 11 mesi fa
README.md 8879e4b091 first commit 11 mesi fa
babel.config.js 69006f0620 提交 11 mesi fa
idea.config.js 69006f0620 提交 11 mesi fa
package-lock.json 69006f0620 提交 11 mesi fa
package.json 69006f0620 提交 11 mesi fa
vue.config.js 1b582035b7 综合页面增加智能工况预警识别 4 mesi fa
yarn.lock 69006f0620 提交 11 mesi fa

README.md

jtznyj#2021$adm Ant Design Jeecg Vue

线上环境远程地址:10.68.224.124:8899 账号:administrator 密码:P@ss#2021
E:\JTZNYJ_VUE cas login 预览 cas 10.68.224.124:8081

 login  10.68.224.124:8085 =》 admin jtznyj#2021$adm

cas版本:.env.production:ifram_check=TRUE,生产环境后台端口为:8090;

login版本:.env.production:ifram_check=FALSE 生产环境端口为8090,

====

当前最新版本: 2.4.5(发布日期:20210607)

Overview

基于 Ant Design of Vue 实现的 Ant Design Pro Vue 版 Jeecg-boot 的前端UI框架,采用前后端分离方案,提供强大代码生成器的低代码平台。 前端页面代码和后端功能代码一键生成,不需要写任何代码,保持jeecg一贯的强大!!

前端技术

  • 基础框架:ant-design-vue - Ant Design Of Vue 实现
  • JavaScript框架:Vue
  • Webpack
  • node
  • yarn
  • eslint
  • @vue/cli 3.2.1
  • vue-cropper - 头像裁剪组件
  • @antv/g2 - Alipay AntV 数据可视化图表
  • Viser-vue - antv/g2 封装实现

项目下载和运行

  • 拉取项目代码

    git clone https://github.com/zhangdaiscott/jeecg-boot.git
    cd  jeecg-boot/ant-design-jeecg-vue
    
  • 安装依赖

    yarn install
    
  • 开发模式运行

    yarn run serve
    
  • 编译项目

    yarn run build
    
  • Lints and fixes files

    yarn run lint
    

其他说明

  • 项目使用的 vue-cli3, 请更新您的 cli

  • 关闭 Eslint (不推荐) 移除 package.jsoneslintConfig 整个节点代码

  • 修改 Ant Design 配色,在文件 vue.config.js 中,其他 less 变量覆盖参考 ant design 官方说明

    css: {
    loaderOptions: {
      less: {
        modifyVars: {
          /* less 变量覆盖,用于自定义 ant design 主题 */
    
          'primary-color': '#F5222D',
          'link-color': '#F5222D',
          'border-radius-base': '4px',
        },
        javascriptEnabled: true,
      }
    }
    }
    

附属文档

备注

@vue/cli 升级后,eslint 规则更新了。由于影响到全部 .vue 文件,需要逐个验证。既暂时关闭部分原本不验证的规则,后期维护时,在逐步修正这些 rules

Docker 镜像使用

# 1.修改前端项目的后台域名
    .env.development
    域名改成: http://jeecg-boot-system:8080/jeecg-boot
   
# 2.先进入打包前端项目
  yarn run build

# 3.构建镜像
  docker build -t nginx:jeecgboot .

# 4.启动镜像
  docker run --name jeecg-boot-nginx -p 80:80 -d nginx:jeecgboot

# 5.配置host

    # jeecgboot
    127.0.0.1   jeecg-boot-redis
    127.0.0.1   jeecg-boot-mysql
    127.0.0.1   jeecg-boot-system
  
# 6.访问前台项目
  http://localhost:80