| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- <!DOCTYPE HTML>
- <html xmlns:th="http://www.thymeleaf.org"
- xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
- layout:decorate="~{admin/common/common}">
- <head>
- <title>企业经营数据</title>
- <style>
- #form-content-edit{padding-top:70px}
- .text-c>div>input{margin-top:5px;display:block;}
- .text-c>label{margin-top:5px;display:block;}
- </style>
- </head>
- <body layout:fragment="content">
- <nav class="breadcrumb">
- <i class="Hui-iconfont"></i>
- 首页
- <span class="c-gray en">></span>企业经营数据 <span class="c-gray en"></span>
-
- <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" >
- <i class="Hui-iconfont"></i>
- </a>
- </nav>
- <form id="myForm" th:action="@{/company/companyOprationsInfo/list}" th:method="get">
- <div class="page-container">
- <div class="text-c">
- <div class="text-c">
- <label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>企业名称:</label>
- <div class="col-xs-6 col-sm-2">
- <input type="text" class="input-text" maxlength="50" placeholder="请输入企业名称查询" name="Kcompany_name" th:value="${companyInfoManageDto.Kcompany_name}" />
- </div>
- <label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>统一社会信用代码:</label>
- <div class="col-xs-6 col-sm-2">
- <input type="text" class="input-text" maxlength="50" placeholder="请输入统一社会信用代码查询" name="Kuscc" th:value="${companyInfoManageDto.Kuscc}" />
- </div><!-- th:value="${Kindustry_code}" -->
- <label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>组织机构代码:</label>
- <div class="col-xs-6 col-sm-2">
- <input type="text" class="input-text" maxlength="50" placeholder="请输入组织机构代码查询" name="Korganization_code" th:value="${companyInfoManageDto.Korganization_code}" />
- </div>
- <!--<label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>行业代码:</label>
- <div class="col-xs-6 col-sm-2">
- <input type="text" class="input-text" maxlength="50" placeholder="请输入行业代码查询" name="Kindustry_code" th:value="${companyInfoManageDto.Kindustry_code}" />
- </div>-->
-
- <label class="form-label col-xs-4 col-sm-2">注册资金最小金额:</label>
- <div class="col-xs-6 col-sm-2">
- <input type="text" class="input-text" placeholder="请输入金额" name="Kregistration_capital_min" th:value="${companyInfoManageDto.Kregistration_capital_min}" />
- </div>
- <label class="form-label col-xs-4 col-sm-2">注册资金最大金额:</label>
- <div class="col-xs-6 col-sm-2">
- <input type="text" class="input-text" placeholder="请输入金额" name="Kregistration_capital_max" th:value="${companyInfoManageDto.Kregistration_capital_max}"/>
- </div>
-
- <label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>法人:</label>
- <div class="col-xs-6 col-sm-2"><!-- th:value="${Klegal_representative}" th:value="${registration_capital_max}" th:value="${registration_capital_min}" -->
- <input type="text" class="input-text" maxlength="50" placeholder="请输入法人查询" name="Klegal_representative" th:value="${companyInfoManageDto.Klegal_representative}"/>
- </div>
-
-
- <label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>街道:</label>
- <div class="formControls col-xs-6 col-sm-2" style="margin-top:5px;";>
- <input type="hidden" name="Kstreet_id" id="Kstreet_id"/>
- <span class="select-box">
- <select class="select" id="Streets" onchange="getStreet_ids1()" >
- <option value="">--请选择街道--</option>
- <option th:each="item : ${streetList}" th:value="${item.id}" th:text="${item.name}" th:selected="${companyInfoManageDto.Kstreet_id}==${item.id}"/>
- </select>
- </span>
- </div>
- <!-- th:value="${Kbuild_name}" th:value="${Kstreet_name}"-->
- <label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>园区:</label>
- <div class="formControls col-xs-6 col-sm-2" style="margin-top:5px;">
- <input type="hidden" name="Kbuild_id" id="build_id"/>
- <span class="select-box">
- <select class="select" id="Builds" style="width:100%" onchange="getBuild_ids1()" >
- <option value="">--请选择园区--</option>
- <option th:each="item : ${buildInfo}" th:value="${item.id}" th:text="${item.name}" th:selected="${companyInfoManageDto.Kbuild_id}==${item.id}"/>
- </select>
- </span>
- </div>
- <button type="submit" class="btn btn-primary" style="float:right;margin-top:5px;margin-right:15px;">
- 搜索
- </button>
- <div style="clear:both;"></div>
- </div>
-
- <div class="cl pd-5 bg-1 bk-gray mt-20">
- <span class="l">
- </span>
- <span class="r">共有数据:<strong th:text="${pageInfo.total}" id="total" >54</strong> 条</span><!-- -->
- </div>
- <table class="table table-border table-bordered table-bg table-hover">
- <thead>
- <tr class="text-c">
- <!--<th><input type="hidden" name="" value=""/></th>-->
- <th>序号</th>
- <th>企业名称</th>
- <th>统一社会信用代码</th>
- <th>组织机构代码</th>
- <th>所属行业</th>
- <th>法人</th>
- <th>街道</th>
- <th>园区</th>
- <th>管理部门</th>
- <th>注册资本</th>
- <th>状态</th>
- <th >操作</th>
- </tr>
- </thead>
- <tbody>
- <tr class="text-c" th:each="model,iterStat:${pageInfo.list}" th:object="${model}">
- <!--<td><input type="hidden" th:value="*{id}" th:id="${iterStat.index+1}" name="id"/></td>-->
- <td th:text="${iterStat.index+1}"></td>
- <td th:text="*{company_name}"></td>
- <td th:text="*{uscc}"></td>
- <td th:text="*{organization_code}"></td>
- <td th:text="*{industry_code}"></td>
- <td th:text="*{legal_representative}"></td>
- <td th:text="*{street_name}"></td>
- <td th:text="*{build_name}"></td>
- <td th:text="*{relation_name}"></td>
- <td th:text="*{registration_capital}"></td>
-
-
- <td class="td-status">
- <span class="label radius" th:unless="*{is_start}">禁用</span>
- <span class="label radius label-success" th:if="*{is_start}">启用</span>
- </td>
- <td class="td-manage">
- <a title="经营数据" href="javascript:;" th:onclick="'javascript:oprationsCkeck_dialog(\'经营数据\',\'/company/companyOprationsInfo/checkData/'+*{id}+'\');'"
- class="ml-5" style="text-decoration:none"><i class="Hui-iconfont">经营数据</i></a>
- </td>
- </tr>
- </tbody>
- </table>
- <div th:replace="admin/common/page :: page"></div>
- </div>
- </form>
- <script type="text/javascript" th:src="@{/js/common/page.js}"></script>
- <script type="text/javascript" th:src="@{/js/company/companyOprationsInfo/companyOprationsInfo_list.js}"></script>
- <script th:inline="javascript">
- /*绑定街道id*/
- function getStreet_ids1(){
- var value = $("#Streets").find("option:selected").val();
- var text = $("#Streets").find("option:selected").text();
- $("#Kstreet_id").val(value);
- console.log("Kstreet_id = " + $("#Kstreet_id").val());
- getBuilds();
- }
-
- function getBuilds(){
- $.ajax({
- url : pagePath+"/company/companyInfoManage/selectBuildByStreetId",
- type : "post",
- data : {
- 'street_id' : $("#Kstreet_id").val()
- },
- dataType : "json",
- success: function (result) {
- if (result.success) {
- var buildInfo = result.obj;
- bidBuild(buildInfo);
- } else {
- //errorMessage(result.message);
- }
- },
- error: function () {
- errorMessage('系统错误!');
- }
- });
- }
- function bidBuild(buildInfo){
- $("#Builds option").remove();
- var option = '<option value="-1">' + "--请选择园区--" + '</option>'
- for (var i = 0; i < buildInfo.length; i++) {
- option += '<option value="'+ buildInfo[i].id +'" name = "'+ buildInfo[i].name +'" id = "'+ buildInfo[i].id +'" >'
- option += buildInfo[i].name
- option += '</option>'
- }
- $("#Builds").append(option);
- }
- /*绑定园区id*/
- function getBuild_ids1(){
- var value = $("#Builds").find("option:selected").val();
- console.log("value = " + value);
- var text = $("#Builds").find("option:selected").text();
- $("#build_id").val(value);
- }
- </script>
- </body>
- </html>
|