From e9edb8d20457bcd57a19f061f054c268aed7c6a4 Mon Sep 17 00:00:00 2001 From: caoyizhong <1270296080@qq.com> Date: Fri, 11 Nov 2022 10:06:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A7=E5=88=B6=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/activiti/applyHome.vue | 4 +++- src/views/activiti/applyList.vue | 6 ++++-- src/views/activiti/form/ProcessUdgetPlan.vue | 7 ++++++- src/views/activiti/form/ProcessUdgetPlanForm.vue | 8 +++++++- 4 files changed, 20 insertions(+), 5 deletions(-) diff --git a/src/views/activiti/applyHome.vue b/src/views/activiti/applyHome.vue index e22ea6a..e7dc9f9 100644 --- a/src/views/activiti/applyHome.vue +++ b/src/views/activiti/applyHome.vue @@ -41,7 +41,7 @@ :okButtonProps="{ class:{'jee-hidden': disableSubmit} }" width="80%" > - @@ -96,6 +96,7 @@ addApplyLoading: false, lcModa: { title:'', + hieg:true, disabled:false, visible:false, formComponent : null, @@ -169,6 +170,7 @@ this.lcModa.formComponent = this.getFormComponent(v.routeName).component; this.lcModa.title = '发起流程:'+v.name; this.lcModa.isNew = true; + this.lcModa.hieg = true; this.lcModa.pictureId=v.id; this.lcModa.procInstId=''; this.lcModa.processData = v; diff --git a/src/views/activiti/applyList.vue b/src/views/activiti/applyList.vue index da5f79c..e3555d2 100644 --- a/src/views/activiti/applyList.vue +++ b/src/views/activiti/applyList.vue @@ -154,7 +154,7 @@ - @@ -348,6 +348,7 @@ visible:false, formComponent : null, isNew : false, + hieg: false, procInstId:'', pictureId:'', }, @@ -503,6 +504,7 @@ isView = isView||false; this.lcModa.disabled = isView; + this.lcModa.hieg = isView; this.lcModa.title = '修改流程业务信息:'+r.title; if (isView) this.lcModa.title = '查看流程业务信息:'+r.title; this.lcModa.formComponent = this.getFormComponent(r.routeName).component; @@ -581,5 +583,5 @@ } \ No newline at end of file diff --git a/src/views/activiti/form/ProcessUdgetPlan.vue b/src/views/activiti/form/ProcessUdgetPlan.vue index b4fc188..66f4b3b 100644 --- a/src/views/activiti/form/ProcessUdgetPlan.vue +++ b/src/views/activiti/form/ProcessUdgetPlan.vue @@ -3,7 +3,7 @@ - + @@ -50,6 +50,11 @@ type: Boolean, default: false, required: false + }, + hieg: { + type: Boolean, + default: true, + required: true } }, // props: { diff --git a/src/views/activiti/form/ProcessUdgetPlanForm.vue b/src/views/activiti/form/ProcessUdgetPlanForm.vue index bb2bc30..498348e 100644 --- a/src/views/activiti/form/ProcessUdgetPlanForm.vue +++ b/src/views/activiti/form/ProcessUdgetPlanForm.vue @@ -251,7 +251,7 @@ materialPrice:0, materialAmount:0, describes:'', - hieg:true, + // hieg:true, historyBigId:[], isHistoryBigId:false, bigIdMerchandiseNews:[], @@ -541,6 +541,12 @@ type: Boolean, default: false, required: false + }, + //表单禁用 + hieg: { + type: Boolean, + default: true, + required: true } }, computed: {