xiezhiming 11 månader sedan
förälder
incheckning
27c9bd6016
4 ändrade filer med 206 tillägg och 159 borttagningar
  1. 11 0
      src/html/staticInfo.html
  2. 42 23
      src/js/cdss.js
  3. 141 135
      src/js/promise.js
  4. 12 1
      src/js/staticInfo.js

+ 11 - 0
src/html/staticInfo.html

@@ -68,6 +68,17 @@
       </div>
     </div>
   </div>
+  <div class=" container disCopy classicCase">
+    <div class="content">
+
+      <div class="infos"></div>
+      <div class="anchors">
+        <div class="a-circle"></div>
+        <ul></ul>
+        <div class="a-circle a-circle-2"></div>
+      </div>
+    </div>
+  </div>
   <div class=" container disCopy scale">
     <div class="content">
 

+ 42 - 23
src/js/cdss.js

@@ -12,28 +12,28 @@ require('./../css/popup.css');
 require('./../css/followUpV.less');
 require('../css/staticSearch.less')
 require('./../js/staticSearch.js');//静态知识搜索
-require('./../images/empty.png').replace(/^undefined/g, '')
-require('./../images/icon_admin.png').replace(/^undefined/g, '')
-require('./../images/empty2.png').replace(/^undefined/g, '')
-require('./../images/empty3.png').replace(/^undefined/g, '')
-require('./../images/icon_no.png').replace(/^undefined/g, '')
-require('./../images/loading.gif').replace(/^undefined/g, '')
-require('./../images/right.png').replace(/^undefined/g, '')
-require('./../images/new.png').replace(/^undefined/g, '')
-require('./../images/t1.png').replace(/^undefined/g, '')
-require('./../images/t2.png').replace(/^undefined/g, '')
-require('./../images/t3.png').replace(/^undefined/g, '')
-require('./../images/go.png').replace(/^undefined/g, '')
-require('./../images/g1.png').replace(/^undefined/g, '')
+require('./../images/empty.png')
+require('./../images/icon_admin.png')
+require('./../images/empty2.png')
+require('./../images/empty3.png')
+require('./../images/icon_no.png')
+require('./../images/loading.gif')
+require('./../images/right.png')
+require('./../images/new.png')
+require('./../images/t1.png')
+require('./../images/t2.png')
+require('./../images/t3.png')
+require('./../images/go.png')
+require('./../images/g1.png')
 // require('./popupEdit.js');
 
-let infoImg = require('./../images/icon_info.png').replace(/^undefined/g, '')
-let infoImgOn = require('./../images/icon_info_on.png').replace(/^undefined/g, '')
-let iconArrowUp = require('./../images/icon_arrow_up.png').replace(/^undefined/g, '')
-let iconArrowDown = require('./../images/icon_arrow_down.png').replace(/^undefined/g, '')
-let iconMark = require('./../images/icon_mark.png').replace(/^undefined/g, '')
-let warnImg = require('./../images/icon_warning.png').replace(/^undefined/g, '')
-let warnImgWhite = require('./../images/icon_waring_white.png').replace(/^undefined/g, '')
+let infoImg = require('./../images/icon_info.png')
+let infoImgOn = require('./../images/icon_info_on.png')
+let iconArrowUp = require('./../images/icon_arrow_up.png')
+let iconArrowDown = require('./../images/icon_arrow_down.png')
+let iconMark = require('./../images/icon_mark.png')
+let warnImg = require('./../images/icon_warning.png')
+let warnImgWhite = require('./../images/icon_waring_white.png')
 
 
 const $ = require("jquery");
