22 lines
578 B
TypeScript
22 lines
578 B
TypeScript
import { http } from '@/http/http'
|
|
|
|
/** 审批记录 */
|
|
export interface ApprovalRecord {
|
|
id?: number
|
|
bizId?: string
|
|
bizTableName?: string
|
|
applicant?: string
|
|
applicantName?: string
|
|
approver?: string
|
|
approverName?: string
|
|
approvalStatus?: number
|
|
approvalLevel?: number
|
|
reason?: string
|
|
createTime?: string | number
|
|
}
|
|
|
|
/** 根据业务单据获取审批记录列表 */
|
|
export function getApprovalRecordListByBiz(bizId: string | number, bizTableName: string) {
|
|
return http.get<ApprovalRecord[]>('/erp/approval-record/list-by-biz', { bizId, bizTableName })
|
|
}
|