Yunweigongdan
    Yunweigongdan
    • login
      POST
    • logout
      POST
    • workorder
      POST
    • showdone
      GET
    • revoke
      DELETE
    • modify
      PUT
    • review
      POST
    • delivery
      POST
    • responseorders
      POST
    • check
      GET
    • getreport
      GET
    • operatorcheck
      GET
    • showwaiting
      GET
    • approvercheck
      GET

      workorder

      开发中
      POST
      /api/workorders

      请求参数

      Body 参数application/json
      issueDescription
      string 
      必需
      type
      integer 
      必需
      deadline
      string 
      必需
      示例
      {
          "issueDescription": "string",
          "type": 0,
          "deadline": "string"
      }

      返回响应

      🟢201成功
      application/json
      Body
      success
      boolean 
      必需
      errorMsg
      string  | null 
      可选
      data
      可选
      Any of
      orderId
      string 
      工单Id
      必需
      issueDescription
      string 
      工单说明
      可选
      orderStatus
      integer 
      工单状态
      可选
      -1 : 工单被打回
      ​ 1 : 进行区审批
      ​ 2 :进行市审批
      ​ 3 :进行省审批
      ​ 4 :审批通过
      ​ 5 : 工单完成
      ​ 6 : 工单无法完成
      applicantName
      string 
      发起工单的人
      可选
      applicantId
      integer 
      发起工单的人员ID
      可选
      applicantIdentity
      integer 
      发起工单的初始级别
      可选
      1、2、3分别对应区、市、省
      recipientId
      integer  | null 
      接收工单的操作人员id
      可选
      recipientName
      string  | null 
      接收工单的操作人员姓名
      可选
      type
      integer 
      工单类型
      可选
      1 :故障维修问题
      2 :维护问题
      3 : 后勤缺失,应交由后勤保障部门
      department
      integer  | null 
      操作人员将工单派送到的其他部门
      可选
      1 :故障维修部门
      2 :维护部门
      3 : 后勤保障部门
      sendTime
      string 
      发起工单时间
      可选
      finishTime
      string  | null 
      工单被处理时间
      可选
      deadline
      string 
      工单的预期截止时间
      可选
      approverIdA
      integer 
      可选
      approverIdB
      integer 
      可选
      approverIdC
      integer 
      可选
      allocatedId
      integer 
      可选
      示例
      {
          "errorMsg": "incididunt anim reprehenderit ad",
          "success": false,
          "orderId": "37",
          "issueDescription": "而亲素火接比马持天。至却整自万。中克然。阶千对利信。队给清存思样支作。商被理实次量意队家子。",
          "orderStatus": 5,
          "applicantName": "端国芳",
          "applicantId": 17,
          "applicantIdentity": 79,
          "recipientId": 50,
          "recipientName": "栋杰",
          "type": 100,
          "department": 16,
          "sendTime": "2025-08-10 00:02:21",
          "finishTime": "2025-12-17 11:17:31",
          "deadline": "elit"
      }
      修改于 2025-06-11 11:01:25
      上一页
      logout
      下一页
      showdone
      Built with