diff --git a/src/views/activiti/applyList.vue b/src/views/activiti/applyList.vue index 62f7c33..ce9f41c 100644 --- a/src/views/activiti/applyList.vue +++ b/src/views/activiti/applyList.vue @@ -162,6 +162,7 @@ @@ -335,6 +336,7 @@ hieg: false, procInstId:'', pictureId:'', + itemId:'', }, form:{ priority:0, @@ -495,6 +497,7 @@ isView = isView||false; this.lcModa.disabled = isView; this.lcModa.hieg = isView; + this.lcModa.itemId=r.tableId this.lcModa.title = '修改流程业务信息:'+r.title; if (isView) this.lcModa.title = '查看流程业务信息:'+r.title; this.lcModa.formComponent = this.getFormComponent(r.routeName).component; diff --git a/src/views/activiti/doneManage.vue b/src/views/activiti/doneManage.vue index c4f5f4a..225b153 100644 --- a/src/views/activiti/doneManage.vue +++ b/src/views/activiti/doneManage.vue @@ -125,6 +125,7 @@ @@ -176,6 +177,7 @@ export default { title:'', disabled:false, visible:false, + itemId:'', formComponent : null, isNew : false }, @@ -201,6 +203,9 @@ export default { }); }, removeHtmlStyle(str) { + if (!str){ + return; + } str = str.replace(/<\/?[^>]*>/g, ''); //匹配所有html标签 str = str.replace(/]*>/g, '

'); //去除标签内所有属性,并设置自定义类名 @@ -237,6 +242,7 @@ export default { return; } this.lcModa.disabled = true + this.lcModa.itemId=r.tableId this.lcModa.title = '查看流程业务信息:' + r.processName this.lcModa.formComponent = this.getFormComponent(r.routeName).component this.lcModa.processData = r diff --git a/src/views/activiti/form/ProcessMaterialWarehousing.vue b/src/views/activiti/form/ProcessMaterialWarehousing.vue index fb52482..3bc3e57 100644 --- a/src/views/activiti/form/ProcessMaterialWarehousing.vue +++ b/src/views/activiti/form/ProcessMaterialWarehousing.vue @@ -68,6 +68,9 @@ }, created() { console.log(this.itemId,"this.itemId") + if (this.itemId){ + this.isTable=true + } this.$route.query.item=this.itemId }, methods: { diff --git a/src/views/activiti/form/ProcessUdgetPlan.vue b/src/views/activiti/form/ProcessUdgetPlan.vue index f92f6d2..93c49ce 100644 --- a/src/views/activiti/form/ProcessUdgetPlan.vue +++ b/src/views/activiti/form/ProcessUdgetPlan.vue @@ -119,7 +119,9 @@ // } // }, created() { - console.log(this.itemId,"this.itemId") + if (this.itemId){ + this.isTable=true + } this.$route.query.item=this.itemId }, methods: { diff --git a/src/views/activiti/form/ProcessUdgetPlanForm.vue b/src/views/activiti/form/ProcessUdgetPlanForm.vue index 08d84b8..5934e3b 100644 --- a/src/views/activiti/form/ProcessUdgetPlanForm.vue +++ b/src/views/activiti/form/ProcessUdgetPlanForm.vue @@ -124,17 +124,17 @@ - 查看 + 查看 @@ -144,7 +144,7 @@ - 库存 + 库存 diff --git a/src/views/activiti/processFinishManage.vue b/src/views/activiti/processFinishManage.vue index 18b57e0..7b29149 100644 --- a/src/views/activiti/processFinishManage.vue +++ b/src/views/activiti/processFinishManage.vue @@ -136,6 +136,7 @@ @@ -156,6 +157,7 @@ export default { title:'', disabled:false, visible:false, + itemId:'', formComponent : null, isNew : false }, @@ -231,6 +233,7 @@ export default { return; } console.log(r.id,'查看数据********') + this.lcModa.itemId=r.tableId this.lcModa.disabled = true; this.lcModa.title = '查看流程业务信息:'+r.name; this.lcModa.formComponent = this.getFormComponent(r.routeName).component; diff --git a/src/views/activiti/processInsManage.vue b/src/views/activiti/processInsManage.vue index f24a78b..4c19750 100644 --- a/src/views/activiti/processInsManage.vue +++ b/src/views/activiti/processInsManage.vue @@ -138,6 +138,7 @@ @@ -159,6 +160,7 @@ export default { return { openSearch: true, openTip: true, + loading: true, // 表单加载状态 selectCount: 0, // 多选计数 selectList: [], // 多选数据 @@ -197,6 +199,7 @@ export default { title:'', disabled:false, visible:false, + itemId:'', formComponent : null, isNew : false }, @@ -290,6 +293,7 @@ export default { ); return; } + this.lcModa.itemId=r.tableId this.lcModa.disabled = true; this.lcModa.title = '查看流程业务信息:'+r.name; this.lcModa.formComponent = this.getFormComponent(r.routeName).component;