|
@@ -14,12 +14,14 @@ app.controller("wxconfigCtrl", ["$rootScope", "$scope", "$state", "$timeout", "$
|
14
|
14
|
{
|
15
|
15
|
"id": 1,
|
16
|
16
|
"autoCreateUser": a.maintenance.autoCreateUser,
|
17
|
|
- "wechatUserRole": a.maintenance.wechatUserRole
|
18
|
|
- },
|
19
|
|
- {
|
20
|
|
- "id": 2,
|
21
|
|
- "autoCreateUser": a.repairs.autoCreateUser
|
|
17
|
+ "wechatUserRole": a.maintenance.wechatUserRole,
|
|
18
|
+ "autoCreateRequester": a.maintenance.autoCreateRequester
|
22
|
19
|
}
|
|
20
|
+ // ,
|
|
21
|
+ // {
|
|
22
|
+ // "id": 2,
|
|
23
|
+ // "autoCreateUser": a.repairs.autoCreateUser
|
|
24
|
+ // }
|
23
|
25
|
]
|
24
|
26
|
};
|
25
|
27
|
} else {
|
|
@@ -27,12 +29,14 @@ app.controller("wxconfigCtrl", ["$rootScope", "$scope", "$state", "$timeout", "$
|
27
|
29
|
"wechatConfig": [
|
28
|
30
|
{
|
29
|
31
|
"id": 1,
|
30
|
|
- "autoCreateUser": a.maintenance.autoCreateUser
|
31
|
|
- },
|
32
|
|
- {
|
33
|
|
- "id": 2,
|
34
|
|
- "autoCreateUser": a.repairs.autoCreateUser
|
|
32
|
+ "autoCreateUser": a.maintenance.autoCreateUser,
|
|
33
|
+ "autoCreateRequester": a.maintenance.autoCreateRequester
|
35
|
34
|
}
|
|
35
|
+ // ,
|
|
36
|
+ // {
|
|
37
|
+ // "id": 2,
|
|
38
|
+ // "autoCreateUser": a.repairs.autoCreateUser
|
|
39
|
+ // }
|
36
|
40
|
]
|
37
|
41
|
};
|
38
|
42
|
}
|