|
@@ -14,18 +14,22 @@
|
|
|
<template #expandedRowRender="{ record }">
|
|
<template #expandedRowRender="{ record }">
|
|
|
<BtnList :btnList="btnList"
|
|
<BtnList :btnList="btnList"
|
|
|
:record="record"
|
|
:record="record"
|
|
|
- @click="open" />
|
|
|
|
|
|
|
+ @click="openComponent" />
|
|
|
</template>
|
|
</template>
|
|
|
</a-table>
|
|
</a-table>
|
|
|
|
|
+ <component :is="componentId"
|
|
|
|
|
+ v-if="componentId"
|
|
|
|
|
+ :selectedRow="selectedRow"
|
|
|
|
|
+ @cancel="closeComponent"></component>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
<script lang="ts">
|
|
|
import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
|
-import { ComposeTableParam, BtnList, defineComponent, handleComposeTable, queryTableList } from '@/common/export/commonTable';
|
|
|
|
|
|
|
+import { ComposeTableParam, BtnList, defineComponent, handleComposeTable, queryTableList, ModalEnum } from '@/common/export/commonTable';
|
|
|
import { _closeModal } from '@/common/setup/modal/modal';
|
|
import { _closeModal } from '@/common/setup/modal/modal';
|
|
|
import { queryOrderQuoteDetail } from '@/services/go/wrtrade';
|
|
import { queryOrderQuoteDetail } from '@/services/go/wrtrade';
|
|
|
import { QueryOrderQuoteDetailReq, WrOrderQuote, WrOrderQuoteDetail } from '@/services/go/wrtrade/interface';
|
|
import { QueryOrderQuoteDetailReq, WrOrderQuote, WrOrderQuoteDetail } from '@/services/go/wrtrade/interface';
|
|
|
-import { PropType } from 'vue';
|
|
|
|
|
|
|
+import { defineAsyncComponent, PropType } from 'vue';
|
|
|
import { BtnList as btnListType } from '@/common/components/btnList/interface';
|
|
import { BtnList as btnListType } from '@/common/components/btnList/interface';
|
|
|
import { getSellMarketParam } from '../../setup';
|
|
import { getSellMarketParam } from '../../setup';
|
|
|
|
|
|
|
@@ -48,6 +52,7 @@ export default defineComponent({
|
|
|
},
|
|
},
|
|
|
components: {
|
|
components: {
|
|
|
BtnList,
|
|
BtnList,
|
|
|
|
|
+ [ModalEnum.spot_trade_warehouse_delisting]: defineAsyncComponent(() => import('../delisting/index.vue')),
|
|
|
},
|
|
},
|
|
|
setup(props, context) {
|
|
setup(props, context) {
|
|
|
// 表格列表数据
|
|
// 表格列表数据
|