From 4b1fbea0d8099259ea7d0ef10bd7633c3bc62f2e Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期二, 17 十二月 2024 17:43:08 +0800
Subject: [PATCH] 修改了对应的bug

---
 ruoyi-ui/src/views/healthy/healthYear.vue |  370 ++++++++++++++++++++++++++++++++++------------------
 1 files changed, 242 insertions(+), 128 deletions(-)

diff --git a/ruoyi-ui/src/views/healthy/healthYear.vue b/ruoyi-ui/src/views/healthy/healthYear.vue
index 2e863f0..09755ab 100644
--- a/ruoyi-ui/src/views/healthy/healthYear.vue
+++ b/ruoyi-ui/src/views/healthy/healthYear.vue
@@ -23,7 +23,7 @@
   <el-col :border="1" :span="4" v-for="(item, index) in allBasicInfo" :key="o" :offset="1">
   <div>
     <el-card :body-style="{ padding: '1px' }">
-      <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image">
+      <img :src="kinfo[index]" class="image">
       <div style="">
         <span>{{item}}</span>
         <div class="bottom clearfix">
@@ -395,6 +395,18 @@
                   </el-input>
                 </el-form-item>
               </el-row>
+			  <el-row :span="16">
+			  <el-form-item label="楗涔犳儻" prop="eatingHabitsClass" label-width="70px">
+			     <el-select :disabled="dsb" v-model="selectedeatingHabitsType" @change="handleeatingHabitsChange" placeholder="璇烽�夋嫨">
+			           <el-option
+			             v-for="item in ysoptions"
+			             :key="item.value"
+			             :label="item.label"
+			             :value="item.value">
+			           </el-option>
+			         </el-select>
+			  		  </el-form-item>
+			         </el-row>      
             </el-form>
           </el-col>
         </el-container>
@@ -436,54 +448,31 @@
 						  </el-form-item>
 				
               </el-row>
+			  <el-row :span="8">
+			               
+			  				
+			  				
+			  			
+			  
+			  				
+			  				
+			  				<el-form-item label="鐢熸椿浜嬩欢" prop="lifeEventClass" label-width="70px">
+			  				   <el-select :disabled="dsb" v-model="selectedlifeEventType" @change="handlelifeEventChange" placeholder="璇烽�夋嫨">
+			  				         <el-option
+			  				           v-for="item in shoptions"
+			  				           :key="item.value"
+			  				           :label="item.label"
+			  				           :value="item.value">
+			  				         </el-option>
+			  				       </el-select>
+			  						  </el-form-item>
+			  </el-row>
             </el-form>
           </el-col>
         </el-container>
       </div>
     </el-container>
-    <el-container>
-      <div>
-        <el-container >
-          <el-col >
-            <el-form ref="elForm" :model="LiveHabbitList" :rules="rules" size="medium"  label-position="left"
-                     v-loading="loading" :data="LiveHabbitList"  >
 
-              <el-row :span="16">
-             
-				
-				
-				<el-form-item label="楗涔犳儻" prop="eatingHabitsClass" label-width="70px">
-				   <el-select :disabled="dsb" v-model="selectedeatingHabitsType" @change="handleeatingHabitsChange" placeholder="璇烽�夋嫨">
-				         <el-option
-				           v-for="item in ysoptions"
-				           :key="item.value"
-				           :label="item.label"
-				           :value="item.value">
-				         </el-option>
-				       </el-select>
-						  </el-form-item>
-              </el-row>
-              <el-row :span="16">
-
-				
-				
-				<el-form-item label="鐢熸椿浜嬩欢" prop="lifeEventClass" label-width="70px">
-				   <el-select :disabled="dsb" v-model="selectedlifeEventType" @change="handlelifeEventChange" placeholder="璇烽�夋嫨">
-				         <el-option
-				           v-for="item in shoptions"
-				           :key="item.value"
-				           :label="item.label"
-				           :value="item.value">
-				         </el-option>
-				       </el-select>
-						  </el-form-item>
-              </el-row>
-            </el-form>
-          </el-col>
-        </el-container>
-      </div>
-    </el-container>
-	
 	
 	<div style="padding-top:30px" >
 	        <el-container >
