| | |
| | | public AjaxResult totalProcess() { |
| | | AjaxResult ajaxResult = AjaxResult.success(); |
| | | Hole hole = holeService.selectHoleTotalProcess(); |
| | | Double data = Arith.div(hole.getFootageCpl(), hole.getFootage(), 2); |
| | | Double data = Arith.div(hole.getFootageCpl(), hole.getFootage(), 4); |
| | | ajaxResult.put("pointerData", data); |
| | | return ajaxResult; |
| | | } |
| | |
| | | <div style="flex:4;padding-right: 20px;"> |
| | | <div> |
| | | <li class="el-icon-coin" style="font-size: 18px;margin-right: 5px;margin-left: -5px;color: #085abe"></li> |
| | | <span style="color:rgba(0,0,0,.65);font-size: 15px;font-weight: bold;">钻孔进尺</span> |
| | | <span style="color:rgba(0,0,0,.65);font-size: 15px;font-weight: bold;">钻孔数量</span> |
| | | </div> |
| | | <div style="text-align: center"> |
| | | <span style="color:#1894F6;font-size: 30px;word-break: break-all;line-height: 70px;">647 |
| | |
| | | $.ajaxSettings.async = false; |
| | | $.get(url,{},function(res){ |
| | | pointerData = res.pointerData; |
| | | pointerData = (pointerData*100).toFixed(0); |
| | | pointerData = (pointerData*100).toFixed(2); |
| | | }); |
| | | |
| | | $.ajaxSettings.async = false; |
| | |
| | | </select> |
| | | |
| | | <select id="countTubLogDate" resultMap="TubLogResult"> |
| | | SELECT |
| | | a.project_id, |
| | | a.tub_name, |
| | | b.inbound_number, |
| | | a.outbound_number, |
| | | a.unit |
| | | SELECT |
| | | a.project_id, |
| | | a.tub_name, |
| | | a.inbound_number, |
| | | b.outbound_number, |
| | | a.unit |
| | | FROM |
| | | ( SELECT project_id, tub_name, SUM( number ) AS outbound_number, unit FROM js_tub_log WHERE outbound_date IS NOT NULL GROUP BY tub_name ) a |
| | | LEFT JOIN ( SELECT project_id, tub_name, SUM( number ) AS inbound_number, unit FROM js_tub_log WHERE inbound_date IS NOT NULL GROUP BY tub_name ) b ON a.tub_name = b.tub_name |
| | | AND a.project_id = b.project_id |
| | | ( SELECT project_id, tub_name, SUM( number ) AS inbound_number, unit FROM js_tub_log WHERE inbound_date IS NOT NULL GROUP BY tub_name ) a |
| | | LEFT JOIN ( SELECT project_id, tub_name, SUM( number ) AS outbound_number, unit FROM js_tub_log WHERE outbound_date IS NOT NULL GROUP BY tub_name ) b ON a.tub_name = b.tub_name |
| | | AND a.project_id = b.project_id |
| | | <where> |
| | | <if test="projectId != null and projectId != ''"> and a.project_id = #{projectId}</if> |
| | | </where> |
| | |
| | | <i class="glyphicon glyphicon-retweet"></i> <a class="afont" th:href="@{/geo/deviceLog(id=${project.ids})}" target="mainFrame" onclick="selected(this)">设备管理</a> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="box-header ">--> |
| | | <!-- <div class="box-title">--> |
| | | <!-- <i class="glyphicon glyphicon-random"></i> <a class="afont" th:href="@{/geo/TubLog(id=${project.ids})}" target="mainFrame" onclick="selected(this)">材料管理</a>--> |
| | | <!-- </div>--> |
| | | <!-- </div>--> |
| | | <!-- <div class="box-header ">--> |
| | | <!-- <div class="box-title">--> |
| | | <!-- <i class="glyphicon glyphicon-object-align-horizontal"></i> <a class="afont" th:href="@{/geo/projectData(id=${project.ids},type='1')}" target="mainFrame" onclick="selected(this)">质量管理</a>--> |
| | | <!-- </div>--> |
| | | <!-- </div>--> |
| | | <!-- <div class="box-header ">--> |
| | | <!-- <div class="box-title">--> |
| | | <!-- <i class="glyphicon glyphicon-lock"></i> <a class="afont" th:href="@{/geo/projectData(id=${project.ids},type='2')}" target="mainFrame" onclick="selected(this)">安全管理</a>--> |
| | | <!-- </div>--> |
| | | <!-- </div>--> |
| | | <div class="box-header "> |
| | | <div class="box-title"> |
| | | <i class="glyphicon glyphicon-random"></i> <a class="afont" th:href="@{/geo/TubLog(id=${project.ids})}" target="mainFrame" onclick="selected(this)">材料管理</a> |
| | | </div> |
| | | </div> |
| | | <div class="box-header "> |
| | | <div class="box-title"> |
| | | <i class="glyphicon glyphicon-object-align-horizontal"></i> <a class="afont" th:href="@{/geo/projectData(id=${project.ids},type='1')}" target="mainFrame" onclick="selected(this)">质量管理</a> |
| | | </div> |
| | | </div> |
| | | <div class="box-header "> |
| | | <div class="box-title"> |
| | | <i class="glyphicon glyphicon-lock"></i> <a class="afont" th:href="@{/geo/projectData(id=${project.ids},type='2')}" target="mainFrame" onclick="selected(this)">安全管理</a> |
| | | </div> |
| | | </div> |
| | | <div class="box-header "> |
| | | <div class="box-title"> |
| | | <i class="glyphicon glyphicon-th-list"></i> <a class="afont" th:href="@{/geo/projectData/2(id=${project.ids},type='3')}" target="mainFrame" onclick="selected(this)">施工现场管理</a> |