diff --git a/src/api/tea-specialist.ts b/src/api/tea-specialist.ts index 1af1e91..ee07a0a 100644 --- a/src/api/tea-specialist.ts +++ b/src/api/tea-specialist.ts @@ -17,8 +17,10 @@ export interface ITeaSpecialistParams { longitude: number level?: string search?: string - server_type?: number // 1到店服务 2上门服务 - status?: number // 0可约 1已约 2已取消 + server_type?: string | number // 1到店服务 2上门服务 + status?: string | number // 0可约 1已约 2已取消 + state?: string | number // 0全部 1已约 2不可约 + city_id?: string | number // 城市ID } export function getTeaSpecialist(data: ITeaSpecialistParams) { diff --git a/src/bundle/package/tea-specialist.vue b/src/bundle/package/tea-specialist.vue index e2254dc..3b20b45 100644 --- a/src/bundle/package/tea-specialist.vue +++ b/src/bundle/package/tea-specialist.vue @@ -195,6 +195,7 @@ const TeaSpecialist = { level: uni.getStorageSync('teaPackageType'), server_type: serviceType.value, // 1到店服务 2上门服务 state: 1, // 1可约 2不可约 + city_id: uni.getStorageSync('cityId') || 0, } try { const res = await getTeaSpecialist(filter) diff --git a/src/bundle_b/pages/tea-specialist/list.vue b/src/bundle_b/pages/tea-specialist/list.vue index 02d0a79..ea75211 100644 --- a/src/bundle_b/pages/tea-specialist/list.vue +++ b/src/bundle_b/pages/tea-specialist/list.vue @@ -9,6 +9,63 @@