@@ -630,40 +619,53 @@
 				    </el-select>
 										  </el-form-item>
               </el-row>
-              <el-row :span="16">
-            
-				
-				
-				<el-form-item label="鐥呯悊鎬佸害" prop="attitudeClass" label-width="70px">
-				<el-select :disabled="dsb" v-model="selectedpattitudeType" @change="handlepattitudeTypeChange" placeholder="璇烽�夋嫨">
-				      <el-option
-				        v-for="item in bloptions"
-				        :key="item.value"
-				        :label="item.label"
-				        :value="item.value">
-				      </el-option>
-				    </el-select>
-										  </el-form-item>
-              </el-row>
-              <el-row :span="16">
-              
-				
-				<el-form-item label="鍏ㄨ韩钀ュ吇鎯呭喌" prop="nutritionClass" label-width="100px">
-				<el-select :disabled="dsb" v-model="selectednutritionType" @change="handlenutritionTypeChange" placeholder="璇烽�夋嫨">
-				      <el-option
-				        v-for="item in qsoptions"
-				        :key="item.value"
-				        :label="item.label"
-				        :value="item.value">
-				      </el-option>
-				    </el-select>
-										  </el-form-item>
-              </el-row>
+      
+    
             </el-form>
           </el-col>
         </el-container>
       </div>
+	  <div style="padding-left:150px">
+	    <el-container >
+	      <el-col >
+	        <el-form ref="elForm" :model="HealthHuliList" :rules="rules" size="medium"  label-position="left"
+	                 v-loading="loading" :data="HealthHuliList"  >
+	  					 <el-row :span="16">
+	  					             
+	  					 				
+	  					 				
+	  					 				<el-form-item label="鐥呯悊鎬佸害" prop="attitudeClass" label-width="70px">
+	  					 				<el-select :disabled="dsb" v-model="selectedpattitudeType" @change="handlepattitudeTypeChange" placeholder="璇烽�夋嫨">
+	  					 				      <el-option
+	  					 				        v-for="item in bloptions"
+	  					 				        :key="item.value"
+	  					 				        :label="item.label"
+	  					 				        :value="item.value">
+	  					 				      </el-option>
+	  					 				    </el-select>
+	  					 										  </el-form-item>
+	  					 </el-row>
+						 <el-row :span="16">
+						 
+						 				
+						 				<el-form-item label="鍏ㄨ韩钀ュ吇鎯呭喌" prop="nutritionClass" label-width="100px">
+						 				<el-select :disabled="dsb" v-model="selectednutritionType" @change="handlenutritionTypeChange" placeholder="璇烽�夋嫨">
+						 				      <el-option
+						 				        v-for="item in qsoptions"
+						 				        :key="item.value"
+						 				        :label="item.label"
+						 				        :value="item.value">
+						 				      </el-option>
+						 				    </el-select>
+						 										  </el-form-item>
+						 </el-row>
+	  			</el-form>
+	  			      </el-col>
+	  			    </el-container>
+	  			  </div>
     </el-container>
+	
+
 	<div style="padding-top:30px" >
 	        <el-container >
 	
@@ -742,13 +744,14 @@
 				    </el-select>
 										  </el-form-item>
               </el-row>
+       
               <el-row :span="16">
-               
+        
 				
-				<el-form-item label="琛�绠$柧鐥�" prop="vascularDiseaseClass" label-width="100px">
-				<el-select :disabled="dsb" v-model="selectedvascularDiseaseType" @change="handlevascularDiseaseTypeChange" placeholder="璇烽�夋嫨">
+				<el-form-item label="娑堝寲绯荤粺鐤剧梾" prop="digestiveSystemDiseaseClass" label-width="100px">
+				<el-select :disabled="dsb" v-model="selecteddigestiveSystemDiseaseType" @change="handledigestiveSystemDiseaseTypeChange" placeholder="璇烽�夋嫨">
 				      <el-option
