feat: 本地 Java 发票 OCR + 策划方案多角色开放 + H5 相机脱敏修复

- OCR: 进程内 PaddleOCR ONNX Runtime 识别替代远程 Python 微服务
  (新增 ocr/core/service/config 引擎, 删 OcrClient/OcrConfig, PDF 文本层优先 + QR 快路径)
- 投稿: 项目设计投稿 → 项目策划方案, doctor/executor/sponsor 三角色开放
  (BizProjectPlan 按非 admin/manager 隔离, 复用 Submissions.vue, 设计文件改 OssFileUploader)
- H5: <video> 去掉 autoplay + safePlay 重试, 穿透 uni-app wrapper 找原生 video
- 脱敏: 签到表高斯模糊由横向条带改为全高竖条带 (20%~50% 宽度)
- 域名: ringdoctor.com → risingdoctor.com
This commit is contained in:
郭庆泰
2026-08-24 19:23:53 +08:00
parent 904e28710f
commit 0c882ae846
36 changed files with 2851 additions and 296 deletions
+24 -6
View File
@@ -14,7 +14,6 @@
<video
id="signin-video"
class="video"
autoplay
muted
playsinline
/>
@@ -67,7 +66,7 @@
import { useCamera } from '@/composables/useCamera'
const videoId = 'signin-video'
// A4 纸 20%~50% 区间 (签到人手机号/身份证号所在的姓名栏) 做高斯模糊脱敏
// A4 纸: 从顶边到底边的一竖条, 水平位置在 20%~50% 宽度 (签到人手机号/身份证号所在) 做高斯模糊脱敏
const { captured, errorMsg, startCamera, flipCamera, takePhoto, retake, confirm } =
useCamera(videoId, { start: 0.2, end: 0.5, radius: 20 })
@@ -273,19 +272,38 @@ function goBack() {
.preview-actions {
display: flex;
flex-direction: row;
justify-content: space-around;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
width: 100%;
padding: 40rpx 60rpx;
padding-bottom: calc(40rpx + env(safe-area-inset-bottom));
}
.preview-btn {
flex: 1;
margin: 0 20rpx;
padding: 24rpx 0;
/* flex item: 在 .preview-actions 里 flex:1 平分宽度 */
flex: 1 1 0%;
min-width: 0;
box-sizing: border-box;
/* flex container: 让内部 <text> 真正居中 */
display: flex;
justify-content: center;
align-items: center;
/* 重置浏览器 / uni-app H5 给 <button> 的默认外观 (边框/appearance 是按钮不对称的常见根因) */
margin: 0 16rpx;
padding: 0;
border: none;
outline: none;
appearance: none;
-webkit-appearance: none;
border-radius: 48rpx;
font-size: 30rpx;
font-weight: bold;
line-height: 1;
min-height: 88rpx;
}
.preview-btn-cancel {