|
|
@@ -560,4 +560,25 @@ export const changeAppointmentServicePerson = (data: { id: number; servicePerson
|
|
|
})
|
|
|
}
|
|
|
|
|
|
+/** 一键签到(预约工单) */
|
|
|
+export const quickSignIn = (data: {
|
|
|
+ appointmentId: number
|
|
|
+ location?: string
|
|
|
+ remark?: string
|
|
|
+ signInTime?: string
|
|
|
+}) => {
|
|
|
+ return request.post({
|
|
|
+ url: '/home/appointment/quick-sign-in',
|
|
|
+ data
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+/** 签到记录列表 */
|
|
|
+export const getSignInRecordList = (params: { appointmentId: number }) => {
|
|
|
+ return request.get({
|
|
|
+ url: '/home/appointment/sign-in-record/list',
|
|
|
+ params
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
|