ljj 6 years ago
parent
commit
7bb7def9bd

+ 1 - 1
page/bigDataOut/component/resultList.js

@ -11,7 +11,7 @@
                            <div class="flex"><span class="des text_s">医生</span>:<span class="result">{{item.doctor}}</span></div>\
                            <div class="flex"><span class="des text_s ">就诊医院</span>:<span class="result two_width">{{item.org_name}}</span></div>\
                            <div class="flex"><span class="des text_s  " >就诊科室</span>:<span class="result two_width">{{item.dept_name}}</span></div>\
                            <div class="f_14" v-html="item.hl"></div>\
                            <div class="f_16" v-html="item.hl"></div>\
                        </div>\
                        <div class="block flex f_xy_c">\
                                <el-pagination\

+ 12 - 7
page/bigDataOut/css/home.css

@ -1,6 +1,6 @@
.search_box {
   padding: 235px;
   padding-top: 138px;
   padding-top: 100px;
   padding-bottom: 150px
}
.search_box  button{
@ -15,12 +15,15 @@
    margin: 17px 40px 0 12px;
    cursor: pointer;
}
.search_list span:hover{
    color: #33b1fe;
 }
.el-input{
    min-width: 700px
    /* width: 780px */
}
.enter_list{
    padding-left: 275px;
    padding-right: 413px
    /* padding-left: 275px;
    padding-right: 413px */
}
.enter_list >div{
    padding: 9px 9px 16px 9px;
@ -29,9 +32,11 @@
    background-color: #f9f8fe;
	border: solid 1px #e7e7e7;
    font-size: 16px;
    width: 33%;
    width: 287px;
	height: 204px;
    /* width: 33%; */
    box-sizing: border-box;
    min-width: 200px
    /* min-width: 200px */
}
.enter_list >div>img{
    width: 100%

+ 12 - 31
page/bigDataOut/css/search.css

@ -1,5 +1,5 @@
.search_box {
    padding: 235px;
    padding-top: 30px;
    padding-bottom: 50px
 }
@ -11,38 +11,18 @@
 }
 .search_list span{
     color: #909090;
     font-size: 14px;
     font-size: 16px;
     margin: 17px 40px 0 12px;
     cursor: pointer;
 }
 .search_list span:hover{
    color: #33b1fe;
 }
 .search_box  .el-input{
    min-width: 700px
 /* width: 780px */
}
 .enter_list{
     padding-left: 275px;
     padding-right: 413px
 }
 .enter_list >div{
     padding: 9px 9px 16px 9px;
     cursor: pointer;
     color: #323232;
     background-color: #f9f8fe;
     border: solid 1px #e7e7e7;
     font-size: 16px;
     width: 33%;
     box-sizing: border-box;
     min-width: 200px
 }
 .enter_list >div>img{
     width: 100%
 }
 .enter_list >div:hover{
     border: solid 1px #33b1fe;
     color: #33b1fe;
 }
 .enter_list >div>img{
     margin-bottom: 10px;
 }
 
 
 .result_list{
     padding: 23px  37px 21px 19px;
@ -69,10 +49,11 @@
     width:412px!important
 }
 em{
     color: red
     color: red;
     font-style: normal
 }
 .f_14{
     font-size: 14px
 .f_16{
     font-size: 16
 }
 .el-pagination{
     font-size: 16px;

+ 12 - 9
page/bigDataOut/html/home.html

@ -13,18 +13,21 @@
<body>
    <div id="app" style="height: 100%;" v-cloak>
        <div class="search_box" >
            <div class="flex f_xy_c ">
                    <el-input placeholder="请输入内容"  v-model="searchKey" style="" clearable>
                        </el-input>
                        <el-button type="primary" @click="goSearch(searchKey)">搜索</el-button>
            </div>
            <div class="search_list flex">
                <span class="f_s_0" v-for="item in hotList" @click="goSearch(item)">{{item}}</span>
        <div class="flex f_x_c">
            <div class="search_box"  style="width:900px">
                <div class="flex f_xy_c ">
                        <el-input placeholder="请输入内容"  v-model="searchKey" style="" clearable>
                            </el-input>
                            <el-button type="primary" @click="goSearch(searchKey)">搜索</el-button>
                </div>
                <div class="search_list flex">
                    <span class="f_s_0" v-for="item in hotList" @click="goSearch(item)">{{item}}</span>
                </div>
            </div>
        </div>
        
      
        <div class="flex f_xy_c enter_list f_x_s">
        <div class="flex f_xy_c enter_list ">
            <div style="margin-right:37px" @click="setIndexPage('2-1')">
                <img src="../images/smallSee.jpg" >
                <div>医疗大数据分析</div>

+ 14 - 23
page/bigDataOut/html/search.html

@ -13,16 +13,19 @@
<body>
    <div id="app" style="height: 100%;" v-cloak>
        <div class="search_box" >
            <div class="flex f_xy_c ">
                    <el-input placeholder="请输入内容"  v-model="searchKey" style="" clearable>
                        </el-input>
                        <el-button type="primary" @click="search(searchKey)">搜索</el-button>
            </div>
            <div class="search_list flex">
                <span class="f_s_0" v-for="item in hotList" @click="search(item)">{{item}}</span>
            </div>
        <div class="flex f_x_c">
                <div class="search_box" style="width:900px">
                        <div class="flex f_xy_c " >
                                <el-input placeholder="请输入内容"  v-model="searchKey" style="" clearable>
                                    </el-input>
                                    <el-button type="primary" @click="search(searchKey)">搜索</el-button>
                        </div>
                        <div class="search_list flex">
                            <span class="f_s_0" v-for="item in hotList" @click="search(item)">{{item}}</span>
                        </div>
                    </div>
        </div>
        
      
        <div class="flex f_x_e">
                <el-radio-group v-model="type" style="margin-right:24px;margin-bottom: 10px" size="medium">
@ -33,20 +36,8 @@
                      </el-radio-group>
        </div>
        <resultlist :keyword="searchword" v-show="type=='全部'" ref="allEvent" ></resultlist>
        <resultlist :keyword="searchword"  :filters="'event_type=1'"  v-show="type=='门诊'" ref="outpatient" ></resultlist>
        <resultlist  :keyword="searchword"  :filters="'event_type=2'"  v-show="type=='住院'" ref="hospitalization"></resultlist>
        <!-- <div class="result_list flex f_wrap" v-for="item in resultList">
           <div class="flex"><span class="des">就诊日期</span>:<span class="result">{{forMatterDate(item.event_date)}}</span></div>
           <div class="flex"><span class="des">就诊类型</span>:<span class="result">{{(item.event_type==0 && '门诊') || (item.event_type==1 && '住院')}}</span></div>
           <div class="flex"><span class="des text_s ">性别</span>:<span class="result">{{item.patient_sex==1?'男':'女'}}</span></div>
           <div class="flex"><span class="des">出生日期</span>:<span class="result">{{forMatterDate(item.patient_birthday)}}</span></div>
           <div class="flex"><span class="des text_s">姓名</span>:<span class="result">{{item.patient_name}}</span></div>
           <div class="flex"><span class="des text_s">医生</span>:<span class="result">{{item.doctor}}</span></div>
           <div class="flex"><span class="des text_s ">就诊医院</span>:<span class="result two_width">{{item.org_name}}</span></div>
           <div class="flex"><span class="des text_s  " >就诊科室</span>:<span class="result two_width">{{item.dept_name}}</span></div>
           <div class="f_14" v-html="item.hl"></div>
        </div> -->
        <resultlist :keyword="searchword"  :filters="'event_type=0'"  v-show="type=='门诊'" ref="outpatient" ></resultlist>
        <resultlist  :keyword="searchword"  :filters="'event_type=1'"  v-show="type=='住院'" ref="hospitalization"></resultlist>
    </div>
    <script>
     window.noUse =true

+ 2 - 2
page/bigDataOut/js/index.js

@ -7,7 +7,7 @@ new Vue({
			historyArr:[{url:'../html/home.html',text:'首页'},],  //历史记录
			activeIndex:'0' , //当前历史记录选中的下标
			leftTabActive:'0-0',//左边菜单中当前高亮下标
			leftTabActive:'2-0',//左边菜单中当前高亮下标
			isCollapse: false, //导航栏是否隐藏
			screenWidth: document.body.clientWidth,//屏幕宽度
		}
@ -121,7 +121,7 @@ new Vue({
			vm.historyArr=	vm.historyArr.map(function(v,i){   //检测要跳转的url是否在历史记录中
				if(obj.url.indexOf(v.url.split('?')[0]) != -1 ){  
					switch (obj.url){                                   //已经存在并且在左边的菜单的话则需要高亮左边菜单
						case "../html/home.html":obj.index='0-0';break;
						case "../html/home.html":obj.index='2-0';break;
						case "../html/search.html":obj.index='2-0';break; 
					}
					exist=true;