From 1a452b6708a442915899d2ddf8288e28fd63bfbc Mon Sep 17 00:00:00 2001
From: wangjuncheng <1>
Date: 星期日, 20 四月 2025 17:57:09 +0800
Subject: [PATCH] change

---
 src/views/left/KGSimOption/PredictiveSimulation.vue |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/views/left/KGSimOption/PredictiveSimulation.vue b/src/views/left/KGSimOption/PredictiveSimulation.vue
index c22c890..bfdf287 100644
--- a/src/views/left/KGSimOption/PredictiveSimulation.vue
+++ b/src/views/left/KGSimOption/PredictiveSimulation.vue
@@ -16,6 +16,10 @@
             ></el-option>
           </el-select>
         </div>
+        <div class="input-item">
+          <label>鏂规鍚嶇О:</label>
+          <el-input v-model="schemeName" type="text" placeholder="璇疯緭鍏�"></el-input>
+        </div>
         <div class="input-item" style="margin-bottom: 10px;">
           <label>闄嶉洦闆ㄩ噺:</label>
           <el-input v-model="totalRainfall" type="number" placeholder="璇疯緭鍏�"></el-input>
@@ -62,6 +66,7 @@
         custom-class="custom-dialog"
       >
         <div class="dialog-content">
+        <p><strong>鏂规鍚嶇О锛�</strong>{{ schemeName }}</p>
           <p><strong>鎵�閫夐噸鐐规矡锛�</strong>{{ props.selectedArea }}</p>
           <p><strong>妯℃嫙绫诲瀷锛�</strong>棰勬祴妯℃嫙</p>
           <p><strong>棰勬祴鏁版嵁锛�</strong>{{ selectedForecastDataName }}</p>
@@ -110,6 +115,7 @@
 // 鏁版嵁缁戝畾
 const isCollapsed = ref(false); // 鎺у埗灞曞紑/鏀惰捣鐘舵��
 const totalRainfall = ref(50); // 闄嶉洦闆ㄩ噺
+const schemeName = ref('鏂规鍚嶇О'); // 鏂规鍚嶇О
 const rainfallIntensity = ref(70); // 闄嶉洦寮哄害
 const rainfallDuration = ref(5); // 棰勮鏃堕暱
 const selectedForecastData = ref('4'); // 榛樿閫変腑鈥滆嚜瀹氫箟鍙傛暟鈥�
@@ -151,7 +157,7 @@
 
 // 鎵撳紑淇濆瓨鏂规瀵硅瘽妗�
 const openSaveDialog = () => {
-  if (!props.selectedArea || !selectedForecastData.value || !totalRainfall.value || !rainfallIntensity.value || !selectedRainfallPatterns.value || !rainfallDuration.value) {
+  if (!props.selectedArea || !selectedForecastData.value ||!schemeName.value || !totalRainfall.value || !rainfallIntensity.value || !selectedRainfallPatterns.value || !rainfallDuration.value) {
     ElMessage.warning('璇峰厛濉啓鎵�鏈夊繀濉」');
     return;
   }
@@ -175,6 +181,7 @@
     simulationType: '棰勬祴妯℃嫙', // 妯℃嫙绫诲瀷
     forecastData: selectedForecastDataName.value, // 棰勬祴鏁版嵁
     totalRainfall: `${totalRainfall.value} mm`, // 闄嶉洦闆ㄩ噺
+    schemeName: schemeName.value, // 闄嶉洦鎬婚噺
     rainfallIntensity: `${rainfallIntensity.value} mm/h`, // 闄嶉洦寮哄害
     rainfallPattern: selectedRainfallPatternsName.value, // 闄嶉洦妯″紡
     rainfallDuration: `${rainfallDuration.value} h`, // 棰勮鏃堕暱

--
Gitblit v1.9.3