🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
> 提交时间搜索的传入格式为时间区间,如要搜索2020年6月1日至2020年6月15日的数据,则传入格式为:`2020-06-01 ~ 2020-06-15`,即起始和结束日期用`空格~空格`分隔 ~~~[api] post:/AdminApprove/index int:id#通行证ID string:number_plate#车牌号 string:start#起点 string:end#目的地 int:status#状态 string:keywords#搜索词 string:create_time#提交时间搜索(区间) int:limit=15#每页显示数量 int:page=1#页码 <<< success { "code":0, "msg":"获取成功", "count":41, "data":[ { "id":1, "user_id":12, "role_id":9, "type":1, "number_plate":"津DFSAF", "number_type":"黄牌", "driver_name":"test", "driver_phone":"13800138000", "driver_card_img1":"\/storage\/approve\/12\/ddb1fd42b0b4135dc6209217f00afc41.jpeg", "driver_card_img2":"\/storage\/approve\/12\/f2bdbc7fd92d1b2412e30e2af890a13f.jpeg", "driving_card_img1":"\/storage\/approve\/12\/615d66e33c718ee19a84b35cb205a62e.jpg", "driving_card_img2":"\/storage\/approve\/12\/427e0db64f0a9b364423ef60e6a0e113.jpg", "vehicle_img1":"", "vehicle_img2":"", "vehicle_insurance":"\/storage\/approve\/12\/71b3dc6e1b134e06ba8b22e0b3c50351.jpeg", "remark":"kjh", "item_type":"33", "contract":"\/storage\/approve\/12\/fa540ef886d9e59b50600e6f0bdd813d.jpg", "start":"清远大道", "end":"清城区增强东大街北1巷", "end_point":"113.045361,23.717678", "line":"环城三路-湖西路-学宫街", "expiration_day":2, "status":"3", "effective_time":"2020-06-05", "start_time":"2020-06-05", "expire_time":"2020-06-07", "update_time":"2020-06-05 16:29:01", "create_time":"2020-06-05 11:05:18", "user":{ "id":12, "username":"cxg" }, "status_text":"已过期", "destination":{ "id":9, "name":"东城中队受理岗" }, "vehicleType":{ "id":1, "name":"普通货运车辆临时通行证" } }] } ~~~ ## 字段说明 | 字段名 | 说明 | | --- | --- | | user.username | 用户姓名 | | destination.name | 目的地中队名称 | | vehicleType | 通行证类型 | ## 我的审批状态列表 | 字段名 | 说明 | | --- | --- | | 0 | 审核中 | | 1 | 已通过 | | 2 | 未通过 | | 3 | 已过期 |