No description
  • Vue 69.2%
  • JavaScript 26.5%
  • TypeScript 2%
  • SCSS 1%
  • CSS 0.6%
  • Other 0.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-16 11:22:42 +08:00
.vscode init 2026-06-15 22:45:48 +08:00
build init 2026-06-15 22:45:48 +08:00
docs/superpowers docs: 补充用电报表左侧设备树改造设计 2026-07-17 00:06:27 +08:00
public 大屏三维模型开启和关闭时显示调整 2026-09-09 16:18:54 +08:00
scripts feat: 新增 UI 一键部署并完善 H5/室内机相关页面 2026-07-13 12:39:38 +08:00
src 大屏气泡逻辑调整 2026-09-16 11:22:42 +08:00
.editorconfig init 2026-06-15 22:45:48 +08:00
.env 升级https 2026-09-14 19:01:03 +08:00
.env.development 加入语音功能,完善部分小问题,大屏使用tui后端 2026-09-08 17:16:41 +08:00
.env.prod 最新代码 2026-07-05 12:11:07 +08:00
.env.production 升级https 2026-09-14 19:01:03 +08:00
.env.test 最新代码 2026-07-05 12:11:07 +08:00
.gitignore feat: 新增 UI 一键部署并完善 H5/室内机相关页面 2026-07-13 12:39:38 +08:00
.npmrc init 2026-06-15 22:45:48 +08:00
deploy.config.example.json feat: 新增 UI 一键部署并完善 H5/室内机相关页面 2026-07-13 12:39:38 +08:00
eslint.config.js init 2026-06-15 22:45:48 +08:00
index.html init 2026-06-15 22:45:48 +08:00
jsconfig.json init 2026-06-15 22:45:48 +08:00
LICENSE init 2026-06-15 22:45:48 +08:00
package-lock.json 智能体对话去掉信封逻辑,修改导出逻辑 2026-08-26 16:25:08 +08:00
package.json 智能体对话去掉信封逻辑,修改导出逻辑 2026-08-26 16:25:08 +08:00
pnpm-lock.yaml init 2026-06-15 22:45:48 +08:00
README.md 升级https 2026-09-14 19:01:03 +08:00
uno.config.js init 2026-06-15 22:45:48 +08:00
vite.config.js fix: Vite dev server 允许 frp 域名访问 2026-07-28 01:08:21 +08:00

yuanzhou_ui

袁州区政府能碳管理平台 UI

一键部署

# 1. 配置(首次)
cp deploy.config.example.json deploy.config.json
# 编辑 deploy.config.json:填写 host / username / password 等

# 2. 构建并上传到服务器
npm run deploy

脚本:scripts/deploy-ui.ps1 流程:本地 npm run build → 打包 dist → SSH 上传 → 服务器解压并切换 dist(旧目录按日期备份)。

默认远端:/home/webapps/yzzf/ui

常见问题:No SSH password tool found

需安装 PuTTY(plink + pscp),或 sshpass。仅有系统 OpenSSH 不够。

配置说明

参考 deploy.config.example.json:host / username / password 必填;remoteUiRoot 默认 /home/webapps/yzzf/ui。

deploy.config.json 含密码,已 gitignore,勿提交。