feat: 数据训练
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<div class="header">
|
||||
<div class="form">
|
||||
<el-form>
|
||||
<el-form-item label="降阶模型">
|
||||
<el-form-item :label="$t('数据预测.降阶模型')">
|
||||
<el-select v-model="selectedModel" placeholder="请选择降阶模型" filterable @change="onModelChangeFun">
|
||||
<el-option v-for="item in modelOptions" :label="item.label" :value="item" :key="item.id" />
|
||||
</el-select>
|
||||
@@ -24,9 +24,9 @@
|
||||
</div>
|
||||
<div class="content" v-loading="forecastLoading">
|
||||
<div class="left">
|
||||
<BaseTable ref="inputTableRef" tableName="DATA_FORECAST_INPUT" showIndex :actionsWidth="200" hidePagination>
|
||||
<BaseTable ref="inputTableRef" :tableName="TABLE_NAME.DATA_FORECAST_INPUT" showIndex :actionsWidth="200" hidePagination>
|
||||
<template #type>
|
||||
输入
|
||||
{{ $t('数据预测.输入') }}
|
||||
</template>
|
||||
<template #value="{ row }">
|
||||
<el-input-number
|
||||
@@ -44,9 +44,9 @@
|
||||
</el-popconfirm>
|
||||
</div>
|
||||
<div class="right">
|
||||
<BaseTable ref="outputTableRef" tableName="DATA_FORECAST_OUTPUT" showIndex :actionsWidth="200" hidePagination>
|
||||
<BaseTable ref="outputTableRef" :tableName="TABLE_NAME.DATA_FORECAST_OUTPUT" showIndex :actionsWidth="200" hidePagination>
|
||||
<template #type>
|
||||
输出
|
||||
{{ $t('数据预测.输出') }}
|
||||
</template>
|
||||
</BaseTable>
|
||||
</div>
|
||||
@@ -59,6 +59,7 @@ import { getModelTrainingListApi, startPredictApi, getModelPredictResultApi, get
|
||||
import BaseTable from '@/components/common/table/baseTable.vue';
|
||||
import { ref, onMounted } from 'vue';
|
||||
import type { Model } from './type';
|
||||
import { TABLE_NAME } from '@/utils/enum/tableName';
|
||||
|
||||
const inputTableRef = ref();
|
||||
const outputTableRef = ref();
|
||||
|
||||
Reference in New Issue
Block a user