From 35fefed0792c40cb99b8d15fa5811bbb5992bff9 Mon Sep 17 00:00:00 2001
From: D:/workspace/chenjingjing/git/gx_tieta/gx_tieta/.gitignore <chenjingjing@LAPTOP-E51P2139>
Date: 星期一, 21 一月 2019 10:42:24 +0800
Subject: [PATCH] 修改

---
 gx_tieta/WebRoot/power.jsp |  137 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 136 insertions(+), 1 deletions(-)

diff --git a/gx_tieta/WebRoot/power.jsp b/gx_tieta/WebRoot/power.jsp
index 53a2b3b..7d24994 100644
--- a/gx_tieta/WebRoot/power.jsp
+++ b/gx_tieta/WebRoot/power.jsp
@@ -239,6 +239,29 @@
 					</table>
 				</div>
 			</div>
+			<div class="list-con">
+				<div class="list list1">
+					<span><s:text name="Batt_configuration_information"/><s:text name="Permit"/></span>			<!-- 鐢垫睜淇℃伅閰嶇疆鏉冮檺 -->
+					<table>
+						<tr>
+							<td><input type="checkbox" id="battcfg_query_permit"><s:text name="Search"/></td>					<!-- 鏌ヨ -->
+							<td><input type="checkbox" id="battcfg_add_permit"><s:text name="Add"/></td>						<!-- 娣诲姞 -->
+							<td><input type="checkbox" id="battcfg_modify_permit"><s:text name="Edit"/></td>					<!-- 缂栬緫 -->
+							<td><input type="checkbox" id="battcfg_del_permit"><s:text name="Delete"/></td>						<!-- 鍒犻櫎 -->
+						</tr>
+					</table>
+				</div>
+				<div class="list list2">
+					<span><s:text name='Approval_station_install'/><s:text name="Permit"/></span>		<!-- 鍩虹珯瀹夎瀹℃壒鏉冮檺  -->
+					<table>
+						<tr>
+							<td><input type="checkbox" id="install_look_permit"><s:text name="Search"/></td>			<!-- 鏌ヨ -->
+							<td><input type="checkbox" id="install_appr_permit"><s:text name="Audit"/></td>				<!-- 瀹℃牳 -->
+							<td><input type="checkbox" id="install_check_permit"><s:text name="Acceptance"/></td>		<!-- 楠屾敹 -->
+						</tr>
+					</table>
+				</div>
+			</div>
 			<!-- 璁剧疆褰撳墠瀹瑰櫒閬僵灞� -->
 			<div class="mask"></div>
 		</div>
@@ -1271,7 +1294,56 @@
 					if(list[i].permit_item_value == 1){
 						$('#batt_map_delete_permit').prop('checked',true);
 					}
-				}				
+				}		
+				
+				//44鐢垫睜缁勪俊鎭厤缃�     鏌ヨ
+				if(list[i].permit_item_name ==  'battcfg_query_permit'){
+					if(list[i].permit_item_value == 1){
+						$('#battcfg_query_permit').prop('checked',true);
+					}
+				}	
+				
+				//45鐢垫睜缁勪俊鎭厤缃�     娣诲姞
+				if(list[i].permit_item_name ==  'battcfg_add_permit'){
+					if(list[i].permit_item_value == 1){
+						$('#battcfg_add_permit').prop('checked',true);
+					}
+				}	
+				
+				//46鐢垫睜缁勪俊鎭厤缃�     淇敼
+				if(list[i].permit_item_name ==  'battcfg_modify_permit'){
+					if(list[i].permit_item_value == 1){
+						$('#battcfg_modify_permit').prop('checked',true);
+					}
+				}	
+				
+				//47鐢垫睜缁勪俊鎭厤缃�    鍒犻櫎
+				if(list[i].permit_item_name ==  'battcfg_del_permit'){
+					if(list[i].permit_item_value == 1){
+						$('#battcfg_del_permit').prop('checked',true);
+					}
+				}	
+				
+				//48鍩虹珯瀹夎瀹℃壒    鏌ヨ
+				if(list[i].permit_item_name ==  'install_look_permit'){
+					if(list[i].permit_item_value == 1){
+						$('#install_look_permit').prop('checked',true);
+					}
+				}	
+				
+				//49鍩虹珯瀹夎瀹℃壒    瀹℃牳
+				if(list[i].permit_item_name ==  'install_appr_permit'){
+					if(list[i].permit_item_value == 1){
+						$('#install_appr_permit').prop('checked',true);
+					}
+				}	
+				
+				//50绔欏畨瑁呭鎵�    楠屾敹
+				if(list[i].permit_item_name ==  'install_check_permit'){
+					if(list[i].permit_item_value == 1){
+						$('#install_check_permit').prop('checked',true);
+					}
+				}
 			}
 		}
 	}
@@ -1733,6 +1805,69 @@
 							list[i].permit_item_value = 0;
 						}
 					}
+					
+					//44鐢垫睜缁勪俊鎭厤缃�	鏌ヨ
+					if (list[i].permit_item_name == 'battcfg_query_permit') {
+						if($('#battcfg_query_permit').is(':checked')){
+							list[i].permit_item_value = 1;
+						}else{
+							list[i].permit_item_value = 0;
+						}
+					}
+					
+					//45鐢垫睜缁勪俊鎭厤缃�	娣诲姞
+					if (list[i].permit_item_name == 'battcfg_add_permit') {
+						if($('#battcfg_add_permit').is(':checked')){
+							list[i].permit_item_value = 1;
+						}else{
+							list[i].permit_item_value = 0;
+						}
+					}	
+					
+					//46鐢垫睜缁勪俊鎭厤缃�	缂栬緫
+					if (list[i].permit_item_name == 'battcfg_modify_permit') {
+						if($('#battcfg_modify_permit').is(':checked')){
+							list[i].permit_item_value = 1;
+						}else{
+							list[i].permit_item_value = 0;
+						}
+					}
+					
+					//47鐢垫睜缁勪俊鎭厤缃�	鍒犻櫎
+					if (list[i].permit_item_name == 'battcfg_del_permit') {
+						if($('#battcfg_del_permit').is(':checked')){
+							list[i].permit_item_value = 1;
+						}else{
+							list[i].permit_item_value = 0;
+						}
+					}
+					
+					//48鍩虹珯瀹夎瀹℃壒	鏌ヨ
+					if (list[i].permit_item_name == 'install_look_permit') {
+						if($('#install_look_permit').is(':checked')){
+							list[i].permit_item_value = 1;
+						}else{
+							list[i].permit_item_value = 0;
+						}
+					}
+					
+					//49鍩虹珯瀹夎瀹℃壒	瀹℃牳
+					if (list[i].permit_item_name == 'install_appr_permit') {
+						if($('#install_appr_permit').is(':checked')){
+							list[i].permit_item_value = 1;
+						}else{
+							list[i].permit_item_value = 0;
+						}
+					}
+					
+					//50鍩虹珯瀹夎瀹℃壒	楠屾敹
+					if (list[i].permit_item_name == 'install_check_permit') {
+						if($('#install_check_permit').is(':checked')){
+							list[i].permit_item_value = 1;
+						}else{
+							list[i].permit_item_value = 0;
+						}
+					}
 				}
 			}
 		}

--
Gitblit v1.9.1