123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- <%@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-->
- <script type="text/javascript" src="/nwyj/page/business/em/report/reportCss/tableStyle.js"></script>
- <link href="/nwyj/page/business/em/report/reportCss/warnningreport.css" rel="stylesheet" type="text/css" />
- <style type="text/css">
- body,div,ul,li,p{
- margin:0;
- padding:0;
- font-size: 14px;
- }
- .d_ground{
- border: 1px solid #cdcaca;
- background: white;
- width:1000px;
- }
- .fieldset{
- border-style:solid;
- border-width:1px;
- border-color:#cdcaca;
- margin:0px 20px 20px 20px;
- width: 935px
- }
- </style>
- <script type="text/javascript" >
- $(function(){
- //修改表单信息,获取记录
- if((window.location.href).indexOf('?')>-1){
- var fd_id = (window.location.href).split('?')[1];
- var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
- var params = {
- classid : '283',
- objectID : fd_id
- };
- $.ajax({
- url : url,
- type : 'post',
- timeout : 60000,
- data : params,
- dataType : 'json',
- success : function(data){
- for(var i in data){
- $('#'+i).html(data[i]);
- }
- $("#TYPEIN_TIME").html(data.UPDATEDATE_283);
- typein(data.TYPEIN_PEOPLE_283);
- },
- error : function(e){
- top.Dialog.alert('系统提示信息', '访问服务失败!', 'error');
- }
- });
- }
-
- $("#goback a img").hover(function(){
- $(this).attr("src","/nwyj/images/temp/back_hover.png");
- },function(){
- $(this).attr("src","/nwyj/images/temp/back.png");
- });
-
- setTimeout('setHight()', 200);
- });
- //录入人信息
- function typein(id){
- var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
- var params1 = {
- classid : '880',
- objectID : id
- };
- $.ajax({
- url : url,
- type : 'post',
- timeout : 60000,
- data : params1,
- async:false, //异步
- dataType : 'json',
- success : function(data){
- $("#TYPEIN_PEOPLE").html(data.REAL_NAME_880); //录入人
- $("#TYPEIN_PEOPLE_PHONE_NUM").html(data.MOBILE_880); //手机
- //$("#UNITE").html(data.COMPANY_ID_880_SHOW);//所属单位
- $("#DEPT").html(data.ORG_ID_880_SHOW);//所属部门
- getDeptName(data.DEPT_ID_880);
- },
- error : function(e){
- $.messager.alert('系统提示信息', '访问服务失败!', 'error');
- }
- });
- }
- function getDeptName(id){
-
- $.ajax({
- url : $.pathname()+ "/ws/DrillCount/DrillCountService/getDeptNameInfo",
- type : 'post',
- timeout : 60000,
- data : {id:id},
- dataType : 'text',
- success : function(data){
-
- $("#UNITE").html(data);
-
- }
- });
- }
- </script>
- </head>
-
- <body style="width: 1000px; margin:0 auto; margin-top:15px" align="center">
- <div class="d_ground">
- <div style="position: relative;" class="titlehead">
- <div class="go_img" id="goback">
- <a href="javascript:;">
- <!-- <img id="back" align="left" alt="返回" src="/nwyj/images/temp/back.png" onclick="window.history.back()"></img> -->
- </a>
- </div>
- <font class="titleMsg">外部应急资源详细信息</font>
- </div>
- <br />
- <fieldset class="fieldset">
- <legend>基本信息</legend>
- <table class="tableStyle" align="center">
- <tr>
- <td width="120px" align="right" class="class_color">资源名称:</td>
- <td width="280px"><div type="text" id="RESOURCE_NAME_283" name="RESOURCE_NAME_283" /></td>
- <td width="120px" align="right" class="class_color">资源类别:</td>
- <td width="280px"><div type="text" id="RESOURCE_TYPE_283_SHOW" name="RESOURCE_TYPE_283_SHOW" /></td>
- </tr>
- <tr>
- <td align="right" class="class_color">规格型号:</td>
- <td><div type="text" id="SPECIFICATION_MODEL_283" name="SPECIFICATION_MODEL_283" /></td>
- <td align="right" class="class_color">参数:</td>
- <td><div type="text" id="PARAMETER_283" name="PARAMETER_283" /></td>
- </tr>
- <tr>
- <td align="right" class="class_color">数量:</td>
- <td><div type="text" id="NUM_283" name="NUM_283" /></td>
- <td align="right" class="class_color">所在地址:</td>
- <td><div type="text" id="ADDRESS_283" name="ADDRESS_283" /></td>
- </tr>
- <tr>
- <td align="right" class="class_color">所属单位:</td>
- <td><div type="text" id="SUB_UNIT_283_SHOW" name="SUB_UNIT_283_SHOW" /></td>
- <td align="right" class="class_color">联系人:</td>
- <td><div type="text" id="LINKMAN_283" name="LINKMAN_283" /></td>
- </tr>
- <tr>
- <td align="right" class="class_color">座机:</td>
- <td><div type="text" id="TELEPHONE_283" name="TELEPHONE_283" /></td>
- <td align="right" class="class_color">手机:</td>
- <td><div type="text" id="CELLPHONE_283" name="CELLPHONE_283" /></td>
- </tr>
- </table>
- </fieldset>
- <fieldset class="fieldset">
- <legend>填写人员信息</legend>
- <table class="tableStyle" align="center" id="fillForm">
- <tr>
- <td width="120px" align="right" class="class_color">单位:</td>
- <td width="280px"><div style="width:97%" name="UNITE" id="UNITE" /></td>
- <td width="120px" align="right" class="class_color">部门:</td>
- <td width="280px"><div name="DEPT" id="DEPT" /></td>
- </tr>
- <tr>
- <td align="right" class="class_color">填写人员:</td>
- <td><div name="TYPEIN_PEOPLE" id="TYPEIN_PEOPLE" /></td><!-- style="text-decoration:underline;color:#0000FF" -->
- <td align="right" class="class_color">填写人员联系方式:</td>
- <td><div name="TYPEIN_PEOPLE_PHONE_NUM" id="TYPEIN_PEOPLE_PHONE_NUM" /></td>
- </tr>
- <tr>
- <td align="right" class="class_color">录入时间:</td>
- <td colspan="3"><div name="" id="TYPEIN_TIME"></div></td>
- </tr>
- </table>
- </fieldset>
- </div>
- </body>
- </html>
|