refactor: 彻底清除所有openhis痕迹

- 重命名目录: openhis-server-new → healthlink-his-server
- 重命名目录: openhis-ui-vue3 → healthlink-his-ui
- 重命名Java类: OpenHisApplication → HealthLinkHisApplication
- 重命名Java类: OpenHisMiniApp → HealthLinkHisMiniApp
- 重命名组件目录: OpenHis → HealthLinkHis
- 重命名样式文件: openhis.scss → healthlink-his.scss
- 重命名配置: nginx-openhis.conf → nginx-healthlink-his.conf
- 更新所有源码引用 (0个残留)
- 更新所有文档/脚本/配置中的引用
This commit is contained in:
2026-06-05 13:36:28 +08:00
parent d07cab2314
commit 893cbf1fe0
5314 changed files with 3919 additions and 19866 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
# ============================================================
# OpenHIS 前端部署脚本
# HealthLink-HIS 前端部署脚本
# 用法: bash deploy-frontend.sh [prod|test|staging|dev]
# 默认: prod
# ============================================================
@@ -8,11 +8,11 @@ set -e
MODE=${1:-prod}
PROJECT_DIR=$(cd "$(dirname "$0")/.." && pwd)
UI_DIR="$PROJECT_DIR/openhis-ui-vue3"
UI_DIR="$PROJECT_DIR/healthlink-his-ui"
DIST_DIR="$UI_DIR/dist"
echo "=========================================="
echo " OpenHIS 前端部署"
echo " HealthLink-HIS 前端部署"
echo " 环境: $MODE"
echo " 目录: $UI_DIR"
echo "=========================================="
@@ -72,11 +72,11 @@ echo ""
echo "[5/5] 部署方式:"
echo ""
echo " 方式一: 复制到 Nginx"
echo " cp -r $DIST_DIR/* /usr/share/nginx/html/openhis/"
echo " cp -r $DIST_DIR/* /usr/share/nginx/html/healthlink-his/"
echo " nginx -s reload"
echo ""
echo " 方式二: 软链接(推荐,方便更新)"
echo " ln -sfn $DIST_DIR /usr/share/nginx/html/openhis"
echo " ln -sfn $DIST_DIR /usr/share/nginx/html/healthlink-his"
echo " nginx -s reload"
echo ""
echo "=========================================="

View File

@@ -1,16 +1,16 @@
# ============================================================
# OpenHIS 前端依赖问题排查与修复脚本
# HealthLink-HIS 前端依赖问题排查与修复脚本
# 用法: bash fix-deps.sh
# ============================================================
set -e
PROJECT_DIR=$(cd "$(dirname "$0")/.." && pwd)
UI_DIR="$PROJECT_DIR/openhis-ui-vue3"
UI_DIR="$PROJECT_DIR/healthlink-his-ui"
cd "$UI_DIR"
echo "=========================================="
echo " OpenHIS 前端依赖诊断"
echo " HealthLink-HIS 前端依赖诊断"
echo "=========================================="
echo ""

View File

@@ -1,22 +1,22 @@
# ============================================================
# OpenHIS 前端 Nginx 配置
# HealthLink-HIS 前端 Nginx 配置
# 放到 /etc/nginx/conf.d/openhis.conf 或 include 到 nginx.conf
# ============================================================
server {
listen 80;
server_name openhis.local; # 改成实际域名或 IP
server_name healthlink-his.local; # 改成实际域名或 IP
# 前端静态文件
location / {
root /usr/share/nginx/html/openhis;
root /usr/share/nginx/html/healthlink-his;
index index.html;
try_files $uri $uri/ /index.html; # SPA 路由回退
}
# 后端 API 代理
location /prd-api/ {
proxy_pass http://127.0.0.1:18080/openhis/;
proxy_pass http://127.0.0.1:18082/healthlink-his/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -35,14 +35,14 @@ server {
# 静态资源缓存(带 hash 的文件长期缓存)
location ~* /assets/.*\.(js|css|woff2?|ttf|eot|png|jpg|jpeg|gif|svg|ico)$ {
root /usr/share/nginx/html/openhis;
root /usr/share/nginx/html/healthlink-his;
expires 365d;
add_header Cache-Control "public, immutable";
}
# index.html 不缓存(保证更新及时生效)
location = /index.html {
root /usr/share/nginx/html/openhis;
root /usr/share/nginx/html/healthlink-his;
add_header Cache-Control "no-cache, no-store, must-revalidate";
}
}