瀏覽代碼

问题修改

1178232204@qq.com 3 年之前
父節點
當前提交
477bbf31df
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/js/cdssHorizontal.js

+ 2 - 2
src/js/cdssHorizontal.js

@@ -583,7 +583,7 @@ function renderMayVitalPush(list, inx) {
   }
   }
   if (list.length > 0 && state != 0) {
   if (list.length > 0 && state != 0) {
     moduleNum++
     moduleNum++
-    let { shortStr } = renderItemWrapper(list, num, '体征')
+    let { shortStr,longStr } = renderItemWrapper(list, num, '体征')
     $(".moduleItem .item[data-index=" + inx + "]").append("<div class='mayvital'></div>")
     $(".moduleItem .item[data-index=" + inx + "]").append("<div class='mayvital'></div>")
     $(".moduleItem .item[data-index=" + inx + "] .mayvital").append(shortStr)
     $(".moduleItem .item[data-index=" + inx + "] .mayvital").append(shortStr)
     $(".moduleItem .item[data-index=" + inx + "] .mayvital").append(renderLongStr(titleConfigH["symptomPush"].name, longStr, titleConfigH["symptomPush"].location))
     $(".moduleItem .item[data-index=" + inx + "] .mayvital").append(renderLongStr(titleConfigH["symptomPush"].name, longStr, titleConfigH["symptomPush"].location))
@@ -602,7 +602,7 @@ function renderHasVitalPush(list, inx) {
   }
   }
   if (list.length > 0 && state != 0) {
   if (list.length > 0 && state != 0) {
     moduleNum++
     moduleNum++
-    let { shortStr } = renderItemWrapper(list, num, '体征')
+    let { shortStr,longStr } = renderItemWrapper(list, num, '体征')
     $(".moduleItem .item[data-index=" + inx + "]").append("<div class='hasvital'></div>")
     $(".moduleItem .item[data-index=" + inx + "]").append("<div class='hasvital'></div>")
     $(".moduleItem .item[data-index=" + inx + "] .hasvital").append(shortStr)
     $(".moduleItem .item[data-index=" + inx + "] .hasvital").append(shortStr)
     $(".moduleItem .item[data-index=" + inx + "] .hasvital").append(renderLongStr(titleConfigH["symptomPush"].name, longStr, titleConfigH["symptomPush"].location))
     $(".moduleItem .item[data-index=" + inx + "] .hasvital").append(renderLongStr(titleConfigH["symptomPush"].name, longStr, titleConfigH["symptomPush"].location))