Explorar o código

调整患者接口顺序,以及问诊页样式

liuqq %!s(int64=6) %!d(string=hai) anos
pai
achega
01fe16b9a6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/store/async-actions/patInfo.js

+ 1 - 1
src/store/async-actions/patInfo.js

@@ -98,7 +98,7 @@ export async function getPatientMessage(dispatch, getState){
   //设置初始模式
   dispatch({
     type: CONFIRM_TYPE,
-    confirmType:data1.modeValue
+    confirmType:data1.modeValue!=null?data1.modeValue:0
   });
   dispatch(getInitModules);     //确保病人信息获取以后再获取模板等数据,否则参数为空
   dispatch(getCommonList(5));     //获取常用化验标签列表