Skip to content

获取巡检报告详情 API

PathMethodCreated At
/api/customers/routine/check/{id}/detailGET2025-11-29 00:39:11

Request

KeyRuleDescription

Response

KeyTypeExampleComment
idint1记录编号
titleint2024年第二季度标题
userIdint3巡检人
namestring张三巡检人姓名
projectIdint1项目编号
projectNamestring智慧城市大数据平台项目名称
contentsstring例行检查巡检内容
actionItemsstring联系厂家下一步计划
exceptionsstring没有发现异常异常情况
satisfactionstring满意客户满意度反馈
approvalStatusenumApprovalStatus审批状态
approvalCommentsstring1审批人编号
approvalUserIdint1审批人ID
approvalUserNamestring1审批人
createdAtstring2021-01-01 00:00:00创建时间
attachmentsobject_array附件列表
-> filenamestring巡检结果报告.txt附件名
-> pathstringhttps://xxx.com/hello.txt附件路径

TypeScript Result Example:

TypeScript
interface Attachments {
  /** 附件名 */
  filename: string;
  /** 附件路径 */
  path: string;
}

interface Result {
  /** 记录编号 */
  id: number;
  /** 标题 */
  title: number;
  /** 巡检人 */
  userId: number;
  /** 巡检人姓名 */
  name: string;
  /** 项目编号 */
  projectId: number;
  /** 项目名称 */
  projectName: string;
  /** 巡检内容 */
  contents: string;
  /** 下一步计划 */
  actionItems: string;
  /** 异常情况 */
  exceptions: string;
  /** 客户满意度反馈 */
  satisfaction: string;
  /** 审批状态 */
  approvalStatus: ResultApprovalStatus;
  /** 审批人编号 */
  approvalComments: string;
  /** 审批人ID */
  approvalUserId: number;
  /** 审批人 */
  approvalUserName: string;
  /** 创建时间 */
  createdAt: string;
  /** 附件列表 */
  attachments: Attachments[];
}

enum ResultApprovalStatus {
  /** 审批通过 */
  APPROVED = "APPROVED",
  /** 审批拒绝 */
  REJECTED = "REJECTED",
  /** 审批中 */
  PENDING = "PENDING"
}

Enums

ApprovalStatus

ConstDescription
APPROVED审批通过
REJECTED审批拒绝
PENDING审批中