修改bug

main
yanzai 2 years ago
parent 6c2e28a38c
commit 9c9f689dc0

@ -142,10 +142,11 @@ class AppointmentService
$ageDiff = $birthdate->diff($currentDate)->y;
// 判断年龄是否大于65岁
if ($ageDiff > 65) {
if ($ageDiff >= 65) {
return true;
} else {
return false;
}
}
}

@ -55,11 +55,7 @@
<el-tag v-if="scope.row.fee_type==1" class="ml-2" type="info"></el-tag>
</template>
</el-table-column>
<el-table-column prop="date" label="预约时间" >
<template #default="scope">
<span v-if="scope.row.date"> {{scope.row.date.substring(0,10)}} (<span style="color:#1cb9d1">{{scope.row.time}}</span>)</span>
</template>
</el-table-column>
<el-table-column prop="created_at" label="创建时间" />
<!-- <el-table-column label="操作" width="100">
<template #default="scope">
@ -103,11 +99,11 @@
})
const PageSizeChange = (e) => { //
pageSize.value = e
GetUserList()
GetList()
}
const PageCurrentChange = (e) => { //
currentPage.value = e
GetUserList()
GetList()
}
//

Loading…
Cancel
Save