commonListService.js 425 B

1234567891011121314151617181920212223242526
  1. angular.module('commonListService', [])
  2. .service('CommonListService', [function() {
  3. var service = {
  4. yesOrNoList:yesOrNoList=[
  5. {
  6. key:'是',
  7. value:true
  8. },
  9. {
  10. key:"否",
  11. value:false
  12. }
  13. ],
  14. yesOrNoList2:yesOrNoList=[
  15. {
  16. key:'是',
  17. value:1
  18. },
  19. {
  20. key:"否",
  21. value:0
  22. }
  23. ]
  24. }
  25. return service;
  26. }]);