ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
* * * * * > 如果只传room_id,说明查询的是某个业主所属的报修列表 > 如果只传admin_id,说明是查询所属某个维修员的报修列表 > 管理端只需要传入admin_id和状态即可获取相应的列表 ### 申请报修 ~~~[api] post:/api/repair/add *int:room_id=1#房ID *string:schedule_time= #预约时间 *string:home_category=默认值#报修类型(单选) *string:content= #报修内容 *string:linkman=默认值#联系人 *string:phone=默认值#手机号码 *string:address=默认值#地址 *string:staff_id=0#员工ID,空为客服安排或者员工抢单,否则为业主自主选择 <<< success { "errNum": 0, "retMsg": "success", "retData": {} } <<< error { "errNum": 0, "retMsg": "success", "retData": [] } ~~~ <br> <br> ### 报修详情 ~~~[api] post:/api/repair/show *int:id=1#ID <<< success { "status": 0, "data": "", } <<< error { "status": 0, "data": "success", } ~~~ <br> * * * * * ### 取消报修 ~~~[api] post:/api/repair/cancel *int:id=1#报修ID <<< success { "status": 0, "msg": "", } <<< error { "status": 0, "msg": "success", } ~~~ <br> ### 维修工接单 ~~~[api] post:/api/repair/receive *int:id=0#报修ID *int:admin_id=0#杰担任 string:remark=''#备注 <<< success { "status": 0, "msg": "", } <<< error { "status": 0, "msg": "success", } ~~~ <br> ### 维修派工 ~~~[api] post:/api/repair/task *int:id=0#报修ID *int:admin_id=0#客服ID *int:repairer=0#维修工ID string:remark=''#备注 <<< success { "status": 0, "msg": "", } <<< error { "status": 0, "msg": "success", } ~~~ <br> ### 维修工确认订单 ~~~[api] post:/api/repair/finishConfirm *int:id=0#ID *int:repairer=0#维修员ID *int:act=finish# <<< success { "errNum": 0, "retMsg": "success", "retData": {} } <<< error { "errNum": 0, "retMsg": "success", "retData": [] } ~~~ #### 报修 添加评价 ~~~[api] post:/api/repair/commentAdd *int:id=0#业主ID *int:grade=0#评分(1-5) *string:content= #点评内容 <<< success { "status": 1, "msg": } <<< error { "status": 0, "msg": } ~~~ ### 获取报修办公时间 ~~~[api] post:/api/repair/getOfficeTime <<< success { } <<< error { } ~~~ ### 上传图片 ~~~[api] post:/api/repair/upload <<< success { } <<< error { } ~~~ ### 报修统计 ~~~[api] post:/api/repair/statistics <<< success { } <<< error { } ~~~ > 与列表差不多