|
@@ -19,6 +19,9 @@ app.controller("sysconfigCtrl", ["$rootScope", "$scope", "$state", "$timeout", "
|
19
|
19
|
arr.systemConfiguration.push(v);//用户默认密码,登录有效时长
|
20
|
20
|
}
|
21
|
21
|
})
|
|
22
|
+ angular.forEach(a.linkConfig, function (v) {
|
|
23
|
+ arr.systemConfiguration.push(v);
|
|
24
|
+ })
|
22
|
25
|
arr.systemConfiguration.push(a.repairMain);//报修主体
|
23
|
26
|
arr.systemConfiguration.push(a.ifCreate);//自动建单
|
24
|
27
|
arr.systemConfiguration.push(a.reqHasCategory);//是否选择事件分类
|
|
@@ -80,6 +83,7 @@ app.controller("sysconfigCtrl", ["$rootScope", "$scope", "$state", "$timeout", "
|
80
|
83
|
console.log(a.myData);
|
81
|
84
|
a.baseConfig = [];//基本配置
|
82
|
85
|
a.cacheConfig = [];//缓存配置
|
|
86
|
+ a.linkConfig = [];//链接配置
|
83
|
87
|
a.repairMain = {};//报修主体
|
84
|
88
|
console.log(a.myData,77777)
|
85
|
89
|
angular.forEach(a.myData, function (v, i) {
|
|
@@ -89,6 +93,9 @@ app.controller("sysconfigCtrl", ["$rootScope", "$scope", "$state", "$timeout", "
|
89
|
93
|
if (v.keyconfig == 'userRedisIp' || v.keyconfig == 'userRedisPort') {
|
90
|
94
|
a.cacheConfig.push(v);//缓存配置
|
91
|
95
|
}
|
|
96
|
+ if (v.keyconfig == 'wxBxQuestions' || v.keyconfig == 'wxGuide' || v.keyconfig == 'wxClQuestions') {
|
|
97
|
+ a.linkConfig.push(v);//链接配置
|
|
98
|
+ }
|
92
|
99
|
if (v.keyconfig == 'repairMain') {
|
93
|
100
|
a.repairMain = v;//报修主体
|
94
|
101
|
}
|