摘要: {{(value.time+'000' | date:'yyyy-MM-dd HH:mm:ss') : '/'}} .filter('getWeek', function() { return function(input) { var date = new Date(input * 1000); var week = date.getDay(); switch (week) { case 0... 阅读全文
posted @ 2017-09-19 20:54 abcByme 阅读(697) 评论(0) 推荐(0) 编辑
摘要: 测试副本 aId cId developer ... 阅读全文
posted @ 2017-09-19 20:51 abcByme 阅读(424) 评论(0) 推荐(0) 编辑
摘要: $rootScope.getTokenOther = function(formdata) { // console.log("getTokenOther formdata", formdata); MyServer.otherlogin(formdata, function(data) { con 阅读全文
posted @ 2017-09-19 20:48 abcByme 阅读(809) 评论(0) 推荐(0) 编辑
摘要: function getobj(objs, key, value) { for (var i in objs) { var obj = $(objs[i]); if (obj.attr(key) == value) { return obj[0]; } } return null; }; //调用 getobj(data, 'cId... 阅读全文
posted @ 2017-09-19 20:46 abcByme 阅读(359) 评论(0) 推荐(0) 编辑
摘要: function toQueryString(obj) { var ret = []; for (var key in obj) { key = encodeURIComponent(key); var values = obj[key]; if (values && values.construc 阅读全文
posted @ 2017-09-19 20:44 abcByme 阅读(689) 评论(1) 推荐(0) 编辑