|
@@ -47,7 +47,8 @@ function getTcmMr(mrId, config) {
|
|
//获取处方推荐
|
|
//获取处方推荐
|
|
function getTcmData(param, config) {
|
|
function getTcmData(param, config) {
|
|
const item = config.planDetails.filter((it) => it.code === "treatment");
|
|
const item = config.planDetails.filter((it) => it.code === "treatment");
|
|
- const num = (item[0] || {}).number || 3;
|
|
|
|
|
|
+ const isHor = window.location.pathname.indexOf("cdssHorizontal") > -1;
|
|
|
|
+ const num = isHor ? 3 : ((item[0] || {}).number || 3);
|
|
const {tcmDiag, tcmSyndrome} = param;
|
|
const {tcmDiag, tcmSyndrome} = param;
|
|
if (!tcmDiag) { //没有推送入参时不显示推送模块
|
|
if (!tcmDiag) { //没有推送入参时不显示推送模块
|
|
$(".recipe").hide();
|
|
$(".recipe").hide();
|