|
@@ -45,16 +45,18 @@
|
|
|
<img src='../../assets/completed.png' alt />
|
|
|
已按策略执行
|
|
|
</span>
|
|
|
- <span v-else v-for='(item1,index) in titles' :key='"l"+index'>
|
|
|
- <span class='card-div6' v-if='item1.id==item.recommend.AppealId && item1.status==301'>
|
|
|
- <img src='../../assets/error.png' alt />
|
|
|
- 未按策略执行
|
|
|
- </span>
|
|
|
- <span class='card-div8' v-if='item1.id==item.recommend.AppealId && item1.status==302'>
|
|
|
- <img src='../../assets/processing.png' alt />
|
|
|
- 申诉中
|
|
|
- </span>
|
|
|
- </span>
|
|
|
+ <template v-else v-for='(item1,index) in titles' >
|
|
|
+ <template v-if='item1.id==item.recommend.appealId'>
|
|
|
+ <span class='card-div8' v-if="item1.status==302" :key='"l"+index'>
|
|
|
+ <img src='../../assets/processing.png' alt />
|
|
|
+ 申诉中
|
|
|
+ </span>
|
|
|
+ <span class='card-div6' v-else :key='"l"+index'>
|
|
|
+ <img src='../../assets/error.png' alt />
|
|
|
+ 未按策略执行
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
<span class='MicrYaHei' @click='lookQuickData(item)'>查看快照</span>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -92,10 +94,10 @@ export default {
|
|
|
return str.substring(0, 2) + ':' + str.substring(2, 4)
|
|
|
}
|
|
|
},
|
|
|
- queryFlow() {
|
|
|
+ queryFlow(ids) {
|
|
|
let postParams = {
|
|
|
crireria: {
|
|
|
- id: this.ids
|
|
|
+ id:ids
|
|
|
}
|
|
|
}
|
|
|
queryWorkflow({ postParams }).then(res => {
|
|
@@ -104,12 +106,13 @@ export default {
|
|
|
},
|
|
|
getAppealId() {
|
|
|
this.cardList.forEach(el => {
|
|
|
- console.log(el)
|
|
|
- if (el.recommend.isExecuted) {
|
|
|
- this.ids.push(el.recommend.getAppealId)
|
|
|
+ if (!el.recommend.isExecuted) {
|
|
|
+ console.log(el)
|
|
|
+ this.ids.push(el.recommend.appealId)
|
|
|
}
|
|
|
+ console.log(this.ids)
|
|
|
})
|
|
|
- this.queryFlow()
|
|
|
+ this.queryFlow(this.ids)
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|