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

187 lines
6.5 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<style>
.SortTop {
padding: 15px;
line-height: 25px;
background-color: #CCECF4;
}
#myTable thead th, #myTable tbody td {
text-align: center;
width: 6.66%;
vertical-align: middle;
font-size: 12px;
}
.SortTop label {
width: 22%;
text-align: right;
}
.SortTop input {
width: 32%;
}
.SortTop select {
width: 50%;
}
.SortTop .btn {
margin: 0.5% 0 0 4%;
}
.AllBtn button {
width:6%;
margin:10px 10px;
}
</style>
<div class="container">
<!--<div class="loader">
<div class="loader-inner line-scale">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>-->
<div class="row Top">
<i></i>
<h2>计划任务定制</h2>
<i style="float:right"></i>
</div>
<div class="row text-left SortTop">
<div class="col-sm-6">
<p>
<label for="RWBH">任务编号:</label>
<input type="text" id="RWBH" class="form-control input-sm inline " ng-model="rebh" />
</p>
<p>
<label for="JCJG">检测机构:</label>
<select class="form-control input-sm inline " id="JCJG" ng-model="jcjg" ng-options="a.JCJGMC for a in JCDWdata">
<option value="">所有...</option>
</select>
</p>
<p>
<label for="RWLY">任务来源:</label>
<select class="form-control input-sm inline" id="RWLY" ng-model="rwly" ng-options="a.name for a in RELYdata">
<option value="">所有...</option>
</select>
</p>
</div>
<div class="col-sm-6">
<p>
<label for="JYPC">检验频次:</label>
<select class="form-control input-sm inline" id="JYPC" ng-model="jypc" ng-options="a.name for a in JYPCdata">
<option value="">选择...</option>
</select>
</p>
<p>
<label for="RWXZ">任务性质:</label>
<select class="form-control input-sm inline" id="RWXZ" ng-model="rwxz" ng-options="a.name for a in RWXZdata">
<option value="">选择</option>
</select>
</p>
<p style="margin-bottom:0;">
<label for="ZXNY">执行时间:</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>
</div>
</div>
<div class="row text-center AllBtn">
<p>
<button class="btn btn-default" ng-click="Cha()">查询</button>
<span>查询出: {{myttt}} 条数据</span>
<button class="btn btn-default" ng-click="add(0)">新增</button>
<button class="btn btn-default" ng-click="copy()">复制</button>
<!--<button class="btn btn-default" ng-click="SP()">审批</button>
<button class="btn btn-default" ng-click="QY()">启用</button>-->
<button class="btn btn-default" ng-click="PZ()">批准</button>
<button class="btn btn-default" ng-click="ZF()">作废</button>
<button class="btn btn-default" ng-click="delete()">删除</button>
</p>
</div>
<div class="row">
<table st-table="displayed" st-pipe="getService" class=" table table-hover text-center table-bordered" id="myTable">
<thead>
<tr class="text-xs">
<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="JCDW">检测机构</th>
<th st-ratio="10" st-sort="RWLY">任务来源</th>
<th st-ratio="10" st-sort="JYPC">检验频次</th>
<th st-ratio="10" st-sort="FXDJ">风险等级</th>
<th st-ratio="10" st-sort="SPDL">食品大类</th>
<th st-ratio="10" st-sort="SPYL">食品亚类</th>
<th st-ratio="10" st-sort="SPPZ">食品品种</th>
<th st-ratio="10" st-sort="SPXL">食品小类</th>
<th st-ratio="10" st-sort="JCRWHJ">检测任务合计</th>
<th st-ratio="10" st-sort="ZT">状态</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="item in displayed">
<!--导入数据后引用下面的disData上面的fxjJson删除-->
<!--<tr ng-repeat="item in dispData">-->
<td st-ratio="{{tiao}}">
<st-checkbox select-list="selectList" id="{{item.id}}"></st-checkbox>
<!--<span>{{item.id}}</span>-->
</td>
<td st-ratio="10">{{item.RWBH}}</td>
<td st-ratio="10">{{item.JCDW}}</td>
<td st-ratio="10">{{item.RWLY}}</td>
<td st-ratio="10">{{item.JYPC}}</td>
<td st-ratio="10">{{item.FXDJ}}</td>
<td st-ratio="10">{{item.SPDL}}</td>
<td st-ratio="10">{{item.SPYL}}</td>
<td st-ratio="10">{{item.SPPZ}}</td>
<td st-ratio="10">{{item.SPXL}}</td>
<td st-ratio="10">{{item.JCRWHJ}}</td>
<td st-ratio="10">{{item.ZT}}</td>
<td>
<div class="YD-disp">
<a ng-click="add(item.id)">查看/修改</a>
</div>
</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>