Prechádzať zdrojové kódy

fix 回手书单回收状态加上黑名单判断

ylong 7 mesiacov pred
rodič
commit
a7c646dec9

+ 7 - 3
src/views/recycle/components/book-info.vue

@@ -48,9 +48,13 @@
                 </div>
                 <div class="common-text">
                     <el-text>回收状态:</el-text>
-
+                    <el-text v-if="row.bookStatus == 3">黑名单</el-text>
+                    <el-text v-else-if="row.recycleStatus == 1">正在回收</el-text>
+                    <el-text v-else-if="row.recycleStatus == 2">收满暂停回收</el-text>
+                    <el-text v-else-if="row.recycleStatus == 3">手动暂停回收</el-text>
+                    <el-text v-else>-</el-text>
                     <!-- 1 正在回收 2 收满暂停回收 3 手动暂停回收 -->
-                    <el-text>{{
+                    <!-- <el-text>{{
                         row.recycleStatus == 1
                             ? '正在回收'
                             : row.recycleStatus == 2
@@ -58,7 +62,7 @@
                               : row.recycleStatus == 3
                                 ? '手动暂停回收'
                                 : '-'
-                    }}</el-text>
+                    }}</el-text> -->
                 </div>
                 <div class="common-text" v-if="showTag">
                     <el-text>所属类型:</el-text>