WXL
3 天以前 4ddfa807643c73ff90840b0b65a5118741e12b48
pages/case/index.vue
@@ -222,13 +222,13 @@
            <text class="case-status">{{ caseItem.statusText }}</text>
          </view>
          <view class="actions">
            <button
            <!-- <button
              class="action-btn"
              v-if="caseItem.reportStatus == '1' || caseItem.reportStatus == '2'"
              @tap.stop="withdrawCase(caseItem)"
            >
              撤回
            </button>
            </button> -->
            <button class="action-btn" @tap.stop="viewDetails(caseItem)">
              查看详情
            </button>
@@ -327,6 +327,7 @@
  return {
    id: apiData.id || apiData.donatebaseinfoReportId,
    donorNo: apiData.caseNo,
    reportStatus: apiData.reportStatus,
    hospitalName: apiData.treatmenthospitalname,
    hospitalLogo: "/static/hospital/default.jpg",
    caseType: "器官捐献案例",
@@ -644,6 +645,7 @@
// 计算属性:筛选记录 - 现在只做前端状态筛选
const filteredCases = computed(() => {
  let result = cases.value;
  console.log(result,'result');
  
  // 只做前端状态筛选,时间筛选已经通过接口实现
  // if (currentType.value !== "all") {