|
|
|
@ -194,6 +194,7 @@ import dayjs from "dayjs"; |
|
|
|
import { permissionMapping, hasMenuPermission } from "@/utils/menuTreePermission.js" |
|
|
|
import ConfirmDialog from '@/components/dialogs/ConfirmDialog.vue'; |
|
|
|
import { useI18n } from 'vue-i18n'; |
|
|
|
import {reverseMarketMapping} from "@/utils/marketMap.js"; |
|
|
|
const { t } = useI18n(); |
|
|
|
|
|
|
|
const adminStore = useAdminStore(); |
|
|
|
@ -649,7 +650,9 @@ const adminReject = async function () { |
|
|
|
const selectedMarketPath = ref("") |
|
|
|
const handleMarketChange = (value) => { |
|
|
|
if (value && value.length > 0) { |
|
|
|
searchForm.value.market = value[value.length - 1] |
|
|
|
const lastValue = value[value.length - 1] |
|
|
|
searchForm.value.market = reverseMarketMapping[lastValue] |
|
|
|
|
|
|
|
} else { |
|
|
|
searchForm.value.market = '' |
|
|
|
} |
|
|
|
|