From 6940bdec72ef961c2103947986bf30eaf2341205 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期一, 23 十二月 2024 17:28:52 +0800
Subject: [PATCH] MergeItem

---
 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