|
@@ -11,8 +11,8 @@ export function preSetCheckbody(state,action) {
|
|
|
export function set(state,action){
|
|
|
let res = Object.assign({},state);
|
|
|
const {data,isText,isEmpty} = action;
|
|
|
- if(isText){ //查体只显示文本时(引用预问诊)
|
|
|
- const label = Object.assign(JSON.parse(config._textLabel),{value:data[0],noSearch:true});
|
|
|
+ if(isText){ //查体只显示文本时(引用预问诊)
|
|
|
+ const label = Object.assign(JSON.parse(config.textLabel),{value:data,noSearch:true});
|
|
|
res.data = [label];
|
|
|
res.saveText = [data];
|
|
|
res.showAll = true;
|