From 9259c2235e31708f954a3578bde3c6a7ab9753e8 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期一, 30 十二月 2024 15:51:40 +0800 Subject: [PATCH] 1、工作流相关组件更新 2、偶尔出现退出登录时路由报错的bug导致无法回到登录页面 3、全局配置文件修改,移除VITE_UPLOAD_URL配置等 --- 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