149 lines
6.1 KiB
HTML
149 lines
6.1 KiB
HTML
<style>
|
|
.col-sm-6 select,.col-sm-6 input {
|
|
width:40%;
|
|
margin-right:0px;
|
|
}
|
|
</style>
|
|
<div class="container">
|
|
<div class="row Top">
|
|
<i></i>
|
|
<h2>样品检验管理</h2>
|
|
<i style="float:right"></i>
|
|
</div>
|
|
|
|
<div class="row SortTop">
|
|
<div class="col-sm-6 text-right">
|
|
<p>
|
|
<label for="RWBH">任务编号:</label>
|
|
<input type="text" id="RWBH" class="form-control input-sm w-sm inline " ng-model="crwbh">
|
|
</p>
|
|
<p>
|
|
<label for="CYDBH">抽样单编号:</label>
|
|
<input type="text" id="CYDBH" class="form-control input-sm w-sm inline " ng-model="cydbh">
|
|
</p>
|
|
<p>
|
|
<label for="YPMC">样品名称:</label>
|
|
<input type="text" id="YPMC" class="form-control input-sm w-sm inline " ng-model="ypmc">
|
|
</p>
|
|
<p>
|
|
<label for="RWLY">任务来源:</label>
|
|
<select class="input-sm" id="RWLY" ng-model="rwly1" >
|
|
<option value="">请选择...</option>
|
|
<option ng-repeat="a in RELYdata">{{a}}</option>
|
|
|
|
</select>
|
|
</p>
|
|
</div>
|
|
<div class="col-sm-6">
|
|
<p>
|
|
<label for="ZXNY">执行年月:</label>
|
|
<input type="date" class="form-control input-sm inline " ng-model="ypkssj" style="width:28%" /> 至
|
|
<input type="date" class="form-control input-sm inline " ng-model="ypjssj" style="width:28%" />
|
|
</p>
|
|
|
|
<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>
|
|
<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>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="row AllBtn text-center">
|
|
<button class="btn btn-default" ng-click="Cha()">查询</button>
|
|
<span>查询出: {{myttt}} 条数据</span>
|
|
<button class="btn btn-default" ng-click="Copy()">复制</button>
|
|
|
|
<!-- <button class="btn btn-default" ng-click="Import()">导入项目</button>-->
|
|
<button class="btn btn-default" ngf-select="upload(file)" ng-model="file" name="file"
|
|
ngf-max-size="20MB" ngf-min-height="100" ngf-multiple="true">
|
|
项目导入
|
|
</button>
|
|
<button class="btn btn-default" style="width:10%">导入进度{{uploadImg}}</button>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<table st-table="displayed" st-pipe="getService" class="table table-hover table-bordered " id="myTable">
|
|
<thead>
|
|
<tr>
|
|
<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" colspan="2" st-sort="ZXNY">执行年月</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.ZXNY_KS}}</td>
|
|
<td>{{item.ZXNY_JS}}</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,item.CYDBH)">查看</a>-->
|
|
<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>
|