feat(emr): 优化病历修改留痕功能并移除医保模拟服务
- 新增分页查询修改留痕(含患者信息)功能,支持按患者、医生、操作人、病历类型筛选 - 在EmrRevisionController中移除权限校验注解,简化访问控制 - 重构病历修改留痕前端界面,采用树形结构展示病历与修订版本关系 - 添加表格列最小宽度限制和溢出省略显示,优化表格组件样式 - 更新医保配置地址从本地到云端服务器 - 移除医保模拟服务相关代码和数据库迁移文件 - 修复临床路径表缺少基础实体字段问题
This commit is contained in:
24
scripts/kill-port-18080.ps1
Normal file
24
scripts/kill-port-18080.ps1
Normal file
@@ -0,0 +1,24 @@
|
||||
# kill-port-18080.ps1
|
||||
# 查找并杀掉占用18080端口的进程
|
||||
|
||||
$port = 18080
|
||||
Write-Host "正在查找占用端口 $port 的进程..." -ForegroundColor Yellow
|
||||
|
||||
$processes = netstat -ano | Select-String ":$port\s" | Select-String "LISTENING"
|
||||
|
||||
if ($processes) {
|
||||
foreach ($line in $processes) {
|
||||
$processId = ($line -split '\s+')[-1]
|
||||
if ($processId -match '^\d+$') {
|
||||
$process = Get-Process -Id $processId -ErrorAction SilentlyContinue
|
||||
if ($process) {
|
||||
Write-Host "找到进程: PID=$processId, 名称=$($process.ProcessName)" -ForegroundColor Cyan
|
||||
Stop-Process -Id $processId -Force
|
||||
Write-Host "已杀掉进程 $processId" -ForegroundColor Green
|
||||
}
|
||||
}
|
||||
}
|
||||
Write-Host "端口 $port 已释放" -ForegroundColor Green
|
||||
} else {
|
||||
Write-Host "端口 $port 未被占用" -ForegroundColor Yellow
|
||||
}
|
||||
26
scripts/kill-port.ps1
Normal file
26
scripts/kill-port.ps1
Normal file
@@ -0,0 +1,26 @@
|
||||
param([int]$Port = 18080)
|
||||
|
||||
Write-Host "Checking port $Port..."
|
||||
|
||||
$netstatOutput = netstat -ano | findstr ":$Port " | findstr "LISTENING"
|
||||
|
||||
if ($netstatOutput) {
|
||||
foreach ($line in $netstatOutput) {
|
||||
$parts = $line -split '\s+' | Where-Object { $_ -ne '' }
|
||||
$processId = $parts[-1]
|
||||
|
||||
if ($processId -match '^\d+$') {
|
||||
try {
|
||||
$process = Get-Process -Id $processId -ErrorAction Stop
|
||||
Write-Host "Killing PID: $processId ($($process.ProcessName))"
|
||||
Stop-Process -Id $processId -Force
|
||||
Write-Host "Done"
|
||||
} catch {
|
||||
Write-Host "PID: $processId - cannot get process info"
|
||||
}
|
||||
}
|
||||
}
|
||||
Write-Host "Port $Port is now free"
|
||||
} else {
|
||||
Write-Host "Port $Port is not in use"
|
||||
}
|
||||
Reference in New Issue
Block a user