|
@@ -46,7 +46,7 @@ const initSearchList = {
|
|
|
operationOrder: [],//开单项
|
|
|
transfusionOrder: [],
|
|
|
activeIdx: '',
|
|
|
- operationName: {}
|
|
|
+ operationName: null
|
|
|
}
|
|
|
|
|
|
export default (state = initSearchList, action) => {
|
|
@@ -160,7 +160,7 @@ export default (state = initSearchList, action) => {
|
|
|
}
|
|
|
})
|
|
|
if (tempArrs.length == 0) {
|
|
|
- newState.operationName = {}
|
|
|
+ newState.operationName = null
|
|
|
} else {
|
|
|
for (let i = 0; i < tempArrs.length; i++) {
|
|
|
if (tempArrs[i].hasTreat != 1) {
|
|
@@ -452,7 +452,7 @@ export default (state = initSearchList, action) => {
|
|
|
newState.operationOrder = [];
|
|
|
newState.labelListBlood = [];
|
|
|
newState.transfusionOrder = [];
|
|
|
- newState.operationName = {};
|
|
|
+ newState.operationName = null;
|
|
|
return newState;
|
|
|
}
|
|
|
return state;
|