From 983c1a7512131e4e72d1743825f900489b52ae80 Mon Sep 17 00:00:00 2001 From: chenxing Date: Tue, 20 Oct 2026 18:02:00 +0800 Subject: [PATCH] =?UTF-8?q?feat(front):=20=E4=BA=8B=E9=A1=B9=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E8=A1=A5=E6=9C=8D=E5=8A=A1=E6=89=BF=E8=AF=BA=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=20+=20=E5=88=97=E8=A1=A8=E5=8A=A0=E6=89=BF=E8=AF=BA?= =?UTF-8?q?=E6=97=B6=E9=99=90/=E8=B7=91=E5=8A=A8=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ServiceItemEdit.vue:新增「服务承诺」区块(协办部门/经办人/办理时段/跑动次数/快递/收费) - ServiceItemList.vue:列表新增承诺时限、跑动次数两列 - SvcItemSaveRequest 类型补 7 字段,去掉原来的 & Record 兜底 - .gitignore 忽略 vite.config.ts.timestamp-* 临时文件 --- .gitignore | 3 ++ src/types/svc.ts | 8 ++++ src/views/svc/ServiceItemEdit.vue | 77 ++++++++++++++++++++++++++++++- src/views/svc/ServiceItemList.vue | 8 ++++ 4 files changed, 95 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c00039c..9230e0d 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,6 @@ yarn.lock # scratch .temp + +# Vite 配置热重载产生的临时文件(构建时自动生成,勿入库) +vite.config.ts.timestamp-* diff --git a/src/types/svc.ts b/src/types/svc.ts index 21c0ec6..089ca55 100644 --- a/src/types/svc.ts +++ b/src/types/svc.ts @@ -130,6 +130,14 @@ export interface SvcItemSaveRequest { formCode?: string; flowGuid?: string; applyUrl?: string; + // ===== 服务承诺(P1-1):与后端 SvcModels.SvcItemSaveRequest 同名,勿改 ===== + coopDepts?: string; + handlerName?: string; + handleTimeDesc?: string; + runCount?: number; + expressFlag?: number; + feeDesc?: string; + feeBasis?: string; sortNo?: number; attachmentIds?: number[]; } diff --git a/src/views/svc/ServiceItemEdit.vue b/src/views/svc/ServiceItemEdit.vue index 242c8c9..49ea9c3 100644 --- a/src/views/svc/ServiceItemEdit.vue +++ b/src/views/svc/ServiceItemEdit.vue @@ -25,13 +25,20 @@ const saveRules = { title: [{ required: true, message: "请填写红色星号内容!", trigger: "blur" }], }; -const form = ref>({ +const form = ref({ siteCode: "", itemCode: "", title: "", handleMode: 1, onlineFlag: 1, sortNo: 0, + coopDepts: "", + handlerName: "", + handleTimeDesc: "", + runCount: undefined, + expressFlag: undefined, + feeDesc: "", + feeBasis: "", }); const objects = ref<{ dictKey: string; dictName: string }[]>([]); const categories = ref<{ dictKey: string; dictName: string }[]>([]); @@ -225,6 +232,7 @@ onMounted(loadAll); +
建议填纯数字(天),详情页会用它推算预计完成日期
@@ -239,6 +247,53 @@ onMounted(loadAll); +
+ 服务承诺新增 +
+ + + + + + + + + + + + + + +
区别于办理时限,指窗口办公时段
+
+ + + + +
0 = 零跑动
+
+ + + + + + + + + + + + + + + + +
+ 在线办理绑定 @@ -346,6 +401,26 @@ onMounted(loadAll);