@ -30,6 +30,10 @@ new Vue({
},
goSearch:function(value){
if(!value)value=''
if(!value){
top.toastr.error("请输入检索词再进行搜索");
return
}
url = '../html/search.html?search='+value;
GlobalEventBus.$emit('setIframeUrl', {
history: {url:url,text:'全文病历检索'}
@ -56,6 +56,10 @@ new Vue({
});
search:function(value){
this.searchKey=value
this.initData(value);