Commit 949f10e6 authored by guantiantian's avatar guantiantian

下发任务单增加全部选项

parent 77dbdb4a
<div class="content row">
<div class="col-md-12" style="margin-top:20px;">
<div class="row">
<!-- /.col -->
<div class="col-md-12">
<div class="box ">
<div class="box-header with-border">
<strong>请选择下发任务单(<span ng-bind="totalCardProd"></span>)</strong>
<div class="box-tools pull-right">
<input type="text" style="height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;" ng-model="choseDate" id="datepicker" readonly/>
<button type="button" class="btn btn-primary pull-right" style="height: 30px;line-height: 17px;" ng-click="searchHistory()">查询历史</button>
<button type="button" class="btn btn-primary pull-right" style="height: 30px;line-height: 17px;margin-right: 10px;" ng-click="searchTaskList()">查询</button>
<div class="col-md-12" style="margin-top: 20px">
<div class="row">
<!-- /.col -->
<div class="col-md-12">
<div class="box">
<div class="box-header with-border">
<strong
>请选择下发任务单(<span ng-bind="totalCardProd"></span>)</strong
>
<div class="box-tools pull-right">
<input
type="text"
style="
height: 30px;
margin-right: 10px;
border-radius: 4px;
background-color: #eee;
cursor: not-allowed;
border: 1px solid #ccc;
"
ng-model="choseDate"
id="datepicker"
readonly
/>
<button
type="button"
class="btn btn-primary pull-right"
style="height: 30px; line-height: 17px"
ng-click="searchHistory()"
>
查询历史
</button>
<button
type="button"
class="btn btn-primary pull-right"
style="height: 30px; line-height: 17px; margin-right: 10px"
ng-click="searchTaskList()"
>
查询
</button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div class="box-body" ng-if="isHistory==0">
<div ng-if="cycleSheetData.length>0">
<div class="nav-tabs-custom clearfix" style="margin-bottom: 0;" >
<ul class="nav nav-tabs">
<li ng-class="{true: 'active', false: 'inactive'}[tab.isActive]"
ng-repeat="tab in cycleSheetData track by $index">
<a ng-click="func($index,tab.typeCode)">
<ul style="margin: 0;padding: 0;">
<li style="font-size: 16px;">{{tab.typeName}}</li>
<li style="text-align: center;">{{tab.typeSum}}</li>
</ul>
</a>
</li>
<li class="pull-right" style="padding-right: 20px;">
<h5>已选数量:{{cardsTotal}}</h5>
<h4>余证数:{{restCount}}</h4>
</li>
</ul>
</div>
<div ng-repeat="type in cycleSheetData track by $index" class="table-responsive mailbox-messages" ng-show="currentTab==$index">
<table class="table table-hover table-striped">
<thead>
<tr>
<th><input type="checkbox" ng-click="selectAll(type.countyList,$event)" ng-checked="isSelectedAll($index)"></th>
<th>任务单编号</th>
<th>组数</th>
<th>受理组号</th>
<th>证件数量</th>
<th>合格数量</th>
<th>不合格数量</th>
<th>特殊证件数量</th>
<th></th>
</tr>
</thead>
<tbody ng-repeat="task in type.countyList">
<tr>
<td><input type="checkbox" class="checkOneBox" ng-checked="isSelected(task)" value="{{task.taskId}}" ng-click="updateSelection($event,task)"></td>
<td class="mailbox-star"><b>{{task.taskId}}</b></td>
<td class="mailbox-subject">{{task.groupList.length}}</td>
<td class="mailbox-subject">{{task.groupNum}}</td>
<td class="mailbox-subject">{{task.countyValidCount-task.specialCount}}</td>
<td class="mailbox-attachment">{{task.countyValidCount}}</td>
<td class="mailbox-date">{{task.countyInvalidCount}}</td>
<td class="mailbox-date">{{task.specialCount}}</td>
<td class="mailbox-date"><a ng-click="getPoliceList(task.groupList,task.taskId)">组号列表</a></td>
</tr>
<tr ng-if="task.taskId==taskId">
<td></td>
<td colspan="10">
<table class="table">
<!-- /.box-header -->
<div class="box-body" ng-if="isHistory==0">
<div ng-if="cycleSheetData.length>0">
<div class="nav-tabs-custom clearfix" style="margin-bottom: 0">
<ul class="nav nav-tabs">
<li
ng-class="{true: 'active', false: 'inactive'}[tab.isActive]"
ng-repeat="tab in cycleSheetData track by $index"
>
<a ng-click="func($index,tab.typeCode)">
<ul style="margin: 0; padding: 0">
<li style="font-size: 16px">{{tab.typeName}}</li>
<li style="text-align: center">{{tab.typeSum}}</li>
</ul>
</a>
</li>
<li class="pull-right" style="padding-right: 20px">
<h5>已选数量:{{cardsTotal}}</h5>
<h4>余证数:{{restCount}}</h4>
</li>
</ul>
</div>
<div
ng-repeat="type in cycleSheetData track by $index"
class="table-responsive mailbox-messages"
ng-show="currentTab==$index"
>
<table class="table table-hover table-striped">
<thead>
<tr>
<th>
<input
type="checkbox"
ng-click="selectAll(type.countyList,$event)"
ng-checked="isSelectedAll($index)"
/>
</th>
<th>任务单编号</th>
<th>组数</th>
<th>受理组号</th>
<th>证件数量</th>
<th>合格数量</th>
<th>不合格数量</th>
<th>特殊证件数量</th>
<th></th>
</tr>
</thead>
<tbody ng-repeat="task in type.countyList">
<tr>
<td>
<input
type="checkbox"
class="checkOneBox"
ng-checked="isSelected(task)"
value="{{task.taskId}}"
ng-click="updateSelection($event,task)"
/>
</td>
<td class="mailbox-star"><b>{{task.taskId}}</b></td>
<td class="mailbox-subject">{{task.groupList.length}}</td>
<td class="mailbox-subject">{{task.groupNum}}</td>
<td class="mailbox-subject">
{{task.countyValidCount-task.specialCount}}
</td>
<td class="mailbox-attachment">
{{task.countyValidCount}}
</td>
<td class="mailbox-date">{{task.countyInvalidCount}}</td>
<td class="mailbox-date">{{task.specialCount}}</td>
<td class="mailbox-date">
<a ng-click="getPoliceList(task.groupList,task.taskId)"
>组号列表</a
>
</td>
</tr>
<tr ng-if="task.taskId==taskId">
<td></td>
<td colspan="10">
<table class="table">
<thead>
<th>组号</th>
<th>核验数量</th>
<th>证件数量</th>
<th>特殊证件数量</th>
<th></th>
<th>组号</th>
<th>核验数量</th>
<th>证件数量</th>
<th>特殊证件数量</th>
<th></th>
</thead>
<tbody>
<tr ng-repeat="item in policeList">
<td>{{item.GROUP_NO}}</td>
<td>{{item.VALID_COUNT}}</td>
<td>{{item.VALID_COUNT-item.SPECIAL_CARD_COUNT}}</td>
<td>{{item.SPECIAL_CARD_COUNT}}</td>
<td><a ng-click="getSpecialCardsInfo(item.GROUP_NO,item.SPECIAL_CARD_COUNT)">特殊证件详情</a></td>
</tr>
<tr ng-repeat="item in policeList">
<td>{{item.GROUP_NO}}</td>
<td>{{item.VALID_COUNT}}</td>
<td>
{{item.VALID_COUNT-item.SPECIAL_CARD_COUNT}}
</td>
<td>{{item.SPECIAL_CARD_COUNT}}</td>
<td>
<a
ng-click="getSpecialCardsInfo(item.GROUP_NO,item.SPECIAL_CARD_COUNT)"
>特殊证件详情</a
>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- /.table -->
<div class="box-footer" style="text-align: right;">
<div class="pull-right" style="margin-left: 10px;">
<button class="btn btn-primary" ng-click="goes()">下发任务单</button>
</div>
<div class="pull-right">
<select class="form-control select2" id="group" style="border-radius:5px">
<option value="1">A组</option>
<option value="2">B组</option>
</table>
</td>
</tr>
</tbody>
</table>
<!-- /.table -->
<div class="box-footer" style="text-align: right">
<div class="pull-right" style="margin-left: 10px">
<button
class="btn btn-primary"
ng-click="goes()"
ng-if="groupSelect!=''"
>
下发任务单
</button>
</div>
<div class="pull-right">
<select
class="form-control select2"
id="group"
style="border-radius: 5px"
ng-model="groupSelect"
>
<option value="">全部</option>
<option value="1">A组</option>
<option value="2">B组</option>
</select>
</div>
</div>
</div>
</div>
<div ng-if="cycleSheetData.length==0">
<h4>暂无数据</h4>
</div>
<!-- /.mail-box-messages -->
</div>
</div>
<div ng-if="cycleSheetData.length==0">
<h4>暂无数据</h4>
</div>
<!-- /.mail-box-messages -->
</div>
<div class="box-body" ng-if="isHistory==1">
<div ng-if="cycleSheetData.length>0">
<div class="nav-tabs-custom clearfix" style="margin-bottom: 0;" >
<ul class="nav nav-tabs">
<li ng-class="{true: 'active', false: 'inactive'}[tab.isActive]"
ng-repeat="tab in cycleSheetData track by $index">
<a ng-click="func($index,tab.typeCode)">
<ul style="margin: 0;padding: 0;">
<li style="font-size: 16px;">{{tab.typeName}}</li>
<li style="text-align: center;">{{tab.typeSum}}</li>
</ul>
</a>
</li>
</ul>
<div class="box-body" ng-if="isHistory==1">
<div ng-if="cycleSheetData.length>0">
<div class="nav-tabs-custom clearfix" style="margin-bottom: 0">
<ul class="nav nav-tabs">
<li
ng-class="{true: 'active', false: 'inactive'}[tab.isActive]"
ng-repeat="tab in cycleSheetData track by $index"
>
<a ng-click="func($index,tab.typeCode)">
<ul style="margin: 0; padding: 0">
<li style="font-size: 16px">{{tab.typeName}}</li>
<li style="text-align: center">{{tab.typeSum}}</li>
</ul>
</a>
</li>
</ul>
</div>
<div ng-repeat="type in cycleSheetData track by $index" class="table-responsive mailbox-messages" ng-show="currentTab==$index">
<table class="table table-hover table-striped">
<thead>
<tr>
<th>任务单编号</th>
<th>组数</th>
<th>受理组号</th>
<th>合格数量</th>
<th>不合格数量</th>
<div
ng-repeat="type in cycleSheetData track by $index"
class="table-responsive mailbox-messages"
ng-show="currentTab==$index"
>
<table class="table table-hover table-striped">
<thead>
<tr>
<th>任务单编号</th>
<th>组数</th>
<th>受理组号</th>
<th>合格数量</th>
<th>不合格数量</th>
<th>特殊证件数量</th>
<th>工作组</th>
<th></th>
</tr>
</thead>
<tbody ng-repeat="task in type.countyList">
<tr>
<td class="mailbox-star"><b>{{task.taskId}}</b></td>
<td class="mailbox-subject">{{task.groupList.length}}</td>
<td class="mailbox-subject">{{task.groupNum}}</td>
<td class="mailbox-attachment">
{{task.countyValidCount}}
</td>
<td class="mailbox-date">{{task.countyInvalidCount}}</td>
<td class="mailbox-date">{{task.specialCount}}</td>
<td
class="mailbox-attachment text-red"
ng-if="task.workGroup==1"
>
A组
</td>
<td
class="mailbox-attachment text-green"
ng-if="task.workGroup==2"
>
B组
</td>
<td class="mailbox-date">
<a ng-click="getPoliceList(task.groupList,task.taskId)"
>组号列表</a
>
</td>
</tr>
<tr ng-if="task.taskId==taskId">
<td></td>
<td colspan="10">
<table class="table">
<thead>
<th>组号</th>
<th>核验数量</th>
<th>证件数量</th>
<th>特殊证件数量</th>
<th>工作组</th>
<th>废证数量</th>
<th></th>
</tr>
</thead>
<tbody ng-repeat="task in type.countyList">
<tr>
<td class="mailbox-star"><b>{{task.taskId}}</b></td>
<td class="mailbox-subject">{{task.groupList.length}}</td>
<td class="mailbox-subject">{{task.groupNum}}</td>
<td class="mailbox-attachment">{{task.countyValidCount}}</td>
<td class="mailbox-date">{{task.countyInvalidCount}}</td>
<td class="mailbox-date">{{task.specialCount}}</td>
<td class="mailbox-attachment text-red" ng-if="task.workGroup==1">A组</td>
<td class="mailbox-attachment text-green" ng-if="task.workGroup==2">B组</td>
<td class="mailbox-date"><a ng-click="getPoliceList(task.groupList,task.taskId)">组号列表</a></td>
</tr>
<tr ng-if="task.taskId==taskId">
<td></td>
<td colspan="10">
<table class="table">
<thead>
<th>组号</th>
<th>核验数量</th>
<th>证件数量</th>
<th>特殊证件数量</th>
<th>废证数量</th>
<th></th>
</thead>
<tbody>
<tr ng-repeat="item in policeList">
<td>{{item.GROUP_NO}}</td>
<td>{{item.VALID_COUNT}}</td>
<td>{{item.VALID_COUNT-item.SPECIAL_CARD_COUNT}}</td>
<td>{{item.SPECIAL_CARD_COUNT}}</td>
<td>{{item.FAILECOUNT}}</td>
<td><a ng-click="getSpecialCardsInfo(item.GROUP_NO,item.SPECIAL_CARD_COUNT)">特殊证件详情</a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</thead>
<tbody>
<tr ng-repeat="item in policeList">
<td>{{item.GROUP_NO}}</td>
<td>{{item.VALID_COUNT}}</td>
<td>
{{item.VALID_COUNT-item.SPECIAL_CARD_COUNT}}
</td>
<td>{{item.SPECIAL_CARD_COUNT}}</td>
<td>{{item.FAILECOUNT}}</td>
<td>
<a
ng-click="getSpecialCardsInfo(item.GROUP_NO,item.SPECIAL_CARD_COUNT)"
>特殊证件详情</a
>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- /.table -->
</div>
</div>
<div ng-if="cycleSheetData.length==0">
<h4>暂无数据</h4>
</div>
<!-- /.mail-box-messages -->
</div>
<!-- /.box-body -->
<div ng-if="cycleSheetData.length==0">
<h4>暂无数据</h4>
</div>
<!-- /.mail-box-messages -->
</div>
<!-- /.box-body -->
</div>
<!-- /. box -->
</div>
<!-- /. box -->
<!-- /.col -->
</div>
<!-- /.col -->
<!-- /.row -->
</div>
<!-- /.row -->
</div>
</div>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment