From ebc552900444d25b1158bf53d07f24c9ee36cc75 Mon Sep 17 00:00:00 2001 From: liriming <1343021927@qq.com> Date: 星期一, 20 一月 2025 14:40:57 +0800 Subject: [PATCH] 预警配置 --- src/views/model/pre/item/MmPredictItemForm.vue | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/views/model/pre/item/MmPredictItemForm.vue b/src/views/model/pre/item/MmPredictItemForm.vue index cb01f79..2ee0b2e 100644 --- a/src/views/model/pre/item/MmPredictItemForm.vue +++ b/src/views/model/pre/item/MmPredictItemForm.vue @@ -1,5 +1,5 @@ <template> - <Dialog v-model="dialogVisible" :title="dialogTitle" width="50%"> + <Dialog v-model="dialogVisible" :title="dialogTitle" width="60%"> <el-form ref="formRef" v-loading="formLoading" @@ -212,12 +212,12 @@ border style="width: 100%; margin-top: 5px;"> <el-table-column prop="outputorder" label="排序" align="center" width="80px"/> - <el-table-column label="结果" align="center" width="150px"> + <el-table-column label="结果KEY" align="center" width="150px"> <template #default="scope"> <el-input v-model="scope.row.resultstr" placeholder="请输入"/> </template> </el-table-column> - <el-table-column label="结果数据类型" align="center" width="150px"> + <el-table-column label="结果类型" align="center" width="150px"> <template #default="scope"> <el-select v-model="scope.row.resultType" @@ -232,11 +232,16 @@ </el-select> </template> </el-table-column> - <el-table-column label="索引" align="center" width="120px"> + <el-table-column label="索引" align="center" width="100px"> <template #default="scope"> <el-input-number style="width:100%;hight:100%" :disabled="scope.row.resultType !== 2" v-model="scope.row.resultIndex" :min="0" step-strictly controls-position="right"/> + </template> + </el-table-column> + <el-table-column label="结果名称" align="center" width="150px"> + <template #default="scope"> + <el-input v-model="scope.row.resultName" placeholder="请输入"/> </template> </el-table-column> <el-table-column label="数据点" align="center"> @@ -275,7 +280,7 @@ <el-table-column prop="key" label="键" align="center" min-width="150"/> <el-table-column prop="name" label="名称" align="center" min-width="150"/> <el-table-column prop="valuetype" label="类型" align="center" min-width="150"/> - <el-table-column prop="" label="值" align="center" min-width="150"> + <el-table-column prop="" label="值" align="center" min-width="200"> <template #default="scope"> <el-input size="mini" v-model="scope.row.value" maxlength="256" style="width:100%;height:100%"/> -- Gitblit v1.9.3