diff --git a/src/components/common/table/baseTable.vue b/src/components/common/table/baseTable.vue index 77ed8b2f..e3302c25 100644 --- a/src/components/common/table/baseTable.vue +++ b/src/components/common/table/baseTable.vue @@ -200,7 +200,12 @@ @current-change="currentChangeFun" /> - + @@ -424,12 +429,13 @@ const getHeadDataFun = () => { }); }; // 获取表单数据 +let reqParams: any = {}; const getTableDataFun = () => { if (props.data.length > 0) { setDataFun(props.data); return; } - const reqParams: any = { + reqParams = { current: current.value, size: size.value, ...props.params, @@ -606,8 +612,9 @@ const actionClickFun = (row: any, action: any, index: number) => { const exportFun = () => { exportFile(props.exportApi, props.tableName, props.exportFileName, { - ...searchData.value, - ...props.exportParams, + ...reqParams, + size: null, + current: null, }); }; diff --git a/src/components/common/table/tableFormDia.vue b/src/components/common/table/tableFormDia.vue index 2707904e..d817ff8e 100644 --- a/src/components/common/table/tableFormDia.vue +++ b/src/components/common/table/tableFormDia.vue @@ -117,16 +117,24 @@ - - - - - - - - + + + + + + + @@ -333,6 +341,9 @@ import { } from '@/api/system/systemData'; import { hasPermission } from '@/utils/permission'; import { resetTableColumnSize } from '@/utils/common'; +import { CommonStore } from '@/stores/common'; + +const commonStore = CommonStore(); interface Props { modelValue: boolean; @@ -363,6 +374,25 @@ watch( } ); +const activeTagFun = () => { + const data: any = []; + const arr1 = commonStore.getDictData('POOL_CATEGORY_TYPE')?.A || []; + const arr2 = commonStore.getDictData('TAG_TYPE_MAP_LIST')?.A || []; + arr1.forEach((item: any) => { + arr2.some((val: any) => { + if (item.value === val.value) { + data.push({ + label: item.label, + value: val.label, + }); + return true; + } + }); + }); + return data; +}; +const tagList = activeTagFun(); + const getHeadDataFun = (name?: string) => { const params = { formName: name || props.name, diff --git a/src/views/data/analysis/components/pedigree/pedigreeDetail.vue b/src/views/data/analysis/components/pedigree/pedigreeDetail.vue index f3eea55f..2dffe48f 100644 --- a/src/views/data/analysis/components/pedigree/pedigreeDetail.vue +++ b/src/views/data/analysis/components/pedigree/pedigreeDetail.vue @@ -174,7 +174,6 @@ import { getSimulationTaskFileApi } from '@/api/data/dataAnalysis'; import { getRunPerformanceApi } from '@/api/task/taskpool'; import { FILE_TYPE } from '@/utils/enum/file'; import FlowNodeParamTable from '@/components/flow/flowNodeParamTable.vue'; -import RunDataPage from '@/views/task/execution/components/runDetailPage/runPagecomponent/runDataPage.vue'; import { listSimulationFlowNodeApi } from '@/api/project/run'; import { getRunListByRunIdListApi } from '@/api/project/node'; import { queryFlowTemplateDetailApi } from '@/api/capability/flow';