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/HistorySimulation.vue |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/views/left/KGSimOption/HistorySimulation.vue b/src/views/left/KGSimOption/HistorySimulation.vue
index 2d0debe..ebde892 100644
--- a/src/views/left/KGSimOption/HistorySimulation.vue
+++ b/src/views/left/KGSimOption/HistorySimulation.vue
@@ -1,7 +1,7 @@
 <template>
   <div class="history-simulation">
     <div class="left-top">
-      <span @click="getRainData">鍘嗗彶妯℃嫙</span>
+      <span>鍘嗗彶妯℃嫙</span>
       <span class="clickable-text" @click="toggleDetails">{{
         isCollapsed ? "灞曞紑" : "鏀惰捣"
       }}</span>
@@ -17,6 +17,10 @@
         </div>
       </div>
       <div class="input-group">
+        <div class="input-item">
+          <label>鏂规鍚嶇О:</label>
+          <el-input v-model="schemeName" type="text" placeholder="璇疯緭鍏�"></el-input>
+        </div>
         <div class="input-item">
           <label>闄嶉洦鎬婚噺:</label>
           <el-input v-model="totalRainfall" type="number" placeholder="璇疯緭鍏�"></el-input>
@@ -47,6 +51,7 @@
     <el-dialog v-model="saveDialogVisible" title="淇濆瓨鏂规" width="50%" :before-close="handleClose"
       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>{{ selectedRainfallName }}</p>
@@ -94,6 +99,7 @@
 // 鏁版嵁缁戝畾
 const rainfallHistory = ref("2"); // 榛樿閫変腑绗簩椤�
 const totalRainfall = ref(50); // 闄嶉洦鎬婚噺
+const schemeName = ref('鏂规鍚嶇О'); // 鏂规鍚嶇О
 const rainfallIntensity = ref(70); // 闄嶉洦寮哄害
 const rainfallDuration = ref(5); // 闄嶉洦鏃堕暱
 const isCollapsed = ref(false); // 鎺у埗璇︽儏鐨勫睍寮�/鏀惰捣鐘舵��
@@ -127,6 +133,7 @@
     !props.selectedArea ||
     !rainfallHistory.value ||
     !totalRainfall.value ||
+    !schemeName.value ||
     !rainfallIntensity.value ||
     !rainfallDuration.value
   ) {
@@ -151,6 +158,7 @@
     createTime: new Date().toISOString(), // 鍒涘缓鏃堕棿
     taskStatus: 1, // 鍒濆鐘舵�佷负鏈紑濮�
     totalRainfall: totalRainfall.value, // 闄嶉洦鎬婚噺
+    schemeName: schemeName.value, // 闄嶉洦鎬婚噺
     rainfallIntensity: rainfallIntensity.value, // 闄嶉洦寮哄害
     rainfallDuration: rainfallDuration.value, // 闄嶉洦鏃堕暱
   };

--
Gitblit v1.9.3