From 08b1e453b47d63b68234bcdbad491a7b5ac3dc42 Mon Sep 17 00:00:00 2001 From: whyclj <1525436766@qq.com> Date: 星期一, 07 一月 2019 16:10:45 +0800 Subject: [PATCH] 权限管理页面中添加基站审批权限以及添加国际化文本 --- gx_tieta/WebRoot/power.jsp | 61 +++++++++++++++++++++++++++++- 1 files changed, 59 insertions(+), 2 deletions(-) diff --git a/gx_tieta/WebRoot/power.jsp b/gx_tieta/WebRoot/power.jsp index 68ec1b3..3ef2a05 100644 --- a/gx_tieta/WebRoot/power.jsp +++ b/gx_tieta/WebRoot/power.jsp @@ -241,7 +241,7 @@ </div> <div class="list-con"> <div class="list list1"> - <span><s:text name="Batt_configuration_information"/><s:text name="Permit"/></span> <!-- 浣滀笟鍙樻洿绠$悊鏉冮檺 --> + <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> <!-- 鏌ヨ --> @@ -251,7 +251,16 @@ </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> @@ -1314,6 +1323,27 @@ $('#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); + } + } } } } @@ -1811,6 +1841,33 @@ 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_look_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_look_permit').is(':checked')){ + list[i].permit_item_value = 1; + }else{ + list[i].permit_item_value = 0; + } + } } } } -- Gitblit v1.9.1