From f723eb51e6fb214dd4f6503396cb8866297daf00 Mon Sep 17 00:00:00 2001 From: TianyangZhang Date: Tue, 19 May 2026 10:33:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(ofm,wf):=20=E5=AE=A3=E4=BC=A0=E6=8A=A5?= =?UTF-8?q?=E9=81=93=E5=AE=A1=E6=89=B9=E5=AD=97=E6=AE=B5=E8=A1=A5=E5=85=A8?= =?UTF-8?q?=E3=80=81=E6=9D=83=E9=99=90=E5=8E=BB=E5=86=97=E4=BD=99=E4=B8=8E?= =?UTF-8?q?=E5=AE=A1=E6=89=B9=E5=8F=AF=E8=A7=81=E6=80=A7=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 综合管理部审查意见 字段在部门负责人审批步骤也可填写并编辑,避免同一人连续审批被自动跳过导致字段为空 - 宣传报道 submit_b_func 在 show 模式(审批人处理)下不再调用 publicity.update,数据由工作流 save_ticket_data 回写;解决档案管理员无 publicity.update 权限时上传终版文件后点同意报"您没有执行该操作的权限" - 专利审批(wf_patent)、论文申密审批(wf_paperse) 在审批管理页面仅部门负责人岗位可见(下拉筛选与"发起流程"对话框同步生效) Co-Authored-By: Claude Opus 4.7 (1M context) --- src/views/ofm/publicity_form.vue | 10 ++++++---- src/views/wf/myticket.vue | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/ofm/publicity_form.vue b/src/views/ofm/publicity_form.vue index 080a55a1..3802da61 100644 --- a/src/views/ofm/publicity_form.vue +++ b/src/views/ofm/publicity_form.vue @@ -111,9 +111,10 @@ - - - + + + + @@ -271,7 +272,8 @@ export default { if (that.localMode === "add") { let res = await that.$API.ofm.publicity.create.req(that.addForm); that.addForm.id = res.id; - } else { + } else if (that.localMode === "edit") { + // 仅创建人在草稿态(start state)可编辑业务表;其他审批场景下数据通过工作流 save_ticket_data 回写 await that.$API.ofm.publicity.update.req( that.addForm.id, that.addForm diff --git a/src/views/wf/myticket.vue b/src/views/wf/myticket.vue index 2e915692..b53c69da 100644 --- a/src/views/wf/myticket.vue +++ b/src/views/wf/myticket.vue @@ -228,7 +228,7 @@ export default { } catch (e) { console.error("获取用户岗位失败:", e); } - const restrictedKeys = { wf_leave: isDeptHead }; + const restrictedKeys = { wf_leave: isDeptHead, wf_patent: isDeptHead, wf_paperse: isDeptHead }; const groups = {}; this.$API.wf.workflow.list.req({ page: 0 }).then((res) => { res.forEach((item) => {