|
@@ -5,8 +5,8 @@ import del_on from './img/delete-on.png'
|
|
|
import diagUp from './img/diagUp.png'
|
|
|
import diagDown from './img/diagDown.png'
|
|
|
import manageIcon from '@common/images/manage.png';
|
|
|
-import infoShow from '@common/images/info-show.png';
|
|
|
-import infoMove from '@common/images/info-move.png';
|
|
|
+import singleB from './img/singleB.png';
|
|
|
+import singleL from './img/singleL.png';
|
|
|
import {ConfirmModal, Message,ComplexModal,Footer,Loading} from '@commonComp';
|
|
|
import Notify from '@commonComp/Notify';
|
|
|
import Treat from '@containers/Treat'
|
|
@@ -101,14 +101,10 @@ class DiagnosticList extends Component {
|
|
|
delItem: item,
|
|
|
})
|
|
|
}
|
|
|
- showTreat(item, index) {
|
|
|
- // item.treatIndex = index
|
|
|
- const { showTreat, getTreatResult } = this.props;
|
|
|
- getTreatResult && getTreatResult(item);
|
|
|
- // showTreat && showTreat();//添加loading,移到async-actions中
|
|
|
- this.setState({
|
|
|
- treatTitle: item.name
|
|
|
- })
|
|
|
+ showTreat(item, idx) {
|
|
|
+ const { getTreatResult,getBilling } = this.props;
|
|
|
+ getTreatResult && getTreatResult(item,idx);
|
|
|
+ getBilling({mode:10});
|
|
|
}
|
|
|
handleClickDiag(item) {
|
|
|
const { getTips } = this.props;
|
|
@@ -161,7 +157,6 @@ class DiagnosticList extends Component {
|
|
|
return
|
|
|
}
|
|
|
// let baseList = store.getState();
|
|
|
-
|
|
|
// let baseObj = items[this.state.activeHistory];
|
|
|
// pushAllDataList(baseObj.sign,'push',baseObj,'history') //引用
|
|
|
store.dispatch(getHistempDetail(activeItem));
|
|
@@ -319,12 +314,13 @@ class DiagnosticList extends Component {
|
|
|
onClick={this.handleClickDiag.bind(this,item,false,false,false)}
|
|
|
/> */}
|
|
|
</span>
|
|
|
- {/* {item.type === 1 ? <span className={style['diag-first']}>初诊</span> :<span className={style['diag-second']}> 复诊</span>}
|
|
|
+ {/* {item.type === 1 ? <span className={style['diag-first']}>初诊</span> :<span className={style['diag-second']}> 复诊</span>} */}
|
|
|
<span className={style['treat']}
|
|
|
// style ={hasTreat ? '' : { color: 'gray', cursor: 'text'}}
|
|
|
onClick={() =>{this.showTreat(item, index)}}>
|
|
|
+ <img src={item.hasTreat?singleB:singleL} alt=""/>
|
|
|
治疗方案
|
|
|
- </span> */}
|
|
|
+ </span>
|
|
|
{/*{isChronic&&index===0&&item.conceptId===chronicMagItem.conceptId?<span className={style['assess']}
|
|
|
onClick={this.showAssessFn.bind(this,item)}>
|
|
|
管理评估
|