123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337 |
- <%@page language="java" pageEncoding="UTF-8"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>应急队伍维护</title>
- <!--框架必需start-->
- <%@include file="../../../../include1.jsp" %>
- <!--框架必需end-->
- <link href="/nwyj/css/cockpit/dialog/alertIframeDrag.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="../../../../../scripts/business/am/resource/team/teamupdate.js"></script>
- <script type="text/javascript" src="/nwyj/page/cockpit/alert/alert_iframe.js"></script>
- <style type="text/css">
- .bd{
- width: 1000px;
- margin:0 auto;
- margin-top:10px
- }
- .d_ground{
- border: 1px solid #cdcaca;
- background: white;
- width:1000px;
- }
- .title{
- height: 50px;
- /* background: #F8F8F8; */
- border-style:solid;
- border-width:1px;
- border-right:1px;
- border-left:1px;
- border-top:1px;
- border-color:#cdcaca;
- }
- .title_font{
- font-weight: bold;
- font-size: 24px;
- line-height: 45px;
- color:#3e62a0;
- }
- .button_jl{
- margin:15px 20px 0px 0px;
- float:right;
- }
- .fieldset{
- border-style:solid;
- border-width:1px;
- border-color:#cdcaca;
- margin:0px 20px 20px 20px;
- /* border-top-color: rgb(200,200,200);
- border-right-color: rgb(200,200,200);
- border-bottom-color: rgb(200,200,200);
- border-left-color: rgb(200,200,200); */
- width: 935px
- }
- .legend{
- font-family:宋体;
- font-weight: bold;
- font-size:14px;
- color:#3e62a0;
- }
- .table-style{
- border-style:solid;
- border-width:1px;
- border-color:#cdcaca;
- margin:0px 20px 0px 20px;
- border-collapse:collapse;
- width: 895px;
- }
- .table-style2{
- border:1px solid #cdcaca;
- margin:0px 20px 0px 20px;
- border-collapse:collapse;
- width: 895px;
- }
- .td-font{
- font-family:宋体;
- font-size:14px;
- color:#161616;
- }
- .td-move{
- padding: 10px 5px 0px 0px;
- }
- .td-style{
- border:1px solid #cdcaca;
- border-collapse:collapse;
- padding-left: 10px
- }
- .back{
- margin:10px 0px 10px 15px;
- }
- #teamMap{cursor:pointer;}
- /* .class_color{
- background-color: rgb(237, 239, 253);
- } */
- </style>
- <script type="text/javascript">
- /* function openBDmap() {
- var url = "/nwyj/page/cockpit/bdMap/bdMap.html";
- var str = "中国南方电网应急指挥平台-地图";
- initAlertDrag(url,str)
- } */
-
- $(function(){
- $("html").css("overflow-x","auto");
- });
- </script>
- </head>
- <body class="bd" align="center">
- <div id="bdmap" class="drag_win" width="65%" height="55%"></div>
- <div id="formContent" class="d_ground">
- <div class="title" align="center">
- <a href="javascript:;">
- <img id="back" class="back" align="left" alt="返回" src="/nwyj/images/temp/back.png" onclick="goBack()"></img>
- </a>
- <font class="title_font">新增应急队伍信息</font>
- </div>
- <form id="fillForm" method="post" >
- <input type="hidden" id="fd_id261" name="FD_OBJECTID261" required="true"/>
- <input type="hidden" name="classid" value="261" required="true"/>
- <input type="hidden" id="TEAM_SYSTEM_261" name="TEAM_SYSTEM_261" required="true"/>
- <input type="hidden" id="COLUMN_1_261" name="COLUMN_1_261" value="0" required="true"/>
- <input type="hidden" id="TEAM_COMP_ID_261" name="TEAM_COMP_ID_261" required="true"/>
- <input type="hidden" id="TYPEIN_PEOPLE_261" name="TYPEIN_PEOPLE_261" required="true"/>
- <input type="hidden" id="SORT_NO_261" name="SORT_NO_261" required="true"/>
- <!-- <input type="hidden" id="SD_XIANLU_261" name="SD_XIANLU_261" value="0" required="true"/>
- <input type="hidden" id="SD_XIANLANG_261" name="SD_XIANLANG_261" value="0" required="true"/>
- <input type="hidden" id="BD_YICI_261" name="BD_YICI_261" value="0" required="true"/>
- <input type="hidden" id="BD_ERCI_261" name="BD_ERCI_261" value="0" required="true"/>
- <input type="hidden" id="PD_XIANLU_261" name="PD_XIANLU_261" value="0" required="true"/>
- <input type="hidden" id="PD_XIANLANG_261" name="PD_XIANLANG_261" value="0" required="true"/>
- <input type="hidden" id="PD_DIANFANG_261" name="PD_DIANFANG_261" value="0" required="true"/>
- <input type="hidden" id="PD_BAODIAN_261" name="PD_BAODIAN_261" value="0" required="true"/>
- <input type="hidden" id="TONGXING_261" name="TONGXING_261" value="0" required="true"/>
- <input type="hidden" id="WANGLUO_261" name="WANGLUO_261" value="0" required="true"/>
- <input type="hidden" id="SHIYAN_261" name="SHIYAN_261" value="0" required="true"/>
- <input type="hidden" id="TEAM_MEMBER_NUMBER_261" name="TEAM_MEMBER_NUMBER_261" value="0" required="true"/> -->
-
- <div class="button_jl">
- <input type="button" value="保存" id="btn_addinlink_org" onclick="validateForm('#fillForm')"/>
- <input type="button" value="重置" onclick="resetSearch()" />
- </div>
-
- <fieldset class="fieldset">
- <legend class="legend">基本信息:</legend>
- <table class="table-style">
- <tr>
- <td width="80px" align="right" class="td-move"><span class="star">*</span><span class="td-font">队伍来源:</span></td>
- <td width="280px" class="td-move">
- <div style="width:265px;" class="checkboxRender">
- <input type="radio" class="validate[required] radio" id="radio-1" name="ra" value="122" /><label for="radio-1" class="hand">内部</label><!-- onclick="disableSelect()" -->
- <input type="radio" class="validate[required] radio" id="radio-2" name="ra" value="123"/><label for="radio-2" class="hand">外部</label> <!-- onclick="enableSelect()" -->
- </div>
- </td>
- <td width="145px" align="right" class="td-move"><span class="star">*</span><span class="td-font">所属单位:</span></td>
- <td width="280px" class="td-move"><!-- <div class="selectTree validate[required]" id="AcceptUserTree" name="TEAM_COMP_ID_261" selWidth="291" asyncMode="true"></div> -->
- <input type="text" id="AcceptUserTree" readonly="readonly" style="width: 275px;height:30px">
- </td>
- </tr>
- <tr>
- <td align="right" class="td-move"><span class="star">*</span><span class="td-font">队伍名称:</span></td>
- <td class="td-move"><input type="text" id="TEAM_NAME_261" name="TEAM_NAME_261" class="validate[required]" maxlength="20" style="width: 265px;height:30px"/></td>
- <td align="right" class="td-move"><span class="star">*</span><span class="td-font">队伍类型:</span></td>
- <td class="td-move"><select class="selectSuggestion validate[required] selectWidth" selWidth="280" id="TEAM_TYPE_261" name="TEAM_TYPE_261" prompt="请选择" ></select></td>
- </tr>
-
- <tr>
- <td align="right" class="td-move"><span class="star">*</span><span class="td-font">负责人:</span></td>
- <td class="td-move"><input type="text" id="TEAM_LEADER_261" name="TEAM_LEADER_261" class="validate[required,custom[chinese]]" maxlength="10" style="width: 265px;height:30px"/></td>
- <td align="right" class="td-move"><span class="star">*</span><span class="td-font">值班电话:</span></td>
- <td class="td-move"><input type="text" id="TEAM_TEL_261" name="TEAM_TEL_261" class="validate[required]" maxlength="13" onkeyup="value=value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" style="width: 275px;height:30px"/></td>
- </tr>
- <tr>
- <td align="right" class="td-move"><span class="star">*</span><span class="td-font">联系手机:</span></td><!-- class=" validate[required,custom[mobilephone]]" -->
- <td class="td-move"><input type="text" id="TEAM_PHONE_261" name="TEAM_PHONE_261" inputMode="numberOnly" maxlength="11" style="width: 265px;height:30px"/></td>
- <td align="right" class="td-move"><span class="star">*</span><span class="td-font">办公电话:</span></td>
- <td class="td-move"><input type="text" id="TEAM_OFFICE_TEL_261" name="TEAM_OFFICE_TEL_261" class="validate[required]" maxlength="13" onkeyup="value=value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" style="width: 275px;height:30px"/></td>
- </tr>
- <tr>
- <td align="right" class="td-move"><span class="td-font">电压等级:</span></td>
- <td class="td-move">
- <div class="selectTree " id="TEAM_LEVEL_261" name="TEAM_LEVEL_261" multiMode="true" selectedValue="" keepDefaultStyle="true" selWidth="271"></div>
- <!-- <select class="selectSuggestion selectWidth" id="TEAM_LEVEL_261" name="TEAM_LEVEL_261" prompt="请选择" selWidth="270"></select> --></td>
- <td align="right" class="td-move"><span class="star">*</span><span class="td-font">队伍状态:</span></td>
- <td class="td-move"><select class="selectSuggestion selectWidth validate[required]" id="TEAM_STAT_261" name="TEAM_STAT_261" prompt="请选择" selWidth="280"></select></td>
- </tr>
-
- <tr>
- <td align="right" class="td-move"><span class="td-font">所在区域:</span></td>
- <td colspan="3" class="td-move"><input type="text" id="TEAM_AEAR_261" name="TEAM_AEAR_261" maxlength="30" readonly="readonly" style="width: 90%;height:30px" />
- <img align="bottom" id="teamMap" src="/nwyj/images/cockpit/gis/teamMap.png"/></td>
- </tr>
- <tr>
- <td align="right" class="td-move"><span class="td-font">经度:</span></td>
- <td class="td-move"><input type="text" id="LONGITUDE_261" name="LONGITUDE_261" maxlength="20" style="width: 265px;height:30px" /></td>
- <td align="right" class="td-move"><span class="td-font">纬度:</span></td>
- <td class="td-move"><input type="text" id="LATITUDE_261" name="LATITUDE_261" maxlength="20" style="width: 275px;height:30px" /></td>
- </tr>
- <tr>
- <td align="right" class="td-move"><span class="td-font">通信地址:</span></td>
- <td colspan="3" class="td-move"><input type="text" id="TEAM_ADDRESS_261" name="TEAM_ADDRESS_261" maxlength="30" style="width: 95%;height:30px"/></td>
- </tr>
- <tr>
- <td align="right" style="padding: 10px 5px 10px 0px;"><span class="td-font">专长描述:</span></td>
- <td colspan="3" style="padding: 10px 5px 10px 0px;"><!-- <input type="text" id="TEAM_SPECIALITY_261" name="TEAM_SPECIALITY_261" maxlength="10"/> -->
- <textarea maxNum="300" name="TEAM_SPECIALITY_261" id="TEAM_SPECIALITY_261" style="resize:none;width: 95%;"></textarea></td>
- </tr>
- </table>
- </fieldset>
-
- <fieldset id="complete" class="fieldset">
- <legend class="legend">队伍人数:</legend>
- <table class="table-style">
- <tr>
- <td align="right" width="120px" class="td-move"><span class="td-font">人数 :</span></td>
- <td width="280px" class="td-move"><input type="text" id="TEAM_MEMBER_NUMBER_261" name="TEAM_MEMBER_NUMBER_261" value="0" disabled=true maxlength="10" style="width: 265px;height:30px" readonly="readonly"/></td>
- <td align="right" width="125px" class="td-move"><span class="td-font">输电线路(人数):</span></td>
- <td width="280px" class="td-move"><input type="text" id="SD_XIANLU_261" name="SD_XIANLU_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
- </tr>
- <tr>
- <td align="right" class="td-move"><span class="td-font">输电电缆(人数):</span></td>
- <td class="td-move"><input type="text" id="SD_XIANLANG_261" name="SD_XIANLANG_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
- <td align="right" class="td-move"><span class="td-font">变电一次(人数):</span></td>
- <td class="td-move"><input type="text" id="BD_YICI_261" name="BD_YICI_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
- </tr>
- <tr>
- <td align="right" class="td-move"><span class="td-font">变电二次(人数):</span></td>
- <td class="td-move"><input type="text" id="BD_ERCI_261" name="BD_ERCI_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
- <td align="right" class="td-move"><span class="td-font">信息通信(人数):</span></td>
- <td class="td-move"><input type="text" id="PD_XIANLU_261" name="PD_XIANLU_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
- </tr>
- <tr>
- <td align="right" class="td-move"><span class="td-font">海缆(人数):</span></td>
- <td class="td-move"><input type="text" id="PD_XIANLANG_261" name="PD_XIANLANG_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
- <td align="right" class="td-move"><span class="td-font">物资(人数):</span></td>
- <td class="td-move"><input type="text" id="PD_DIANFANG_261" name="PD_DIANFANG_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
- </tr>
- <tr>
- <td align="right" class="td-move"><span class="td-font">消防(人数):</span></td>
- <td class="td-move"><input type="text" id="PD_BAODIAN_261" name="PD_BAODIAN_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
- <td align="right" class="td-move"><span class="td-font">后勤保障(人数):</span></td>
- <td class="td-move"><input type="text" id="TONGXING_261" name="TONGXING_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
- </tr>
- <!-- <tr>
- <td align="right" style="padding: 10px 5px 10px 0px;"><span class="td-font">网络信息(人数):</span></td>
- <td style="padding: 10px 5px 10px 0px;"><input type="text" id="WANGLUO_261" name="WANGLUO_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
- <td align="right" style="padding: 10px 5px 10px 0px;"><span class="td-font">试验(人数):</span></td>
- <td style="padding: 10px 5px 10px 0px;"><input type="text" id="SHIYAN_261" name="SHIYAN_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
- </tr> -->
- </table>
- </fieldset>
-
- <fieldset class="fieldset">
- <legend class="legend">填写人员信息:</legend>
- <table class="table-style2" id="fillForm">
- <tr>
- <td width="120px" class="td-style" align="right" ><span class="td-font">单位:</span></td>
- <td width="280px" class="td-style"><div name="UNITE" id="UNITE" /></td>
- <td width="120px" class="td-style" align="right"><span class="td-font">部门:</span></td>
- <td width="280px" class="td-style"><div name="DEPT" id="DEPT" /></td>
- </tr>
- <tr>
- <td align="right" class="td-style"><span class="td-font">填写人员:</span></td>
- <td class="td-style"><div name="TYPEIN_PEOPLE" id="TYPEIN_PEOPLE" /></td><!-- style="text-decoration:underline;color:#0000FF" -->
- <td align="right" class="td-style"><span class="td-font">填写人员联系方式:</span></td>
- <td class="td-style"><div name="TYPEIN_PEOPLE_PHONE_NUM" id="TYPEIN_PEOPLE_PHONE_NUM" /></td>
- </tr>
- </table>
- </fieldset>
-
- </form>
- </div>
- <script type="text/javascript">
- $(function(){
- $("#teamMap").on('click',function(){
- //var url = "/nwyj/page/cockpit/bdMap/bdMap.html?corpName=" + corpName + "&adr=" + $("#TEAM_AEAR_261").val() + "&lng=" + $("#LONGITUDE_261").val() + "$lat=" + $("#LATITUDE_261").val();
- var url = "/nwyj/page/cockpit/bdMap/bdMap.html?corpName=" + corpName + "&adr=" + $("#TEAM_AEAR_261").val();
- var str = "南方电网-地图";
- initAlertDrag(url,str)
- });
- });
-
- function callbackAdr(adr,lng,lat){
- $("#TEAM_AEAR_261").val(adr);
- $("#LONGITUDE_261").val(lng);
- $("#LATITUDE_261").val(lat);
- };
- //设为不可用
- function disableSelect(){
- $("#TEAM_MEMBER_NUMBER_261").attr("readonly",true);
- $("#SD_XIANLU_261").attr("readonly",true);
- $("#SD_XIANLANG_261").attr("readonly",true);
- $("#BD_YICI_261").attr("readonly",true);
- $("#BD_ERCI_261").attr("readonly",true);
- $("#PD_XIANLU_261").attr("readonly",true);
- $("#PD_XIANLANG_261").attr("readonly",true);
- $("#PD_DIANFANG_261").attr("readonly",true);
- $("#PD_BAODIAN_261").attr("readonly",true);
- $("#TONGXING_261").attr("readonly",true);
-
- $("#TEAM_MEMBER_NUMBER_261").val("0");
- $("#SD_XIANLU_261").val("0");
- $("#SD_XIANLANG_261").val("0");
- $("#BD_YICI_261").val("0");
- $("#BD_ERCI_261").val("0");
- $("#PD_XIANLU_261").val("0");
- $("#PD_XIANLANG_261").val("0");
- $("#PD_DIANFANG_261").val("0");
- $("#PD_BAODIAN_261").val("0");
- $("#TONGXING_261").val("0");
- $("#complete").hide();
- $(parent.document.body).find("#frmright").height($(window.document.body).height()+30);
- }
- //设为可用
- function enableSelect(){
- $("#TEAM_MEMBER_NUMBER_261").attr("readonly",false);
- $("#SD_XIANLU_261").attr("readonly",false);
- $("#SD_XIANLANG_261").attr("readonly",false);
- $("#BD_YICI_261").attr("readonly",false);
- $("#BD_ERCI_261").attr("readonly",false);
- $("#PD_XIANLU_261").attr("readonly",false);
- $("#PD_XIANLANG_261").attr("readonly",false);
- $("#PD_DIANFANG_261").attr("readonly",false);
- $("#PD_BAODIAN_261").attr("readonly",false);
- $("#TONGXING_261").attr("readonly",false);
-
- $("#complete").show();
- $(parent.document.body).find("#frmright").height($(window.document.body).height()+30);
- }
- </script>
- </body>
- </html>
|