| | |
| | | compLength: number, |
| | | upperLimit: number, |
| | | lowerLimit: number, |
| | | culUpper: number, |
| | | culLower: number, |
| | | unit: string, |
| | | coefficient: number, |
| | | scheduleId: string, |
| | |
| | | </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> |
| | |
| | | compLength: undefined, |
| | | upperLimit: undefined, |
| | | lowerLimit: undefined, |
| | | culUpper: undefined, |
| | | culLower: undefined, |
| | | unit: undefined, |
| | | coefficient: undefined, |
| | | scheduleId: undefined, |
| | |
| | | |
| | | // 获取normal列表 |
| | | predictItemList.value = await MmPredictItem.getMmPredictItemList({ |
| | | itemtypename: 'NormalItem' |
| | | status: 1 |
| | | }) |
| | | // 修改时,设置数据 |
| | | if (id) { |
| | |
| | | itemId: undefined, |
| | | outId: undefined, |
| | | compLength: 1, |
| | | upperLimit: 1000000, |
| | | lowerLimit: 1, |
| | | upperLimit: undefined, |
| | | lowerLimit: undefined, |
| | | culUpper: undefined, |
| | | culLower: undefined, |
| | | unit: undefined, |
| | | coefficient: 1, |
| | | scheduleId: undefined, |
| | |
| | | <!-- 列表 --> |
| | | <ContentWrap> |
| | | <el-table v-loading="loading" :data="list"> |
| | | <el-table-column label="消息标题" header-align="center" align="center" min-width="150" prop="title" fixed/> |
| | | <el-table-column label="消息标题" header-align="center" align="left" min-width="150" prop="title" fixed/> |
| | | <el-table-column label="监控对象" header-align="center" align="center" min-width="150" prop="alarmObj" /> |
| | | <el-table-column label="预测项" header-align="center" align="center" min-width="150" prop="itemName" /> |
| | | <el-table-column label="预测项" header-align="center" align="left" min-width="150" prop="itemName" /> |
| | | <el-table-column label="输出" header-align="center" align="center" min-width="150" prop="outName" /> |
| | | <el-table-column label="比较长度" header-align="center" align="center" min-width="100" prop="compLength" /> |
| | | <el-table-column label="上限" header-align="center" align="center" min-width="50" prop="upperLimit" /> |
| | | <el-table-column label="下限" header-align="center" align="center" min-width="50" prop="lowerLimit" /> |
| | | <el-table-column label="单位" header-align="center" align="center" min-width="50" prop="unit" /> |
| | | <el-table-column label="预测上限" header-align="center" align="center" min-width="100" prop="upperLimit" /> |
| | | <el-table-column label="预测下限" header-align="center" align="center" min-width="100" prop="lowerLimit" /> |
| | | <el-table-column label="累计上限" header-align="center" align="center" min-width="100" prop="culUpper" /> |
| | | <el-table-column label="累计下限" header-align="center" align="center" min-width="100" prop="culLower" /> |
| | | <el-table-column label="单位" header-align="center" align="center" min-width="100" prop="unit" /> |
| | | <el-table-column label="转换系数" header-align="center" align="center" min-width="100" prop="coefficient" /> |
| | | <el-table-column label="是否启用" header-align="center" align="center" min-width="100" prop="isEnable" > |
| | | <template #default="scope"> |
| | | <dict-tag :type="DICT_TYPE.COM_IS_INT" :value="scope.row.isEnable" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" align="center" min-width="180" fixed="right"> |
| | | <el-table-column label="操作" align="center" min-width="160" fixed="right"> |
| | | <template #default="scope"> |
| | | <el-button |
| | | link |
| | |
| | | type="primary" |
| | | @click="handleView(scope.row.id)" |
| | | > |
| | | 查看历史 |
| | | 记录 |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |