work_order

小程序接口


保养工单列表页面

简要描述
  • 保养工单列表页面
请求URL
  • /app/mtWorkOrder/index
请求方式
  • GET
参数
参数名 必选 类型 说明
pageNum string 当前页码
pageSize string 当前页大小
order_code string 工单编码
order_name string 工单名称
order_state string 工单状态0=未分配,1=已分配,2=已接单,3=验收中,4=已验收,-1=已退回,5=执行中,6=保养失败
excute_person string 负责人
date_enum string DAY,WEEK,MONTH
返回示例
  {
    "status": 200,
    "success": true,
    "message": "执行成功",
    "result": [
        {
            "id": 1661480190420486,
            "order_code": "1661480190733551",
            "order_add_time": "2022-09-09 17:54:45",
            "order_type": "1",
            "order_tc_user_name": "73fc01cc-b42d-4e6c-bec2-d21a534a3bf8",
            "order_organ": "",
            "order_execution_time": null,
            "order_state": "0",
            "order_delete": null,
            "order_start_time": "2022-09-08 23:06:27",
            "order_end_time": "2022-09-08 23:06:37",
            "order_remark": "",
            "plan_id": "760482483744538625",
            "date_enum": "DAY",
            "startTime": null,
            "endTime": null,
            "user_id": null,
            "old_alarm_type": null
        },
        {
            "id": 7746832151644817677,
            "order_code": "698",
            "order_add_time": "2022-09-09 17:54:45",
            "order_type": "1",
            "order_tc_user_name": "96b69ec6-56d1-4a47-acf1-20272f729afd",
            "order_organ": "",
            "order_execution_time": "2022-08-20 23:15:48",
            "order_state": "6",
            "order_delete": null,
            "order_start_time": "2022-09-08 23:06:27",
            "order_end_time": "2022-09-08 23:06:37",
            "order_remark": "55566",
            "plan_id": "",
            "date_enum": "DAY",
            "startTime": null,
            "endTime": null,
            "user_id": null,
            "old_alarm_type": null
        },
        {
            "id": 1800964527055748117,
            "order_code": "8328255155536833899",
            "order_add_time": "2022-09-09 17:54:45",
            "order_type": "1",
            "order_tc_user_name": "426c2bda-3175-4bc1-b00f-cc6324a6b522",
            "order_organ": "",
            "order_execution_time": null,
            "order_state": "0",
            "order_delete": null,
            "order_start_time": "2022-09-08 23:06:27",
            "order_end_time": "2022-09-08 23:06:37",
            "order_remark": "",
            "plan_id": "",
            "date_enum": "DAY",
            "startTime": null,
            "endTime": null,
            "user_id": null,
            "old_alarm_type": null
        }
    ]
}
返回参数说明
参数名 类型 说明
id string ID
order_code string 工单编码
order_add_time string 工单创建时间
order_type string 订单类型0=保养
order_tc_user_name string 负责人
order_organ string 组织
order_execution_time string 计划执行时间
order_state string 工单状态0=未分配,1=已分配,2=已接单,3=验收中,4=已验收,-1=已退回,5=执行中,6=保养失败
order_start_time string 计划开始时间
order_end_time string 计划完成时间
order_remark string 备注
plan_id string 计划ID

页面列表

ITEM_HTML