基于腾讯云TCB平台的专业汽车维修预约管理系统,为客户提供便捷的在线预约、维修进度跟踪服务。
git clone <repository-url>
cd nayong-dingsheng-appointment-system
npm install
配置TCB环境
script.js 中的配置信息本地开发
npm run dev
npm run build npm run deploy
nayong-dingsheng-appointment-system/ ├── index.html # 主页面 ├── styles.css # 样式文件 ├── script.js # 前端逻辑 ├── package.json # 项目配置 ├── cloudbaserc.json # TCB配置 ├── functions/ # 云函数 │ ├── login/ # 用户登录 │ ├── register/ # 用户注册 │ ├── createAppointment/ # 创建预约 │ ├── getAppointments/ # 获取预约列表 │ └── updateAppointmentStatus/ # 更新预约状态 └── README.md # 项目文档
POST /functions/login - 用户登录POST /functions/register - 用户注册POST /functions/createAppointment - 创建预约POST /functions/getAppointments - 获取预约列表POST /functions/updateAppointmentStatus - 更新预约状态{
_id: string, // 用户ID
username: string, // 用户名
password: string, // 密码(加密)
phone: string, // 手机号
createTime: date, // 创建时间
lastLoginTime: date, // 最后登录时间
loginCount: number, // 登录次数
status: string // 用户状态
}
{
_id: string, // 预约ID
appointmentNo: string, // 预约编号
userId: string, // 用户ID
username: string, // 用户名
carModel: string, // 车型
carNumber: string, // 车牌号
serviceType: string, // 服务类型
appointmentDate: string, // 预约日期
appointmentTime: string, // 预约时间
description: string, // 问题描述
status: string, // 预约状态
technicianId: string, // 技师ID
createTime: date, // 创建时间
updateTime: date, // 更新时间
estimatedDuration: number, // 预计时长
estimatedCost: number, // 预计费用
actualStartTime: date, // 实际开始时间
actualEndTime: date, // 实际结束时间
actualCost: number, // 实际费用
notes: string // 备注
}
{
_id: string, // 技师ID
name: string, // 技师姓名
phone: string, // 联系电话
specialties: array, // 专业技能
currentWorkload: number, // 当前工作负载
totalCompleted: number, // 总完成数
createTime: date, // 创建时间
updateTime: date // 更新时间
}
MIT License
© 2024 纳雍鼎盛汽修预约系统. All rights reserved.