为什么Angularjs使用AND操作过滤两个以上的列并不适合我?

时间:2017-03-27 06:44:58

标签: angularjs json

我有问题。使用AND操作对两个以上列进行Angularjs过滤不适用于JSON数据。请帮帮我。

我希望根据

应用过滤器 带有标签旁边的复选框的

"SettingsDeviated","HMRNonCompliant","MissedTherapy","NoEvent","deviceTypeVest","deviceTypeMonarch"

{
        "id": 160,
        "email": "abc@gmail.com",
        "firstName": "abc",
        "lastName": "def",
        "isDeleted": false,
        "zipcode": 55110,
        "address": "39 Xswhss lane ",
        "city": "White Bear Lake",
        "dob": "12/21/1947",
        "gender": "Male",
        "title": null,
        "hillromId": "46399",
        "langKey": null,
        "middleName": null,
        "state": "MN",
        "mobilePhone": null,
        "primaryPhone": null,
        "createdAt": 1490167354000,
        "isActivated": true,
        "adherence": 98,
        "lastTransmissionDate": "2017-03-20",
        "lastLoggedInAt": null,
        "clinics": [],
        "hcp": null,
        "clinicMRNId": {
        },
        "clinicNamesCSV": "lmn,def Hospital",
        "hcpNamesCSV": null,
        "mrnId": null,
        "hoursOfUsage": 0.0,
        "serialNumber": null,
        "deviceType": "VEST",
        "expired": false,
        "isSettingsDeviated": false,
        "isHMRNonCompliant": true,
        "isMissedTherapy": false,
        "isNoEvent": false,
        "deviceTypeVest": true,
        "deviceTypeMonarch": false
    }

1 个答案:

答案 0 :(得分:0)

您可以选中此处,此处它包含多个参数link

的自定义过滤器