浏览代码

参数取值有问题

luolei 5 年之前
父节点
当前提交
4d654f97e2
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      src/store/reducers/assistCheck.js
  2. 2 2
      src/utils/tools.js

+ 1 - 1
src/store/reducers/assistCheck.js

@@ -12,7 +12,7 @@ const initSearchList = {
   list: [], //点击的结果
   assistLabel: [], //搜索的结果
   dataString: '', //结果拼接
-  dataArr: '', //结果拼接
+  dataArr: [], //结果拼接
   assistVal: '',
 
   hospitalPac: [], //医院检索到的

+ 2 - 2
src/utils/tools.js

@@ -1382,8 +1382,8 @@ function getAllString(checkedListImport,assistLabel,flg){
       "dateValue": tempArr[i].time,
       "name": "",
       "uniqueName": tempArr[i].name,
-      "desc": tempArr[i].imagingDiagnose,
-      "result": tempArr[i].imagingDiagnose,
+      "desc": tempArr[i].value,
+      "result": tempArr[i].value,
     }
     tmpArr.push(obj)
     tmpString += (tempArr[i].name + (tmpVal ? (':' + tmpVal) + ', ' : ': ') + (tempArr[i].time ? '报告日期:' + tempArr[i].time : '') + '^;')