|
@@ -3,7 +3,9 @@ import { formatTimezone } from '@/utils/tools'
|
|
|
import { useThemeStore } from '@/stores/modules/theme'
|
|
import { useThemeStore } from '@/stores/modules/theme'
|
|
|
import lightPng from './image/no_data.png'
|
|
import lightPng from './image/no_data.png'
|
|
|
import darkPng from './image/no_data_dark.png'
|
|
import darkPng from './image/no_data_dark.png'
|
|
|
|
|
+import { useUserStore } from '@/stores/modules/user'
|
|
|
|
|
|
|
|
|
|
+const userStore = useUserStore()
|
|
|
const themeStore = useThemeStore()
|
|
const themeStore = useThemeStore()
|
|
|
|
|
|
|
|
const emptyImg = computed(() => {
|
|
const emptyImg = computed(() => {
|
|
@@ -69,7 +71,7 @@ watch(
|
|
|
<img :src="emptyImg" :class="{ 'is-dark': themeStore.theme === 'dark' }" alt="empty" />
|
|
<img :src="emptyImg" :class="{ 'is-dark': themeStore.theme === 'dark' }" alt="empty" />
|
|
|
<div class="empty-text" style="">No data</div>
|
|
<div class="empty-text" style="">No data</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="footer" v-if="props.website">
|
|
|
|
|
|
|
+ <div class="footer" v-if="props.website && userStore.userInfo?.user_type === 'employee'">
|
|
|
Tracking on carrier website:
|
|
Tracking on carrier website:
|
|
|
<a :href="props.website" target="_blank" class="link">{{ props.website }}</a>
|
|
<a :href="props.website" target="_blank" class="link">{{ props.website }}</a>
|
|
|
</div>
|
|
</div>
|