Commit 19e0f001 authored by liboyang's avatar liboyang

新增页面

parent 411154e5
......@@ -199,26 +199,29 @@ angular.module('AvatarCheck', [
}
$scope.addQuickCardAccu = function(){
var check = $(".accu:checked").val();
console.log(check);
var idx = $(".accu:checked").val();
var check = idx.split("+");
var json={};
json.acceptNo=check.ACCEPT_NO;
json.cardType=check.CARD_TYPE;
json.countyCode=check.COUNTY_CODE;
json.name=check.NAME;
json.acceptNo=check[0];
json.cardType=check[2];
json.countyCode=check[1];
json.name=$rootScope.loginData.name;
console.log(json)
HttpService.addSpecialCard(json,function (data) {
console.log($scope.searchInput)
$scope.doSearch($scope.searchInput)
})
}
$scope.addQuickCardProd = function(){
var check = $(".prod:checked").val();
console.log(check);
var idx = $(".prod:checked").val();
var check = idx.split("+");
console.log(idx,check)
var json={};
json.acceptNo=check.ACCEPT_NO;
json.cardType=check.CARD_TYPE;
json.countyCode=check.COUNTY_CODE;
json.name=check.NAME;
json.acceptNo=check[0];
json.cardType=check[2];
json.countyCode=check[1];
json.name=$rootScope.loginData.name;
console.log(json)
HttpService.addSpecialCard(json,function (data) {
console.log($scope.searchInput)
$scope.doSearch($scope.searchInput)
......
......@@ -76,7 +76,7 @@
</thead>
<tbody>
<tr ng-repeat="item in searchResult.ACCdata">
<td><input type="checkbox" value="{{item}}" class="accu"></td>
<td><input type="checkbox" value="{{item.ACCEPT_NO}}+{{item.COUNTY_CODE}}+{{item.CARD_TYPE_ID}}" class="accu"></td>
<td>{{item.ACCEPT_NO}}</td>
<td>{{item.COUNTYNAME}}</td>
<td>{{item.NAME}}</td>
......@@ -85,8 +85,8 @@
<td ng-if="item.SEX_NO==1"></td>
<td ng-if="item.SEX_NO==2"></td>
<td>{{item.GAJG1}}</td>
<td>{{item.BEGIN_DATE | date:'yyyy-MM-dd HH:mm:ss'}}</td>
<td>{{item.EXPIRE_DATE | date:'yyyy-MM-dd HH:mm:ss'}}</td>
<td>{{item.BEGIN_DATE | myDateFilter}}</td>
<td>{{item.EXPIRE_DATE | myDateFilter}}</td>
<td>{{item.SIGN_GOVT}}</td>
<td></td>
<td></td>
......@@ -127,7 +127,7 @@
</thead>
<tbody>
<tr ng-repeat="item in searchResult.PRODData">
<td><input type="checkbox" value="{{item}}" class="prod"></td>
<td><input type="checkbox" value="{{item.ACCEPT_NO}}+{{item.COUNTY_CODE}}+{{item.CARD_TYPE_ID}}" class="prod"></td>
<td>{{item.ACCEPT_NO}}</td>
<td>{{item.COUNTYNAME}}</td>
<td>{{item.NAME}}</td>
......@@ -136,8 +136,8 @@
<td ng-if="item.SEX_NO==1"></td>
<td ng-if="item.SEX_NO==2"></td>
<td>{{item.GAJG1}}</td>
<td>{{item.BEGIN_DATE}}</td>
<td>{{item.EXPIRE_DATE}}</td>
<td>{{item.BEGIN_DATE | myDateFilter}}</td>
<td>{{item.EXPIRE_DATE | myDateFilter}}</td>
<td>{{item.SIGN_GOVT}}</td>
<td></td>
<td></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