-				        v-for="item in xgoptions"
+				        v-for="item in xhoptions"
 				        :key="item.value"
 				        :label="item.label"
 				        :value="item.value">
@@ -756,62 +759,77 @@
 				    </el-select>
 										  </el-form-item>
               </el-row>
+              
               <el-row :span="16">
-                <el-form-item label="娑堝寲绯荤粺鐤剧梾" prop="digestiveSystemDiseaseClass" label-width="100px">
-                  <el-radio label="gastroduodenalUlcer" v-model="selecteddigestiveSystemDiseaseType" :disabled="dsb" @change="handledigestiveSystemDiseaseTypeChange">鑳冨崄浜屾寚鑲犳簝鐤�</el-radio>
-                  <el-radio label="esophagitis" v-model="selecteddigestiveSystemDiseaseType" :disabled="dsb" @change="handledigestiveSystemDiseaseTypeChange">鍙嶆祦鎬ч绠$値</el-radio>
-                  <el-radio label="gastritis" v-model="selecteddigestiveSystemDiseaseType" :disabled="dsb" @change="handledigestiveSystemDiseaseTypeChange"> 鎱㈡�ц儍鐐�</el-radio>
-                  <el-radio label="colitis" v-model="selecteddigestiveSystemDiseaseType" :disabled="dsb" @change="handledigestiveSystemDiseaseTypeChange" >婧冪枴鎬х粨鑲犵値</el-radio>
-                  <el-radio label="hepatitis" v-model="selecteddigestiveSystemDiseaseType" :disabled="dsb" @change="handledigestiveSystemDiseaseTypeChange"> 鑲濈値</el-radio>
-                  <el-radio label="cholecystitis" v-model="selecteddigestiveSystemDiseaseType" :disabled="dsb" @change="handledigestiveSystemDiseaseTypeChange"> 鑳嗗泭鐐�</el-radio>
-                  <el-radio label="cholelithiasis" v-model="selecteddigestiveSystemDiseaseType" :disabled="dsb" @change="handledigestiveSystemDiseaseTypeChange">鑳嗙煶鐥�</el-radio>
-                  <el-radio label="fattyLiver" v-model="selecteddigestiveSystemDiseaseType" :disabled="dsb" @change="handledigestiveSystemDiseaseTypeChange">鑴傝偑鑲�</el-radio>
-                  <el-radio label="hyperlipidemia" v-model="selecteddigestiveSystemDiseaseType" :disabled="dsb" @change="handledigestiveSystemDiseaseTypeChange"> 楂樿剛琛�鐥�</el-radio>
-                  <el-radio label="haemorrhoids" v-model="selecteddigestiveSystemDiseaseType" :disabled="dsb" @change="handledigestiveSystemDiseaseTypeChange" >鐥旂柈</el-radio>
-                  <el-radio label="other" v-model="selecteddigestiveSystemDiseaseType" :disabled="dsb" @change="handledigestiveSystemDiseaseTypeChange"> 鍏跺畠</el-radio>
-
-                </el-form-item>
+    
+				
+				<el-form-item label="鑲捐剰鐤剧梾" prop="kidneyDiseaseClass" label-width="100px">
+				<el-select :disabled="dsb" v-model="selectedkidneyDiseaseDiseaseType" @change="handlekidneyDiseaseTypeChange" placeholder="璇烽�夋嫨">
+				      <el-option
+				        v-for="item in szjoptions"
+				        :key="item.value"
+				        :label="item.label"
+				        :value="item.value">
+				      </el-option>
+				    </el-select>
+										  </el-form-item>
               </el-row>
