From d5207d8eaff6188ae0d79c07de17d0b8dbaed65a Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期一, 06 一月 2025 11:45:14 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/model/pre/item/MmPredictItemForm.vue |   26 ++++++++++++++++++++------
 1 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/src/views/model/pre/item/MmPredictItemForm.vue b/src/views/model/pre/item/MmPredictItemForm.vue
index c48cbd5..fc87750 100644
--- a/src/views/model/pre/item/MmPredictItemForm.vue
+++ b/src/views/model/pre/item/MmPredictItemForm.vue
@@ -110,6 +110,21 @@
               maxlength="5"/>
           </el-form-item>
         </el-col>
+        <el-col :span="12">
+          <el-form-item label="真实数据点">
+            <el-select
+              v-model="dataForm.pointId"
+              filterable
+              clearable
+              placeholder="请选择">
+              <el-option
+                v-for="item in pointList"
+                :key="item.id"
+                :label="item.pointName"
+                :value="item.id"/>
+            </el-select>
+          </el-form-item>
+        </el-col>
       </el-row>
       <el-divider content-position="left" v-if="dataForm.itemtypename === 'NormalItem'">模型信息
       </el-divider>
@@ -283,7 +298,7 @@
         <el-table-column prop="valuetype" 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="1000"
+            <el-input v-model="scope.row.value" maxlength="1000"
                       :disabled="scope.row.key === 'pyFile'"
                       style="width:100%;height:100%"/>
           </template>
@@ -357,14 +372,12 @@
           <template #default="scope">
             <el-button
               @click="addRow(scope.$index, dataForm.mmModelParamList)"
-              type="text"
-              size="mini">
+              type="text">
               添加
             </el-button>
             <el-button
               @click="deleteRow(scope.$index, scope.row, dataForm.mmModelParamList)"
-              type="text"
-              size="mini">
+              type="text">
               删除
             </el-button>
           </template>
@@ -544,7 +557,8 @@
     num: undefined
   },
   mmModelArithSettingsList: [],
-  mmModelParamList: []
+  mmModelParamList: [],
+  pointId: undefined
 })
 const formRules = reactive({
   'mmPredictItem.itemname': [{required: true, message: '预测项名不能为空', trigger: 'blur'}],

--
Gitblit v1.9.3