2025-06-27 10:04:22 +08:00

191 lines
7.0 KiB
HTML

<style>
.SortTop {
margin-top: 15px;
margin-bottom: 10px;
line-height: 25px;
}
#myTable thead th, #myTable tbody td {
text-align: center;
width: 6.66%;
vertical-align: middle;
font-size: 12px;
}
.SortTop .btn {
height: 28px;
padding: 3px 12px;
}
/*样品审核样式*/
.YPSH input {
width: 56%;
}
.YPSH label {
width: 34%;
text-align: right;
}
.YPSH select {
width: 52%;
}
.YPSH .col-sm-6 label {
width: 14%;
}
.YPSH .col-sm-6 input {
width: 27%;
}
textarea:hover {
border:1px solid #6BC6E2;
}
textarea {
border-radius:5px;
font-size:12px;
}
</style>
<div class="container">
<div class="row Top">
<i></i>
<h2>样品审核管理</h2>
<i style="float:right"></i>
</div>
<div class="row text-center SortTop YPSH">
<div class="col-sm-3">
<p>
<label for="RWBH">任务编号:</label>
<input type="text" id="RWBH" class="form-control input-sm inline" ng-model="srwbh">
</p>
<p>
<label for="CYDBH">采样单编号:</label>
<input type="text" id="CYDBH" class="form-control input-sm inline" ng-model="scydbh">
</p>
<p>
<label for="YPMC">样品名称:</label>
<input type="text" id="YPMC" class="form-control input-sm inline" ng-model="sypmc">
</p>
</div>
<div class="col-sm-6">
<p>
<label>采样日期:</label>
<input type="date" class="form-control input-sm inline" ng-model="ypkssj" />
<input type="date" class="form-control input-sm inline" ng-model="ypjssj" />
</p>
<p>
<label for="RWLY">任务来源:</label>
<select class="input-sm" id="RWLY" ng-model="rwly1" >
<option value="">请选择...</option>
<option ng-repeat="a in RWLYdata">{{a}}</option>
</select>
</p>
<p>
<label for="JCDW">检测机构:</label>
<select class="input-sm" id="JCDW" ng-model="jcjg" >
<option value="">请选择...</option>
<option ng-repeat="a in JCDWdata">{{a}}</option>
</select>
</p>
<p style="margin:0;">
<button class="btn btn-default" ng-click="Cha()">查询</button>
<span>查询出: {{myttt}} 条数据</span>
<button class="btn btn-default" ng-click="SHOK()">审核确认</button>
<button class="btn btn-default" ng-click="SHNO()">审核退出</button>
<textarea cols="40" rows="2" placeholder="请输入退回原因" ng-model="tuyy" ng-show="TuiHui" style="vertical-align:middle"></textarea>
<button class="btn btn-default" ng-click="TuiOk()" ng-show="TuiHui" >ok</button>
</p>
</div>
<div class="col-sm-3">
<p>
<label for="YPZT">样品状态:</label>
<select class="input-sm" id="YPZT" ng-model="ypzt" >
<option value="">请选择...</option>
<option ng-repeat="a in YPZTdata">{{a}}</option>
</select>
</p>
<p>
<label for="RWXZ">任务性质:</label>
<select class="input-sm" id="RWXZ" ng-model="rwxz1" >
<option value="">请选择...</option>
<option ng-repeat="a in RWXZdata">{{a}}</option>
</select>
</p>
</div>
</div>
<div class="row">
<table st-table="displayed" st-pipe="getService" class="table table-hover table-bordered " id="myTable">
<thead>
<tr class="text-xs">
<!--<th>
<div class="checkbox">
<label class="i-checks">
<input type="checkbox" value="" ng-checked="isChecked(item.id)" ng-click="updateSelection($event,item.id)">
<i></i>
</label>
全选
</div>
</th>-->
<th>
全选
<st-checkbox-all select-list="selectList" current-ids="ids" check-init="checkinit"></st-checkbox-all>
</th>
<th st-ratio="10" st-sort="RWBH">任务编号</th>
<th st-ratio="10" st-sort="CYDBH">采样单编号</th>
<th st-ratio="10" st-sort="YPMC">样品名称</th>
<th st-ratio="10" st-sort="YPLY">样品来源</th>
<th st-ratio="10" st-sort="JCDW">检测机构</th>
<th st-ratio="10" st-sort="SCJGGJRQ">采样日期</th>
<th st-ratio="10" st-sort="YPJBZT">样品状态</th>
<th st-ratio="10" st-sort="YPPJXX">样品评价</th>
<th>检验项目</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="item in displayed">
<!--<td>
<div class="checkbox">
<label class="i-checks">
<input type="checkbox" value="" ng-checked="isChecked(item.id)" ng-click="updateSelection($event,item.id)">
<i></i>
</label>
</div>
</td>-->
<td st-ratio="{{tiao}}">
<st-checkbox select-list="selectList" id="{{item._id}}"></st-checkbox>
</td>
<td>{{item.RWBH}}</td>
<td>{{item.CYDBH}}</td>
<td>{{item.YPMC}}</td>
<td>{{item.YPLY}}</td>
<td>{{item.JCDW}}</td>
<td>{{(item.CYSJ ==''||item.CYSJ =='1970-01-01T00:00:00'?'/':item.CYSJ) | date:"yyyy/MM/dd"}}</td>
<td>{{item.YPJBZT}}</td>
<td>{{item.YPPJXX}}</td>
<td><a ng-click="GOjc(item._id,item.CYDBH)">检测项目</a></td>
<td>
<a ng-click="XiuGai(item._id)">查看</a>
</td>
</tr>
</tbody>
<st-loading is-show="isShow" tip-show="正在加载请稍后!!"></st-loading>
<tfoot>
<tr>
<td colspan="15" class="text-center">
<div st-items-by-page="curpageNumber" st-pagination="" st-template="app/pagination.custom.html"></div>
</td>
</tr>
</tfoot>
</table>
</div>
</div>