Ver código fonte

主诉删除多余代码,添加注释

zhouna 5 anos atrás
pai
commit
ecde09537b

+ 0 - 8
src/components/MainSuit/index.jsx

@@ -13,7 +13,6 @@ class MainSuit extends Component{
   constructor(props){
     super(props);
     this.state = {
-      boxEditable:true,
       boxLeft:null,
       boxTop:null,
       symptom:false,
@@ -22,7 +21,6 @@ class MainSuit extends Component{
       clearTimer:null,
       overFlag:false,
     };
-    this.toggleEditable = this.toggleEditable.bind(this);
     this.handleFocus = this.handleFocus.bind(this);
     this.handleSelect = this.handleSelect.bind(this);
     this.handleSearchSelect = this.handleSearchSelect.bind(this);
@@ -30,12 +28,6 @@ class MainSuit extends Component{
     this.handleClick = this.handleClick.bind(this);
     this.handleBlur = this.handleBlur.bind(this);
   }
-  toggleEditable(){
-    this.setState({
-      boxEditable:!this.state.boxEditable
-    })
-  }
-
 
   getInlineTag(){
     const {datas,showArr,handleTailClick,selecteds,saveText,mainIds,allModules} = this.props;

+ 1 - 0
src/components/SpreadDrop/index.jsx

@@ -23,6 +23,7 @@ import $ from 'jquery';
  * tagType:标签类型
  * id:id
  * flag:仅主诉中使用
+ * isExtBlue:是否为查体生命体征标签蓝色显示
  *
  * ***/
 

+ 1 - 1
src/containers/MainSuit.js

@@ -17,7 +17,7 @@ import { SET_READ_MODE } from "@store/types/typeConfig";
 function mapStateToProps(state) {
   const {mainSuit,homePage,diagnosticList,typeConfig} = state;
   return {
-    showDrop:mainSuit.showDrop,//用于更新
+    //showDrop:mainSuit.showDrop,//用于更新
     update:mainSuit.update,
     CommonSymptoms:mainSuit.CommonSymptoms,//常见症状
     datas:mainSuit.data,//数据源