|
@@ -13,7 +13,6 @@ class MainSuit extends Component{
|
|
constructor(props){
|
|
constructor(props){
|
|
super(props);
|
|
super(props);
|
|
this.state = {
|
|
this.state = {
|
|
- boxEditable:true,
|
|
|
|
boxLeft:null,
|
|
boxLeft:null,
|
|
boxTop:null,
|
|
boxTop:null,
|
|
symptom:false,
|
|
symptom:false,
|
|
@@ -22,7 +21,6 @@ class MainSuit extends Component{
|
|
clearTimer:null,
|
|
clearTimer:null,
|
|
overFlag:false,
|
|
overFlag:false,
|
|
};
|
|
};
|
|
- this.toggleEditable = this.toggleEditable.bind(this);
|
|
|
|
this.handleFocus = this.handleFocus.bind(this);
|
|
this.handleFocus = this.handleFocus.bind(this);
|
|
this.handleSelect = this.handleSelect.bind(this);
|
|
this.handleSelect = this.handleSelect.bind(this);
|
|
this.handleSearchSelect = this.handleSearchSelect.bind(this);
|
|
this.handleSearchSelect = this.handleSearchSelect.bind(this);
|
|
@@ -30,12 +28,6 @@ class MainSuit extends Component{
|
|
this.handleClick = this.handleClick.bind(this);
|
|
this.handleClick = this.handleClick.bind(this);
|
|
this.handleBlur = this.handleBlur.bind(this);
|
|
this.handleBlur = this.handleBlur.bind(this);
|
|
}
|
|
}
|
|
- toggleEditable(){
|
|
|
|
- this.setState({
|
|
|
|
- boxEditable:!this.state.boxEditable
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
|
|
|
|
getInlineTag(){
|
|
getInlineTag(){
|
|
const {datas,showArr,handleTailClick,selecteds,saveText,mainIds,allModules} = this.props;
|
|
const {datas,showArr,handleTailClick,selecteds,saveText,mainIds,allModules} = this.props;
|
|
@@ -296,8 +288,8 @@ class MainSuit extends Component{
|
|
title='主诉'
|
|
title='主诉'
|
|
editable={editClear||datas.length==0?true:false}
|
|
editable={editClear||datas.length==0?true:false}
|
|
boxLineHeight="24px"
|
|
boxLineHeight="24px"
|
|
- handleFocus={this.handleFocus}
|
|
|
|
- onchange={this.handleChange}
|
|
|
|
|
|
+ handleFocus={this.handleFocus}
|
|
|
|
+ handleChange={this.handleChange}
|
|
handleClick={this.handleClick}
|
|
handleClick={this.handleClick}
|
|
handleBlur={this.handleBlur}
|
|
handleBlur={this.handleBlur}
|
|
data={datas}
|
|
data={datas}
|