亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

javascript - Multiple field search in a single control
某草草
某草草 2017-05-15 17:14:05
0
1
762

1. The search function in the project can search according to the parameters returned by the background

2. Now we can only search in a single field (request data). How to deal with multiple fields? Is it a filter to search in multiple fields? How to do it specifically?

Part of the code is as follows

<p class="form-search m-t-xs m-b-xs inline">
    <input type="text" class="s_input bg-white-only" placeholder="請房間號或患者名字" ng-model="searchInfos.name" ng-keyup="myKeyup($event)">
    <i class="glyphicon glyphicon-search input_enter_icon" ng-click="search()"></i>
</p>
$scope.search = function () {
    $scope.searchInfos.page = 1; //點(diǎn)擊搜索時(shí),傳給后臺的P參數(shù)置為1
    $scope.currentPage = 1;
    $scope.inpatientList();
}
某草草
某草草

reply all(1)
為情所困

filter: Function
Do your filtering in the function

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template