|
@@ -32,8 +32,6 @@ class DiagnosticList extends Component {
|
|
|
assessId:'',
|
|
|
disName:'',
|
|
|
isAssessConfirm:false,
|
|
|
- radioVal:{}, //可能结果选择内容
|
|
|
- possible:{}, //可能结果
|
|
|
hasOndel: false,
|
|
|
hasOnIndex: -1
|
|
|
}
|
|
@@ -48,7 +46,6 @@ class DiagnosticList extends Component {
|
|
|
this.closeHistoryCaseModal = this.closeHistoryCaseModal.bind(this);
|
|
|
this.referCase = this.referCase.bind(this);
|
|
|
this.handleSaveAssess = this.handleSaveAssess.bind(this); //评估弹窗确定
|
|
|
- this.handleSavePossible = this.handleSavePossible.bind(this);
|
|
|
this.onPrint = this.onPrint.bind(this);
|
|
|
}
|
|
|
onPrint() {
|
|
@@ -209,12 +206,6 @@ class DiagnosticList extends Component {
|
|
|
dragBox('dragModalWrap','dragModalTitle','del')
|
|
|
}
|
|
|
}
|
|
|
- handleSavePossible(obj){
|
|
|
- this.setState({
|
|
|
- possible:Object.assign({},obj.possible),
|
|
|
- radioVal:Object.assign({},obj.radioVal),//不设置radioVal只有最近一次选中的值
|
|
|
- })
|
|
|
- }
|
|
|
handleSaveAssess(){
|
|
|
this.setState({
|
|
|
isAssessConfirm:true
|
|
@@ -231,12 +222,6 @@ class DiagnosticList extends Component {
|
|
|
if (this.props.diagnosticStr != nextprops.diagnosticStr) {
|
|
|
this.props.getBilling();
|
|
|
}
|
|
|
- if(deepClone(nextprops.wholeResults)!=deepClone(this.props.wholeResults)){
|
|
|
- this.setState({
|
|
|
- radioVal:Object.assign({},nextprops.wholeResults.radioVal),
|
|
|
- possible:Object.assign({},nextprops.wholeResults.possible),
|
|
|
- })
|
|
|
- }
|
|
|
}
|
|
|
handleEnterDel(index) {
|
|
|
this.setState({
|
|
@@ -252,7 +237,7 @@ class DiagnosticList extends Component {
|
|
|
}
|
|
|
render(){
|
|
|
const { list, treatment, showReferRecord, showHistoryCase ,chronicMagItem,loading} = this.props;
|
|
|
- const { visible, treatTitle ,showAssess, isAssessConfirm, radioVal, possible,assessId,disName, hasOndel, hasOnIndex} = this.state;
|
|
|
+ const {visible, treatTitle, showAssess, isAssessConfirm, assessId, disName, hasOndel, hasOnIndex} = this.state;
|
|
|
const chronicList = JSON.parse(localStorage.getItem('chronic')||null);
|
|
|
let isChronic = false; //是否要显示管理评估
|
|
|
const footer = <Footer print={true}
|
|
@@ -290,12 +275,9 @@ class DiagnosticList extends Component {
|
|
|
top={'3%'}
|
|
|
bottom={'3%'}
|
|
|
width={820}>
|
|
|
- <AssessResult handleSavePossible={this.handleSavePossible}
|
|
|
- closeAssess={this.showAssessFn.bind(this)}
|
|
|
+ <AssessResult closeAssess={this.showAssessFn.bind(this)}
|
|
|
disId={assessId}
|
|
|
disName={disName}
|
|
|
- radioVal={radioVal}
|
|
|
- possible={possible}
|
|
|
isAssessConfirm={isAssessConfirm}
|
|
|
></AssessResult>
|
|
|
</ComplexModal>:''}
|