1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
| (function () {
| 'use strict';
| angular.module('core.service', []);
| //.factory('UserInterceptor', ["$q","$window","$cookies",function ($q,$window,$cookies) {
| //
| // return {
| //
| // request:function(config){
| // return config;
| // },
| // response:function(response) {
| // return response;
| // }
| //
| // };
| //}])
| //.factory("StateLabelType", StateLabelType);
| //function StateLabelType($rootScope, Global) {
| // return {
| // state: [{
| // name: "已结束",
| // value: Global.已结束
| // }, {
| // name: "生产中",
| // value: Global.生产中
| // }, {
| // name: "未上线",
| // value: Global.未上线
| // }, {
| // name: "已下发",
| // value: Global.已下发
| // }]
| // }
|
| //}
| })();
|
|