Commit 949f10e6 authored by guantiantian's avatar guantiantian

下发任务单增加全部选项

parent 77dbdb4a
<div class="content row"> <div class="content row">
<div class="col-md-12" style="margin-top:20px;"> <div class="col-md-12" style="margin-top: 20px">
<div class="row"> <div class="row">
<!-- /.col --> <!-- /.col -->
<div class="col-md-12"> <div class="col-md-12">
<div class="box "> <div class="box">
<div class="box-header with-border"> <div class="box-header with-border">
<strong>请选择下发任务单(<span ng-bind="totalCardProd"></span>)</strong> <strong
<div class="box-tools pull-right"> >请选择下发任务单(<span ng-bind="totalCardProd"></span>)</strong
<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> <div class="box-tools pull-right">
<button type="button" class="btn btn-primary pull-right" style="height: 30px;line-height: 17px;margin-right: 10px;" ng-click="searchTaskList()">查询</button> <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> </div>
<!-- /.box-tools --> <!-- /.box-header -->
</div> <div class="box-body" ng-if="isHistory==0">
<!-- /.box-header --> <div ng-if="cycleSheetData.length>0">
<div class="box-body" ng-if="isHistory==0"> <div class="nav-tabs-custom clearfix" style="margin-bottom: 0">
<div ng-if="cycleSheetData.length>0"> <ul class="nav nav-tabs">
<div class="nav-tabs-custom clearfix" style="margin-bottom: 0;" > <li
<ul class="nav nav-tabs"> ng-class="{true: 'active', false: 'inactive'}[tab.isActive]"
<li ng-class="{true: 'active', false: 'inactive'}[tab.isActive]" ng-repeat="tab in cycleSheetData track by $index"
ng-repeat="tab in cycleSheetData track by $index"> >
<a ng-click="func($index,tab.typeCode)"> <a ng-click="func($index,tab.typeCode)">
<ul style="margin: 0;padding: 0;"> <ul style="margin: 0; padding: 0">
<li style="font-size: 16px;">{{tab.typeName}}</li> <li style="font-size: 16px">{{tab.typeName}}</li>
<li style="text-align: center;">{{tab.typeSum}}</li> <li style="text-align: center">{{tab.typeSum}}</li>
</ul> </ul>
</a> </a>
</li> </li>
<li class="pull-right" style="padding-right: 20px;"> <li class="pull-right" style="padding-right: 20px">
<h5>已选数量:{{cardsTotal}}</h5> <h5>已选数量:{{cardsTotal}}</h5>
<h4>余证数:{{restCount}}</h4> <h4>余证数:{{restCount}}</h4>
</li> </li>
</ul> </ul>
</div> </div>
<div ng-repeat="type in cycleSheetData track by $index" class="table-responsive mailbox-messages" ng-show="currentTab==$index"> <div
<table class="table table-hover table-striped"> ng-repeat="type in cycleSheetData track by $index"
<thead> class="table-responsive mailbox-messages"
<tr> ng-show="currentTab==$index"
<th><input type="checkbox" ng-click="selectAll(type.countyList,$event)" ng-checked="isSelectedAll($index)"></th> >
<th>任务单编号</th> <table class="table table-hover table-striped">
<th>组数</th> <thead>
<th>受理组号</th> <tr>
<th>证件数量</th> <th>
<th>合格数量</th> <input
<th>不合格数量</th> type="checkbox"
<th>特殊证件数量</th> ng-click="selectAll(type.countyList,$event)"
<th></th> ng-checked="isSelectedAll($index)"
</tr> />
</thead> </th>
<tbody ng-repeat="task in type.countyList"> <th>任务单编号</th>
<tr> <th>组数</th>
<td><input type="checkbox" class="checkOneBox" ng-checked="isSelected(task)" value="{{task.taskId}}" ng-click="updateSelection($event,task)"></td> <th>受理组号</th>
<td class="mailbox-star"><b>{{task.taskId}}</b></td> <th>证件数量</th>
<td class="mailbox-subject">{{task.groupList.length}}</td> <th>合格数量</th>
<td class="mailbox-subject">{{task.groupNum}}</td> <th>不合格数量</th>
<td class="mailbox-subject">{{task.countyValidCount-task.specialCount}}</td> <th>特殊证件数量</th>
<td class="mailbox-attachment">{{task.countyValidCount}}</td> <th></th>
<td class="mailbox-date">{{task.countyInvalidCount}}</td> </tr>
<td class="mailbox-date">{{task.specialCount}}</td> </thead>
<td class="mailbox-date"><a ng-click="getPoliceList(task.groupList,task.taskId)">组号列表</a></td> <tbody ng-repeat="task in type.countyList">
</tr> <tr>
<tr ng-if="task.taskId==taskId"> <td>
<td></td> <input
<td colspan="10"> type="checkbox"
<table class="table"> 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> <thead>
<th>组号</th> <th>组号</th>
<th>核验数量</th> <th>核验数量</th>
<th>证件数量</th> <th>证件数量</th>
<th>特殊证件数量</th> <th>特殊证件数量</th>
<th></th> <th></th>
</thead> </thead>
<tbody> <tbody>
<tr ng-repeat="item in policeList"> <tr ng-repeat="item in policeList">
<td>{{item.GROUP_NO}}</td> <td>{{item.GROUP_NO}}</td>
<td>{{item.VALID_COUNT}}</td> <td>{{item.VALID_COUNT}}</td>
<td>{{item.VALID_COUNT-item.SPECIAL_CARD_COUNT}}</td> <td>
<td>{{item.SPECIAL_CARD_COUNT}}</td> {{item.VALID_COUNT-item.SPECIAL_CARD_COUNT}}
<td><a ng-click="getSpecialCardsInfo(item.GROUP_NO,item.SPECIAL_CARD_COUNT)">特殊证件详情</a></td> </td>
</tr> <td>{{item.SPECIAL_CARD_COUNT}}</td>
<td>
<a
ng-click="getSpecialCardsInfo(item.GROUP_NO,item.SPECIAL_CARD_COUNT)"
>特殊证件详情</a
>
</td>
</tr>
</tbody> </tbody>
</table> </table>
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<!-- /.table --> <!-- /.table -->
<div class="box-footer" style="text-align: right;"> <div class="box-footer" style="text-align: right">
<div class="pull-right" style="margin-left: 10px;"> <div class="pull-right" style="margin-left: 10px">
<button class="btn btn-primary" ng-click="goes()">下发任务单</button> <button
</div> class="btn btn-primary"
<div class="pull-right"> ng-click="goes()"
<select class="form-control select2" id="group" style="border-radius:5px"> ng-if="groupSelect!=''"
<option value="1">A组</option> >
<option value="2">B组</option> 下发任务单
</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> </select>
</div>
</div> </div>
</div>
</div> </div>
<div ng-if="cycleSheetData.length==0">
<h4>暂无数据</h4>
</div>
<!-- /.mail-box-messages -->
</div> </div>
</div> <div class="box-body" ng-if="isHistory==1">
<div ng-if="cycleSheetData.length==0"> <div ng-if="cycleSheetData.length>0">
<h4>暂无数据</h4> <div class="nav-tabs-custom clearfix" style="margin-bottom: 0">
</div> <ul class="nav nav-tabs">
<!-- /.mail-box-messages --> <li
</div> ng-class="{true: 'active', false: 'inactive'}[tab.isActive]"
<div class="box-body" ng-if="isHistory==1"> ng-repeat="tab in cycleSheetData track by $index"
<div ng-if="cycleSheetData.length>0"> >
<div class="nav-tabs-custom clearfix" style="margin-bottom: 0;" > <a ng-click="func($index,tab.typeCode)">
<ul class="nav nav-tabs"> <ul style="margin: 0; padding: 0">
<li ng-class="{true: 'active', false: 'inactive'}[tab.isActive]" <li style="font-size: 16px">{{tab.typeName}}</li>
ng-repeat="tab in cycleSheetData track by $index"> <li style="text-align: center">{{tab.typeSum}}</li>
<a ng-click="func($index,tab.typeCode)"> </ul>
<ul style="margin: 0;padding: 0;"> </a>
<li style="font-size: 16px;">{{tab.typeName}}</li> </li>
<li style="text-align: center;">{{tab.typeSum}}</li> </ul>
</ul>
</a>
</li>
</ul>
</div> </div>
<div ng-repeat="type in cycleSheetData track by $index" class="table-responsive mailbox-messages" ng-show="currentTab==$index"> <div
<table class="table table-hover table-striped"> ng-repeat="type in cycleSheetData track by $index"
<thead> class="table-responsive mailbox-messages"
<tr> ng-show="currentTab==$index"
<th>任务单编号</th> >
<th>组数</th> <table class="table table-hover table-striped">
<th>受理组号</th> <thead>
<th>合格数量</th> <tr>
<th>不合格数量</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 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>
<th></th> <th></th>
</tr> </thead>
</thead> <tbody>
<tbody ng-repeat="task in type.countyList"> <tr ng-repeat="item in policeList">
<tr> <td>{{item.GROUP_NO}}</td>
<td class="mailbox-star"><b>{{task.taskId}}</b></td> <td>{{item.VALID_COUNT}}</td>
<td class="mailbox-subject">{{task.groupList.length}}</td> <td>
<td class="mailbox-subject">{{task.groupNum}}</td> {{item.VALID_COUNT-item.SPECIAL_CARD_COUNT}}
<td class="mailbox-attachment">{{task.countyValidCount}}</td> </td>
<td class="mailbox-date">{{task.countyInvalidCount}}</td> <td>{{item.SPECIAL_CARD_COUNT}}</td>
<td class="mailbox-date">{{task.specialCount}}</td> <td>{{item.FAILECOUNT}}</td>
<td class="mailbox-attachment text-red" ng-if="task.workGroup==1">A组</td> <td>
<td class="mailbox-attachment text-green" ng-if="task.workGroup==2">B组</td> <a
<td class="mailbox-date"><a ng-click="getPoliceList(task.groupList,task.taskId)">组号列表</a></td> ng-click="getSpecialCardsInfo(item.GROUP_NO,item.SPECIAL_CARD_COUNT)"
</tr> >特殊证件详情</a
<tr ng-if="task.taskId==taskId"> >
<td></td> </td>
<td colspan="10"> </tr>
<table class="table"> </tbody>
<thead> </table>
<th>组号</th> </td>
<th>核验数量</th> </tr>
<th>证件数量</th> </tbody>
<th>特殊证件数量</th> </table>
<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>
<!-- /.table --> <!-- /.table -->
</div>
</div> </div>
<div ng-if="cycleSheetData.length==0">
<h4>暂无数据</h4>
</div>
<!-- /.mail-box-messages -->
</div> </div>
<!-- /.box-body --> <div ng-if="cycleSheetData.length==0">
<h4>暂无数据</h4>
</div>
<!-- /.mail-box-messages -->
</div>
<!-- /.box-body -->
</div>
<!-- /. box -->
</div> </div>
<!-- /. box --> <!-- /.col -->
</div> </div>
<!-- /.col --> <!-- /.row -->
</div> </div>
<!-- /.row -->
</div> </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