|
@@ -22,11 +22,11 @@ function mapStateToProps(state){
|
|
// 主诉选中事件
|
|
// 主诉选中事件
|
|
function mainSelect(dispatch,params){
|
|
function mainSelect(dispatch,params){
|
|
const {ikey,id,values} = params;
|
|
const {ikey,id,values} = params;
|
|
- let index = getLabelIndex(ikey);
|
|
|
|
|
|
+ //let index = getLabelIndex(ikey);
|
|
dispatch({
|
|
dispatch({
|
|
type:SET_MS_RADIO_INPUT_VAL,
|
|
type:SET_MS_RADIO_INPUT_VAL,
|
|
data:{
|
|
data:{
|
|
- ikey:index,
|
|
|
|
|
|
+ ikey,
|
|
id,
|
|
id,
|
|
values
|
|
values
|
|
}
|
|
}
|
|
@@ -36,11 +36,11 @@ function mainSelect(dispatch,params){
|
|
// 现病史选中事件
|
|
// 现病史选中事件
|
|
function currentSelect(dispatch,params){
|
|
function currentSelect(dispatch,params){
|
|
const {ikey,id,values} = params;
|
|
const {ikey,id,values} = params;
|
|
- let index = getLabelIndex(ikey);
|
|
|
|
|
|
+ //let index = getLabelIndex(ikey);
|
|
dispatch({
|
|
dispatch({
|
|
type:SET_RADIO_INPUT_VALUE,
|
|
type:SET_RADIO_INPUT_VALUE,
|
|
data:{
|
|
data:{
|
|
- ikey:index,
|
|
|
|
|
|
+ ikey,
|
|
id,
|
|
id,
|
|
values
|
|
values
|
|
}
|
|
}
|
|
@@ -51,11 +51,11 @@ function currentSelect(dispatch,params){
|
|
//其他史选中事件
|
|
//其他史选中事件
|
|
function otherSelect(dispatch,params){
|
|
function otherSelect(dispatch,params){
|
|
const {ikey,id,values} = params;
|
|
const {ikey,id,values} = params;
|
|
- let index = getLabelIndex(ikey);
|
|
|
|
|
|
+ //let index = getLabelIndex(ikey);
|
|
dispatch({
|
|
dispatch({
|
|
type:SET_OT_RADIO_INPUT_VAL,
|
|
type:SET_OT_RADIO_INPUT_VAL,
|
|
data:{
|
|
data:{
|
|
- ikey:index,
|
|
|
|
|
|
+ ikey,
|
|
id,
|
|
id,
|
|
values
|
|
values
|
|
}
|
|
}
|
|
@@ -147,7 +147,7 @@ function mapDispatchToProps(dispatch,store){
|
|
let ikey = getLabelIndex(index);
|
|
let ikey = getLabelIndex(index);
|
|
dispatch({
|
|
dispatch({
|
|
type:InputActions[+boxMark],
|
|
type:InputActions[+boxMark],
|
|
- data:{values:params.values,ikey:boxMark==4?params.ikey:ikey}
|
|
|
|
|
|
+ data:{values:params.values,ikey:params.ikey}
|
|
});
|
|
});
|
|
dispatch(billing());
|
|
dispatch(billing());
|
|
dispatch({
|
|
dispatch({
|