comprehensive-query.html 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>综合查询</title>
  6. <meta name="author" content="yihu.com" />
  7. <meta name="format-detection" content="telephone=no" />
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"
  9. />
  10. <meta name="apple-mobile-web-app-capable" content="yes" />
  11. <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  12. <link rel="stylesheet" type="text/css" href="../../../css/font-awesome.min.css" />
  13. <link rel="stylesheet" type="text/css" href="../../../css/style.min.css" />
  14. <link rel="stylesheet" type="text/css" href="../../../css/cross.css" />
  15. <link rel="stylesheet" type="text/css" href="../../../css/flex.css" />
  16. <link rel="stylesheet" type="text/css" href="../../../css/element-ui.css" />
  17. <link href="../../../plugins/toastr/toastr.min.css" rel="stylesheet">
  18. <link rel="stylesheet" type="text/css" href="../css/common.css" />
  19. </head>
  20. <style>
  21. .el-table th{
  22. background: #F5F5FA;
  23. }
  24. .el-radio-button:first-child .el-radio-button__inner{
  25. border-radius: 15px 0 0 15px;
  26. }
  27. .el-radio-button:last-child .el-radio-button__inner{
  28. border-radius: 0 15px 15px 0;
  29. }
  30. .line1{
  31. line-height:1;
  32. }
  33. .formLeft{
  34. margin-left: 20px;
  35. }
  36. .formWidth{
  37. width:120px;
  38. }
  39. </style>
  40. <body style="margin: 0;overflow-x: auto;">
  41. <div id="main" class="c-hide ">
  42. <header-tab appname="综合查询" isback="true" isrefresh="true"></header-tab>
  43. <div class="p20 bgc-f2f3f5" v-loading.fullscreen.lock="fullscreenLoading">
  44. <div style="border:1px solid #d7dce6">
  45. <div class="ui-grid bgc-f2f3f5">
  46. <div class="ui-col-0 pr15" style="min-width: 220px;border-right:1px solid #d7dce6;overflow-y:auto;" :style="{ height: height + 'px' }">
  47. <el-tree class="bgc-f2f3f5" ref="tree" :data="treedata" show-checkbox node-key="id" :props="defaultProps" @node-click="treedataClick" @check-change="treedataClick">
  48. </el-tree>
  49. <el-tree highlight-current class="bgc-f2f3f5" :data="data" :props="defaultProps" @node-click="handleNodeClick"></el-tree>
  50. </div>
  51. <div class="ui-col-1 bgc-fff p20" style="min-width: 900px;">
  52. <div class="searchDiv">
  53. <el-radio v-model="radio" label="1">按签约年度:</el-radio>
  54. <el-select v-model="chooseYear" class="pr20 formWidth">
  55. <el-option v-for="(item , index) in years" :key="index" :label="item" :value="item"></el-option>
  56. </el-select>
  57. <el-radio v-model="radio" label="2">创建时间:</el-radio>
  58. <el-date-picker v-model="start" type="date" unlink-panels placeholder="开始日期" value-format="yyyy-MM-dd" style="width:140px;" :clearable="false" :picker-options="pickerOptions">
  59. </el-date-picker>
  60. <span class="c-999">-</span>
  61. <el-date-picker v-model="end" type="date" unlink-panels placeholder="结束日期" value-format="yyyy-MM-dd" style="width:140px;" :clearable="false" :picker-options="pickerOptions">
  62. </el-date-picker>
  63. </div>
  64. <div class="mt10 flex line1" v-if="handleNodeId==3">
  65. <div >咨询状态:</div>
  66. <el-radio-group v-model="radio1">
  67. <el-radio :label="1">已回复</el-radio>
  68. <el-radio :label="0">未回复</el-radio>
  69. <el-radio :label="2">未及时回复</el-radio>
  70. </el-radio-group>
  71. </div>
  72. <div v-if="handleNodeId==4" class="searchDiv">
  73. <div class="mt10 flex line1" >
  74. <div >咨询状态:</div>
  75. <el-radio-group v-model="radio2">
  76. <el-radio :label="1">已签约</el-radio>
  77. <el-radio :label="0">待审核</el-radio>
  78. <el-radio :label="2">代缴费</el-radio>
  79. </el-radio-group>
  80. </div>
  81. <div class="mt10 flex" >
  82. <div >签约人群:</div>
  83. <el-checkbox-group v-model="checkedCities" @change="handleCheckedCitiesChange">
  84. <el-checkbox v-for="(city,index) in cities" :label="city" :key="city+index">{{city.value}}</el-checkbox>
  85. </el-checkbox-group>
  86. </div>
  87. <div style="height: 35px;" class="mt5">
  88. <el-form :model="form" class="flex" >
  89. <el-form-item label="是否改签:" class="flex">
  90. <el-select v-model="form.endorseTheTicket" class='formWidth' placeholder="请选择">
  91. <el-option v-for="(item,index) in options" :key="item.value" :value="item.value" :label="item.label"></el-option>
  92. </el-select>
  93. </el-form-item>
  94. <el-form-item label="是否续签:" class="flex formLeft">
  95. <el-select v-model="form.renew" class='formWidth' placeholder="请选择">
  96. <el-option v-for="(item,index) in options" :key="item.value" :value="item.value" :label="item.label"></el-option>
  97. </el-select>
  98. </el-form-item>
  99. <el-form-item label="是否退签:" class="flex formLeft">
  100. <el-select v-model="form.backToSign" class='formWidth' placeholder="请选择">
  101. <el-option v-for="(item,index) in options" :key="item.value" :value="item.value" :label="item.label"></el-option>
  102. </el-select>
  103. </el-form-item>
  104. <el-form-item label="绑定微信:" class="flex formLeft">
  105. <el-select v-model="form.WeChat" class='formWidth' placeholder="请选择">
  106. <el-option v-for="(item,index) in options" :key="item.value" :value="item.value" :label="item.label"></el-option>
  107. </el-select>
  108. </el-form-item>
  109. </el-form>
  110. </div>
  111. </div>
  112. <div v-if="handleNodeId==5" class="searchDiv">
  113. <div class="mt10 flex line1" >
  114. <div >下转状态:</div>
  115. <el-radio-group v-model="radio3">
  116. <el-radio :label="1">已接收未管理</el-radio>
  117. <el-radio :label="0">未接收</el-radio>
  118. <el-radio :label="2">已接收已管理</el-radio>
  119. </el-radio-group>
  120. </div>
  121. <div class="mt10 flex" >
  122. <div >下转病种:</div>
  123. <el-checkbox-group v-model="specialCheckedCities" @change="diseaseChange">
  124. <el-checkbox v-for="(city,index) in specialCities" :label="city" :key="city+index">{{city.name}}</el-checkbox>
  125. </el-checkbox-group>
  126. </div>
  127. <div style="height: 35px;" class="mt5">
  128. <el-form :model="form2" class="flex" >
  129. <el-form-item label="专科医生:" class="flex">
  130. <el-input v-model="form2.juniorCollege" placeholder="请输入专科医生姓名查询"></el-input>
  131. </el-form-item>
  132. <el-form-item label="家庭医生:" class="flex formLeft">
  133. <el-input v-model="form2.family" placeholder="请输入家庭医生姓名查询"></el-input>
  134. </el-form-item>
  135. <el-form-item label="居民姓名:" class="flex formLeft">
  136. <el-input v-model="form2.resident" placeholder="请输入居民姓名查询"></el-input>
  137. </el-form-item>
  138. </el-form>
  139. </div>
  140. </div>
  141. <div v-if="handleNodeId==6" class="searchDiv">
  142. <div class="mt10 flex line1" >
  143. <div >发送状态:</div>
  144. <el-radio-group v-model="radio4">
  145. <el-radio :label="1">已发送</el-radio>
  146. <el-radio :label="2">未发送</el-radio>
  147. </el-radio-group>
  148. </div>
  149. <div style="height: 35px;" class="mt5">
  150. <el-form :model="form3" class="flex" >
  151. <el-form-item label="家庭医生:" class="flex">
  152. <el-input v-model="form3.family" placeholder="请输入家庭医生姓名查询"></el-input>
  153. </el-form-item>
  154. <el-form-item label="居民姓名:" class="flex formLeft">
  155. <el-input v-model="form3.resident" placeholder="请输入居民姓名查询"></el-input>
  156. </el-form-item>
  157. </el-form>
  158. </div>
  159. </div>
  160. <div v-if="handleNodeId==7" class="searchDiv">
  161. <div class="mt10 flex line1" >
  162. <div >工单状态:</div>
  163. <el-radio-group v-model="radio5">
  164. <el-radio :label="3">已接单</el-radio>
  165. <el-radio :label="2">待接单</el-radio>
  166. <el-radio :label="5">待评价</el-radio>
  167. <el-radio :label="4">待服务</el-radio>
  168. <el-radio :label="1">待派单</el-radio>
  169. <el-radio :label="-1">已取消</el-radio>
  170. <el-radio :label="6">已完成</el-radio>
  171. </el-radio-group>
  172. </div>
  173. <div class="mt10 flex" >
  174. <div >服务类型:</div>
  175. <el-checkbox-group v-model="serveSpecialCities" @change="serviceTypeChange">
  176. <el-checkbox v-for="(city,index) in serveCities" :label="city" :key="city+index">{{city.value}}</el-checkbox>
  177. </el-checkbox-group>
  178. </div>
  179. <div style="height: 35px;" class="mt5">
  180. <el-form :model="form4" class="flex" >
  181. <el-form-item label="家庭医生:" class="flex">
  182. <el-input v-model="form4.family" placeholder="请输入家庭医生姓名查询"></el-input>
  183. </el-form-item>
  184. <el-form-item label="居民姓名:" class="flex formLeft">
  185. <el-input v-model="form4.resident" placeholder="请输入居民姓名查询"></el-input>
  186. </el-form-item>
  187. </el-form>
  188. </div>
  189. </div>
  190. <div v-if="handleNodeId==8" class="searchDiv">
  191. <div class="mt10 flex line1" >
  192. <div >续方状态:</div>
  193. <el-radio-group v-model="radio6">
  194. <el-radio :label="40">代缴费</el-radio>
  195. <el-radio :label="0">待审核</el-radio>
  196. <el-radio :label="20">审核中</el-radio>
  197. <el-radio :label="100">已完成</el-radio>
  198. <el-radio :label="999">其他</el-radio>
  199. </el-radio-group>
  200. </div>
  201. <div class="mt10 flex line1" >
  202. <div >疾病类型:</div>
  203. <el-radio-group v-model="radio7">
  204. <el-radio :label="2">糖尿病</el-radio>
  205. <el-radio :label="1">高血压</el-radio>
  206. <el-radio :label="3">其他</el-radio>
  207. </el-radio-group>
  208. </div>
  209. <div class="mt10 flex line1" >
  210. <div >取药方式:</div>
  211. <el-radio-group v-model="radio8">
  212. <el-radio :label="2">快递</el-radio>
  213. <el-radio :label="1">自取</el-radio>
  214. <!-- <el-radio :label="3">健管师配送</el-radio> -->
  215. </el-radio-group>
  216. </div>
  217. <div style="height: 35px;" class="mt5">
  218. <el-form :model="form5" class="flex">
  219. <el-form-item label="家庭医生:" class="flex">
  220. <el-input v-model="form5.family" placeholder="请输入家庭医生姓名查询"></el-input>
  221. </el-form-item>
  222. <el-form-item label="居民姓名:" class="flex formLeft">
  223. <el-input v-model="form5.resident" placeholder="请输入居民姓名查询"></el-input>
  224. </el-form-item>
  225. </el-form>
  226. </div>
  227. </div>
  228. <div class="searchDiv mt10">
  229. <label class="c-333 c-f14" for="">数据范围:</label>
  230. <el-select v-model="rangeCode" style="width:100px;" class="pr10">
  231. <el-option v-for="(item , index) in rangeList" :key="index" :label="item.name" :value="item.code"></el-option>
  232. </el-select>
  233. <label class="c-333 c-f14" for="" v-if="initlevel == 4||initlevel == 3">地区:</label>
  234. <el-select v-model="areaCode" style="width:100px;" class="pr10" v-if="initlevel == 4||initlevel == 3">
  235. <el-option v-for="(item , index) in areaList" :key="index" :label="item.name" :value="item.code"></el-option>
  236. </el-select>
  237. <label class="c-333 c-f14" for="" v-show="rangeCode!='town'">社区:</label>
  238. <el-select v-model="communityCode" style="width:200px;" class="pr10" v-show="rangeCode!='town'">
  239. <el-option v-for="(item , index) in communityList" :key="index" :label="item.name" :value="item.code"></el-option>
  240. </el-select>
  241. <label class="c-333 c-f14" for="" v-show="rangeCode == 'team'">团队:</label>
  242. <el-select v-model="teamCode" style="width:150px;" class="pr10" v-show="rangeCode == 'team'">
  243. <el-option v-for="(item , index) in teamList" :key="index" :label="item.name" :value="item.id"></el-option>
  244. </el-select>
  245. <el-button type="primary" size="mini" @click="searchHandle">查询</el-button>
  246. <el-button type="ff9526" size="mini" @click="exportHandle">导出</el-button>
  247. </div>
  248. <div>
  249. <el-table border :data="tabledata" style="width: 100%" class="mt20" v-loading="isloading" v-if="handleNodeShow==1">
  250. <el-table-column fixed type="index" label="序号" width="50" min-width="50" align="center"></el-table-column>
  251. <el-table-column prop="townName" label="地区" align="center" v-if="searchJson.range == 'town'" min-width="100"></el-table-column>
  252. <el-table-column prop="hospitalName" label="社区" align="center" v-if="searchJson.range == 'hospital'" min-width="180"></el-table-column>
  253. <el-table-column prop="name" label="团队" align="center" v-if="searchJson.range == 'team'" min-width="180"></el-table-column>
  254. <el-table-column :prop="item.prop" :label="item.label" align="right" header-align="center" v-for="(item,index) in tableHeader" :key="index">
  255. </el-table-column>
  256. </el-table>
  257. <div v-if="handleNodeShow==2">
  258. <el-table border :data="analyseData" style="width:100%" class="mt20" v-if="handleNodeId==3" v-loading="loadingTwo">
  259. <el-table-column fixed type="index" label="序号" width="50" min-width="50" align="center"></el-table-column>
  260. <el-table-column prop="hospitalName" label="社区名称" align="center"></el-table-column>
  261. <el-table-column prop="name" label="居民" align="center"></el-table-column>
  262. <el-table-column prop="symptoms" label="咨询内容" align="center"></el-table-column>
  263. <el-table-column prop="createTime" label="咨询时间" align="center"></el-table-column>
  264. <el-table-column prop="content" label="回复内容" align="center" v-if="radio1Show"></el-table-column>
  265. <el-table-column prop="replyTime" label="回复时间" align="center" v-if="radio1Show"></el-table-column>
  266. <el-table-column prop="talkDoctor" label="咨询医生" align="center"></el-table-column>
  267. <el-table-column prop="healthDochor" label="健管师" align="center"></el-table-column>
  268. <el-table-column prop="familyDoctor" label="家庭医生" align="center"></el-table-column>
  269. </el-table>
  270. <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">
  271. <el-table-column fixed type="index" label="序号" width="50" min-width="50" align="center"></el-table-column>
  272. <el-table-column prop="hospitalName" label="社区名称" align="center"></el-table-column>
  273. <el-table-column prop="name" label="居民" align="center" v-if="handleNodeId<=5 || handleNodeId==7 || handleNodeId==8"></el-table-column>
  274. <el-table-column prop="patientName" label="居民" align="center" v-if="handleNodeId>=6 && handleNodeId!=7 && handleNodeId!=8"></el-table-column>
  275. <el-table-column prop="sscNum" label="医保卡" align="center" v-if="handleNodeId<=5"></el-table-column>
  276. <el-table-column prop="ssc" label="医保卡" align="center" v-if="handleNodeId>=6"></el-table-column>
  277. <el-table-column prop="idcardNum" label="身份证" align="center" v-if="handleNodeId<=5"></el-table-column>
  278. <el-table-column prop="idcard" label="身份证" align="center" v-if="handleNodeId>=6"></el-table-column>
  279. <el-table-column prop="mobile" label="手机号" align="center"></el-table-column>
  280. <el-table-column prop="address" label="地址" align="center"></el-table-column>
  281. <el-table-column prop="doctorName" label="签约医生" align="center" v-if="handleNodeId!=8"></el-table-column>
  282. <el-table-column prop="signDoctor" label="签约医生" align="center" v-if="handleNodeId==8"></el-table-column>
  283. <el-table-column prop="doctorHealthName" label="健管师" align="center" v-if="handleNodeId==6"></el-table-column>
  284. <el-table-column prop="doctorHealth" label="健管师" align="center" v-if="handleNodeId==7 || handleNodeId==8"></el-table-column>
  285. <el-table-column prop="healthDocorName" label="健管师" align="center" v-if="handleNodeId==4 || handleNodeId==5"></el-table-column>
  286. <template v-if="handleNodeId==4">
  287. <el-table-column prop="replyTime" label="签约时间" align="center"></el-table-column>
  288. <el-table-column prop="serverTypeName" label="人群" align="center"></el-table-column>
  289. <el-table-column prop="isUpdateStr" label="改签" align="center"></el-table-column>
  290. <el-table-column prop="isAddStr" label="续签" align="center"></el-table-column>
  291. <el-table-column prop="isOutStr" label="退签" align="center"></el-table-column>
  292. <el-table-column prop="isBindWX" label="绑定微信" align="center"></el-table-column>
  293. </template>
  294. <template v-if="handleNodeId==5">
  295. <el-table-column prop="createTime" label="下转时间" align="center"></el-table-column>
  296. <el-table-column prop="statusStr" label="下转状态" align="center"></el-table-column>
  297. <el-table-column prop="specialistName" label="专科医生" align="center"></el-table-column>
  298. <el-table-column prop="sHospitalName" label="专科医院" align="center"></el-table-column>
  299. <el-table-column prop="diseaseName" label="疾病类型" align="center"></el-table-column>
  300. <el-table-column prop="isManagerStr" label="是否管理" align="center"></el-table-column>
  301. <el-table-column prop="managerTime" label="管理时间" align="center"></el-table-column>
  302. </template>
  303. <template v-if="handleNodeId==6">
  304. <el-table-column prop="createTime" label="祝福时间" align="center"></el-table-column>
  305. <el-table-column prop="status" label="发送状态" align="center"></el-table-column>
  306. <el-table-column prop="sendDoctorName" label="发送人" align="center"></el-table-column>
  307. </template>
  308. <template v-if="handleNodeId==7">
  309. <el-table-column prop="serverDoctor" label="服务医生" align="center"></el-table-column>
  310. <el-table-column prop="statusName" label="工单状态" align="center"></el-table-column>
  311. <el-table-column prop="typeValue" label="服务类型" align="center"></el-table-column>
  312. <el-table-column prop="fedNames" label="服务项目" align="center"></el-table-column>
  313. <el-table-column prop="serviceTime" label="服务时间" align="center"></el-table-column>
  314. <el-table-column prop="dispatcher_name" label="调度员" align="center"></el-table-column>
  315. <el-table-column prop="serviceTimes" label="服务次数" align="center"></el-table-column>
  316. </template>
  317. <template v-if="handleNodeId==8">
  318. <el-table-column prop="serverDoctor" label="服务医生" align="center"></el-table-column>
  319. <el-table-column prop="statusName" label="状态" align="center"></el-table-column>
  320. <el-table-column prop="diagnosisName" label="疾病类型" align="center"></el-table-column>
  321. <el-table-column prop="dispensaryTypeName" label="取药方式" align="center"></el-table-column>
  322. <el-table-column prop="createTime" label="续方时间" align="center"></el-table-column>
  323. <el-table-column prop="pay_time" label="结算时间" align="center"></el-table-column>
  324. <el-table-column prop="finish_time" label="取药时间" align="center"></el-table-column>
  325. </template>
  326. </el-table>
  327. </div>
  328. <div class="c-t-right mt20">
  329. <el-pagination
  330. @current-change="handleCurrentChange"
  331. :current-page.sync="currentPage"
  332. :page-size="currentSize"
  333. layout="total, prev, pager, next, jumper"
  334. :total="datatotal">
  335. </el-pagination>
  336. </div>
  337. </div>
  338. </div>
  339. </div>
  340. </div>
  341. </div>
  342. <!--模态框组件-->
  343. <vuedals></vuedals>
  344. </div>
  345. <script src="../../../js/FileSaver/FileSaver.js" type="text/javascript" charset="utf-8"></script>
  346. <script src="../../../js/vue.js" type="text/javascript" charset="utf-8"></script>
  347. <script src="../../../js/jquery-2.2.4.js" type="text/javascript" charset="utf-8"></script>
  348. <script src="../../../js/element-ui.js" type="text/javascript" charset="utf-8"></script>
  349. <script src="../../../plugins/toastr/toastr.min.js"></script>
  350. <script src="../../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>
  351. <script src="../../../js/underscore.js" type="text/javascript" charset="utf-8"></script>
  352. <script src="../../../js/util.js" type="text/javascript" charset="utf-8"></script>
  353. <script src="../../../api/http-request.js" type="text/javascript" charset="utf-8"></script>
  354. <script src="../../../api/home-api.js" type="text/javascript" charset="utf-8"></script>
  355. <script src="../../../api/statistics-api.js" type="text/javascript" charset="utf-8"></script>
  356. <script src="../../../component/common/event-bus.js"></script>
  357. <script src="../../../component/common/vuedals.js" type="text/javascript" charset="utf-8"></script>
  358. <script src="../../../component/statistics/header-tab.js" type="text/javascript" charset="utf-8"></script>
  359. <script src="../../../component/statistics/header-prompt.js" type="text/javascript" charset="utf-8"></script>
  360. <script src="../js/common.js" type="text/javascript" charset="utf-8"></script>
  361. <script src="../js/comprehensive-query.js" type="text/javascript" charset="utf-8"></script>
  362. </body>
  363. </html>