From 8805eebe39d6470059616decd9fb10ab1f153088 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期四, 13 十月 2022 17:41:26 +0800
Subject: [PATCH] 去掉42.193.1.25地址指定
---
src/components/process/index.vue | 47 ++++++++++++++---------------------------------
1 files changed, 14 insertions(+), 33 deletions(-)
diff --git a/src/components/process/index.vue b/src/components/process/index.vue
index ef53b8b..09afaa4 100644
--- a/src/components/process/index.vue
+++ b/src/components/process/index.vue
@@ -43,45 +43,26 @@
return {
active: 0,
list: [
- {
- title: '涓婃姤',
- status: 'success',
- },
- {
- title: '绔嬫',
- status: 'process',
- },
- {
- title: '娲鹃仯',
- status: 'process',
- },
- {
- title: '澶勭疆',
- status: 'process',
- },
- {
- title: '鏍告煡',
- status: 'process',
- },
- {
- title: '缁撴',
- status: 'process',
- }
],
}
},
- props:['handlePassVo'],
+ props:['handlePassVo','baseCase'],
created(){
- console.log('process');
- const {handlePassVo:{workflowConfigSteps:mylist}} = this;
+ const {handlePassVo:{workflowConfigSteps:mylist},baseCase:{state:mystate}} = this;
// console.log(this.handlePassVo.workflowConfigSteps[0].name);
// console.log(mylist);
- mylist.forEach(item=>{
- if(item.disposeRecords.length!==0){
- this.active ++;
- }
- })
- console.log(this.active);
+ console.log(mystate);
+ if(mystate ===6){
+ this.active = 1;
+ }else if(mystate===7){
+ this.active = 2;
+ }else if(mystate ===8){
+ this.active = 3;
+ }else if(mystate ===9){
+ this.active = 4;
+ }else{
+ this.active = -1;
+ }
this.list = mylist;
},
}
--
Gitblit v1.8.0