|
|
|
@ -2,8 +2,8 @@
|
|
|
|
|
import { OrderState } from '@/services/constants'
|
|
|
|
|
import { orderStateList } from '@/services/constants'
|
|
|
|
|
import { getListOrderAPI, postOrderAcceptAPI, postOrderReachAPI } from '@/services/order'
|
|
|
|
|
import { ref, reactive } from 'vue'
|
|
|
|
|
import { onShow } from '@dcloudio/uni-app'
|
|
|
|
|
import { ref, reactive, watch } from 'vue'
|
|
|
|
|
import { onLoad } from '@dcloudio/uni-app'
|
|
|
|
|
import { useMemberStore } from '@/stores'
|
|
|
|
|
import QQMapWX from '@/libs/qqmap-wx-jssdk1.2/qqmap-wx-jssdk.min.js'
|
|
|
|
|
// 获取屏幕边界到安全区域距离
|
|
|
|
@ -19,6 +19,16 @@ let location = reactive({
|
|
|
|
|
const props = defineProps<{
|
|
|
|
|
orderState: string
|
|
|
|
|
}>()
|
|
|
|
|
|
|
|
|
|
// watch(
|
|
|
|
|
// () => props.orderState,
|
|
|
|
|
// (newVal, oldVal) => {
|
|
|
|
|
// getSettingInfo()
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// immediate: true,
|
|
|
|
|
// },
|
|
|
|
|
// )
|
|
|
|
|
const memberStore = useMemberStore()
|
|
|
|
|
const staffId = memberStore.profile?.id
|
|
|
|
|
// 请求参数
|
|
|
|
@ -62,7 +72,7 @@ const getMemberOrderData = async () => {
|
|
|
|
|
isFinish.value = true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
onShow(() => {
|
|
|
|
|
onLoad(() => {
|
|
|
|
|
getSettingInfo()
|
|
|
|
|
})
|
|
|
|
|
// const handleTimeup = async (item: Object) => {
|
|
|
|
@ -442,4 +452,4 @@ const getAuthorizeInfo = () => {
|
|
|
|
|
padding: 20rpx 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>, onShow
|
|
|
|
|
</style>onLoad,, watch
|
|
|
|
|