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) => {