123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <%@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>
- <%@include file="../../../../include.jsp"%>
- <style type="text/css">
- input{
- cursor: pointer;
- }
- </style>
- <script type="text/javascript">
- var fd_id = "<%=request.getParameter("fd_id")%>";
- //取得用户真实名字
- var realName = top.com.sinosoft.lz.system.user.LoginInfo.getReal_name();
- //部门id
- var deptId = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_ids();
- //获取用户角色
- var role_id = top.com.sinosoft.lz.system.user.LoginInfo.getRoleids();
- //返回主页面
- function goBack() {
- //获取iframe中的元素值
- var iframe =parent.parent.document.getElementsByName("frmright")[0];
- iframe.src = "/nwyj/page/business/gps/taskManagement/taskManagement.jsp";
- }
- function formReset(){
- window.location.href="/nwyj/page/business/gps/taskManagement/gpsTaskMsg/gpsEquipmentMsgEdit.jsp?fd_id="+fd_id;
- }
- $(function(){
- /* if(role_id.indexOf("R002105430212")==-1){//非市场营销部
- $(".quanxian").hide();
- } */
- $("#downloadUserModel").bind('click',function(){
- window.open("/nwyj/excels/gps_equipment.xls");
- })
- })
- //获得当前系统时间
- function getDateTime(){
- var s="";
- var d = allGetServerTime();
- var vYear = d.getFullYear();
- var vMon = d.getMonth() + 1;
- var vDay = d.getDate();
- var h = d.getHours();
- var m = d.getMinutes();
- var se = d.getSeconds();
- s=vYear+"-"+(vMon<10 ? "0" + vMon : vMon)+"-"+(vDay<10 ? "0"+ vDay : vDay)+" "+(h<10 ? "0"+ h : h)+":"+(m<10 ? "0" + m : m)+":"+(se<10 ? "0" +se : se);
- return s;
- }
- </script>
- <script type="text/javascript" src="<%=path%>/scripts/business/gps/taskManagement/gpsTaskMsg/gpsEquipmentMsgEdit.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/business/gps/taskManagement/setIframeHeight.js"></script>
-
- </head>
- <body>
- <div class="box1" id="formContent" style="border: 1px solid #E4E4E4;background: #F8F8F8;">
- <div style="height: 50px;background: #F8F8F8;" align="center"><a href="javascript:;"><img align="left" alt="返回" src="/nwyj/images/temp/back.png" onclick="goBack();"></img></a><font style="font-weight: bold;font-size: 20px;line-height: 45px;" id="titleShow">保供电设备信息</font></div>
- <form id="editForm" method="post" enctype="multipart/form-data">
- <input type="hidden" name="classid" value="618" required="true" />
- <input type="hidden" name="TASK_FDID_618" id="TASK_FDID_618" required="true" />
- <table style="border: none" width="100%">
- <tr>
- <td colspan="4" align="right"><input class="quanxian button" value="保存" type="button" id="save" />
- <input value="重置" type="button" class="quanxian button" onclick="formReset()"/>
- <input value="导出" type="button" id="export_btn"/> </td>
- </tr>
- <tr class="quanxian">
- <td align="right" width="30%">选择导入文件:</td>
- <td width="25%"><input name="import_report" fileWidth="300" id="import_report" type="file" contenteditable="false" /></td>
- <td width="10%"><div><a href="javascript:;" ><input type="button" value="导入保供电设备" id="import_gpsUser"/></a></div></td>
- <td><div><input type="button" value="下载保供电设备模版" id="downloadUserModel"/></div>
- </td>
- </tr>
- </table>
- </form>
- <div style="padding:5px 0 0 0;"></div>
- <div id="dataGrid"></div>
- </div>
- </body>
|