|
|
@@ -64,6 +64,7 @@ function getExposure() {
|
|
|
console.log('获取表格数据', tableList);
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
+ debugger
|
|
|
message.error(err);
|
|
|
loading.value = false;
|
|
|
});
|
|
|
@@ -89,7 +90,7 @@ function handleDeatil(loading: Ref<boolean>, selectedRow: Ermcp3AreaSpot) {
|
|
|
// 切换明细
|
|
|
function selectMenu(index: number) {
|
|
|
ActualExposureDetail();
|
|
|
- const { columns, getColumns } = getColumsAndSearch('table_pcweb_exposure_detail', false);
|
|
|
+ const { columns, getColumns } = getColumsAndSearch('table_pcweb_exposure_spotposition', false);
|
|
|
getColumns();
|
|
|
detailColumns.value = columns.value;
|
|
|
}
|
|
|
@@ -106,10 +107,6 @@ function handleDeatil(loading: Ref<boolean>, selectedRow: Ermcp3AreaSpot) {
|
|
|
loading.value = false;
|
|
|
console.log('现货头寸明细', detailTableList);
|
|
|
})
|
|
|
- .catch((err) => {
|
|
|
- message.error(err);
|
|
|
- loading.value = false;
|
|
|
- });
|
|
|
}
|
|
|
return { tabList, selectMenu, detailTableList, detailColumns };
|
|
|
}
|
|
|
@@ -124,7 +121,7 @@ export default defineComponent({
|
|
|
},
|
|
|
setup() {
|
|
|
const { visible, closeDrawer } = handleDrawer();
|
|
|
- const { columns, search, getColumns } = getColumsAndSearch('table_pcweb_exposure_detail', true);
|
|
|
+ const { columns, search, getColumns } = getColumsAndSearch('table_pcweb_exposure_spotposition', true);
|
|
|
const { expandedRowKeys, selectedRow, Rowclick } = handleTableEvent<Ermcp3AreaSpot>(closeDrawer);
|
|
|
const { loading, tableList, queryList } = getExposure();
|
|
|
initData(() => {
|