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

331 lines
11 KiB
HTML

<style>
.col-sm-6 select, .col-sm-6 input {
width: 40%;
margin-right: 0px;
}
.col-sm-6 label {
width: 30%;
text-align: right;
}
.FootBtn button {
margin: 20px 10px;
border-radius: 5px;
}
.PanDing > ul {
overflow: hidden;
padding-bottom: 10px;
padding-left: 0px;
border: 1px solid #CDEDF5;
}
.PanDing > ul > li {
border-right: 1px solid #CDEDF5;
}
.PanDing ul li {
text-align: center;
float: left;
width: 33%;
color: red;
}
.PanDing ul li p {
text-align: center;
}
.PanDing ul li ul li {
}
</style>
<div>
<div class="row Top">
<i></i>
<h2>检测项目管理</h2>
<i style="float:right"></i>
</div>
<div class="row SortTop">
<div class="col-sm-6 text-center">
<p>
<label for="RWBH">任务编号:</label>
<input type="text" id="RWBH" class="form-control input-sm w-sm inline " ng-model="rwbh">
</p>
<p>
<label for="JCXM">项目:</label>
<input type="text" class="form-control input-sm w-sm inline " id="JCXM" ng-model="jcxm" />
</p>
<p>
<label for="BZLX">检测标准类型:</label>
<select id="BZLX" class="form-control input-sm w-sm inline " ng-model="bzlx" ng-change="zhaoBH()">
<option ng-repeat="a in BZLXdata">{{a}}</option>
</select>
</p>
<p>
<label for="BZBH">标准编号:</label>
<select class="form-control input-sm w-sm inline " id="BZZH" ng-model="bzbh" ng-init="bzbh=BZBHdata[0]" ng-change="zhaoMC()">
<option ng-repeat="a in BZBHdata">{{a}}</option>
</select>
</p>
<p>
<label for="BZMC">标准名称:</label>
<select class="form-control input-sm w-sm inline " id="BZMC" ng-model="bzmc" ng-change="zhaoJCFF()">
<option ng-repeat="a in BZMCdata">{{a}}</option>
</select>
</p>
<p>
<label for="JCXM">检测方法:</label>
<select class="form-control input-sm w-sm inline " id="JCFF" ng-model="jcff" ng-change="XianShi()">
<option ng-repeat="a in JCFFdata"> {{a}}</option>
</select>
</p>
<p>
<label>检测方法名称:</label>
<span>{{wocao.ffmc}}</span>
</p>
<p>
<label>定性值:</label>
<span>{{wocao.ffjcx}}</span>
<label>定性限单位:</label>
<span>{{wocao.ffjcxDW}}</span>
</p>
<p>
<label>定量限:</label>
<span>{{wocao.ffdlx}}</span>
<label>定量限单位:</label>
<span>{{wocao.ffdlxDW}}</span>
</p>
</div>
<div class="col-sm-6 text-left">
<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="PJXM">项目:</label>
<input type="text" class="form-control input-sm w-sm inline " id="PJXM" ng-model="pjxm" />
</p>
<p>
<label for="PJBZLX">评价标准类型:</label>
<select class="form-control input-sm w-sm inline " id="PJBZLX" ng-model="pjbzlx" ng-change="zhaoPJBH()">
<option ng-repeat="a in PJBZLXdata">{{a}}</option>
</select>
</p>
<p>
<label for="PJBZBH">标准编号:</label>
<select class="form-control input-sm w-sm inline " id="PJBZZH" ng-model="pjbzbh" ng-init="bzbh=PJBZBHdata[0]" ng-change="zhaoPJMC()">
<option ng-repeat=" a in PJBZBHdata">{{a}}</option>
</select>
</p>
<p>
<label for="PJBZMC">标准名称:</label>
<select class="form-control input-sm w-sm inline " id="PJBZMC" ng-model="pjbzmc" ng-init="bzbh=PJBZMCdata[0]" ng-change="zhaoPJSPLB()">
<option ng-repeat=" a in PJBZMCdata">{{a}}</option>
</select>
</p>
<p>
<label for="PJSPLB">食品类别:</label>
<select class="form-control input-sm w-sm inline " id="PJBZMC" ng-model="pjsplb" ng-init="bzbh=PJBZMCdata[0]" ng-change="zhaoXL()">
<option ng-repeat=" a in PJSPLBdata">{{a}}</option>
</select>
</p>
<p>
<label for="PJSPLB">限量值:</label>
<span>{{wocao.XL}}</span>
<label for="PJSPLB">限量值单位:</label>
<span>{{wocao.XLDW}}</span>
</p>
</div>
</div>
<div class="row text-center AllBtn">
<button class="btn btn-default">查询</button>
<button class="btn btn-default" ng-click="CaoZuo()">操作</button>
<button class="btn btn-default" ng-click="Ok()">确定</button>
<button class="btn btn-default" ng-click="Add()">添加值</button>
<input type="text" class="form-control input-sm w-sm inline" ng-show="AddZhi" ng-model="AddBzz" placeholder="请添加标准值" style="width:7%" />
<select class="form-control input-sm inline w-sm" ng-show="AddZhi" ng-model="mbjldw" style="width:7%" ng-init="mbjldw='0'">
<option value="0">请选择...</option>
<option ng-repeat="a in JldwData">{{a}}</option>
</select>
<button class="btn btn-default" ng-show="AddZhi" ng-click="QueDing()" style="width:5%">OK</button>
<button class="btn btn-default" ng-click="AddPro()">添加项</button>
<button class="btn btn-default" ng-click="DeletePro()">删除项</button>
<button class="btn btn-default" ng-click="BuCan()" style="width:8%;">不参与判定</button>
</div>
<div>
{{test1}}
</div>
<div class="row">
<table st-table="dispData" st-safe-src="jcxmData" class="table table-hover table-bordered " id="myTable">
<thead>
<tr>
<th>选择</th>
<th>检测大类</th>
<th>检测亚类</th>
<th>检测小类</th>
<th>检验项目</th>
<th>检验依据</th>
<th>检测方法</th>
<th>方法名称</th>
<th>检出限</th>
<th>检出限单位</th>
<th>定量限</th>
<th>定量限单位</th>
<th>判定依据</th>
<th>限量值</th>
<th>限量值单位</th>
<th>检验结果</th>
<!--<th>数值型检验结果</th>-->
<th>检测值单位</th>
<th>结果判定</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="item in dispData">
<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>{{item.JCDL}}</td>
<td>{{item.JCYL}}</td>
<td>{{item.JCXL}}</td>
<td>{{item.JCXM}}</td>
<td>{{item.JCBZ}}</td>
<td>{{item.JCFF}}</td>
<td>{{item.JCMC}}</td>
<td>{{item.ffjcx}}</td>
<td>{{item.ffjcxDW}}</td>
<td>{{item.ffdlx}}</td>
<td>{{item.ffdlxDW}}</td>
<td>{{item.PJBZ}}</td>
<td>{{item.bzz}}</td>
<td>{{item.bzzdw}}</td>
<td style="padding:0;" class="Zhi">
<input type="text" style="width:100%;height:100%;border:none;" ng-model="item.jcz" ng-change="YanZhen(item.id,item.jcz)" />
</td>
<!--<td>{{item.jczbz}}</td>-->
<td>{{item.jczDW}}</td>
<td>{{item.Yzhen}}</td>
<td><a ng-click="Save($index,item.id,item.jcz,item.ffjcxDW)">确认</a></td>
</tr>
</tbody>
<tfoot>
<tr class="text-center">
<td colspan="16" class="PanDing">
<ul>
<li>
<p>不合格:</p>
<ul ng-repeat="item1 in DisPro">
<li>{{item1.jcxm}}</li>
<li>{{item1.jcz}}</li>
<li>{{item1.jczdw}}</li>
</ul>
</li>
<!--<li>
<p>不合格/问题:</p>
<ul ng-repeat="item3 in DisAndPro">
<li>{{item3.jcxm}}</li>
<li>{{item3.jcz}}</li>
<li>{{item3.jczdw}}</li>
</ul>
</li>-->
<li>
<p>问题:</p>
<ul ng-repeat="item2 in ProPro">
<li>{{item2.jcxm}}</li>
<li>{{item2.jcz}}</li>
<li>{{item2.jczdw}}</li>
</ul>
</li>
<li style="border-right:none;">
<p>不作评价:</p>
<ul ng-repeat="item3 in DisAndPro">
<li>{{item3.jcxm}}</li>
<li>{{item3.jcz}}</li>
<li>{{item3.jczdw}}</li>
</ul>
</li>
</ul>
<p>样品综合判定结果为:<strong>{{JieGuo}}</strong></p>
</td>
</tr>
<tr>
<td colspan="16" class="text-center">
<div st-pagination="" st-items-by-page="15" st-displayed-pages="20"></div>
</td>
</tr>
</tfoot>
</table>
</div>
<div class="row text-center FootBtn">
<button class="btn btn-default " ng-click="Save()">保存</button>
<button class="btn btn-default" ng-click="close()">返回</button>
</div>
</div>