|
@@ -22,6 +22,8 @@ app.controller("sysconfigCtrl", ["$rootScope", "$scope", "$state", "$timeout", "
|
22
|
22
|
arr.systemConfiguration.push(a.repairMain);//报修主体
|
23
|
23
|
arr.systemConfiguration.push(a.ifCreate);//自动建单
|
24
|
24
|
arr.systemConfiguration.push(a.reqHasCategory);//是否选择事件分类
|
|
25
|
+ arr.systemConfiguration.push(a.incidentWithConsumable);//是否需要绑定耗材
|
|
26
|
+ arr.systemConfiguration.push(a.wxIncidentWithCmdb);//是否需要绑定资产
|
25
|
27
|
arr.systemConfiguration.push(a.requesterLgoinType);//保修人登录方式
|
26
|
28
|
arr.systemConfiguration.push(a.autoCloseIncidentHour);//自动关单小时
|
27
|
29
|
console.log(arr,99999);
|
|
@@ -77,6 +79,12 @@ app.controller("sysconfigCtrl", ["$rootScope", "$scope", "$state", "$timeout", "
|
77
|
79
|
if (v.keyconfig == 'reqHasCategory') {
|
78
|
80
|
a.reqHasCategory = v;//是否选择事件分类
|
79
|
81
|
}
|
|
82
|
+ if (v.keyconfig == 'incidentWithConsumable') {
|
|
83
|
+ a.incidentWithConsumable = v;//是否需要绑定耗材
|
|
84
|
+ }
|
|
85
|
+ if (v.keyconfig == 'wxIncidentWithCmdb') {
|
|
86
|
+ a.wxIncidentWithCmdb = v;//是否需要绑定资产
|
|
87
|
+ }
|
80
|
88
|
if (v.keyconfig == 'requesterLgoinType') {
|
81
|
89
|
a.requesterLgoinType = v;//报修人登录方式
|
82
|
90
|
}
|