|
@@ -2,7 +2,6 @@ import { BtnListType } from '@/common/components/btnList/interface';
|
|
|
import { ContextMenuTemp } from "@/common/components/contextMenu/interface";
|
|
import { ContextMenuTemp } from "@/common/components/contextMenu/interface";
|
|
|
import { handleContextMenu } from "@/common/components/contextMenu/setup";
|
|
import { handleContextMenu } from "@/common/components/contextMenu/setup";
|
|
|
import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
|
-import { ModalEnum } from '@/common/constants/modalNameEnum';
|
|
|
|
|
import { getTableColumns, getTableEvent, initData } from "@/common/export/table";
|
|
import { getTableColumns, getTableEvent, initData } from "@/common/export/table";
|
|
|
import { findChildList, getClassName } from "@/common/setup/table/button";
|
|
import { findChildList, getClassName } from "@/common/setup/table/button";
|
|
|
import { ComposeTableParam, TableEventCB } from "@/common/setup/table/interface";
|
|
import { ComposeTableParam, TableEventCB } from "@/common/setup/table/interface";
|
|
@@ -34,17 +33,17 @@ export function handleSpotBtnList(menuType: EnumRouterName) {
|
|
|
const fnMap = (arr: OperationTabMenu[]) => {
|
|
const fnMap = (arr: OperationTabMenu[]) => {
|
|
|
return arr.map(e => {
|
|
return arr.map(e => {
|
|
|
const { code, title } = e;
|
|
const { code, title } = e;
|
|
|
- // 处理 多对一
|
|
|
|
|
- let result = code
|
|
|
|
|
- if (code.includes(ModalEnum.spot_trade_warehouse_post_buying)) {
|
|
|
|
|
- // 挂牌求购
|
|
|
|
|
- result = ModalEnum.spot_trade_warehouse_post_buying
|
|
|
|
|
- } else if (code.includes(ModalEnum.spot_trade_warehouse_detail)) {
|
|
|
|
|
- // 详情
|
|
|
|
|
- result = ModalEnum.spot_trade_warehouse_detail
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // // 处理 多对一
|
|
|
|
|
+ // let result = code
|
|
|
|
|
+ // if (code.includes(ModalEnum.spot_trade_warehouse_post_buying)) {
|
|
|
|
|
+ // // 挂牌求购
|
|
|
|
|
+ // result = ModalEnum.spot_trade_warehouse_post_buying
|
|
|
|
|
+ // } else if (code.includes(ModalEnum.spot_trade_warehouse_detail)) {
|
|
|
|
|
+ // // 详情
|
|
|
|
|
+ // result = ModalEnum.spot_trade_warehouse_detail
|
|
|
|
|
+ // }
|
|
|
|
|
|
|
|
- return { lable: title, code: result, className: getClassName(code) }
|
|
|
|
|
|
|
+ return { lable: title, code, className: getClassName(code) }
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
// 过滤报价大厅按钮列表
|
|
// 过滤报价大厅按钮列表
|