|
@@ -25,6 +25,7 @@ import { useRequest } from '@/hooks/request'
|
|
|
import { useDataFilter } from '@/hooks/datatable'
|
|
import { useDataFilter } from '@/hooks/datatable'
|
|
|
import { getWRPresaleStatusList, getWRPresaleStatusName } from '@/constants/order'
|
|
import { getWRPresaleStatusList, getWRPresaleStatusName } from '@/constants/order'
|
|
|
import { queryPresaleAuctions } from '@/services/api/presale'
|
|
import { queryPresaleAuctions } from '@/services/api/presale'
|
|
|
|
|
+import { i18n } from "@/stores"
|
|
|
import AppTable from '@pc/components/base/table/index.vue'
|
|
import AppTable from '@pc/components/base/table/index.vue'
|
|
|
import AppFilter from '@pc/components/base/table-filter/index.vue'
|
|
import AppFilter from '@pc/components/base/table-filter/index.vue'
|
|
|
|
|
|
|
@@ -35,6 +36,8 @@ const componentMap = new Map<string, unknown>([
|
|
|
const { filterOptons, getQueryParams } = useDataFilter<Model.PresaleAuctionsReq>()
|
|
const { filterOptons, getQueryParams } = useDataFilter<Model.PresaleAuctionsReq>()
|
|
|
const { componentRef, componentId, openComponent, closeComponent } = useComponent(() => run(), false)
|
|
const { componentRef, componentId, openComponent, closeComponent } = useComponent(() => run(), false)
|
|
|
const selectedRow = shallowRef<Model.PresaleAuctionsRsp>()
|
|
const selectedRow = shallowRef<Model.PresaleAuctionsRsp>()
|
|
|
|
|
+
|
|
|
|
|
+const { t } = i18n.global
|
|
|
|
|
|
|
|
const { dataList, run, loading } = useRequest(queryPresaleAuctions, {
|
|
const { dataList, run, loading } = useRequest(queryPresaleAuctions, {
|
|
|
params: {
|
|
params: {
|
|
@@ -63,7 +66,7 @@ filterOptons.selectList = [
|
|
|
]
|
|
]
|
|
|
|
|
|
|
|
filterOptons.buttonList = [
|
|
filterOptons.buttonList = [
|
|
|
- { lable: '查询', className: 'el-button--info', onClick: () => onSearch() }
|
|
|
|
|
|
|
+ { lable: t('operation.search'), className: 'el-button--info', onClick: () => onSearch() }
|
|
|
]
|
|
]
|
|
|
|
|
|
|
|
const onSearch = (clear = false) => {
|
|
const onSearch = (clear = false) => {
|