Sfoglia il codice sorgente

预定-过期超时删除

zhuli 2 settimane fa
parent
commit
d3d92e1edc
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 8 0
      src/views/appoinmentManagement/appoinmentInfo.vue

+ 8 - 0
src/views/appoinmentManagement/appoinmentInfo.vue

@@ -65,6 +65,14 @@
           >
             <el-button link type="primary" @click="handleDelete(scope.row)"> 删除 </el-button>
           </template>
+          <template
+            v-else-if="
+              (isOrderStatus(scope.row, 2) || isOrderStatus(scope.row, 7) || isOrderStatus(scope.row, 3)) &&
+              !isMoreThanThreeHoursAfterEnd(scope.row)
+            "
+          >
+            <el-button link type="primary" @click="handleDelete(scope.row)"> 删除 </el-button>
+          </template>
           <template v-else-if="isOrderStatus(scope.row, 7) && !isMoreThanThreeHoursAfterEnd(scope.row)">
             <el-button link type="primary" @click="handleDelete(scope.row)"> 删除 </el-button>
           </template>