123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- <%var cssPar = {%>
- <link href="${contextPath}/WebPages_170421/css/personal/list.css" rel="stylesheet" type="text/css">
- <%};%>
- <%var jsPar = {%>
- <script type="text/javascript" src="${contextPath}/WebPages_170421/js/personal/list.js"></script>
- <script type="text/javascript">
- var coordianteEditId = 0;
- function openCoordinate(id){
- coordianteEditId=id
- window.open('${contextPath}/mapApply/getCoordinate','','width=800, height=600, help=no, status-no');
- }
-
- function setCoordinate(lng, lat){
- if(coordianteEditId > 0){
- //alert("coordianteEditId:" + coordianteEditId + " | " + "lng:" + lng + " | " + "lat:" + lat);
- $.ajax({
- url: "${contextPath}/enterprise/setCoordinate",
- dataType: 'json',
- data: {
- id: coordianteEditId,
- longitude: lng,
- latitude: lat
- },
- type: 'post',
- success: function(data){
- }
- });
- coordianteEditId = 0;
- }
- }
- </script>
- <%};%>
- <%layout("/WebPages_170421/personalPages/commonPage/_layout.html", {nav:"",meunsel:"",jsParam:jsPar,cssParam:cssPar}) {%>
- <div class="container">
- <div class="conent">
- <span class="nin">您当前的位置:</span>
- <a href="/" class="yiji">首页</a>
- <span class="nin"> > </span>
- <a href="/toindex" class="yiji">个人中心</a>
- <span class="nin"> > </span>
- <a href="/getEnterpriseList?pageNumber=1" class="yiji">企业信息维护</a>
- </div>
- </div>
- <div class="container" >
- <% include("/WebPages_170421/personalPages/commonPage/_navigation.html"){} %>
- <div class="Dlrt">
- <form action="${contextPath}/enterprise/getEnterpriseList" method="post" class="frmSs">
- <input type="hidden" name="pageNumber" value="1" />
- <span class="p1">查询编码:</span>
- <input type="text" class="p2" name="code" placeholder="请输入编码">
- <span class="p1">查询名称:</span>
- <input type="text" class="p2" name="name" placeholder="请输入名称">
- <input type="submit" class="p3" value="查询">
- <a href="${contextPath}/enterprise/toedit?pageNumber=${pageNumber!1}">
- <input type="button" class="p6" value="添加企业">
- </a>
- </form>
- <div class="table-fa">
- <table border="1" style="border-bottom:1px solid #cccccc; border-left:1px solid #f6f7f8; border-top:1px solid #f6f7f8; border-right:1px solid #cccccc;" width="915px" >
- <thead>
- <tr style="width: 910px; height: 40px; text-align: center; background: #e5f1f9">
- <th>序号</th>
- <th>编码</th>
- <th>名称</th>
- <th>执照编码</th>
- <th>联系方式</th>
- <th>联系地址</th>
- <th>主页</th>
- <th>创建时间</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody id="t1">
- <%for(tempDate in dateList!){%>
- <tr style=" height: 40px;">
- <td>${tempDateLP.index}</td>
- <td>${tempDate.code!''}</td>
- <td>${tempDate.name!''}</td>
- <td>${tempDate.license!''}</td>
- <td>${tempDate.contact!''}</td>
- <td>${tempDate.addr!''}</td>
- <td>
- <%if(tempDate.ishomepage==2){%>
- 无
- <%}else{%>
- <a href="${tempDate.homepage}" target="_blank">打开主页</a>
- <%}%>
- </td>
- <td>${tempDate.createDate!''}</td>
- <td style="width:165px;">
- <a href="${contextPath}/enterprise/view?id=${tempDate.id}">
- <div class="btn1" style="margin-left:12px;" title="详情">
- <i class="icon-folder-open-alt"></i>
- </div>
- </a>
- <a href="javascript:openCoordinate(${tempDate.id});">
- <div class="btn1" title="编辑位置坐标">
- <i class="icon-map-marker"></i>
- </div>
- </a>
- <a href="${contextPath}/account/getEnterpriseUserList?license=${tempDate.license}&pageNumber=${pageNumber!1}&urlParas=${urlParas!}">
- <div class="btn1" title="用户管理">
- <i class="icon-sitemap"></i>
- </div>
- </a>
- <a href="${contextPath}/enterprise/toedit?id=${tempDate.id}&pageNumber=${pageNumber!1}&urlParas=${urlParas!}">
- <div class="btn1" title="编辑">
- <i class="icon-edit"></i>
- </div>
- </a>
- <a href="javascript:" onclick="del()">
- <div class="btn1 bgli" title="删除">
- <i class="icon-trash" ></i>
- </div>
- </a>
-
- </td>
- </tr>
- <div id="box">
- <p style="width: 200px; height:80px; line-height:80px; text-align: center;">确认删除吗?</p>
- <a href="${contextPath}/enterprise/del?id=${tempDate.id}&pageNumber=${pageNumber!1}&urlParas=${urlParas!}">
- <input type="button" onclick="yes()" value="确定" class="delBtn">
- </a>
- <input type="button" onclick="no()" value="取消" class="delBtn m0" >
- </div>
- <%}elsefor{%>
- <tr>
- <td colspan="12">没有记录!</td>
- </tr>
- <%}%>
- </tbody>
- </table>
- <%include("/WebPages_170421/personalPages/commonPage/_paginate.html", {"currentPage": pageNumber!1, "totalPage": totalPage!1, "totalRow": totalRow!0, "actionUrl": contextPath+"/enterprise/getEnterpriseList?pageNumber=", "urlParas": urlParas!''}){}%>
- </div>
- </div>
- </div>
- <%}%>
|