@@ -267,6 +267,7 @@ function renderPage(pageSet) {
     return;
   }
   if (hasAuxiliary) {
+    console.log(hasAuxiliary);
     $('.empty-box').hide();
     $(".loading").show();
     renderModuleWrapper(planDetail)
@@ -301,6 +302,8 @@ function renderPushData() {
       let symptomPush = result.symptom || []
       let checkupPush = result.vital || []
       let medicinesPush = result.medicines || []
+      //let casesPush = result.cases || [] //经典病历
+      let casesPush = ['111', '222', '333']
       let operationsPush = result.operations || []
       let treatPush = result.treat && result.treat[0] || {}
       let nursePush = result.nurse || []
@@ -312,10 +315,10 @@ function renderPushData() {
       let checkupNum = $(".moduleItem.vital").attr("data-num") || 5
       let symptomNum = $(".moduleItem.symptom").attr("data-num") || 5
       let medicinesNum = $(".moduleItem.medicine").attr("data-num") || 5
+      let casesNum = $(".moduleItem.classiccase").attr("data-num") || 5
       let operationsNum = $(".moduleItem.operation").attr("data-num") || 5
       let nurseNum = $(".moduleItem.nurse").attr("data-num") || 5
 
-
       renderLis(lisPush, lisNum)
       renderScale(scalePush, scaleNum)
       renderPacs(pacsPush, pacsNum)
@@ -323,6 +326,7 @@ function renderPushData() {
       renderSymptomPush(symptomPush, symptomNum)
       renderDiag(diagPush)
       renderMedicinesPush(medicinesPush, medicinesNum)
+      renderCasesPush(casesPush, casesNum)//经典病历
       renderOperationPush(operationsPush, operationsNum)
       rendergeneraTreatPush(generaTreatPush)
       renderNurse(nursePush, nurseNum)
@@ -340,7 +344,7 @@ function adjustHei() {
 }
 function isNeedPush(list) {
   let pass = false;
-  let pushCode = ['critical', "diag", "lis", "pacs", "symptom", "vital", "treat", "medicines", 'evaluation', 'general', 'medicine', 'operation', 'nurse']
+  let pushCode = ['critical', "diag", "lis", "pacs", "symptom", "vital", "treat", "medicines", 'evaluation', 'general', 'medicine', 'operation', 'nurse', 'classiccase']//修改
   for (let i = 0; i < list.length; i++) {
     if (pushCode.indexOf(list[i].code) > -1) {
       if (list[i].status == "1") {
@@ -348,6 +352,7 @@ function isNeedPush(list) {
       }
     }
   }
+  console.log(pass);
   return pass;
 }
 function isNeedwriteStandardPush(list) {
@@ -597,6 +602,7 @@ function rendergeneraTreatPush(list) {
 }
 function renderMedicinesPush(list, showNum) {
   $(".moduleItem.medicine").append(titleStr('drugPush'))
+  console.log($(".moduleItem.medicine").length);
 
   if (list.length > 0 && $(".moduleItem.medicine").length > 0) {
     moduleNum++
@@ -605,10 +611,21 @@ function renderMedicinesPush(list, showNum) {
     $(".moduleItem.medicine").css("display", "block")
   }
 
+}
+
+function renderCasesPush(list, showNum) {
+  $(".moduleItem.classiccase").append(titleStr('classicPush'))
+  console.log($(".moduleItem.classiccase").length);
+  if (list.length > 0 && $(".moduleItem.classiccase").length > 0) {
+    moduleNum++
+    let { shortStr, longStr } = renderItemWrapper(list, showNum)
+    $(".moduleItem.classiccase").append(shortStr).append(longStr)
+    $(".moduleItem.classiccase").css("display", "block")
+  }
+
 }
 function renderOperationPush(list, showNum) {
   $(".moduleItem.operation").append(titleStr('operationPush'))
-
   if (list.length > 0 && $(".moduleItem.operation").length > 0) {
     moduleNum++
     let { shortStr, longStr } = renderItemWrapper(list, showNum)
@@ -628,6 +645,8 @@ function renderItemWrapper(list, showNum) {
     }
     longStr += renderPushItem(list[i])
   }
+  console.log(shortStr);
+
   if (showNum1 >= list.length) {
     return {
       shortStr: `<div class="shortBox">${shortStr}</div>`,

+ 141 - 135
src/js/promise.js

@@ -1,32 +1,24 @@
-const qs = require('qs');
 const $ = require("jquery");
 // var Promise = require('./rePromise');
 var Promise = require("bluebird");
-let warn = require('./../images/icon-warning.png').replace(/^undefined/g, '')
-let success = require('./../images/icon-success.png').replace(/^undefined/g, '')
-let iconWarning = require('./../images/icon_waring_white.png').replace(/^undefined/g, '')
-let iconWarning1 = require('./../images/icon_warning.png').replace(/^undefined/g, '')
-let iconSymptomPush = require('./../images/icon_symptom_push.png').replace(/^undefined/g, '')
-let iconLisPush = require('./../images/icon_lis_push.png').replace(/^undefined/g, '')
-let iconPacsPush = require('./../images/icon_pacs_push.png').replace(/^undefined/g, '')
-let iconScalePush = require('./../images/icon_scale_push.png').replace(/^undefined/g, '')
-let iconNursePush = require('./../images/icon_nurse_push.png').replace(/^undefined/g, '')
-
-let iconOperationPush = require('./../images/icon_operation_push.png').replace(/^undefined/g, '')
-let iconDrugPush = require('./../images/icon_drug_push.png').replace(/^undefined/g, '')
-let iconDiagPush = require('./../images/icon_diag_push.png').replace(/^undefined/g, '')
-let iconDiagPush2 = require('./../images/icon_diag_push2.png').replace(/^undefined/g, '')
-let iconCommonTreatPush = require('./../images/icon_drug_push.png').replace(/^undefined/g, '')
-let iconCheckupPush = require('./../images/icon_checkup_push.png').replace(/^undefined/g, '')
-let iconTreat = require('./../images/zhiliao.png').replace(/^undefined/g, '')
-let writingNorms = require('./../images/writingNorms.png').replace(/^undefined/g, '')
-
-let iconTreatMedicine = require('./../images/treat_icon.png').replace(/^undefined/g, '')
-let iconCaseWrite = require('./../images/icon_case_write.png').replace(/^undefined/g, '')
-let intelligentDiagnosis = require('./../images/intelligentDiagnosis.png').replace(/^undefined/g, '')
-let therapeuticSchedule = require('./../images/therapeuticSchedule.png').replace(/^undefined/g, '')
+let iconWarning = require('./../images/icon_waring_white.png')
+let iconWarning1 = require('./../images/icon_warning.png')
+let iconSymptomPush = require('./../images/icon_symptom_push.png')
+let iconLisPush = require('./../images/icon_lis_push.png')
+let iconPacsPush = require('./../images/icon_pacs_push.png')
+let iconScalePush = require('./../images/icon_scale_push.png')
+let iconNursePush = require('./../images/icon_nurse_push.png')
 
+let iconOperationPush = require('./../images/icon_operation_push.png')
+let iconDrugPush = require('./../images/icon_drug_push.png')
+let iconDiagPush2 = require('./../images/icon_diag_push2.png')
+let iconCheckupPush = require('./../images/icon_checkup_push.png')
+let iconTreat = require('./../images/zhiliao.png')
+let writingNorms = require('./../images/writingNorms.png')
 
+let iconCaseWrite = require('./../images/icon_case_write.png')
+let intelligentDiagnosis = require('./../images/intelligentDiagnosis.png')
+let therapeuticSchedule = require('./../images/therapeuticSchedule.png')
 
 
 //重写assign方法imgR
@@ -60,12 +52,13 @@ window.console = window.console || (function () {
 
 const config = {
   pushInner: '/sys/push/push',
-  indicationPush:'/sys/push/indicationPush',
-    indicationPushCache: '/sys/mr/getIndicationMr',
+  indicationPush: '/sys/push/indicationPush',
+  indicationPushCache: '/sys/mr/getIndicationMr',
   calculate: '/api/data/calc/calculate',
   disclaimer: '/sys/disclaimerInfo/getDisclaimerInfo',
   information: '/kl/conceptInfo/getStaticKnowledge',
-  getStaticKnowledgeForHIS:'/kl/conceptInfo/getStaticKnowledgeForHIS', //对接一对多
+  caseInformation: '/kl/conceptInfo/getClassicCaseInfo',//经典病历信息
+  getStaticKnowledgeForHIS: '/kl/conceptInfo/getStaticKnowledgeForHIS', //对接一对多
   informationMore: '/api/data/conceptDetail/getConceptDetails',
   pushScale: '/api/data/push/pushScale',
   getSysSetInfoDatas: '/sys/plan/getSysPlanInfoDatas',
@@ -75,20 +68,20 @@ const config = {
   getStaticKnowledge: '/kl/conceptInfo/staticKnowledgeIndex',//静态知识检索
   getStaticScale: '/api/data/search/getScale',
   dictionaryInfo: '/sys/dictionaryInfo/getList', //字典信息
-  getPushSet:'/sys/plan/getSysPlanInfoDatas', //获取推送配置
-  analyse:'/api/data/mrqc/analyse',
-  getHosptDeptUsal:'/api/data/concept/getHosptDeptUsal', //获取科室常用标签
-  caseWritingPrompt:'/sys/mrqc/caseWritingPrompt',//病历书写规范提示
-  followUp:'/sys/push/pushPlan', //随访计划
-  ruleTypeMap:{     //大数据推送参数featureType对应
-    '22':'1,2',
-    '11':'3',
-    '8':'4,5'
+  getPushSet: '/sys/plan/getSysPlanInfoDatas', //获取推送配置
+  analyse: '/api/data/mrqc/analyse',
+  getHosptDeptUsal: '/api/data/concept/getHosptDeptUsal', //获取科室常用标签
+  caseWritingPrompt: '/sys/mrqc/caseWritingPrompt',//病历书写规范提示
+  followUp: '/sys/push/pushPlan', //随访计划
+  ruleTypeMap: {     //大数据推送参数featureType对应
+    '22': '1,2',
+    '11': '3',
+    '8': '4,5'
   },
-  staticSearch:'/kl/conceptInfo/staticIndexPage', //检索静态知识
+  staticSearch: '/kl/conceptInfo/staticIndexPage', //检索静态知识
 }
-const isLocal = window.location.hostname.indexOf('localhost') !=-1;
-const imageUrlPrefix = isLocal ?'http://172.17.14.242:82':'http://223.93.170.82:12282';
+const isLocal = window.location.hostname.indexOf('localhost') != -1;
+const imageUrlPrefix = isLocal ? 'http://172.17.14.242:82' : 'http://223.93.170.82:12282';
 // const getUrlArgObject = function(parm) {  
 //   var query = decodeURI(window.location.search);
 //   var args = qs.parse(qs.parse(query.substr(1)));
@@ -110,24 +103,24 @@ const getUrlArgObject = function getQueryString(name) {
 }
 
 const get = function (url, data) {
-    return new Promise((resolve, reject) => {
-        $.ajax({
-            method: 'get',
-            url: url,
-            //data: data,
-            contentType: "application/json; charset=UTF-8",
-            beforeSend: function (xmlHttp) {
-                xmlHttp.setRequestHeader("If-Modified-Since", "0");
-                xmlHttp.setRequestHeader("Cache-Control", "no-cache");
-            },
-            success: function (res) {
-                resolve({data: res});
-            },
-            error: function (error) {
-                reject(error);
-            },
-        });
+  return new Promise((resolve, reject) => {
+    $.ajax({
+      method: 'get',
+      url: url,
+      //data: data,
+      contentType: "application/json; charset=UTF-8",
+      beforeSend: function (xmlHttp) {
+        xmlHttp.setRequestHeader("If-Modified-Since", "0");
+        xmlHttp.setRequestHeader("Cache-Control", "no-cache");
+      },
+      success: function (res) {
+        resolve({ data: res });
+      },
+      error: function (error) {
+        reject(error);
+      },
     });
+  });
 }
 const post = function (url, data) {
   return new Promise((resolve, reject) => {
@@ -141,9 +134,11 @@ const post = function (url, data) {
         xmlHttp.setRequestHeader("Cache-Control", "no-cache");
       },
       success: function (res) {
+        console.log('success');
         resolve({ data: res });
       },
       error: function (error) {
+        console.log(error.status);
         reject(error);
       },
     });
@@ -197,171 +192,182 @@ const throttle = function (fn, threshhold) {
     }
   }
 }
-const colorMap={
-  warnColor:'#FFE8DD', //智能警示等tab颜色
-  suggerColor:'#E3F0FF', //推荐提示tab颜色
-  treatColor:'#E3FEFE',  //治疗等tab颜色
+const colorMap = {
+  warnColor: '#FFE8DD', //智能警示等tab颜色
+  suggerColor: '#E3F0FF', //推荐提示tab颜色
+  treatColor: '#E3FEFE',  //治疗等tab颜色
 }
 const titleConfig = {
-  warning:{
+  warning: {
     background: colorMap.warnColor,
     icon: iconWarning1,
-    name:"智能警示"
+    name: "智能警示"
   },
-  symptomPush:{
+  symptomPush: {
     background: colorMap.suggerColor,
     icon: iconSymptomPush,
-    name:"推荐症状"
+    name: "推荐症状"
   },
-  diagPush:{
+  diagPush: {
     background: colorMap.suggerColor,
     icon: iconDiagPush2,
-    name:"智能诊断"
+    name: "智能诊断"
   },
-  checkupPush:{
+  checkupPush: {
     background: colorMap.suggerColor,
     icon: iconCheckupPush,
-    name:"推荐体格检查"
+    name: "推荐体格检查"
   },
-  scalePush:{
+  scalePush: {
     background: colorMap.suggerColor,
     icon: iconScalePush,
-    name:"推荐量表"
+    name: "推荐量表"
   },
-  lisPush:{
+  lisPush: {
     background: colorMap.suggerColor,
     icon: iconLisPush,
-    name:"推荐检验"
+    name: "推荐检验"
   },
-  pacsPush:{
+  pacsPush: {
     background: colorMap.suggerColor,
     icon: iconPacsPush,
-    name:"推荐检查"
+    name: "推荐检查"
   },
-  drugPush:{
+  drugPush: {
     background: colorMap.treatColor,
     icon: iconDrugPush,
-    name:"推荐用药"
+    name: "推荐用药"
+  },
+  classicPush: {
+    background: colorMap.treatColor,
+    icon: iconOperationPush,
+    name: "经典病历"
   },
   nursePush: {
     background: colorMap.treatColor,
     icon: iconNursePush,
     name: "推荐护理"
   },
-  operationPush:{
+  operationPush: {
     background: colorMap.treatColor,
     icon: iconOperationPush,
-    name:"推荐手术及操作"
+    name: "推荐手术及操作"
   },
-  generaTreatPush:{
+  generaTreatPush: {
     background: colorMap.treatColor,
     icon: iconTreat,
-    name:"一般治疗"
+    name: "一般治疗"
   },
-  casewritingPush:{
+  casewritingPush: {
     background: colorMap.warnColor,
     icon: iconCaseWrite,
-    name:"病历书写规范提示"
+    name: "病历书写规范提示"
   }
 }
 const titleConfigH = {
-  warning:{
+  warning: {
     background: "#FFE8DD",
     icon: iconWarning1,
-    name:"智能警示",
-    location:"left"
+    name: "智能警示",
+    location: "left"
   },
-  symptomPush:{
+  symptomPush: {
     background: "#EEF5FD",
     icon: iconSymptomPush,
-    name:"推荐症状",
-    location:"left"
+    name: "推荐症状",
+    location: "left"
   },
-  diagPush:{
+  diagPush: {
     background: "#FAECED",
     icon: intelligentDiagnosis,
-    name:"智能诊断",
-    location:"left"
+    name: "智能诊断",
+    location: "left"
   },
-  checkupPush:{
+  checkupPush: {
     background: "#EEF5FD",
     icon: iconCheckupPush,
-    name:"体格检查",
-    location:"left"
+    name: "体格检查",
+    location: "left"
   },
-  scalePush:{
+  scalePush: {
     background: "#EEF5FD",
     icon: iconScalePush,
-    name:"推荐量表",
-    location:"left"
+    name: "推荐量表",
+    location: "left"
   },
-  lisPush:{
+  lisPush: {
     background: "#ECF4FC",
     icon: iconLisPush,
-    name:"推荐检验",
-    location:"left"
+    name: "推荐检验",
+    location: "left"
   },
-  pacsPush:{
+  pacsPush: {
     background: "#ECF4FC",
     icon: iconPacsPush,
-    name:"推荐检查",
-    location:"left"
+    name: "推荐检查",
+    location: "left"
   },
-  generaTreatPush:{
+  generaTreatPush: {
     background: "#E3FEFE",
     icon: iconTreat,
-    name:"一般治疗",
-    location:"right"
+    name: "一般治疗",
+    location: "right"
   },
-  drugPush:{
+  drugPush: {
     background: "#E3FEFE",
     icon: iconDrugPush,
-    name:"推荐用药",
-    location:"right"
+    name: "推荐用药",
+    location: "right"
+  },
+  classicPush: {
+    background: "#E3FEFE",
+    icon: iconOperationPush,
+    name: "经典病历",
+    location: "right"
   },
-  operationPush:{
+  operationPush: {
     background: "#E3FEFE",
     icon: iconOperationPush,
-    name:"手术/操作",
-    location:"right"
+    name: "手术/操作",
+    location: "right"
   },
-    nursePush: {
-        background: "#E3FEFE",
-        icon: iconNursePush,
-        name: "推荐护理",
-        location: "right"
-    },
-  vigilancePush:{
+  nursePush: {
+    background: "#E3FEFE",
+    icon: iconNursePush,
+    name: "推荐护理",
+    location: "right"
+  },
+  vigilancePush: {
     background: "#FFE8DD",
     icon: iconWarning,
-    name:"警惕",
-    location:"left"
+    name: "警惕",
+    location: "left"
   },
-  treat:{
+  treat: {
     background: "#FFE8DD",
     icon: therapeuticSchedule,
-    name:"治疗方案"
+    name: "治疗方案"
   },
-  casewritingPush:{
+  casewritingPush: {
     background: "#FFE8DD",
     icon: writingNorms,
-    name:"病历书写规范提示",
-    location:"left"
+    name: "病历书写规范提示",
+    location: "left"
   }
 }
-const Toast = function (msg, duration,type) {
+const Toast = function (msg, duration, type) {
   duration = isNaN(duration) ? 3000 : duration;
   var m = document.createElement('div');
-  if(type == 'warn'){
-    m.innerHTML = '<div style="margin:auto"><img class="warn" style="margin-right:14px;float:left" src="./../images/icon-warning.png" /><span>'+msg+'</span></div>'
+  if (type == 'warn') {
+    m.innerHTML = '<div style="margin:auto"><img class="warn" style="margin-right:14px;float:left" src="./../images/icon-warning.png" /><span>' + msg + '</span></div>'
     m.style.cssText = "margin:auto;width:250px;vertical-align:middle;padding:25px 14px;height: 30px;color: #fff;line-height: 30px;text-align: center;border-radius: 8px;position: absolute;top: 0;left: 0;right:0;bottom:0;z-index: 999999;background: #333;font-size: 16px;";
-  }else if(type == 'success'){
-    m.innerHTML = '<div style="margin:auto;width:120px"><img class="warn" style="width:32px;margin-right:14px;float:left" src="./../images/icon-success.png" /><span>' + msg +'</span></div>'
+  } else if (type == 'success') {
+    m.innerHTML = '<div style="margin:auto;width:120px"><img class="warn" style="width:32px;margin-right:14px;float:left" src="./../images/icon-success.png" /><span>' + msg + '</span></div>'
     m.style.cssText = "margin:auto;width:120px;vertical-align:middle;padding:25px 14px;height: 30px;color: #fff;line-height: 30px;text-align: center;border-radius: 8px;position: absolute;top: 0;left: 0;right:0;bottom:0;z-index: 999999;background: #333;font-size: 16px;";
   }
-  
-  
-  $('.warn').css('margin-top','10px')
+
+
+  $('.warn').css('margin-top', '10px')
   document.body.appendChild(m);
   setTimeout(function () {
     var d = 0.5;
@@ -372,7 +378,7 @@ const Toast = function (msg, duration,type) {
 }
 module.exports = {
   config,
-    get,
+  get,
   post,
   getUrlArgObject,
   imageUrlPrefix,

+ 12 - 1
src/js/staticInfo.js

@@ -24,7 +24,7 @@ let printing2 = require('./../images/printing2.png');
 let recommend = require('./../images/recommend.png');
 let hel = require('./../images/icon-hel.png');
 
-let showName, noticeName, clinicalPathwayName, clinicalGuidelineName, isclick, top = 0
+let showName, noticeName, clinicalPathwayName, clinicalGuidelineName, classicCaseName, isclick, top = 0
 function myBrowser() {
   var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
   var isOpera = userAgent.indexOf("Opera") > -1;
@@ -42,8 +42,12 @@ function getInfomation() {
     "mrId": getUrlArgObject('mrId')
   };
   showName = param.name
+  console.log(showName);
   $(".tabBox .title").html(showName);
 
+  baseType = param.type
+  console.log(baseType);
+
   post(config.information, param).then((res) => {
     const data = res.data.data
     // const data = dataaaa.data
@@ -64,12 +68,14 @@ function getInfomation() {
     var noticeInfo = detailList['注意事项']
     var clinicalPathwayInfo = detailList['临床路径']
     var clinicalGuidelineInfo = detailList['诊疗指南']
+    var classicCaseInfo = detailList['经典病历']
 
     var scaleInfo = data.scale ? data.scale.scaleDetails : ''
     var name = data.name
     noticeName = data.noticeName || "注意事项"
     clinicalPathwayName = data.clinicalPathwayName || "临床路径"
     clinicalGuidelineName = data.clinicalGuidelineName || "诊疗指南"
+    classicCaseName = data.classicCaseName || "经典病历"
 
     renderTab(detailList, scale)
 
@@ -77,6 +83,7 @@ function getInfomation() {
     noticeInfo && renderContent(noticeInfo, 'notice')
     clinicalPathwayInfo && renderContent(clinicalPathwayInfo, 'clinicalPathway')
     clinicalGuidelineInfo && renderContent(clinicalGuidelineInfo, 'clinicalGuideline')
+    classicCaseInfo && renderContent(classicCaseInfo, 'classicCase')
 
     scaleInfo && renderContentscale(scaleInfo, 'scale', name)
     $('.content img').bind('contextmenu', function () {
@@ -88,6 +95,7 @@ function getInfomation() {
 getInfomation();
 
 
+
 function renderContent(list, contentWrapClassName) {
   for (var i = 0; i < list.length; i++) {
     var item = list[i];
@@ -517,6 +525,9 @@ function renderTab(detailList, scale) {
     $(".tabList").append(`<span class="tab" data-module="clinicalGuideline" data-title="` + clinicalGuidelineName + `">诊疗指南</span>`)
     //$(".tabBox .title").html(noticeName);
   }
+  if (detailList['经典病历']) {
+    $(".tabList").append(`<span class="tab" data-module="classicCase" data-title="` + classicCaseName + `">经典病历</span>`)
+  }
   if (!!scale && getUrlArgObject('type') == 8) {
     $(".tabList").append(`<span class="tab" data-module="scale" data-title="` + showName + `">评估内容</span>`)
     //$(".tabBox .title").html(noticeName);