123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>综合查询</title>
- <meta name="author" content="yihu.com" />
- <meta name="format-detection" content="telephone=no" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"
- />
- <meta name="apple-mobile-web-app-capable" content="yes" />
- <meta name="apple-mobile-web-app-status-bar-style" content="black" />
- <link rel="stylesheet" type="text/css" href="../../../css/font-awesome.min.css" />
- <link rel="stylesheet" type="text/css" href="../../../css/style.min.css" />
- <link rel="stylesheet" type="text/css" href="../../../css/cross.css" />
- <link rel="stylesheet" type="text/css" href="../../../css/flex.css" />
- <link rel="stylesheet" type="text/css" href="../../../css/element-ui.css" />
- <link href="../../../plugins/toastr/toastr.min.css" rel="stylesheet">
- <link rel="stylesheet" type="text/css" href="../css/common.css" />
- </head>
- <style>
- .el-table th{
- background: #F5F5FA;
- }
- .el-radio-button:first-child .el-radio-button__inner{
- border-radius: 15px 0 0 15px;
- }
- .el-radio-button:last-child .el-radio-button__inner{
- border-radius: 0 15px 15px 0;
- }
- .line1{
- line-height:1;
- }
- .formLeft{
- margin-left: 20px;
- }
- .formWidth{
- width:120px;
- }
- </style>
- <body style="margin: 0;overflow-x: auto;">
- <div id="main" class="c-hide ">
- <header-tab appname="综合查询" isback="true" isrefresh="true"></header-tab>
- <div class="p20 bgc-f2f3f5" v-loading.fullscreen.lock="fullscreenLoading">
- <div style="border:1px solid #d7dce6">
- <div class="ui-grid bgc-f2f3f5">
- <div class="ui-col-0 pr15" style="min-width: 220px;border-right:1px solid #d7dce6;overflow-y:auto;" :style="{ height: height + 'px' }">
- <el-tree class="bgc-f2f3f5" ref="tree" :data="treedata" show-checkbox node-key="id" :props="defaultProps" @node-click="treedataClick" @check-change="treedataClick">
- </el-tree>
- <el-tree highlight-current class="bgc-f2f3f5" :data="data" :props="defaultProps" @node-click="handleNodeClick"></el-tree>
- </div>
- <div class="ui-col-1 bgc-fff p20" style="min-width: 900px;">
- <div class="searchDiv">
- <el-radio v-model="radio" label="1">按签约年度:</el-radio>
- <el-select v-model="chooseYear" class="pr20 formWidth">
- <el-option v-for="(item , index) in years" :key="index" :label="item" :value="item"></el-option>
- </el-select>
- <el-radio v-model="radio" label="2">创建时间:</el-radio>
- <el-date-picker v-model="start" type="date" unlink-panels placeholder="开始日期" value-format="yyyy-MM-dd" style="width:140px;" :clearable="false" :picker-options="pickerOptions">
- </el-date-picker>
- <span class="c-999">-</span>
- <el-date-picker v-model="end" type="date" unlink-panels placeholder="结束日期" value-format="yyyy-MM-dd" style="width:140px;" :clearable="false" :picker-options="pickerOptions">
- </el-date-picker>
- </div>
- <div class="mt10 flex line1" v-if="handleNodeId==3">
- <div >咨询状态:</div>
- <el-radio-group v-model="radio1">
- <el-radio :label="1">已回复</el-radio>
- <el-radio :label="0">未回复</el-radio>
- <el-radio :label="2">未及时回复</el-radio>
- </el-radio-group>
- </div>
- <div v-if="handleNodeId==4" class="searchDiv">
- <div class="mt10 flex line1" >
- <div >咨询状态:</div>
- <el-radio-group v-model="radio2">
- <el-radio :label="1">已签约</el-radio>
- <el-radio :label="0">待审核</el-radio>
- <el-radio :label="2">代缴费</el-radio>
- </el-radio-group>
- </div>
- <div class="mt10 flex" >
- <div >签约人群:</div>
- <el-checkbox-group v-model="checkedCities" @change="handleCheckedCitiesChange">
- <el-checkbox v-for="(city,index) in cities" :label="city" :key="city+index">{{city.value}}</el-checkbox>
- </el-checkbox-group>
- </div>
- <div style="height: 35px;" class="mt5">
- <el-form :model="form" class="flex" >
- <el-form-item label="是否改签:" class="flex">
- <el-select v-model="form.endorseTheTicket" class='formWidth' placeholder="请选择">
- <el-option v-for="(item,index) in options" :key="item.value" :value="item.value"></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="是否续签:" class="flex formLeft">
- <el-select v-model="form.renew" class='formWidth' placeholder="请选择">
- <el-option v-for="(item,index) in options" :key="item.value" :value="item.value"></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="是否退签:" class="flex formLeft">
- <el-select v-model="form.backToSign" class='formWidth' placeholder="请选择">
- <el-option v-for="(item,index) in options" :key="item.value" :value="item.value"></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="绑定微信:" class="flex formLeft">
- <el-select v-model="form.WeChat" class='formWidth' placeholder="请选择">
- <el-option v-for="(item,index) in options" :key="item.value" :value="item.value"></el-option>
- </el-select>
- </el-form-item>
- </el-form>
- </div>
- </div>
- <div v-if="handleNodeId==5" class="searchDiv">
- <div class="mt10 flex line1" >
- <div >下转状态:</div>
- <el-radio-group v-model="radio3">
- <el-radio :label="1">已接收未管理</el-radio>
- <el-radio :label="0">未接收</el-radio>
- <el-radio :label="2">已接收已管理</el-radio>
- </el-radio-group>
- </div>
- <div class="mt10 flex" >
- <div >下转病种:</div>
- <el-checkbox-group v-model="specialCheckedCities" @change="diseaseChange">
- <el-checkbox v-for="(city,index) in specialCities" :label="city" :key="city+index">{{city.name}}</el-checkbox>
- </el-checkbox-group>
- </div>
- <div style="height: 35px;" class="mt5">
- <el-form :model="form2" class="flex" >
- <el-form-item label="专科医生:" class="flex">
- <el-input v-model="form2.juniorCollege" placeholder="请输入专科医生姓名查询"></el-input>
- </el-form-item>
- <el-form-item label="家庭医生:" class="flex formLeft">
- <el-input v-model="form2.family" placeholder="请输入家庭医生姓名查询"></el-input>
- </el-form-item>
- <el-form-item label="居民姓名:" class="flex formLeft">
- <el-input v-model="form2.resident" placeholder="请输入居民姓名查询"></el-input>
- </el-form-item>
- </el-form>
- </div>
- </div>
- <div v-if="handleNodeId==6" class="searchDiv">
- <div class="mt10 flex line1" >
- <div >发送状态:</div>
- <el-radio-group v-model="radio4">
- <el-radio :label="1">已发送</el-radio>
- <el-radio :label="2">未发送</el-radio>
- </el-radio-group>
- </div>
- <div style="height: 35px;" class="mt5">
- <el-form :model="form3" class="flex" >
- <el-form-item label="家庭医生:" class="flex">
- <el-input v-model="form3.family" placeholder="请输入家庭医生姓名查询"></el-input>
- </el-form-item>
- <el-form-item label="居民姓名:" class="flex formLeft">
- <el-input v-model="form3.resident" placeholder="请输入居民姓名查询"></el-input>
- </el-form-item>
- </el-form>
- </div>
- </div>
- <div v-if="handleNodeId==7" class="searchDiv">
- <div class="mt10 flex line1" >
- <div >工单状态:</div>
- <el-radio-group v-model="radio5">
- <el-radio :label="3">已接单</el-radio>
- <el-radio :label="2">待接单</el-radio>
- <el-radio :label="5">待评价</el-radio>
- <el-radio :label="4">待服务</el-radio>
- <el-radio :label="1">待派单</el-radio>
- <el-radio :label="-1">已取消</el-radio>
- <el-radio :label="6">已完成</el-radio>
- </el-radio-group>
- </div>
- <div class="mt10 flex" >
- <div >服务类型:</div>
- <el-checkbox-group v-model="serveSpecialCities" @change="serviceTypeChange">
- <el-checkbox v-for="(city,index) in serveCities" :label="city" :key="city+index">{{city.value}}</el-checkbox>
- </el-checkbox-group>
- </div>
- <div style="height: 35px;" class="mt5">
- <el-form :model="form4" class="flex" >
- <el-form-item label="家庭医生:" class="flex">
- <el-input v-model="form4.family" placeholder="请输入家庭医生姓名查询"></el-input>
- </el-form-item>
- <el-form-item label="居民姓名:" class="flex formLeft">
- <el-input v-model="form4.resident" placeholder="请输入居民姓名查询"></el-input>
- </el-form-item>
- </el-form>
- </div>
- </div>
- <div v-if="handleNodeId==8" class="searchDiv">
- <div class="mt10 flex line1" >
- <div >续方状态:</div>
- <el-radio-group v-model="radio6">
- <el-radio :label="40">代缴费</el-radio>
- <el-radio :label="0">待审核</el-radio>
- <el-radio :label="20">审核中</el-radio>
- <el-radio :label="100">已完成</el-radio>
- <el-radio :label="999">其他</el-radio>
- </el-radio-group>
- </div>
- <div class="mt10 flex line1" >
- <div >疾病类型:</div>
- <el-radio-group v-model="radio7">
- <el-radio :label="2">糖尿病</el-radio>
- <el-radio :label="1">高血压</el-radio>
- <el-radio :label="3">其他</el-radio>
- </el-radio-group>
- </div>
- <div class="mt10 flex line1" >
- <div >取药方式:</div>
- <el-radio-group v-model="radio8">
- <el-radio :label="2">快递</el-radio>
- <el-radio :label="1">自取</el-radio>
- <!-- <el-radio :label="3">健管师配送</el-radio> -->
- </el-radio-group>
- </div>
- <div style="height: 35px;" class="mt5">
- <el-form :model="form5" class="flex">
- <el-form-item label="家庭医生:" class="flex">
- <el-input v-model="form5.family" placeholder="请输入家庭医生姓名查询"></el-input>
- </el-form-item>
- <el-form-item label="居民姓名:" class="flex formLeft">
- <el-input v-model="form5.resident" placeholder="请输入居民姓名查询"></el-input>
- </el-form-item>
- </el-form>
- </div>
- </div>
-
- <div class="searchDiv mt10">
- <label class="c-333 c-f14" for="">数据范围:</label>
- <el-select v-model="rangeCode" style="width:100px;" class="pr10">
- <el-option v-for="(item , index) in rangeList" :key="index" :label="item.name" :value="item.code"></el-option>
- </el-select>
- <label class="c-333 c-f14" for="" v-if="initlevel == 4||initlevel == 3">地区:</label>
- <el-select v-model="areaCode" style="width:100px;" class="pr10" v-if="initlevel == 4||initlevel == 3">
- <el-option v-for="(item , index) in areaList" :key="index" :label="item.name" :value="item.code"></el-option>
- </el-select>
- <label class="c-333 c-f14" for="" v-show="rangeCode!='town'">社区:</label>
- <el-select v-model="communityCode" style="width:200px;" class="pr10" v-show="rangeCode!='town'">
- <el-option v-for="(item , index) in communityList" :key="index" :label="item.name" :value="item.code"></el-option>
- </el-select>
- <label class="c-333 c-f14" for="" v-show="rangeCode == 'team'">团队:</label>
- <el-select v-model="teamCode" style="width:150px;" class="pr10" v-show="rangeCode == 'team'">
- <el-option v-for="(item , index) in teamList" :key="index" :label="item.name" :value="item.id"></el-option>
- </el-select>
- <el-button type="primary" size="mini" @click="searchHandle">查询</el-button>
- <el-button type="ff9526" size="mini" @click="exportHandle">导出</el-button>
- </div>
- <div>
- <el-table border :data="tabledata" style="width: 100%" class="mt20" v-loading="isloading" v-if="handleNodeShow==1">
- <el-table-column fixed type="index" label="序号" width="50" min-width="50" align="center"></el-table-column>
- <el-table-column prop="townName" label="地区" align="center" v-if="searchJson.range == 'town'" min-width="100"></el-table-column>
- <el-table-column prop="hospitalName" label="社区" align="center" v-if="searchJson.range == 'hospital'" min-width="180"></el-table-column>
- <el-table-column prop="name" label="团队" align="center" v-if="searchJson.range == 'team'" min-width="180"></el-table-column>
- <el-table-column :prop="item.prop" :label="item.label" align="right" header-align="center" v-for="(item,index) in tableHeader" :key="index">
- </el-table-column>
- </el-table>
- <div v-if="handleNodeShow==2">
- <el-table border :data="analyseData" style="width:100%" class="mt20" v-if="handleNodeId==3" v-loading="loadingTwo">
- <el-table-column fixed type="index" label="序号" width="50" min-width="50" align="center"></el-table-column>
- <el-table-column prop="hospitalName" label="社区名称" align="center"></el-table-column>
- <el-table-column prop="name" label="居民" align="center"></el-table-column>
- <el-table-column prop="symptoms" label="咨询内容" align="center"></el-table-column>
- <el-table-column prop="createTime" label="咨询时间" align="center"></el-table-column>
- <el-table-column prop="content" label="回复内容" align="center" v-if="radio1Show"></el-table-column>
- <el-table-column prop="replyTime" label="回复时间" align="center" v-if="radio1Show"></el-table-column>
- <el-table-column prop="talkDoctor" label="咨询医生" align="center"></el-table-column>
- <el-table-column prop="healthDochor" label="健管师" align="center"></el-table-column>
- <el-table-column prop="familyDoctor" label="家庭医生" align="center"></el-table-column>
- </el-table>
- <el-table border :data="analyseData" style="width: 100%" v-loading="loadingTwo" class="mt20" v-if="handleNodeId==4 || handleNodeId==5 || handleNodeId==6 || handleNodeId==7 || handleNodeId==8">
- <el-table-column fixed type="index" label="序号" width="50" min-width="50" align="center"></el-table-column>
- <el-table-column prop="hospitalName" label="社区名称" align="center"></el-table-column>
-
- <el-table-column prop="name" label="居民" align="center" v-if="handleNodeId<=5 || handleNodeId==7 || handleNodeId==8"></el-table-column>
- <el-table-column prop="patientName" label="居民" align="center" v-if="handleNodeId>=6 && handleNodeId!=7 && handleNodeId!=8"></el-table-column>
-
- <el-table-column prop="sscNum" label="医保卡" align="center" v-if="handleNodeId<=5"></el-table-column>
- <el-table-column prop="ssc" label="医保卡" align="center" v-if="handleNodeId>=6"></el-table-column>
-
- <el-table-column prop="idcardNum" label="身份证" align="center" v-if="handleNodeId<=5"></el-table-column>
- <el-table-column prop="idcard" label="身份证" align="center" v-if="handleNodeId>=6"></el-table-column>
-
- <el-table-column prop="mobile" label="手机号" align="center"></el-table-column>
- <el-table-column prop="address" label="地址" align="center"></el-table-column>
- <el-table-column prop="doctorName" label="签约医生" align="center" v-if="handleNodeId!=8"></el-table-column>
- <el-table-column prop="signDoctor" label="签约医生" align="center" v-if="handleNodeId==8"></el-table-column>
- <el-table-column prop="doctorHealthName" label="健管师" align="center" v-if="handleNodeId==6"></el-table-column>
- <el-table-column prop="doctorHealth" label="健管师" align="center" v-if="handleNodeId==7 || handleNodeId==8"></el-table-column>
- <el-table-column prop="healthDocorName" label="健管师" align="center" v-if="handleNodeId==4 || handleNodeId==5"></el-table-column>
- <template v-if="handleNodeId==4">
- <el-table-column prop="replyTime" label="签约时间" align="center"></el-table-column>
- <el-table-column prop="serverTypeName" label="人群" align="center"></el-table-column>
- <el-table-column prop="isUpdateStr" label="改签" align="center"></el-table-column>
- <el-table-column prop="isAddStr" label="续签" align="center"></el-table-column>
- <el-table-column prop="isOutStr" label="退签" align="center"></el-table-column>
- <el-table-column prop="isBindWX" label="绑定微信" align="center"></el-table-column>
- </template>
- <template v-if="handleNodeId==5">
- <el-table-column prop="createTime" label="下转时间" align="center"></el-table-column>
- <el-table-column prop="statusStr" label="下转状态" align="center"></el-table-column>
- <el-table-column prop="specialistName" label="专科医生" align="center"></el-table-column>
- <el-table-column prop="sHospitalName" label="专科医院" align="center"></el-table-column>
- <el-table-column prop="diseaseName" label="疾病类型" align="center"></el-table-column>
- <el-table-column prop="isManagerStr" label="是否管理" align="center"></el-table-column>
- <el-table-column prop="managerTime" label="管理时间" align="center"></el-table-column>
- </template>
- <template v-if="handleNodeId==6">
- <el-table-column prop="createTime" label="祝福时间" align="center"></el-table-column>
- <el-table-column prop="status" label="发送状态" align="center"></el-table-column>
- <el-table-column prop="sendDoctorName" label="发送人" align="center"></el-table-column>
- </template>
- <template v-if="handleNodeId==7">
- <el-table-column prop="serverDoctor" label="服务医生" align="center"></el-table-column>
- <el-table-column prop="statusName" label="工单状态" align="center"></el-table-column>
- <el-table-column prop="typeValue" label="服务类型" align="center"></el-table-column>
- <el-table-column prop="fedNames" label="服务项目" align="center"></el-table-column>
- <el-table-column prop="serviceTime" label="服务时间" align="center"></el-table-column>
- <el-table-column prop="dispatcher_name" label="调度员" align="center"></el-table-column>
- <el-table-column prop="serviceTimes" label="服务次数" align="center"></el-table-column>
- </template>
- <template v-if="handleNodeId==8">
- <el-table-column prop="serverDoctor" label="服务医生" align="center"></el-table-column>
- <el-table-column prop="statusName" label="状态" align="center"></el-table-column>
- <el-table-column prop="diagnosisName" label="疾病类型" align="center"></el-table-column>
- <el-table-column prop="dispensaryTypeName" label="取药方式" align="center"></el-table-column>
- <el-table-column prop="createTime" label="续方时间" align="center"></el-table-column>
- <el-table-column prop="pay_time" label="结算时间" align="center"></el-table-column>
- <el-table-column prop="finish_time" label="取药时间" align="center"></el-table-column>
- </template>
- </el-table>
-
- </div>
- <div class="c-t-right mt20">
- <el-pagination
- @current-change="handleCurrentChange"
- :current-page.sync="currentPage"
- :page-size="currentSize"
- layout="total, prev, pager, next, jumper"
- :total="datatotal">
- </el-pagination>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--模态框组件-->
- <vuedals></vuedals>
- </div>
- <script src="../../../js/FileSaver/FileSaver.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../js/vue.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../js/jquery-2.2.4.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../js/element-ui.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../plugins/toastr/toastr.min.js"></script>
- <script src="../../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../js/underscore.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../js/util.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../api/http-request.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../api/home-api.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../api/statistics-api.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../component/common/event-bus.js"></script>
- <script src="../../../component/common/vuedals.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../component/statistics/header-tab.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../component/statistics/header-prompt.js" type="text/javascript" charset="utf-8"></script>
- <script src="../js/common.js" type="text/javascript" charset="utf-8"></script>
- <script src="../js/comprehensive-query.js" type="text/javascript" charset="utf-8"></script>
- </body>
- </html>
|