|
@@ -74,7 +74,7 @@ function getPushInfo() {
|
|
|
}
|
|
|
|
|
|
function getTreatment() {
|
|
|
- return post(config.pushTreatment,Object.assign({featureType: '8',ruleType:config.ruleTypeMap['8']},msg))
|
|
|
+ return post(config.pushInner,Object.assign({featureType: '8',ruleType:config.ruleTypeMap['8']},msg))
|
|
|
}
|
|
|
|
|
|
function getTipsInfo() {
|
|
@@ -93,11 +93,11 @@ function getPageInfo() {
|
|
|
// console.log({res1, res2, res3, res4})
|
|
|
const configArr = res1&&res1.data&&res1.data.data || []
|
|
|
const pushInfo = res2&&res2.data || {}
|
|
|
- const treatInfo = res3&&res3.data || {}
|
|
|
+ const treatInfo = res3&&res3.data &&res3.data || {}
|
|
|
const tipsInfo = res4&&res4.data || {}
|
|
|
const {confArr, showLabsNum, showPacsNum, labsAndPacMode} = transConf(configArr)
|
|
|
const pushResult = pushInfo.data || {};
|
|
|
- const treatResult = treatInfo.data || {}
|
|
|
+ const treatResult = treatInfo.data.treat || {}
|
|
|
let tipsResult = []
|
|
|
if(tipsInfo.data) {
|
|
|
if(tipsMode == '2') {
|