mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-18 08:12:33 +00:00
17e6d2fe84cc3a9a99fa93bf80dc17ad44bd1032
* perf: debug account * Debug: 添加 debug * debug: 添加线上debug * debug: remove vue config * chore: diglog 添加vif * debug: authbook * chore: debug account * fix: 修改资产账号更新弹窗组件传参方式 * perf: 修改 authbook * fix: 修复资产账号的更新组件不生效问题 * perf: change build scropt * feat: 配置概况页的路由权限 * fix: 修复工单流自定义用户获取全局用户bug * feat: 用户详情tab页rbac控制 * feat: 用户组详情tab添加rbac * feat: 资产详情tab添加rbac * feat: 角色列表详情tab添加rbac * feat: 资产管理详情页tab添加rbac * feat: 账号管理详情tab增加rbac * feat: 权限管理详情tab添加rbac * feat: 作业中心详情tab添加rbac * feat: 系统设置tab添加rbac Co-authored-by: ibuler <ibuler@qq.com> Co-authored-by: “怀磊” <2280131253@qq.com> Co-authored-by: feng626 <1304903146@qq.com> Co-authored-by: fit2bot <68588906+fit2bot@users.noreply.github.com> Co-authored-by: ibuler <ibuler@qq.com> Co-authored-by: “怀磊” <2280131253@qq.com> Co-authored-by: feng626 <1304903146@qq.com>
Lina
Lina 是 JumpServer 的前端 UI 项目, 主要使用 Vue, Element UI 完成, 名字来源于 Dota 英雄 Lina
开发运行
0. 前置条件: 部署运行好 JumpServer API 服务器
1. 安装依赖
$ yarn install
2. 修改 .env.development VUE_APP_CORE_HOST
# ...
VUE_APP_CORE_HOST = 'JUMPSERVER_APIHOST'
3. 运行
$ yarn serve
4. 构建
$ yarn build
生产中部署
下载 RELEASE 文件,放到合适的目录,修改 nginx配置文件如下
server {
listen 80;
location /ui/ {
try_files $uri / /ui/index.html;
alias /opt/lina/;
}
location / {
rewrite ^/(.*)$ /ui/$1 last;
}
}
致谢
- Vue 前端框架
- Element UI 饿了么 UI组件库
- Vue-element-admin 项目脚手架
License & Copyright
Be consistent with jumpserver
Description
Languages
Vue
82.5%
JavaScript
14.1%
SCSS
2.3%
CSS
0.7%
Python
0.2%