|
@@ -23,7 +23,18 @@
|
|
|
rowKey="key"
|
|
rowKey="key"
|
|
|
:data-source="detailTableList"
|
|
:data-source="detailTableList"
|
|
|
:scroll="{ x: '100%', y: 'calc(100vh - 163px)' }">
|
|
:scroll="{ x: '100%', y: 'calc(100vh - 163px)' }">
|
|
|
|
|
+ <!-- 买卖方向 -->
|
|
|
|
|
+ <template #buyorsell="{ record }">
|
|
|
|
|
+ <span>{{ getBuyOrSellName(record.buyorsell) }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <!-- 开屏方向 -->
|
|
|
|
|
+ <template #channelbuildtype="{ record }">
|
|
|
|
|
+ <span>{{ getChannelBuildName(record.channelbuildtype) }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+
|
|
|
</a-table>
|
|
</a-table>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</Description>
|
|
</Description>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
@@ -40,6 +51,7 @@ import { TabList } from '@/common/components/description/interface';
|
|
|
import { queryResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
import { queryResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
|
import Description from '@/common/components/description/index.vue';
|
|
import Description from '@/common/components/description/index.vue';
|
|
|
import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
|
|
|
+import {getBuyOrSellName, getChannelBuildName} from "@/common/constants/enumsName";
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
|
name: EnumRouterName.exposure_futures,
|
|
name: EnumRouterName.exposure_futures,
|
|
@@ -97,7 +109,7 @@ export default defineComponent({
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
- return { loading, tableList, visible, closeDrawer, columns, updateColumn, columnsDetail, detailTableList, expandedRowKeys, selectedRow, Rowclick, tabList };
|
|
|
|
|
|
|
+ return { loading, tableList, visible, closeDrawer, columns, updateColumn, columnsDetail, detailTableList, expandedRowKeys, selectedRow, Rowclick, tabList, getBuyOrSellName, getChannelBuildName };
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|
|
|
</script>
|
|
</script>
|