123456789101112131415161718192021222324252627282930313233343536373839404142 |
- new Vue({
- el: '#app',
- data: function () {
- return {
- searchKey:'',
- hotList:[]
- }
- },
- computed: {
- },
- mounted:function() {
- this.getHot()
- },
- methods: {
- getHot:function(){
- var vm=this;
- bigDataOutApi.hot_words().then(function(res){
- vm.hotList=res
- }).catch(function(err){
- console.err(err)
- })
- },
- setIndexPage:function(key){
-
- GlobalEventBus.$emit('setleftTabUrl', {
- key: key
- });
- },
- goSearch:function(value){
- if(!value)value=''
- url = '../html/search.html?search='+value;
- GlobalEventBus.$emit('setIframeUrl', {
- history: {url:url,text:'全文病历检索'}
- });
- }
- },
- watch: {
- }
- })
|