235 lines
12 KiB
HTML
235 lines
12 KiB
HTML
|
|
|
|
<style type="text/css">
|
|
.top {
|
|
width: 80%;
|
|
margin: auto;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.top select {
|
|
width: 150px;
|
|
height: 30px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.guanLi {
|
|
width: 93%;
|
|
margin: auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.guanLi tr {
|
|
height: 30px;
|
|
}
|
|
|
|
.yanse {
|
|
background: #e4f4f8;
|
|
border: #c9ebf2 1px solid;
|
|
}
|
|
|
|
.btn {
|
|
width: 60px;
|
|
text-align: center;
|
|
height: 30px;
|
|
margin-left: 50px;
|
|
background: #e4e8e5f5;
|
|
border: none;
|
|
color: #fff;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.class_tabel {
|
|
/*position: absolute;*/
|
|
height: 40px;
|
|
text-align: center;
|
|
font-size: 15px;
|
|
line-height: 40px;
|
|
background: #e4f4f8;
|
|
border: #c9ebf2 1px solid;
|
|
}
|
|
</style>
|
|
|
|
|
|
<div class="container">
|
|
<div class="row Top">
|
|
<i></i>
|
|
<h2>抽检合格率</h2>
|
|
<i style="float:right"></i>
|
|
</div>
|
|
<div style="margin-top: 40px;">
|
|
<div class="row text-left SortTop">
|
|
<div class="panel-group">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h4 class="panel-title" data-toggle="collapse" data-parent="#accordion"
|
|
href="#collapseOne" style="cursor:pointer;">
|
|
<!--自定义风险评估(小类)-->
|
|
</h4>
|
|
</div>
|
|
<div id="collapseOne" style="margin-top: 20px; display: none">
|
|
<div class="form-group">
|
|
<div style="float: left;">
|
|
<label class="col-sm-2 control-label" style="width: 170px;">污染物数据库:</label>
|
|
<select ng-model="mysel" ng-options="a.mytext for a in Myjson" style="margin-right:10px;width: 100px; height: 30px; border: 1px solid #ccc;" ng-change="MyjsonChange()">
|
|
<option value="">选择</option>
|
|
</select>
|
|
<select ng-model="mysel1" ng-options="a.mytext for a in Myjson1" style="margin-right:10px;width: 100px; height: 30px; border: 1px solid #ccc;" ng-show="!isdate">
|
|
<option value="">选择</option>
|
|
</select>
|
|
<input type="text" style="width:200px;" ng-model="mytxt" placeholder="" class="form-control input-sm w-sm inline m-r" ng-show="SouSuoShow" />
|
|
</div>
|
|
<div style="float: left;margin-left: 6px; margin-right: 15px;" ng-show="RWLYSHOW">
|
|
<select name="dept" ng-model="myselpublic" data-placeholder="请选择" id="dept" style=" width: 200px; " class="dept_select">
|
|
<option value="-1"></option>
|
|
<option ng-repeat="item in RELYdata" value="{{item.mytext}}">{{item.mytext}}</option>
|
|
</select>
|
|
</div>
|
|
<div>
|
|
<input type="date" style="width:150px;" ng-model="datebegin" placeholder="" class="form-control input-sm w-sm inline m-r" ng-show="isdate" />
|
|
<input type="date" style="width:150px;" ng-model="dateend" placeholder="" class="form-control input-sm w-sm inline m-r" ng-show="isdate" />
|
|
<input style="background-color:burlywood;border-color:burlywood;" type="button" class="btn btn-success" ng-click="addTJ('and')" value="+并且" />
|
|
<input style="background-color:burlywood;border-color:burlywood;" type="button" class="btn btn-success" ng-click="addTJ('or')" value="+或" />
|
|
</div>
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<table st-table="dispData1" st-safe-src="TJTable" class="table table-striped" id="myTable" style="width:80%">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>查询条件</th>
|
|
<th>查询类型</th>
|
|
<th>查询内容</th>
|
|
<th>操作</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr ng-repeat="item in dispData1">
|
|
<td> {{item.lianjietype}}</td>
|
|
<td> {{item.CXTJ}}</td>
|
|
<td> {{item.CXLX}}</td>
|
|
<td> {{item.CXNR}}</td>
|
|
<td ng-click="deleteTJ(item)"> 删除 </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="collapseOne" style="margin-top: 20px; ">
|
|
<div style=" display:flex; flex-direction:row; line-height:50px; padding-left:12px;height: 30px">
|
|
<p style=" width:150px">年份:</p>
|
|
<div ng-dropdown-multiselect="" options="arrRWNF" selected-model="newsearch.rwnf"
|
|
extra-settings="stringQXSettings" translation-texts="searchCustomTexts"></div>
|
|
<span>{{newsearch.rwnf}}</span>
|
|
</div>
|
|
<div style=" display:flex; flex-direction:row; line-height:50px; padding-left:12px;height: 30px">
|
|
<p style=" width:150px">月份:</p>
|
|
<div ng-dropdown-multiselect="" options="arrMonth" selected-model="newsearch.month"
|
|
extra-settings="stringQXSettings" translation-texts="searchCustomTexts"></div>
|
|
<span>{{newsearch.month}}</span>
|
|
</div>
|
|
|
|
<!-- <div style=" display:flex; flex-direction:row; line-height:50px; padding-left:12px;height: 30px">-->
|
|
<!-- <p style=" width:150px">月份:</p>-->
|
|
<!-- <select ng-model="month"-->
|
|
<!-- style="width: 100px; height: 30px; border: 1px solid #ccc;padding: 3px 12px; margin: 10px 20px;">-->
|
|
<!-- <option value="">选择</option>-->
|
|
<!-- <option value="1">1</option>-->
|
|
<!-- <option value="2">2</option>-->
|
|
<!-- <option value="3">3</option>-->
|
|
<!-- <option value="4">4</option>-->
|
|
<!-- <option value="5">5</option>-->
|
|
<!-- <option value="6">6</option>-->
|
|
<!-- <option value="7">7</option>-->
|
|
<!-- <option value="8">8</option>-->
|
|
<!-- <option value="9">9</option>-->
|
|
<!-- <option value="10">10</option>-->
|
|
<!-- <option value="11">11</option>-->
|
|
<!-- <option value="12">12</option>-->
|
|
<!-- </select>-->
|
|
<!-- </div>-->
|
|
<div style=" display:flex; flex-direction:row; line-height:50px; padding-left:12px;height: 30px">
|
|
<p style=" width:150px">任务类型:</p>
|
|
<div ng-dropdown-multiselect="" options="arrRWLX" selected-model="newsearch.rwlx"
|
|
extra-settings="stringQXSettings" translation-texts="searchCustomTexts"></div>
|
|
<span>{{newsearch.rwlx}}</span>
|
|
</div>
|
|
<!--<div style=" display:flex; flex-direction:row; line-height:30px; padding-left:12px">
|
|
<p style="padding-right:50px">被抽样单位所在区:</p>
|
|
<input type="text" name="DZ_QX" style="width:200px;" ng-model="newsearch.DZQX" placeholder="" class="form-control input-sm w-sm inline m-r" />
|
|
</div>-->
|
|
<div style=" display:flex; flex-direction:row; line-height:50px; padding-left:12px;height: 30px">
|
|
<p style=" width:150px">被抽样单位所在区:</p>
|
|
<div ng-dropdown-multiselect="" options="arrSZQX" selected-model="newsearch.szqx" extra-settings="stringQXSettings" translation-texts="searchCustomTexts"></div>
|
|
<span>{{newsearch.szqx}}</span>
|
|
</div>
|
|
|
|
<div style=" display:none; flex-direction:row; line-height:50px; padding-left:12px;height: 30px">
|
|
<p style=" width:150px">抽样地点类型:</p>
|
|
<div ng-dropdown-multiselect="" options="arrCYDDLX" selected-model="newsearch.cyddlx"
|
|
extra-settings="stringQXSettings" translation-texts="searchCustomTexts"></div>
|
|
<span style=" flex-wrap:wrap">{{newsearch.cyddlx}}</span>
|
|
</div>
|
|
<div style=" display:flex; flex-direction: row; line-height: 50px; padding-left: 12px;height: 30px">
|
|
<p style=" width:150px">抽样环节</p>
|
|
<div ng-dropdown-multiselect="" options="arrCYDD" selected-model="newsearch.cydd"
|
|
extra-settings="stringQXSettings" translation-texts="searchCustomTexts"></div>
|
|
<span style=" flex-wrap:wrap">{{newsearch.cydd}}</span>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<div style=" text-align: center; width: 100%;margin-bottom: 20px;margin-top: 20px;">
|
|
<input type="button" style="background: #0eb3e694;width: 200px" class="btn btn-success" value="搜索" ng-click="btn_clcik()" />
|
|
<input type="button" style="background: #0eb3e694;width: 200px" class="btn btn-success"
|
|
value="导出" ng-click="export()"/>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div style=" text-align: center; width: 100%;margin-bottom: 20px;margin-top: 20px;">
|
|
<!--<input type="button" style="background: #0eb3e694; width: 80px;" class="btn btn-success" value="食品小类" ng-click="btn_num(1)" />-->
|
|
<!--<input type="button" class="btn btn-success" style="background-color:#0eb3e694; width: 80px;" value="食品品种" ng-click="btn_num(2)" />-->
|
|
<!--<input type="button" class="btn btn-success" style="background-color:#0eb3e694; width: 80px;" value="食品亚类" ng-click="btn_num(3)" />-->
|
|
<!--<input type="button" class="btn btn-success" style="background-color:#0eb3e694; width: 80px;" value="食品大类" ng-click="btn_num(4)" />-->
|
|
<!--<input type="button" class="btn btn-success" style="background-color:#0eb3e694; width: 80px;" value="预警" ng-click="btn_yujing()" />-->
|
|
</div>
|
|
<div style="width: 100%; text-align: center; font-size: 30px; padding-top: 10px; font-weight: bold">
|
|
{{score}}分
|
|
</div>
|
|
<div style="">
|
|
<table class="layui-hide" id="buhegelv"></table>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
$(function () {
|
|
$('.dept_select').chosen();
|
|
});
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|