From afd12bd4683489925575346214080faf05394a73 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 20 一月 2025 18:29:03 +0800 Subject: [PATCH] 预警消息列表 --- src/views/model/pre/alarm/MmPredictAlarmConfigForm.vue | 30 +++++++++++++++++++++++------- 1 files changed, 23 insertions(+), 7 deletions(-) diff --git a/src/views/model/pre/alarm/MmPredictAlarmConfigForm.vue b/src/views/model/pre/alarm/MmPredictAlarmConfigForm.vue index c35cc71..c266a1f 100644 --- a/src/views/model/pre/alarm/MmPredictAlarmConfigForm.vue +++ b/src/views/model/pre/alarm/MmPredictAlarmConfigForm.vue @@ -64,13 +64,25 @@ </el-row> <el-row> <el-col :span="12"> - <el-form-item label="上限" prop="upperLimit"> - <el-input-number v-model="formData.upperLimit" :min="1" clearable controls-position="right" style="width: 100%"/> + <el-form-item label="预测上限" prop="upperLimit"> + <el-input-number v-model="formData.upperLimit" clearable controls-position="right" style="width: 100%"/> </el-form-item> </el-col> <el-col :span="12"> - <el-form-item label="下限" prop="lowerLimit"> - <el-input-number v-model="formData.lowerLimit" :min="1" clearable controls-position="right" style="width: 100%"/> + <el-form-item label="预测下限" prop="lowerLimit"> + <el-input-number v-model="formData.lowerLimit" clearable controls-position="right" style="width: 100%"/> + </el-form-item> + </el-col> + </el-row> + <el-row> + <el-col :span="12"> + <el-form-item label="累计上限" prop="culUpper"> + <el-input-number v-model="formData.culUpper" clearable controls-position="right" style="width: 100%"/> + </el-form-item> + </el-col> + <el-col :span="12"> + <el-form-item label="累计下限" prop="culLower"> + <el-input-number v-model="formData.culLower" clearable controls-position="right" style="width: 100%"/> </el-form-item> </el-col> </el-row> @@ -132,6 +144,8 @@ compLength: undefined, upperLimit: undefined, lowerLimit: undefined, + culUpper: undefined, + culLower: undefined, unit: undefined, coefficient: undefined, scheduleId: undefined, @@ -154,7 +168,7 @@ // 获取normal列表 predictItemList.value = await MmPredictItem.getMmPredictItemList({ - itemtypename: 'NormalItem' + status: 1 }) // 修改时,设置数据 if (id) { @@ -211,8 +225,10 @@ itemId: undefined, outId: undefined, compLength: 1, - upperLimit: 1000000, - lowerLimit: 1, + upperLimit: undefined, + lowerLimit: undefined, + culUpper: undefined, + culLower: undefined, unit: undefined, coefficient: 1, scheduleId: undefined, -- Gitblit v1.9.3