-              <el-row :span="16">
-                <el-form-item label="鍛煎惛绯荤粺鐤剧梾" prop="respiratorySystemDiseaseClass" label-width="100px">
-                  <el-radio label="COPD" v-model="selectedrespiratorySystemDiseaseType" :disabled="dsb" @change="handlerespiratorySystemDiseaseTypeChange">COPD</el-radio>
-                  <el-radio label="pneumonia" v-model="selectedrespiratorySystemDiseaseType" :disabled="dsb" @change="handlerespiratorySystemDiseaseTypeChange">鑲虹値</el-radio>
-                  <el-radio label="bronchitis" v-model="selectedrespiratorySystemDiseaseType" :disabled="dsb" @change="handlerespiratorySystemDiseaseTypeChange"> 鏀皵绠$値</el-radio>
-                  <el-radio label="bronchialAsthma" v-model="selectedrespiratorySystemDiseaseType" :disabled="dsb" @change="handlerespiratorySystemDiseaseTypeChange" >鏀皵绠″摦鍠�</el-radio>
-                  <el-radio label="pulmonaryTuberculosis" v-model="selectedrespiratorySystemDiseaseType" :disabled="dsb" @change="handlerespiratorySystemDiseaseTypeChange"> 鑲虹粨鏍�</el-radio>
-                  <el-radio label="upperRespiratoryTractInfection" v-model="selectedrespiratorySystemDiseaseType" :disabled="dsb" @change="handlerespiratorySystemDiseaseTypeChange"> 涓婂懠鍚搁亾鎰熸煋</el-radio>
-                  <el-radio label="other" v-model="selectedrespiratorySystemDiseaseType" :disabled="dsb" @change="handlerespiratorySystemDiseaseTypeChange">鍏朵粬</el-radio>
-
-                </el-form-item>
-              </el-row>
-              <el-row :span="16">
-                <el-form-item label="鑲捐剰鐤剧梾" prop="kidneyDiseaseClass" label-width="100px">
-                  <el-radio label="diabetes" v-model="selectedkidneyDiseaseDiseaseType" :disabled="dsb" @change="handlekidneyDiseaseTypeChange">绯栧翱鐥呰偩鐥�</el-radio>
-                  <el-radio label="renalFailure" v-model="selectedkidneyDiseaseDiseaseType" :disabled="dsb" @change="handlekidneyDiseaseTypeChange">鑲惧姛鑳借“绔�</el-radio>
-                  <el-radio label="acuteNephritis" v-model="selectedkidneyDiseaseDiseaseType" :disabled="dsb" @change="handlekidneyDiseaseTypeChange"> 鎬ユ�ц偩鐐�</el-radio>
-                  <el-radio label="chronicNephritis" v-model="selectedkidneyDiseaseDiseaseType" :disabled="dsb" @change="handlekidneyDiseaseTypeChange" >鎱㈡�ц偩鐐�</el-radio>
-                  <el-radio label="urinaryCalculus" v-model="selectedkidneyDiseaseDiseaseType" :disabled="dsb" @change="handlekidneyDiseaseTypeChange"> 娉屽翱绯荤粺缁撶煶</el-radio>
-                  <el-radio label="urinaryTractInfection" v-model="selectedkidneyDiseaseDiseaseType" :disabled="dsb" @change="handlekidneyDiseaseTypeChange"> 娉屽翱绯荤粺鎰熸煋</el-radio>
-                  <el-radio label="other" v-model="selectedkidneyDiseaseDiseaseType" :disabled="dsb" @change="handlekidneyDiseaseTypeChange">鍏朵粬</el-radio>
-
-                </el-form-item>
-              </el-row>
-              <el-row :span="16">
-                <el-form-item label="鍏跺畠鐤剧梾" prop="otherDiseaseClass" label-width="100px">
-                  <el-radio label="pregnant" v-model="selectedotherDiseaseType" :disabled="dsb" @change="handleotherDiseaseTypeChange">瀛曟湡涓変釜鏈堜互鍐呯殑瀛曞</el-radio>
-                  <el-radio label="cold" v-model="selectedotherDiseaseType" :disabled="dsb" @change="handleotherDiseaseTypeChange">鐥呮瘨鎬ч噸鎰熷啋</el-radio>
-                  <el-radio label="infectious" v-model="selectedotherDiseaseType" :disabled="dsb" @change="handleotherDiseaseTypeChange"> 浼犳煋鎬х柧鐥�</el-radio>
-                  <el-radio label="pulmonaryBulla" v-model="selectedotherDiseaseType" :disabled="dsb" @change="handleotherDiseaseTypeChange" >鑲哄ぇ鐤�</el-radio>
-                  <el-radio label="hemoptysis" v-model="selectedotherDiseaseType" :disabled="dsb" @change="handleotherDiseaseTypeChange"> 缁撴牳鎬х┖娲炲舰鎴愮殑鍜</el-radio>
-                  <el-radio label="activeBleeding" v-model="selectedotherDiseaseType" :disabled="dsb" @change="handleotherDiseaseTypeChange"> 鏈粡澶勭悊鐨勬皵鑳�</el-radio>
-                  <el-radio label="other" v-model="selectedotherDiseaseType" :disabled="dsb" @change="handleotherDiseaseTypeChange">娲诲姩鎬у嚭琛�</el-radio>
-
-                </el-form-item>
-              </el-row>
+            
             </el-form>
           </el-col>
         </el-container>
       </div>
