update:数据总览优化
This commit is contained in:
@@ -36,10 +36,7 @@
|
||||
ref="BaseTableRef"
|
||||
tableName="DATA_OVERVIEW"
|
||||
:api="dataOverViewListSimulationNodeFilesApi"
|
||||
:params="{
|
||||
dimensionTemplateId: currentDimension,
|
||||
fileId: currentData.id,
|
||||
}"
|
||||
:params="tableParams"
|
||||
showCheckbox
|
||||
@checkbox-all="checkboxChangeFun"
|
||||
@checkbox-change="checkboxChangeFun"
|
||||
@@ -167,7 +164,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted } from 'vue';
|
||||
import { ref, onMounted, watch } from 'vue';
|
||||
import FileTree from '@/components/common/dataFileTree/index.vue';
|
||||
import { getSimulationNodeTreeApi, getAllTemplateApi } from '@/api/data/dimensionTemplate';
|
||||
import { addNodeForDataApi, addTaskForDataApi, editTaskForDataApi, editNodeForDataApi, getNodeDetailForDataApi } from '@/api/project/node';
|
||||
@@ -208,6 +205,14 @@ const chosenData = ref<any>([]);
|
||||
const BaseTableRef = ref();
|
||||
const fileData = ref<any>({});
|
||||
const nodeType = ref<any>('');
|
||||
const tableParams = ref<any>({
|
||||
dimensionTemplateId: currentDimension.value,
|
||||
fileId: '',
|
||||
});
|
||||
|
||||
watch(() => currentDimension.value, (val: any) => {
|
||||
tableParams.value.dimensionTemplateId = val;
|
||||
});
|
||||
|
||||
const actionList = ref([
|
||||
{
|
||||
@@ -432,6 +437,7 @@ const goDetailFun = (data: any) => {
|
||||
|
||||
const choseNodeFun = (data: any) => {
|
||||
currentData.value = data;
|
||||
tableParams.value.fileId = data.id;
|
||||
};
|
||||
|
||||
const checkboxChangeFun = (data: any) => {
|
||||
|
||||
Reference in New Issue
Block a user