瀏覽代碼

fix 优化复审

ylong 2 月之前
父節點
當前提交
816197d9bd
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      pages/index/detail/components/ReviewBookInfo.vue

+ 5 - 0
pages/index/detail/components/ReviewBookInfo.vue

@@ -44,6 +44,11 @@ const auditNum = computed(() => {
 });
 
 function handleBookClick(book) {
+    if(book.auditReviewComment?.sts){
+        uni.$u.toast("该书已复审完成");
+        uni.$u.ttsModule.speak("该书已复审完成");
+        return;
+    }
     uni.navigateTo({
         url: `/pages/index/detail/review-book?isbn=${book.isbn}&orderId=${props.detail.orderId}&auditReviewId=${book.auditReviewComment.auditReviewId}&&index=${book.auditReviewComment.index}`,
     });