perf: reservation 地接的导游列表

main
Lei OT 7 months ago
parent ff3e9e647d
commit 1c354cc743

@ -97,12 +97,13 @@ function Newest() {
const [dataLoading, setDataLoading] = useState(false)
const [guideSelectOptions, setGuideSelectOptions] = useState([])
const { travelAgencyId } = usingStorage()
const { travelAgencyId: myAgencyId } = usingStorage()
const isPermitted = useAuthStore((state) => state.isPermitted)
const formValuesToSub = useFormStore((state) => state.formValuesToSub)
const [fetchAgencyGuideList, fetchReservationList, reservationList, reservationPage, cityList, selectReservation, getCityListByReservationId, setupCityGuide, updateReservationGuide] =
useReservationStore((state) =>
[state.fetchAgencyGuideList, state.fetchReservationList, state.reservationList, state.reservationPage, state.cityList, state.selectReservation, state.getCityListByReservationId, state.setupCityGuide, state.updateReservationGuide])
const travelAgencyId = formValuesToSub.agency || myAgencyId;
const { notification } = App.useApp()

Loading…
Cancel
Save