|
|
@@ -2,7 +2,6 @@ import { BtnListType } from '@/common/components/btnList/interface';
|
|
|
import { ContextMenuTemp } from '@/common/components/contextMenu/interface';
|
|
|
import { handleContextMenu } from '@/common/components/contextMenu/setup';
|
|
|
import { AuctionwrType, ListingMode } from '@/common/constants/enumCommon';
|
|
|
-import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
|
import { ComposeTableParam } from '@/common/export/commonTable';
|
|
|
import { initData } from '@/common/methods';
|
|
|
import { getTableColumns, getTableEvent } from '@/common/setup/table';
|
|
|
@@ -12,7 +11,7 @@ import { TjmdMarketSection, TjmdMarketSectionConfig } from '@/services/go/Tjmd/i
|
|
|
import { queryFtDeliveryGoods } from '@/services/go/wrtrade';
|
|
|
import TimerUtils from '@/utils/timer/timerUtil';
|
|
|
import { onUnmounted, ref } from 'vue';
|
|
|
-import { BuyAndSellMarket, TreeDataItem } from './interface';
|
|
|
+import { TreeDataItem } from './interface';
|
|
|
|
|
|
const buyAndSellEunm = 'buyAndSell'
|
|
|
|
|
|
@@ -39,23 +38,6 @@ export function getListingMode(mode: ListingMode) {
|
|
|
return mode === +arr[2]
|
|
|
}
|
|
|
|
|
|
-export function handleSpotBtnList(menuType: EnumRouterName) {
|
|
|
- const firstBtn: BtnListType[] = []
|
|
|
- // 买大厅数据
|
|
|
- const buyMarket: BuyAndSellMarket = {
|
|
|
- isMarket: true,
|
|
|
- btnList: []
|
|
|
- }
|
|
|
-
|
|
|
- // 卖大厅数据
|
|
|
- const sellMarket: BuyAndSellMarket = {
|
|
|
- isMarket: true,
|
|
|
- btnList: []
|
|
|
- }
|
|
|
-
|
|
|
- return { firstBtn, buyMarket, sellMarket }
|
|
|
-}
|
|
|
-
|
|
|
export const useMarketsSection = () => {
|
|
|
// 市场板块
|
|
|
const marketsSetion = APP.getRef('marketsSection')
|