Browse Source

标签状态修改

hubin 1 năm trước cách đây
mục cha
commit
2b48fa489e
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/views/flow/test/business.vue

+ 2 - 1
src/views/flow/test/business.vue

@@ -27,8 +27,9 @@
 				</template>
 
 				<template #statusSlot="scope">
-					<el-tag v-if="scope.row.status === 1" type="danger">已拒绝</el-tag>
+					<el-tag v-if="scope.row.status === 1" type="warning">审批中</el-tag>
 					<el-tag v-else-if="scope.row.status === 2" type="success">已通过</el-tag>
+					<el-tag v-if="scope.row.status === 3" type="danger">已拒绝</el-tag>
 					<el-tag v-else type="info">待审批</el-tag>
 				</template>