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 +++++++++++++++++++++++++++++- gx_tieta/src/global_zh_CN.properties | 3 + gx_tieta/WebRoot/WEB-INF/classes/global_zh_CN.properties | 3 + 3 files changed, 63 insertions(+), 4 deletions(-) diff --git a/gx_tieta/WebRoot/WEB-INF/classes/global_zh_CN.properties b/gx_tieta/WebRoot/WEB-INF/classes/global_zh_CN.properties index eb58994..49e5d5f 100644 --- a/gx_tieta/WebRoot/WEB-INF/classes/global_zh_CN.properties +++ b/gx_tieta/WebRoot/WEB-INF/classes/global_zh_CN.properties @@ -1111,7 +1111,8 @@ ################### ex-battinfo.jsp ################################## Approval_station_install=\u57fa\u7ad9\u5b89\u88c5\u5ba1\u6279 - +Audit = \u5ba1\u6838 +Acceptance = \u9a8c\u6536 ################## batch-set-curr.jsp ############################## Bulk_nuclear_cap_test = \u6279\u91cf\u6838\u5bb9\u6d4b\u8bd5 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; + } + } } } } diff --git a/gx_tieta/src/global_zh_CN.properties b/gx_tieta/src/global_zh_CN.properties index eb58994..49e5d5f 100644 --- a/gx_tieta/src/global_zh_CN.properties +++ b/gx_tieta/src/global_zh_CN.properties @@ -1111,7 +1111,8 @@ ################### ex-battinfo.jsp ################################## Approval_station_install=\u57fa\u7ad9\u5b89\u88c5\u5ba1\u6279 - +Audit = \u5ba1\u6838 +Acceptance = \u9a8c\u6536 ################## batch-set-curr.jsp ############################## Bulk_nuclear_cap_test = \u6279\u91cf\u6838\u5bb9\u6d4b\u8bd5 -- Gitblit v1.9.1