diff --git a/src/components/flow/flowNodeParamTable.vue b/src/components/flow/flowNodeParamTable.vue index 7c36c751..c858643c 100644 --- a/src/components/flow/flowNodeParamTable.vue +++ b/src/components/flow/flowNodeParamTable.vue @@ -24,6 +24,18 @@ @click="flowClickFun('justStartLocalAppFun')" >启动 + 计算 + 保存 启动 @@ -35,7 +47,22 @@ @click="flowClickFun('continueStartRunJobFun')" >完成 - 日志 + 日志 + + + 参数操作 + + + @@ -177,8 +204,9 @@ *   - {{ row.componentName }} + {{ row?.children[0]?.defaultValue || '配置' }} + {{ row.label }} @@ -629,6 +657,10 @@ watch( nextTick(() => { baseTableRef.value.setDataFun(tableData.value); }); + + setTimeout(() => { + baseTableRef.value.tableRef.setAllTreeExpand(true); + }, 200); } }, { @@ -692,6 +724,14 @@ watch( margin-right: 10px; } +.ml10 { + margin-left: 10px; +} + +.w70p{ + width: 60%; +} + .input-grid { display: flex; align-items: center; diff --git a/src/views/task/execution/components/runDetailPage/demoFile/param.ts b/src/views/task/execution/components/runDetailPage/demoFile/param.ts new file mode 100644 index 00000000..e52890b4 --- /dev/null +++ b/src/views/task/execution/components/runDetailPage/demoFile/param.ts @@ -0,0 +1,105 @@ +// 轨道参数 +export const OrbitalParameters = [ + { + label: '基础配置一', + name: '', + value: '', + type: 'text', + children: [ + { + label: '轨道结构形式', + name: '', + value: '', + type: 'select', + selectOption: [ + { + name: '道床版面支撑', + value: 1, + }, + ], + }, + { + label: '轨道板纵连形式', + name: '', + value: '', + type: 'select', + selectOption: [ + { + name: '纵连', + value: 1, + }, + ], + }, + { + label: '底座板纵连形式', + name: '', + value: '', + type: 'select', + selectOption: [ + { + name: '纵连', + value: 1, + }, + ], + }, + ], + }, + { + label: '混泥土板阻尼参数一', + name: '', + value: '', + type: 'text', + children: [ + { + label: '混泥土板阻尼参数一', + name: '', + value: '', + type: 'text', + }, + ], + }, + { + label: '轨道结构参数一', + name: '', + value: '', + type: 'text', + children: [], + }, +]; + +// 列车参数 +export const TrainParameters = []; + +// 基础结构参数 +export const FoundationStructureParameters = []; + +// 隧道外围土体参数 +export const TheTunnelPeripherySoilParameters = []; + +export const testOption = { + xAxis: { + type: 'category', + data: ['0', '1', '2', '3', '4', '5'], + axisTick: { + show: true, // 是否显示刻度线 + inside: true, // 刻度线朝内(true)或朝外(false) + alignWithLabel: true, // 刻度线与标签对齐 + interval: 0, // 显示间隔(0表示全部显示) + }, + }, + yAxis: { + type: 'value', + min: 0, // 最小值 + max: 5, // 最大值 + axisTick: { + show: true, // 是否显示刻度线 + inside: true, // 刻度线朝内(true)或朝外(false) + alignWithLabel: true, // 刻度线与标签对齐 + interval: 0, // 显示间隔(0表示全部显示) + }, + axisLine: { + show: true, + }, + }, + series: [], +}; diff --git a/src/views/task/execution/components/runDetailPage/index.vue b/src/views/task/execution/components/runDetailPage/index.vue index 25394955..5c1267cb 100644 --- a/src/views/task/execution/components/runDetailPage/index.vue +++ b/src/views/task/execution/components/runDetailPage/index.vue @@ -2,7 +2,7 @@
+ + + + +
@@ -171,6 +188,22 @@ :run-info="runInfo" :online-file-param="onlineFileParam" > + + + + + +
@@ -395,6 +428,10 @@ import dayjs from 'dayjs'; import { base64ToStrFun, isJSONFun } from '@/utils/file'; import simulationParam from './runPagecomponent/simulationParam.vue'; import dataAchieve from './runPagecomponent/dataAchieve.vue'; +import analysisResult from './runPagecomponent/analysisResult.vue'; +import vehicleStabilityAnalysis_Demo from './runPagecomponent/vehicleStabilityAnalysis_Demo.vue'; +import rollingWheelForceAnalysis_Demo from './runPagecomponent/rollingWheelForceAnalysis_Demo.vue'; +import vibrationSignalAnalysis_Demo from './runPagecomponent/vibrationSignalAnalysis_Demo.vue'; const props = defineProps({ runInfo: { @@ -1323,10 +1360,10 @@ const timer = ref(null); onMounted(async () => { await getDictionaryDataFun(); emitter.on('UPLOAD_FINISHED', uploadFinishedFun); - // 1分钟一次流程信息 - timer.value = setInterval(() => { - refreshFun(); - }, 60 * 1000); + // // 1分钟一次流程信息 + // timer.value = setInterval(() => { + // refreshFun(); + // }, 60 * 1000); }); onBeforeUnmount(() => { diff --git a/src/views/task/execution/components/runDetailPage/runPagecomponent/analysisResult.vue b/src/views/task/execution/components/runDetailPage/runPagecomponent/analysisResult.vue new file mode 100644 index 00000000..ec310d17 --- /dev/null +++ b/src/views/task/execution/components/runDetailPage/runPagecomponent/analysisResult.vue @@ -0,0 +1,154 @@ + + + + + diff --git a/src/views/task/execution/components/runDetailPage/runPagecomponent/rollingWheelForceAnalysis_Demo.vue b/src/views/task/execution/components/runDetailPage/runPagecomponent/rollingWheelForceAnalysis_Demo.vue new file mode 100644 index 00000000..fa63e2c5 --- /dev/null +++ b/src/views/task/execution/components/runDetailPage/runPagecomponent/rollingWheelForceAnalysis_Demo.vue @@ -0,0 +1,113 @@ + + + + + + diff --git a/src/views/task/execution/components/runDetailPage/runPagecomponent/vehicleStabilityAnalysis_Demo.vue b/src/views/task/execution/components/runDetailPage/runPagecomponent/vehicleStabilityAnalysis_Demo.vue new file mode 100644 index 00000000..98ba9b88 --- /dev/null +++ b/src/views/task/execution/components/runDetailPage/runPagecomponent/vehicleStabilityAnalysis_Demo.vue @@ -0,0 +1,159 @@ + + + + + + diff --git a/src/views/task/execution/components/runDetailPage/runPagecomponent/vibrationSignalAnalysis_Demo.vue b/src/views/task/execution/components/runDetailPage/runPagecomponent/vibrationSignalAnalysis_Demo.vue new file mode 100644 index 00000000..91e18e64 --- /dev/null +++ b/src/views/task/execution/components/runDetailPage/runPagecomponent/vibrationSignalAnalysis_Demo.vue @@ -0,0 +1,180 @@ + + + + + +