Forráskód Böngészése

feat(components/processList):流转流程回收状态

wangpx 1 éve
szülő
commit
a9da8b7a93
1 módosított fájl, 6 hozzáadás és 3 törlés
  1. 6 3
      components/ygoa/processList.vue

+ 6 - 3
components/ygoa/processList.vue

@@ -64,7 +64,8 @@
 										</uni-col>
 										<uni-col :xs="5" :sm="5" v-if="process.isCancel == '1'">
 											<uni-row>
-												<button type="warn" size="mini" @click.stop.prevent="handleToCancel(process)">撤回</button>
+												<button type="warn" size="mini"
+													@click.stop.prevent="handleToCancel(process)">撤回</button>
 											</uni-row>
 										</uni-col>
 									</uni-row>
@@ -84,10 +85,12 @@
 							<up-steps class="up_step_view" :current="process.flowStepItem.stepActive"
 								activeColor="#18bc37" inactiveColor="#2979ff" direction="column">
 								<view v-for="(step, index) in process.flowStepItem.options" :key="index">
-									<up-steps-item :contentClass="'redcontent'" v-if="step.state == 3"
+									<up-steps-item :contentClass="'redcontent'" v-if="step.state == '3'"
 										:title="step.title + ' 退回'" :desc="step.desc" error></up-steps-item>
-									<up-steps-item :contentClass="'redcontent'" v-else-if="step.state == 0"
+									<up-steps-item :contentClass="'redcontent'" v-else-if="step.state == '0'"
 										:title="step.title + ' 撤销'" :desc="step.desc" error></up-steps-item>
+									<up-steps-item v-else-if="step.state == '8' || step.state == '9'"
+										:title="step.title + ' 回收'" :desc="step.desc" error></up-steps-item>
 									<up-steps-item v-else-if="index == process.flowStepItem.stepActive"
 										:title="step.title" :desc="step.desc">
 										<template #icon>