Commit d8ca0dbf authored by liboyang's avatar liboyang

完善页面

parent c5112ae6
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
</thead> </thead>
<tbody> <tbody>
<tr ng-repeat="task in type.countyList"> <tr ng-repeat="task in type.countyList">
<td><input type="checkbox" class="icheckbox_flat-blue"></td> <td><input type="checkbox" class="icheckbox_flat-blue" value="{{task.taskId}}"></td>
<td class="mailbox-star"><b>{{task.taskId}}</b></td> <td class="mailbox-star"><b>{{task.taskId}}</b></td>
<td class="mailbox-name"><a>{{task.county}}</a></td> <td class="mailbox-name"><a>{{task.county}}</a></td>
<td class="mailbox-subject">{{task.groupNo}}</td> <td class="mailbox-subject">{{task.groupNo}}</td>
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
</div> </div>
<!-- /.box-body --> <!-- /.box-body -->
<div class="box-footer" style="text-align: right;"> <div class="box-footer" style="text-align: right;">
<button class="btn btn-primary">下发任务单</button> <button class="btn btn-primary" ng-click="goes()">下发任务单</button>
</div> </div>
</div> </div>
<!-- /. box --> <!-- /. box -->
......
...@@ -37,14 +37,14 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p ...@@ -37,14 +37,14 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p
invalid: 0 invalid: 0
}, },
{ {
taskId: '20190228001', taskId: '20190228002',
county: '东城区', county: '东城区',
groupNo: '00234653-03687587', groupNo: '00234653-03687587',
valid: 240, valid: 240,
invalid: 0 invalid: 0
}, },
{ {
taskId: '20190228001', taskId: '20190228003',
county: '海淀区', county: '海淀区',
groupNo: '00234653-03687587', groupNo: '00234653-03687587',
valid: 240, valid: 240,
...@@ -59,14 +59,14 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p ...@@ -59,14 +59,14 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p
isActive: 'false', isActive: 'false',
countyList: [ countyList: [
{ {
taskId: '20190228001', taskId: '20190228004',
county: '朝阳区', county: '朝阳区',
groupNo: '00234653-03687587', groupNo: '00234653-03687587',
valid: 240, valid: 240,
invalid: 0 invalid: 0
}, },
{ {
taskId: '20190228001', taskId: '20190228005',
county: '昌平区', county: '昌平区',
groupNo: '00234653-03687587', groupNo: '00234653-03687587',
valid: 240, valid: 240,
...@@ -112,5 +112,13 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p ...@@ -112,5 +112,13 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p
}); });
} }
$scope.goes = function(){
console.log(">>>>>")
var checks = $(".icheckbox_flat-blue:checked");
for (var i=0;i<checks.length;i++){
console.log(checks[i].value)
}
}
}); });
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
<p class="login-box-msg">用户登录</p> <p class="login-box-msg">用户登录</p>
<form> <form>
<div class="text-danger wrapper text-center" ng-show="authError" style="margin-bottom: 5px;">
{{authError}}
</div>
<div class="form-group has-feedback"> <div class="form-group has-feedback">
<input type="text" class="form-control" ng-model="user.username" placeholder="用户名" required> <input type="text" class="form-control" ng-model="user.username" placeholder="用户名" required>
<span class="glyphicon glyphicon-user form-control-feedback"></span> <span class="glyphicon glyphicon-user form-control-feedback"></span>
......
...@@ -123,7 +123,6 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http']) ...@@ -123,7 +123,6 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
.controller('taskListPrintCtrl', function ($scope, $rootScope, $timeout, HttpService, ngDialog, MessageService, $filter) { .controller('taskListPrintCtrl', function ($scope, $rootScope, $timeout, HttpService, ngDialog, MessageService, $filter) {
//Date picker //Date picker
$('#datepicker').datetimepicker({ $('#datepicker').datetimepicker({
minView: "month", //选择日期后,不会再跳转去选择时分秒 minView: "month", //选择日期后,不会再跳转去选择时分秒
...@@ -134,11 +133,7 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http']) ...@@ -134,11 +133,7 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
}); });
$scope.choseDate = $filter("date")(new Date(), "yyyy-MM-dd"); $scope.choseDate = $filter("date")(new Date(), "yyyy-MM-dd");
$scope.searchRecordsNotMatched = function () {
HttpService.getRecordsNotMatched($("#datepicker").val(), function (data) {
$scope.records = data;
})
}
$scope.cycleSheetData = [ $scope.cycleSheetData = [
{ {
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
<strong>任务单详情</strong> <strong>任务单详情</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 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;margin-left: 10px;" ng-click="searchToday()">当前</button>
<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;" ng-click="searchHistory()">查询历史</button>
</div> </div>
<!-- /.box-tools --> <!-- /.box-tools -->
...@@ -29,6 +30,10 @@ ...@@ -29,6 +30,10 @@
</ul> </ul>
</a> </a>
</li> </li>
<li style="float: right; padding-right: 30px;">
<h5>任务总数:8001</h5>
<h4>余证数:1</h4>
</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">
...@@ -52,7 +57,7 @@ ...@@ -52,7 +57,7 @@
<td class="mailbox-subject">{{task.groupNo}}</td> <td class="mailbox-subject">{{task.groupNo}}</td>
<td class="mailbox-attachment">{{task.valid}}</td> <td class="mailbox-attachment">{{task.valid}}</td>
<td class="mailbox-date">{{task.invalid}}</td> <td class="mailbox-date">{{task.invalid}}</td>
<td class="mailbox-date"><a ng-click="getPoliceList(task.taskId)">派出所列表</a></td> <td class="mailbox-date"><a href="#">组号列表</a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
...@@ -61,8 +66,18 @@ ...@@ -61,8 +66,18 @@
<!-- /.mail-box-messages --> <!-- /.mail-box-messages -->
</div> </div>
<!-- /.box-body --> <!-- /.box-body -->
<div class="box-footer" style="text-align: right;"> <div class="box-footer">
<button class="btn btn-primary">下发任务单</button>
<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="print" style="border-radius:5px">
<option value="1">一号打印机</option>
<option value="2">二号打印机</option>
</select>
</div>
</div> </div>
</div> </div>
<!-- /. box --> <!-- /. box -->
......
...@@ -80,6 +80,7 @@ ...@@ -80,6 +80,7 @@
<thead> <thead>
<tr> <tr>
<th>NO.</th> <th>NO.</th>
<th>上传时间</th>
<th>制证包数量</th> <th>制证包数量</th>
<th>证件数量</th> <th>证件数量</th>
<th>普通证数量</th> <th>普通证数量</th>
...@@ -90,6 +91,7 @@ ...@@ -90,6 +91,7 @@
<tbody> <tbody>
<tr> <tr>
<td>1</td> <td>1</td>
<td>20190301</td>
<td>300</td> <td>300</td>
<td>24000</td> <td>24000</td>
<td></td> <td></td>
...@@ -101,6 +103,7 @@ ...@@ -101,6 +103,7 @@
</tr> </tr>
<tr> <tr>
<td>2</td> <td>2</td>
<td>20190228</td>
<td>100</td> <td>100</td>
<td>8000</td> <td>8000</td>
<td>8000</td> <td>8000</td>
......
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