123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- <%var cssParam = {%>
- <%};%>
- <%var jsParam = {%>
- <script type="text/javascript">
- function todel(url,msg){
- bootbox.dialog({
- title: "系统提示",
- message: msg,
- locale:"zh_CN",
- buttons: {
- cancel: {label: "取消",className: "btn-cancel",callback: function() {}},
- ok: {label: "确定",className: "btn-success",
- callback: function() {
- window.location.href = url;
- }
- }
- }
- });
- }
- function addUserAjax(){
- $.ajax({
- url: '${contextPath}/admin/account/addEnterpriseInAllianceAjax',
- data:{
- code:'${code}',
- license:$('#license').val()
- },
- async: false,
- cache: false,
- dataType: "json",
- success: function(data) {
- if(data.msg!=""){
- bootbox.dialog({
- title: "系统提示",
- message: data.msg,
- locale:"zh_CN",
- buttons: {
- ok: {label: "确定",className: "btn-success",
- callback: function() {
- location.reload();
- }
- }
- }
- });
- }
- }
- });
- }
- <%if(""!=msg!""){%>
- alert('${msg}');
- <%}%>
- </script>
- <%};%>
- <%layout("/ace/commonPage/_layout.html", {nav: "联盟企业(单位)管理",meunsel:code==""?"allianceEnterpriseManage":"allianceManage",jsParam:jsParam,cssParam:cssParam}) {%>
- <div class="col-xs-12">
- <div class="row">
- <form id="searchForm" action="#" method="post" class="form-horizontal">
- 营业执照:<input type="text" name="license" id="license" placeholder="请输入营业执照" value="" />
- <a class="btn btn-xs btn-search" href="javascript:addUserAjax()">
- <i class="icon-plus bigger-120">添加企业(单位)</i>
- </a>
- <%if(""!=code!""){%>
- <a class="btn btn-xs btn-success" href="${contextPath}/admin/alliance/getAllianceList?pageNumber=${pageNumber!1}&urlParas=${urlParas!}">
- <i class="icon-arrow-left bigger-120">返回联盟管理</i>
- </a>
- <%}%>
- </form>
- </div>
- </div>
- <div class="col-xs-12">
- <div class="row">
- <div class="table-responsive">
- <table id="sample-table-1"
- class="table table-striped table-bordered table-hover">
- <thead>
- <tr>
- <th>序号</th>
- <th>企业(单位)名称</th>
- <th>营业执照编码</th>
- <th>加入时间</th>
- <th></th>
- </tr>
- </thead>
- <tbody>
- <%for(tempDate in dateList!){%>
- <tr>
- <td>${tempDateLP.index}</td>
- <td>${tempDate.enterpriseName!''}</td>
- <td>${tempDate.license!''}</td>
- <td>${tempDate.createdate!''}</td>
- <td>
- <div class="visible-md visible-lg hidden-sm hidden-xs btn-group">
- <a class="btn btn-xs btn-danger" href="javascript:todel('${contextPath}/admin/account/delEnterpriseAlliance?id=${tempDate.id}&pageNumber=${pageNumber!1}&urlParas=${urlParas!}&code=${code!}','记录将被永久删除,并且无法恢复。您确定吗?')" onclick="" data-toggle="tooltip" data-placement="auto" title="删除">
- <i class="icon-trash bigger-120"></i>
- </a>
- </div>
- </td>
- </tr>
- <%}elsefor{%>
- <tr>
- <td colspan="5">没有记录!</td>
- </tr>
- <%}%>
- </tbody>
- </table>
- </div>
- <!-- /.table-responsive -->
- </div>
- <!-- /span -->
- </div>
- <!-- /row -->
- <%}%>
|