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
>请选择下发任务单(<span ng-bind="totalCardProd"></span>)</strong
>
<div class="box-tools pull-right"> <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/> <input
<button type="button" class="btn btn-primary pull-right" style="height: 30px;line-height: 17px;" ng-click="searchHistory()">查询历史</button> type="text"
<button type="button" class="btn btn-primary pull-right" style="height: 30px;line-height: 17px;margin-right: 10px;" ng-click="searchTaskList()">查询</button> 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> </div>
<!-- /.box-tools --> <!-- /.box-tools -->
</div> </div>
<!-- /.box-header --> <!-- /.box-header -->
<div class="box-body" ng-if="isHistory==0"> <div class="box-body" ng-if="isHistory==0">
<div ng-if="cycleSheetData.length>0"> <div ng-if="cycleSheetData.length>0">
<div class="nav-tabs-custom clearfix" style="margin-bottom: 0;" > <div class="nav-tabs-custom clearfix" style="margin-bottom: 0">
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
<li ng-class="{true: 'active', false: 'inactive'}[tab.isActive]" <li
ng-repeat="tab in cycleSheetData track by $index"> ng-class="{true: 'active', false: 'inactive'}[tab.isActive]"
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
ng-repeat="type in cycleSheetData track by $index"
class="table-responsive mailbox-messages"
ng-show="currentTab==$index"
>
<table class="table table-hover table-striped"> <table class="table table-hover table-striped">
<thead> <thead>
<tr> <tr>
<th><input type="checkbox" ng-click="selectAll(type.countyList,$event)" ng-checked="isSelectedAll($index)"></th> <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>
...@@ -50,15 +91,31 @@ ...@@ -50,15 +91,31 @@
</thead> </thead>
<tbody ng-repeat="task in type.countyList"> <tbody ng-repeat="task in type.countyList">
<tr> <tr>
<td><input type="checkbox" class="checkOneBox" ng-checked="isSelected(task)" value="{{task.taskId}}" ng-click="updateSelection($event,task)"></td> <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-star"><b>{{task.taskId}}</b></td>
<td class="mailbox-subject">{{task.groupList.length}}</td> <td class="mailbox-subject">{{task.groupList.length}}</td>
<td class="mailbox-subject">{{task.groupNum}}</td> <td class="mailbox-subject">{{task.groupNum}}</td>
<td class="mailbox-subject">{{task.countyValidCount-task.specialCount}}</td> <td class="mailbox-subject">
<td class="mailbox-attachment">{{task.countyValidCount}}</td> {{task.countyValidCount-task.specialCount}}
</td>
<td class="mailbox-attachment">
{{task.countyValidCount}}
</td>
<td class="mailbox-date">{{task.countyInvalidCount}}</td> <td class="mailbox-date">{{task.countyInvalidCount}}</td>
<td class="mailbox-date">{{task.specialCount}}</td> <td class="mailbox-date">{{task.specialCount}}</td>
<td class="mailbox-date"><a ng-click="getPoliceList(task.groupList,task.taskId)">组号列表</a></td> <td class="mailbox-date">
<a ng-click="getPoliceList(task.groupList,task.taskId)"
>组号列表</a
>
</td>
</tr> </tr>
<tr ng-if="task.taskId==taskId"> <tr ng-if="task.taskId==taskId">
<td></td> <td></td>
...@@ -75,9 +132,16 @@ ...@@ -75,9 +132,16 @@
<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>
{{item.VALID_COUNT-item.SPECIAL_CARD_COUNT}}
</td>
<td>{{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> <td>
<a
ng-click="getSpecialCardsInfo(item.GROUP_NO,item.SPECIAL_CARD_COUNT)"
>特殊证件详情</a
>
</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
...@@ -86,12 +150,24 @@ ...@@ -86,12 +150,24 @@
</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
class="btn btn-primary"
ng-click="goes()"
ng-if="groupSelect!=''"
>
下发任务单
</button>
</div> </div>
<div class="pull-right"> <div class="pull-right">
<select class="form-control select2" id="group" style="border-radius:5px"> <select
class="form-control select2"
id="group"
style="border-radius: 5px"
ng-model="groupSelect"
>
<option value="">全部</option>
<option value="1">A组</option> <option value="1">A组</option>
<option value="2">B组</option> <option value="2">B组</option>
</select> </select>
...@@ -106,20 +182,26 @@ ...@@ -106,20 +182,26 @@
</div> </div>
<div class="box-body" ng-if="isHistory==1"> <div class="box-body" ng-if="isHistory==1">
<div ng-if="cycleSheetData.length>0"> <div ng-if="cycleSheetData.length>0">
<div class="nav-tabs-custom clearfix" style="margin-bottom: 0;" > <div class="nav-tabs-custom clearfix" style="margin-bottom: 0">
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
<li ng-class="{true: 'active', false: 'inactive'}[tab.isActive]" <li
ng-repeat="tab in cycleSheetData track by $index"> ng-class="{true: 'active', false: 'inactive'}[tab.isActive]"
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>
</ul> </ul>
</div> </div>
<div ng-repeat="type in cycleSheetData track by $index" class="table-responsive mailbox-messages" ng-show="currentTab==$index"> <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"> <table class="table table-hover table-striped">
<thead> <thead>
<tr> <tr>
...@@ -138,12 +220,28 @@ ...@@ -138,12 +220,28 @@
<td class="mailbox-star"><b>{{task.taskId}}</b></td> <td class="mailbox-star"><b>{{task.taskId}}</b></td>
<td class="mailbox-subject">{{task.groupList.length}}</td> <td class="mailbox-subject">{{task.groupList.length}}</td>
<td class="mailbox-subject">{{task.groupNum}}</td> <td class="mailbox-subject">{{task.groupNum}}</td>
<td class="mailbox-attachment">{{task.countyValidCount}}</td> <td class="mailbox-attachment">
{{task.countyValidCount}}
</td>
<td class="mailbox-date">{{task.countyInvalidCount}}</td> <td class="mailbox-date">{{task.countyInvalidCount}}</td>
<td class="mailbox-date">{{task.specialCount}}</td> <td class="mailbox-date">{{task.specialCount}}</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> class="mailbox-attachment text-red"
<td class="mailbox-date"><a ng-click="getPoliceList(task.groupList,task.taskId)">组号列表</a></td> 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>
<tr ng-if="task.taskId==taskId"> <tr ng-if="task.taskId==taskId">
<td></td> <td></td>
...@@ -161,10 +259,17 @@ ...@@ -161,10 +259,17 @@
<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>
{{item.VALID_COUNT-item.SPECIAL_CARD_COUNT}}
</td>
<td>{{item.SPECIAL_CARD_COUNT}}</td> <td>{{item.SPECIAL_CARD_COUNT}}</td>
<td>{{item.FAILECOUNT}}</td> <td>{{item.FAILECOUNT}}</td>
<td><a ng-click="getSpecialCardsInfo(item.GROUP_NO,item.SPECIAL_CARD_COUNT)">特殊证件详情</a></td> <td>
<a
ng-click="getSpecialCardsInfo(item.GROUP_NO,item.SPECIAL_CARD_COUNT)"
>特殊证件详情</a
>
</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
...@@ -187,5 +292,5 @@ ...@@ -187,5 +292,5 @@
<!-- /.col --> <!-- /.col -->
</div> </div>
<!-- /.row --> <!-- /.row -->
</div> </div>
</div> </div>
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