+	  <div style="padding-left: 100px;">
+		  <el-container>
+			  <el-col >
+			    <el-form ref="elForm" :model="HealthNowList" :rules="rules" size="medium"  label-position="left"
+			             v-loading="loading" :data="HealthNowList"  >
+					<el-row :span="16">
+					 
+									
+									<el-form-item label="琛�绠$柧鐥�" prop="vascularDiseaseClass" label-width="100px">
+									<el-select :disabled="dsb" v-model="selectedvascularDiseaseType" @change="handlevascularDiseaseTypeChange" placeholder="璇烽�夋嫨">
+									      <el-option
+									        v-for="item in xgoptions"
+									        :key="item.value"
+									        :label="item.label"
+									        :value="item.value">
+									      </el-option>
+									    </el-select>
+															  </el-form-item>
+					</el-row>
+					<el-row :span="16">
+					            
+									
+									<el-form-item label="鍛煎惛绯荤粺鐤剧梾" prop="respiratorySystemDiseaseClass" label-width="100px">
+									<el-select :disabled="dsb" v-model="selectedrespiratorySystemDiseaseType" @change="handlerespiratorySystemDiseaseTypeChange" placeholder="璇烽�夋嫨">
+									      <el-option
+									        v-for="item in hxjoptions"
+									        :key="item.value"
+									        :label="item.label"
+									        :value="item.value">
+									      </el-option>
+									    </el-select>
+															  </el-form-item>
+					</el-row>
+					<el-row :span="16">
+					        
+									
+									<el-form-item label="鍏跺畠鐤剧梾" prop="otherDiseaseClass" label-width="100px">
+									<el-select :disabled="dsb" v-model="selectedotherDiseaseType" @change="handleotherDiseaseTypeChange" placeholder="璇烽�夋嫨">
+									      <el-option
+									        v-for="item in qtoptions"
+									        :key="item.value"
+									        :label="item.label"
+									        :value="item.value">
+									      </el-option>
+									    </el-select>
+															  </el-form-item>
+					</el-row>	 
+				</el-form>
+			  </el-col>
+		  </el-container>
+	  </div>
     </el-container>
 
     <div style="position:relative">
