1178232204@qq.com 3 年 前
コミット
2cd91bcd3d
3 ファイル変更9 行追加7 行削除
  1. 4 0
      src/css/cdss.less
  2. 4 6
      src/js/cdss.js
  3. 1 1
      src/js/cdssHorizontal.js

+ 4 - 0
src/css/cdss.less

@@ -648,6 +648,7 @@ body {
   .hasvital,
   .medicineItem,
   .operationItem,
+  .nurseItem,
   .maylis,
   .haslis,
   .mayevaluation,
@@ -811,4 +812,7 @@ body {
   .titleIcon{
     width: 20px;
   }
+}
+.nurseIitleItem{
+  padding-left: 5px;
 }

+ 4 - 6
src/js/cdss.js

@@ -131,7 +131,7 @@ function getPushInfo() {
   }))
 }
 function pushByDisease(name, i) {
-  return post(config.pushInner, Object.assign({}, msg, {
+  return post(config.pushByDisease, Object.assign({}, msg, {
     featureType: '1,4,5,6,7,8,9,10,12,13',
     hospitalId: hospitalIdUrl || msg.hospitalId,
     ruleType: config.ruleTypeMap['22'],
@@ -369,7 +369,6 @@ function renderpushByMayDisease(name, i) {
       let medicinesPush = result.medicines || []
       let operationsPush = result.operations || []
       let nursePush = result.nurse || []
-      console.log(maydiagnoseType);
       if (symptomPush.length == 0 && vitalPush.length == 0 && lisPush.length == 0 && pacsPush.length == 0 && scalePush.length == 0 && disPush.length == 0 && treatPush.length == 0 && medicinesPush.length == 0 && operationsPush.length == 0 && nursePush.length == 0) {
         $.toast('toast1', '', 3000, '.maydiagnose', i);
       } else if (maydiagnoseType) {
@@ -415,7 +414,6 @@ function renderpushByHasDisease(name, i) {
       let medicinesPush = result.medicines || {}
       let operationsPush = result.operations || {}
       let nursePush = result.nurse || {}
-      console.log(hasdiagnoseType);
       if (symptomPush.length == 0 && vitalPush.length == 0 && lisPush.length == 0 && pacsPush.length == 0 && scalePush.length == 0 && disPush.length == 0 && treatPush.length == 0 && medicinesPush.length == 0 && operationsPush.length == 0 && nursePush.length == 0) {
         $.toast('toast1', '', 3000, '.hasdiagnose', i);
       } else if (hasdiagnoseType) {
@@ -623,7 +621,7 @@ function renderBillingNursePush(list, showNum) {
     for (let i = 0; i < list.length; i++) {
       const item = list[i];
       str += `<div class="shortBox">
-        <div class="nurseIitle" data-name="${item.orderName}" data-type="${item.type}"><div><span class="title">${item.msg}</span>${renderNursePush(item.staticList)}</div></div>
+        <div class="nurseIitle" data-name="${item.orderName}" data-type="${item.type}"><div class="nurseIitleItem"><span class="title">${item.msg}</span>${renderNursePush(item.staticList)}</div></div>
       </div>`
     }
     $('.moduleItem.nurse').append(str)
@@ -1200,8 +1198,8 @@ function renderItemWrapper(list, showNum, name) {
     shortStr += `<span class="showMore"><img class="iconArrowImg" src="${iconArrowDown}"></span>`
     longStr += `<span class="showLess"><img class="iconArrowImg"  src="${iconArrowUp}"></span>`
     return {
-      shortStr: `<div class="shortBox"><span class="shortBox-tit">${name ? name + ':' : ''}</span><div class="${name == '推荐检验' || name == '推荐检查'?'shortBox-tit1' : 'shortBox-tit2'}">${shortStr}</div></div>`,
-      longStr: `<div class="longBox"><span class="shortBox-tit">${name ? name + ':' : ''}</span><divclass="${name == '推荐检验' || name == '推荐检查'?'shortBox-tit1' : 'shortBox-tit2'}">${shortStr}</div></div></div>`
+      shortStr: `<div class="shortBox"><span class="shortBox-tit">${name ? name + ':' : ''}</span><div class="${name ? `${name == '推荐检验' || name == '推荐检查'?'shortBox-tit1' : 'shortBox-tit2'}` : ''}">${shortStr}</div></div>`,
+      longStr: `<div class="longBox"><span class="shortBox-tit">${name ? name + ':' : ''}</span><divclass="${name ? `${name == '推荐检验' || name == '推荐检查'?'shortBox-tit1' : 'shortBox-tit2'}` : ''}">${shortStr}</div></div></div>`
     }
   }
 }

+ 1 - 1
src/js/cdssHorizontal.js

@@ -70,7 +70,7 @@ function getPushInfo() {
 
 }
 function pushByDisease(name, i) {
-  return post(config.pushInner, Object.assign({}, msg, {
+  return post(config.pushByDisease, Object.assign({}, msg, {
     featureType: '1,4,5,6,7,8,9,10,12,13',
     hospitalId: hospitalIdUrl || msg.hospitalId,
     ruleType: config.ruleTypeMap['22'],