|
@@ -37,7 +37,8 @@ let moduleConfig={
|
|
|
let allInterface = 0
|
|
|
let hasCompleteTnterface = 0
|
|
|
let moduleNum = 0
|
|
|
-let mrId = getUrlArgObject('mrId')
|
|
|
+let mrId = getUrlArgObject('mrId')
|
|
|
+let pushMrId = getUrlArgObject('pushMrId')
|
|
|
const tipsMode = getUrlArgObject('tipsMode') || 1
|
|
|
let planCode = getUrlArgObject('planCode') || 'all'
|
|
|
let hospitalIdUrl = getUrlArgObject('hospitalId') || ''
|
|
@@ -57,7 +58,8 @@ function getPushInfo() {
|
|
|
|
|
|
}
|
|
|
function getPusgWarning(){
|
|
|
- return post(config.indicationPush,Object.assign({},msg,{ruleType: '1,2,3,4',hospitalId:hospitalIdUrl||msg.hospitalId}))
|
|
|
+ const indPush = pushMrId ? config.indicationPushCache : config.indicationPush;
|
|
|
+ return post(indPush, Object.assign({}, msg, {mrId: pushMrId || mrId}))
|
|
|
}
|
|
|
function getWriteStandardPush(){
|
|
|
return post(config.caseWritingPrompt,Object.assign({},msg,{hospitalId:2||msg.hospitalId}))
|