@@ -990,11 +1008,13 @@
   dicts: ['sys_normal_disable'],
   data() {
     return {
+		kinfo:[require("@/assets/images/鍩烘湰鎯呭喌.png"),require("@/assets/images/鐢熸椿涔犳儻.png")
+		,require("@/assets/images/鎶ょ悊鏌ヤ綋.png"),require("@/assets/images/鐜板湪鍋ュ悍闂.png")],
 		open:false,
 		open1:false,
 		open2:false,
 		open3:false,
-	  allBasicInfo:["鍩烘湰鎯呭喌","鐢熸椿涔犳儻","鎶ょ悊鏌ヤ綋","鐜板湪鍋ュ悍闂"],
+	  allBasicInfo:["鍩烘湰鎯呭喌","鐢熸椿涔犳儻","鎶ょ悊鏌ヤ綋","鐜板湪鍋ュ悍鎯呭喌"],
       dictionary: {},
       // 閬僵灞�
       editMode: false, // 鏄惁澶勪簬缂栬緫妯″紡
@@ -1286,7 +1306,101 @@
 
 
       },
-	 
+
+				
+		qtoptions:
+		[
+			{ value: 'pregnant',
+				  		 	    label: '瀛曟湡涓変釜鏈堜互鍐呯殑瀛曞'}, 
+					
+				{ value: 'cold',
+					    label: '鐥呮瘨鎬ч噸鎰熷啋'},
+			{ value: 'infectious',
+			  		 	    label: '浼犳煋鎬х柧鐥�'}, 
+				
+			{ value: 'pulmonaryBulla',
+				    label: '鑲哄ぇ鐤�'},
+			{ value: 'hemoptysis',
+			  		 	    label: '缁撴牳鎬х┖娲炲舰鎴愮殑鍜'}, 
+				
+			{ value: 'activeBleeding',
+				    label: '鏈粡澶勭悊鐨勬皵鑳�'},		
+			
+			{ value: 'other',
+				    label: '娲诲姩鎬у嚭琛�'},		
+		],
+	szjoptions:
+	[
+		{ value: 'diabetes',
+		  		 	    label: '绯栧翱鐥呰偩鐥�'}, 
+			
+		{ value: 'renalFailure',
+			    label: '鑲惧姛鑳借“绔�'},
+	{ value: 'acuteNephritis',
+	  		 	    label: '鎬ユ�ц偩鐐�'}, 
+		
+	{ value: 'chronicNephritis',
+		    label: '鎱㈡�ц偩鐐�'},
+	{ value: 'urinaryCalculus',
+	  		 	    label: '娉屽翱绯荤粺缁撶煶'}, 
+		
+	{ value: 'urinaryTractInfection',
+		    label: '娉屽翱绯荤粺鎰熸煋'},		
+	
+	{ value: 'other',
+		    label: '鍏朵粬'},		
+	],
+	hxjoptions:
+	[
+		{ value: 'COPD',
+		  		 	    label: 'COPD'}, 
+			
+		{ value: 'pneumonia',
+			    label: '鑲虹値'},
+		{ value: 'bronchitis',
+		  		 	    label: '鏀皵绠$値'}, 
+			
+		{ value: 'bronchialAsthma',
+			    label: '鏀皵绠″摦鍠�'},
+		{ value: 'pulmonaryTuberculosis',
+		  		 	    label: '鑲虹粨鏍�'}, 
+			
+		{ value: 'upperRespiratoryTractInfection',
+			    label: '涓婂懠鍚搁亾鎰熸煋'},
+		{ value: 'other',
+			    label: '鍏朵粬'},
+				],
+	
+	 xhoptions:
+	 [
+	 	{ value: 'gastroduodenalUlcer',
+	 	  		 	    label: '鑳冨崄浜屾寚鑲犳簝鐤�'}, 
+	 		
+	 	{ value: 'esophagitis',
+	 		    label: '鍙嶆祦鎬ч绠$値'},
+		{ value: 'gastritis',
+		  		 	    label: '鎱㈡�ц儍鐐�'}, 
+			
+		{ value: 'colitis',
+			    label: '婧冪枴鎬х粨鑲犵値'},
+		{ value: 'hepatitis',
+		  		 	    label: '鑲濈値'}, 
+			
+		{ value: 'cholecystitis',
+			    label: '鑳嗗泭鐐�'},
+		{ value: 'cholelithiasis',
+		  		 	    label: '鑳嗙煶鐥�'}, 
+			
+		{ value: 'fattyLiver',
+			    label: '鑴傝偑鑲�'},
+		{ value: 'hyperlipidemia',
+		  		 	    label: '楂樿剛琛�鐥�'}, 
+			
+		{ value: 'haemorrhoids',
+			    label: '鐥旂柈'},
+		{ value: 'other',
+			    label: '鍏朵粬'},
+				],
     nxoptions:
 	[
 		{ value: 'ischemicStroke',

--
Gitblit v1.9.1