From de019eee974f69a54b360297fd5d5b93f27497f9 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期五, 08 十一月 2024 09:43:22 +0800 Subject: [PATCH] 模型运行 --- src/views/model/pre/dm/DmModuleForm.vue | 24 +++--------------------- 1 files changed, 3 insertions(+), 21 deletions(-) diff --git a/src/views/model/pre/dm/DmModuleForm.vue b/src/views/model/pre/dm/DmModuleForm.vue index 93dcd9e..f52208a 100644 --- a/src/views/model/pre/dm/DmModuleForm.vue +++ b/src/views/model/pre/dm/DmModuleForm.vue @@ -22,24 +22,12 @@ <el-row> <el-col :span="12"> <el-form-item label="周期" prop="cycle"> - <el-input v-model="formData.cycle" placeholder="请输入周期"/> + <el-input-number v-model="formData.cycle" :min="0" clearable controls-position="right" /> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="模块配置" prop="modulenavconfig"> <el-input v-model="formData.modulenavconfig" placeholder="请输入模块配置"/> - </el-form-item> - </el-col> - </el-row> - <el-row> - <el-col :span="12"> - <el-form-item label="预测时间" prop="predicttime"> - <el-input v-model="formData.predicttime" placeholder="请输入预测时间"/> - </el-form-item> - </el-col> - <el-col :span="12"> - <el-form-item label="采集时间" prop="collecttime"> - <el-input v-model="formData.collecttime" placeholder="请输入采集时间"/> </el-form-item> </el-col> </el-row> @@ -65,10 +53,7 @@ id: undefined, modulename: undefined, moduletype: undefined, - cycle: undefined, - modulenavconfig: undefined, - predicttime: undefined, - collecttime: undefined + cycle: undefined }) const formRules = reactive({ modulename: [{required: true, message: '名称不能为空', trigger: 'blur'}], @@ -126,10 +111,7 @@ id: undefined, modulename: undefined, moduletype: undefined, - cycle: undefined, - modulenavconfig: undefined, - predicttime: undefined, - collecttime: undefined + cycle: undefined } formRef.value?.resetFields() } -- Gitblit v1.9.3