|
|
|
@ -63,9 +63,6 @@ Page({
|
|
|
|
|
openid: wx.getStorageSync('openid'),
|
|
|
|
|
token: wx.getStorageSync('token') || 't%2BrswgjvzGM='
|
|
|
|
|
}).then(res => {
|
|
|
|
|
this.setData({
|
|
|
|
|
sBrand: res.brandname
|
|
|
|
|
})
|
|
|
|
|
resolve(res.brandname)
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
reject(false)
|
|
|
|
@ -81,7 +78,7 @@ Page({
|
|
|
|
|
action: "getHealthIndex",
|
|
|
|
|
sType: "BrandOverview",
|
|
|
|
|
sTimeType: sTimeType,
|
|
|
|
|
sBrand: this.data.sBrand,
|
|
|
|
|
sBrand: this.data.headlBrand,
|
|
|
|
|
sStartTime: sStartTime,
|
|
|
|
|
sEndTime: sEndTime,
|
|
|
|
|
// sSeriesName: sSeriesName,
|
|
|
|
@ -145,7 +142,7 @@ Page({
|
|
|
|
|
iPageSize: 5,
|
|
|
|
|
sType: "BrandData",
|
|
|
|
|
sCrisis: sCrisis,
|
|
|
|
|
sBrand: this.data.sBrand,
|
|
|
|
|
sBrand: this.data.headlBrand,
|
|
|
|
|
// sSeriesName: sSeriesName,
|
|
|
|
|
token: wx.getStorageSync('token') || 't%2BrswgjvzGM='
|
|
|
|
|
}
|
|
|
|
@ -170,7 +167,7 @@ Page({
|
|
|
|
|
iPageIndex: 1,
|
|
|
|
|
iPageSize: 5,
|
|
|
|
|
sTimeType: sTimeType,
|
|
|
|
|
sBrand: this.data.sBrand,
|
|
|
|
|
sBrand: this.data.headlBrand,
|
|
|
|
|
sStartTime: sStartTime,
|
|
|
|
|
sEndTime: sEndTime,
|
|
|
|
|
// sSeriesName: sSeriesName,
|
|
|
|
@ -197,7 +194,7 @@ Page({
|
|
|
|
|
sTimeType: sTimeType,
|
|
|
|
|
sStartTime: sStartTime,
|
|
|
|
|
sEndTime: sEndTime,
|
|
|
|
|
sBrand: this.data.sBrand,
|
|
|
|
|
sBrand: this.data.headlBrand,
|
|
|
|
|
// sSeriesName: sSeriesName,
|
|
|
|
|
token: wx.getStorageSync('token') || 't%2BrswgjvzGM='
|
|
|
|
|
}
|
|
|
|
@ -231,12 +228,12 @@ Page({
|
|
|
|
|
},
|
|
|
|
|
handlerSet() {
|
|
|
|
|
wx.navigateTo({
|
|
|
|
|
url: '/pages/brandCrisis/crisiSet/index?brand=' + this.data.sBrand
|
|
|
|
|
url: '/pages/brandCrisis/crisiSet/index?brand=' + this.data.headlBrand
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
handlerGoList() {
|
|
|
|
|
wx.navigateTo({
|
|
|
|
|
url: '/pages/brandCrisis/crisisList/index?brand=' + this.data.sBrand
|
|
|
|
|
url: '/pages/brandCrisis/crisisList/index?brand=' + this.data.headlBrand
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|