Explorar o código

慢病填充模板,现病史更改编辑状态

liucf %!s(int64=6) %!d(string=hai) anos
pai
achega
22a9006dad

+ 1 - 1
src/common/components/EditableSpan/index.jsx

@@ -82,7 +82,7 @@ class EditableSpan extends Component{
     this.setState({
       labelVal:text1
     });
-
+    
     const that = this;
     handleChange&&handleChange({text1,boxMark,i});
 

+ 1 - 0
src/store/actions/currentIll.js

@@ -98,6 +98,7 @@ export const fillChronicModule = (state,action)=>{
   let moduleData = JSON.parse(JSON.stringify(res.moduleData));//现病史模板
   res.data = fullfillText(moduleData).newArr;
   res.saveText = fullfillText(res.data).saveText;
+  res.editClear = false; //现病史框不可编辑
   res.update=Math.random();
   return res;
 }