1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <%@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/gpsUserMsgEdit.jsp?fd_id="+fd_id;
- }
- $(function(){
- if(role_id.indexOf("R002105430212")==-1){//非市场营销部
- $(".quanxian").hide();
- }
- $("#FD_TASK_617").val(fd_id);
- $("#INPUT_NAME_617").val(realName);
- $("#INPUT_TIME_617").val(getDateTime());
- $("#INPUT_UNIT_617").val(deptId);
- $("#downloadUserModel").bind('click',function(){
- window.open("/nwyj/excels/BGDyonghu.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/gpsUserMsgEdit.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="630" required="true" />
- <input type="hidden" name="FD_TASK_617" id="FD_TASK_617" required="true" />
- <input type="hidden" name="INPUT_NAME_617" id="INPUT_NAME_617" required="true" />
- <input type="hidden" name="INPUT_TIME_617" id="INPUT_TIME_617" required="true" />
- <input type="hidden" name="INPUT_UNIT_617" id="INPUT_UNIT_617" required="true" />
- <table style="border: none" width="100%">
- <tr>
- <!-- <td width="20%" style="font-size: 20px;font-weight: bold;color:#41A6D9;">保供电用户信息</td> -->
- <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>
|