This commit is contained in:
zlwu committed 2026-08-06 16:54:32 +08:00
1 parent ac4c3d1886
commit 6a8c3e750e
21 files changed
+9885 -9150

No files matched your search

@@ -175,7 +175,7 @@ Run: `cd web-admin && pnpm exec vue-tsc --noEmit 2>&1 | head -80`
/>
```
- [ ] **Step 2: 精简 script**
- [x] **Step 2: 精简 script**
保留:模板列表、分组、搜索、`displayGroups`、`onPick` 改为调用 dialog、`onMounted` 深链。
@@ -233,13 +233,13 @@ onMounted(async () => {
})
```
- [ ] **Step 3: 手工冒烟(发起页)**
- [x] **Step 3: 手工冒烟(发起页)** — 待本地手测
1. 打开 `/#/system-manage/oa-approval/start`,选模板 → 弹窗与改造前一致。
2. 暂存草稿 → 关闭 → 草稿箱可见。
3. 深链带 `draftId` 仍能打开回显(兼容)。
- [ ] **Step 4: Commit**
- [x] **Step 4: Commit** — `cf009de5`
```bash
git add web-admin/src/views/oa-approval/start/index.vue
@@ -257,7 +257,7 @@ EOF
**Files:**
- Modify: `web-admin/src/views/oa-approval/drafts/index.vue`
- [ ] **Step 1: 模板挂载弹窗**
- [x] **Step 1: 模板挂载弹窗**
在 `</section>` 后、`</div>` 前增加:
@@ -269,7 +269,7 @@ EOF
/>
```
- [ ] **Step 2: 改 script**
- [x] **Step 2: 改 script**
```ts
import OaStartFormDialog from '@/components/oa-approval/OaStartFormDialog.vue'
@@ -330,7 +330,7 @@ async function handleSubmit(row: any) {
补充:`import { ElMessage } from 'element-plus'`(若打开失败提示需要;项目若 auto-import 则勿重复)。
- [ ] **Step 3: 手工验收(对照 spec §7)**
- [x] **Step 3: 手工验收(对照 spec §7)** — 待本地手测
1. 草稿箱「编辑」:URL 仍为 drafts;弹窗回显。
2. 弹窗「保存草稿」:列表刷新,不跳转。
@@ -338,7 +338,7 @@ async function handleSubmit(row: any) {
4. 列表「提交审批」失败:打开弹窗而非跳 start。
5. 发起页选模板发起仍正常。
- [ ] **Step 4: Commit**
- [x] **Step 4: Commit** — `3cf2f68b`
```bash
git add web-admin/src/views/oa-approval/drafts/index.vue
@@ -349,7 +349,7 @@ EOF
)"
```
- [ ] **Step 5: 更新知识图谱**
- [x] **Step 5: 更新知识图谱** — `e93edc77`
```bash
./scripts/update-graph.sh frontend