|
@ -11,7 +11,7 @@ Vue.component('comD',{
|
|
|
<el-input paceholder="请输入药品名称" v-model="drugName">\
|
|
|
</el-input>\
|
|
|
</div>\
|
|
|
<a href=""> 查看药品字典 </a>\
|
|
|
<a href="#" @click="handleZidian"> 查看药品字典 </a>\
|
|
|
<span>就诊类型:</span> \
|
|
|
<el-select v-model="eventType" placeholder="请选择">\
|
|
|
<el-option v-for="item in event_type" :key="item.code" :label="item.name" :value="item.code">\
|
|
@ -149,6 +149,22 @@ Vue.component('comD',{
|
|
|
area:[width,height],
|
|
|
content:url
|
|
|
})
|
|
|
},
|
|
|
handleZidian:function(){
|
|
|
var url ='../html/zidian.html'
|
|
|
console.log(url)
|
|
|
var width=(0.5212*window.screen.width)+'px';
|
|
|
var height=(0.6528*window.screen.height)+'px';
|
|
|
top.layer.open({
|
|
|
id:'Lay_zidian',
|
|
|
type:2,
|
|
|
title:false,
|
|
|
closeBtn:0,
|
|
|
shade:0.5,
|
|
|
shadeClose:true,
|
|
|
area:[width,height],
|
|
|
content:url
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
})
|