|
@@ -190,6 +190,7 @@ var pushDetailSettingConf = {
|
|
ratemode: 0, // 推送时间1,2,3,4
|
|
ratemode: 0, // 推送时间1,2,3,4
|
|
apppush: true, // app推送开关
|
|
apppush: true, // app推送开关
|
|
mailpush: true, // 邮箱推送开关
|
|
mailpush: true, // 邮箱推送开关
|
|
|
|
+ wxpush: false, // 微信推送开关
|
|
mail: '',
|
|
mail: '',
|
|
},
|
|
},
|
|
detailsModuleOneConf: {
|
|
detailsModuleOneConf: {
|
|
@@ -364,6 +365,7 @@ var pushDetailSettingConf = {
|
|
this.settingConf.mail = r.mail
|
|
this.settingConf.mail = r.mail
|
|
this.settingConf.apppush = !!r.apppush
|
|
this.settingConf.apppush = !!r.apppush
|
|
this.settingConf.mailpush = !!r.mailpush
|
|
this.settingConf.mailpush = !!r.mailpush
|
|
|
|
+ this.settingConf.wxpush = !!r.wxpush
|
|
}
|
|
}
|
|
if (this.modulesShow.detailsModuleOne) {
|
|
if (this.modulesShow.detailsModuleOne) {
|
|
// 1. 根据user表里的服务id判断是否展示
|
|
// 1. 根据user表里的服务id判断是否展示
|
|
@@ -400,6 +402,7 @@ var pushDetailSettingConf = {
|
|
info.mail = this.settingConf.mail
|
|
info.mail = this.settingConf.mail
|
|
info.apppush = this.settingConf.apppush - 0 // 布尔值隐式转换为数字
|
|
info.apppush = this.settingConf.apppush - 0 // 布尔值隐式转换为数字
|
|
info.mailpush = this.settingConf.mailpush - 0
|
|
info.mailpush = this.settingConf.mailpush - 0
|
|
|
|
+ info.wxpush = this.settingConf.wxpush - 0
|
|
}
|
|
}
|
|
if (this.modulesShow.detailsModuleOne) {
|
|
if (this.modulesShow.detailsModuleOne) {
|
|
for (var key in this.detailsModuleOneConf) {
|
|
for (var key in this.detailsModuleOneConf) {
|