Commit 91dc124f authored by liboyang's avatar liboyang

EMS角色的功能完成

parent 72987709
package com.yxproject.start.api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import java.util.ArrayList;
import java.util.List;
@RestController
@RequestMapping("tagPrint")
public class TagPrintApi {
@RequestMapping("selectTagPrintData")
public List selectTagPrintData(@RequestParam("idCard")String idCard){
List list = new ArrayList();
return list;
}
}
......@@ -420,9 +420,9 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
selectTagPrintData:function(idCard,success){
$http({
method: 'GET',
url: "../tagPrint/selectTagPrintData"+urlTimeStamp(),
url: "../ReceiptApi/createReceiptList"+urlTimeStamp(),
params:{
idCard:idCard
id:idCard
}
}).then(function successCallback(response) {
success(response.data)
......
......@@ -11,6 +11,16 @@ angular.module('AvatarCheck.receitp', ['ngRoute', 'AvatarCheck.http'])
.controller('receitpCtrl', function ($scope, $rootScope, $timeout, HttpService, ngDialog, MessageService, $filter) {
//Date picker
$('#datepicker').datetimepicker({
minView: "month", //选择日期后,不会再跳转去选择时分秒
language: 'zh-CN',
format: 'yyyy-mm-dd',
todayBtn: 1,
autoclose: 1
});
$scope.choseDate = $filter("date")(new Date(), "yyyy-MM-dd");
});
\ No newline at end of file
<!--<style>-->
<!--.table th, .table td {-->
<!--text-align: center;-->
<!--vertical-align: middle!important;-->
<!--}-->
<!--.ul li{-->
<!--cursor: pointer;-->
<!--}-->
<!--.page-list .pagination {float:left;}-->
<!--.page-list .pagination span {cursor: pointer;}-->
<!--.page-list .pagination .separate span{cursor: default; border-top:none;border-bottom:none;}-->
<!--.page-list .pagination .separate span:hover {background: none;}-->
<!--.page-list .page-total {float:left; margin: 25px 20px;}-->
<!--.page-list .page-total input, .page-list .page-total select{height: 26px; border: 1px solid #ddd;}-->
<!--.page-list .page-total input {width: 40px; padding-left:3px;}-->
<!--.page-list .page-total select {width: 50px;}-->
<!--.page-list:after {-->
<!--display: block;-->
<!--clear: both;-->
<!--content: ""-->
<!--}-->
<!--.page-list{-->
<!--zoom: 1-->
<!--}-->
<!--</style>-->
<style>
form input{
border:0;
......@@ -37,7 +11,7 @@
}
</style>
<section class="content">
<section class="content row">
<div class="col-md-12 no-padding" style="margin-top:20px;">
<div class="box box-primary ">
<div class="box-header with-border">
......
......@@ -1017,35 +1017,6 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
isPrint:1,
isEwrite:1
}
]
}
......@@ -1054,6 +1025,7 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
$scope.searchTagPrintData = function(){
HttpService.selectTagPrintData($scope.idCard,function(data){
$scope.tagPrintData =data;
console.log($scope.tagPrintData)
})
}
......
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