schedualPatient.vue 24KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638
  1. <template>
  2. <div class="main-contain">
  3. <div class="position">
  4. <bread-crumb :crumbs='crumbs'></bread-crumb>
  5. </div>
  6. <div class="app-container">
  7. <!-- <div class="cell clearfix">
  8. <label class="title"><span class="name">病人查询</span> : </label>
  9. <el-input size="small" style="width: 280px;" v-model.trim="search_input" class="filter-item"/>
  10. <el-button size="small" class="filter-item" type="primary" icon="el-icon-search" @click="searchAction">搜索</el-button>
  11. </div> -->
  12. <!-- <div class="cell clearfix">
  13. <label class="title"><span class="name">日期查询</span> : </label>
  14. <el-date-picker v-model="selected_date" prefix-icon="el-icon-date" @change="handleScheduleDateChange" :editable="false" :clearable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right" ></el-date-picker>
  15. </div>
  16. <div class="cell clearfix">
  17. <label class="title"><span class="name">排班班次</span> : </label>
  18. <div class="time ">
  19. <ul class="">
  20. <li v-for="option in schedule_type_options" :key="option.value" @click="handletimeType(option.value)" :class="schedule_type_selected == option.value ? 'active' : ''" >{{option.text}}
  21. </li>
  22. </ul>
  23. </div>
  24. </div>
  25. <div class="cell clearfix">
  26. <label class="title"><span class="name">分区</span> : </label>
  27. <div class="time ">
  28. <ul class="">
  29. <li v-for="option in zone_options" :key="option.id" :class="option.id == zone_selected ? 'active' : ''" @click='handleZoneChange(option.id)'>{{ option.text }}
  30. </li>
  31. </ul>
  32. </div>
  33. </div> -->
  34. <div class="cell clearfix">
  35. <label class="title"><span class="name">患者状态</span> : </label>
  36. <div class="time ">
  37. <ul class="">
  38. <li v-for="option in patient_state" :key="option.value" @click="handleStateChange(option.value)" :class="patientStateVal == option.value ? 'active' : ''" >{{option.label}}
  39. </li>
  40. </ul>
  41. </div>
  42. </div>
  43. <div class="cell clearfix">
  44. <label class="title"><span class="name">治疗状态</span> : </label>
  45. <div class="time ">
  46. <ul class="">
  47. <li v-for="option in treat_state" :key="option.value" @click="handleTreatChange(option.value)" :class="treatStateVal == option.value ? 'active' : ''" >{{option.label}}
  48. </li>
  49. </ul>
  50. </div>
  51. </div>
  52. <div class="cell clearfix" style="margin-bottom:10px;">
  53. <label class="title"><span class="name">其他查询</span> : </label>
  54. <el-select v-model="schedule_type_selected" placeholder="班次" style="margin-right:10px;" @change="handletimeType">
  55. <el-option
  56. v-for="item in schedule_type_options"
  57. :key="item.value"
  58. :label="item.text"
  59. :value="item.value">
  60. </el-option>
  61. </el-select>
  62. <el-select v-model="zone_selected" placeholder="分区" style="margin-right:10px;" @change="handleZoneChange">
  63. <el-option
  64. v-for="item in zone_options"
  65. :key="item.id"
  66. :label="item.text"
  67. :value="item.id">
  68. </el-option>
  69. </el-select>
  70. <label class="title"><span class="name">日期查询</span> : </label>
  71. <el-date-picker v-model="selected_date" prefix-icon="el-icon-date" @change="handleScheduleDateChange" :editable="false" :clearable="false" style="width: 196px;margin-right:10px;" type="date" placeholder="选择日期时间" align="right" ></el-date-picker>
  72. <el-input size="small" style="width: 180px;" v-model.trim="search_input" class="filter-item"/>
  73. <el-button size="small" class="filter-item" type="primary" icon="el-icon-search" @click="searchAction">搜索</el-button>
  74. </div>
  75. <div class="PatientArea">
  76. <div v-for="zone_schedule in allPatient" :key="zone_schedule.zone_id" class="list clearfix" style="display:flex;">
  77. <!-- <h3 style="width:40px;" class="title">{{zone_schedule.zone_name}}</h3> -->
  78. <div v-if="zone_schedule.schedules.length > 0 && patientStateVal != 1" style="font-size:16px;font-weight: bold;color: #34495e;margin-right:10px;">{{zone_schedule.zone_name}}</div>
  79. <patient-box :schedules="zone_schedule.schedules" :patientStateVal='patientStateVal' style="flex:1"></patient-box>
  80. </div>
  81. <div class="NoData" v-show="filtedSchedules.length == 0">
  82. <img src="@/assets/img/data.jpg" alt="">
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87. </template>
  88. <script>
  89. import PatientBox from './PatientBox'
  90. import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_record'
  91. import { parseTime } from '@/utils'
  92. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  93. export default {
  94. name: 'Patient',
  95. components: {
  96. PatientBox,
  97. BreadCrumb
  98. },
  99. data() {
  100. return {
  101. crumbs: [
  102. { path: false, name: '透析管理' },
  103. { path: 'dialysis/dialysisrecord', name: '透析记录' }
  104. ],
  105. selected_date: new Date(), // this.$store.getters.app.dialysis_area.schedule_date,
  106. schedule_type_selected: 0, // this.$store.getters.app.dialysis_area.schedule_type_select_index,
  107. schedule_type_options: [
  108. { value: 0, text: '全部' },
  109. { value: 1, text: '上午' },
  110. { value: 2, text: '下午' },
  111. { value: 3, text: '晚上' }
  112. ],
  113. zone_selected: 0, // this.$store.getters.app.dialysis_area.zone_select_index,
  114. zone_options: [
  115. { id: 0, text: '全部' }
  116. ],
  117. zone_schedules: [],
  118. date_picker_options: {
  119. shortcuts: [
  120. {
  121. text: '今天',
  122. onClick(picker) {
  123. picker.$emit('pick', new Date())
  124. }
  125. },
  126. {
  127. text: '昨天',
  128. onClick(picker) {
  129. const date = new Date()
  130. date.setTime(date.getTime() - 3600 * 1000 * 24)
  131. picker.$emit('pick', date)
  132. }
  133. },
  134. {
  135. text: '一周前',
  136. onClick(picker) {
  137. const date = new Date()
  138. date.setTime(date.getTime() - 3600 * 1000 * 24 * 7)
  139. picker.$emit('pick', date)
  140. }
  141. }
  142. ]
  143. },
  144. // search_input 和 search_keyword,使输入关键字时不会经常刷新 filtedSchedules
  145. search_keyword: '', // 确定用于搜索的关键字
  146. search_input: '', // 输入中的关键字
  147. //
  148. patient_state:[
  149. {value: 0,label: '全部'},
  150. {value: 1,label: '已签到'},
  151. {value: 2,label: '未签到'},
  152. {value: 3,label: '已上机'},
  153. {value: 4,label: '已下机'},
  154. ],
  155. patientStateVal: 0,
  156. treat_state:[
  157. {value: 0,label: '全部'},
  158. {value: 1,label: '待开处方'},
  159. {value: 2,label: '待开小结'},
  160. ],
  161. treatStateVal: 0,
  162. allPatient:[]
  163. }
  164. },
  165. computed: {
  166. filtedSchedules: function() {
  167. var search_keyword = this.search_keyword
  168. if (search_keyword.length > 0) {
  169. var schedules = []
  170. for (let o_i = 0; o_i < this.zone_schedules.length; o_i++) {
  171. const scheduleInfo = this.zone_schedules[o_i]
  172. var originSchedules = scheduleInfo.schedules
  173. if (originSchedules.length == 0) {
  174. continue
  175. }
  176. var filtedSchedules = []
  177. for (let s_i = 0; s_i < originSchedules.length; s_i++) {
  178. const schedule = originSchedules[s_i]
  179. if (schedule.patient.name.indexOf(search_keyword) != -1) {
  180. filtedSchedules.push(schedule)
  181. // break
  182. }
  183. }
  184. if (filtedSchedules.length > 0) {
  185. schedules.push({ zone_id: scheduleInfo.zone_id, zone_name: scheduleInfo.zone_name, schedules: filtedSchedules })
  186. }
  187. }
  188. return schedules
  189. }
  190. var zone_selected = this.zone_selected
  191. var timetype_selected = this.schedule_type_selected
  192. if ((zone_selected == 0 && timetype_selected == 0) || this.zone_options.length <= 1) {
  193. var schedules = []
  194. for (let index = 0; index < this.zone_schedules.length; index++) {
  195. const scheduleInfo = this.zone_schedules[index]
  196. if (scheduleInfo.schedules.length != 0) {
  197. schedules.push(scheduleInfo)
  198. }
  199. }
  200. return schedules
  201. }
  202. var schedules = []
  203. for (let o_i = 0; o_i < this.zone_schedules.length; o_i++) {
  204. const scheduleInfo = this.zone_schedules[o_i]
  205. if (zone_selected == scheduleInfo.zone_id && timetype_selected == 0) {
  206. if (scheduleInfo.schedules.length == 0) {
  207. return []
  208. } else {
  209. return [scheduleInfo]
  210. }
  211. }
  212. var originSchedules = scheduleInfo.schedules
  213. if (originSchedules.length == 0) {
  214. continue
  215. }
  216. var filtedSchedules = []
  217. for (let s_i = 0; s_i < originSchedules.length; s_i++) {
  218. const schedule = originSchedules[s_i]
  219. if (zone_selected != 0) {
  220. if (zone_selected == schedule.device_number.zone.id) {
  221. if (timetype_selected == 0 || schedule.schedule_type == timetype_selected) {
  222. filtedSchedules.push(schedule)
  223. }
  224. }
  225. } else {
  226. if (timetype_selected == 0 || schedule.schedule_type == timetype_selected) {
  227. filtedSchedules.push(schedule)
  228. }
  229. }
  230. }
  231. if (filtedSchedules.length > 0) {
  232. schedules.push({ zone_id: scheduleInfo.zone_id, zone_name: scheduleInfo.zone_name, schedules: filtedSchedules })
  233. }
  234. }
  235. return schedules
  236. }
  237. },
  238. created() {
  239. var schedule_type_selected = this.$store.getters.schedule_type_selected
  240. var zone_selected = this.$store.getters.zone_selected
  241. var patient_state_selected = this.$store.getters.patient_state_selected
  242. var treat_state_selected = this.$store.getters.treat_state_selected
  243. var selected_date = this.$store.getters.selected_date
  244. if (schedule_type_selected) {
  245. this.schedule_type_selected = schedule_type_selected.schedule_type_selected
  246. }
  247. if (zone_selected) {
  248. this.zone_selected = zone_selected.zone_selected
  249. }
  250. if (patient_state_selected) {
  251. this.patientStateVal = patient_state_selected.patient_state_selected
  252. }
  253. if (treat_state_selected) {
  254. this.treatStateVal = treat_state_selected.treat_state_selected
  255. }
  256. if(selected_date.selected_date){
  257. this.selected_date = selected_date.selected_date
  258. }
  259. this.getInitData()
  260. },
  261. methods: {
  262. // handletimeType: function(index) {
  263. // this.schedule_type_selected = index
  264. // this.$store.dispatch('SetScheduleTypeSelected', { schedule_type_selected: index })
  265. // this.search_keyword = this.search_input = ''
  266. // // this.$store.dispatch("SaveDialysisAreaSelectIndexs", {
  267. // // zone: this.zone_selected,
  268. // // schedule_type: this.schedule_type_selected,
  269. // // schedule_date: this.selected_date,
  270. // // })
  271. // },
  272. // handleZoneChange: function(index) {
  273. // this.zone_selected = index
  274. // this.$store.dispatch('SetZoneSelected', { zone_selected: index })
  275. // this.search_keyword = this.search_input = ''
  276. // // this.$store.dispatch("SaveDialysisAreaSelectIndexs", {
  277. // // zone: this.zone_selected,
  278. // // schedule_type: this.schedule_type_selected,
  279. // // schedule_date: this.selected_date,
  280. // // })
  281. // },
  282. handleScheduleDateChange: function(index) {
  283. console.log("askdjlkas",index)
  284. this.zone_selected = 0
  285. this.schedule_type_selected = 0
  286. this.patientStateVal = 0
  287. this.treatStateVal = 0
  288. this.search_keyword = this.search_input = ''
  289. // this.$store.dispatch("SaveDialysisAreaSelectIndexs", {
  290. // zone: this.zone_selected,
  291. // schedule_type: this.schedule_type_selected,
  292. // schedule_date: this.selected_date,
  293. // })
  294. this.selected_date = index
  295. this.$store.dispatch('SetSelectedDate', { selected_date: index })
  296. this.requestDialysisSchedules()
  297. },
  298. searchAction: function() {
  299. this.search_keyword = this.search_input
  300. this.schedule_type_selected = 0
  301. this.zone_selected = 0
  302. this.treatStateVal = 0
  303. this.patientStateVal = 0
  304. if(this.search_input != ''){
  305. this.allPatient = this.filtedSchedules
  306. }else{
  307. this.getData()
  308. }
  309. },
  310. getInitData: function() {
  311. getDialysisRecordInitData().then(rs => {
  312. var resp = rs.data
  313. if (resp.state == 1) {
  314. var zones = resp.data.zones
  315. var schedules = resp.data.schedules
  316. var zone_options = [{ id: 0, text: '全部' }]
  317. for (let z_i = 0; z_i < zones.length; z_i++) {
  318. const zone = zones[z_i]
  319. zone_options.push({ id: zone.id, text: zone.name })
  320. }
  321. this.zone_options = zone_options
  322. // this.zone_schedules = this.processedDialysisSchedules(schedules, this.zone_options)
  323. this.requestDialysisSchedules()
  324. this.getData()
  325. console.log(1111111111111,this.zone_schedules)
  326. } else {
  327. this.$message.error(resp.msg)
  328. }
  329. })
  330. },
  331. requestDialysisSchedules: function() {
  332. var ymd = parseTime(this.selected_date, '{y}-{m}-{d}')
  333. getDialysisSchedules(ymd).then(rs => {
  334. var resp = rs.data
  335. if (resp.state == 1) {
  336. var schedules = resp.data.schedules
  337. this.zone_schedules = this.processedDialysisSchedules(schedules, this.zone_options)
  338. this.allPatient = this.filtedSchedules
  339. } else {
  340. this.$message.error(resp.msg)
  341. }
  342. })
  343. },
  344. processedDialysisSchedules: function(schedules, zone_options) {
  345. var zoneMap = {}
  346. var scheduleMap = {}
  347. for (let z_i = 0; z_i < zone_options.length; z_i++) {
  348. const zone = zone_options[z_i]
  349. if (zone.id == 0) {
  350. continue
  351. }
  352. scheduleMap[zone.id] = []
  353. }
  354. for (let index = 0; index < schedules.length; index++) {
  355. const schedule = schedules[index]
  356. scheduleMap[schedule.device_number.zone.id].push(schedule)
  357. }
  358. var zone_schedules = []
  359. for (let index = 0; index < zone_options.length; index++) {
  360. const zone = zone_options[index]
  361. if (zone.id == 0) {
  362. continue
  363. }
  364. var schedules = scheduleMap[zone.id]
  365. zone_schedules.push({ zone_id: zone.id, zone_name: zone.text, schedules: schedules })
  366. }
  367. return zone_schedules
  368. },
  369. //
  370. handleStateChange: function(index) {
  371. this.patientStateVal = index
  372. this.$store.dispatch('SetPatientStateSelected', { patient_state_selected: index })
  373. this.search_keyword = this.search_input = ''
  374. this.getData()
  375. },
  376. handleTreatChange: function(index) {
  377. this.treatStateVal = index
  378. this.$store.dispatch('SetTreatStateSelected', { treat_state_selected: index })
  379. this.search_keyword = this.search_input = ''
  380. this.getData()
  381. },
  382. handletimeType: function(index) {
  383. this.schedule_type_selected = index
  384. this.$store.dispatch('SetScheduleTypeSelected', { schedule_type_selected: index })
  385. this.search_keyword = this.search_input = ''
  386. this.getData()
  387. },
  388. //分区
  389. handleZoneChange: function(index) {
  390. this.zone_selected = index
  391. this.$store.dispatch('SetZoneSelected', { zone_selected: index })
  392. this.search_keyword = this.search_input = ''
  393. this.getData()
  394. },
  395. getData(){
  396. let patientArr = []
  397. patientArr = JSON.parse(JSON.stringify(this.zone_schedules))
  398. // for (let i = 0; i < patientArr.length; i++) {
  399. // for (let j = 0; j < patientArr[i].schedules.length; j++) {
  400. // if (patientArr[i].schedules.length > 0 && patientArr[i].schedules[j].dialysis_order != null) {
  401. // // 删除元素后改变i的值
  402. // console.log("候诊区",patientArr[i].schedules[j])
  403. // patientArr[i].schedules.splice(j--, 1);
  404. // }
  405. // }
  406. // }
  407. let arr1 = []
  408. if(this.patientStateVal == 0){
  409. arr1 = patientArr
  410. }else if(this.patientStateVal == 1){
  411. let arr = []
  412. arr = patientArr
  413. for (let i = 0; i <arr.length; i++) {
  414. for (let j = 0; j < arr[i].schedules.length; j++) {
  415. if (arr[i].schedules.length > 0 && (arr[i].schedules[j].assessment_before_dislysis == null || (arr[i].schedules[j].assessment_before_dislysis.weight_before == '' && arr[i].schedules[j].assessment_before_dislysis.diastolic_blood_pressure == '' && arr[i].schedules[j].assessment_before_dislysis.systolic_blood_pressure == ''))) {
  416. // 删除元素后改变i的值
  417. arr[i].schedules.splice(j--, 1);
  418. }
  419. }
  420. }
  421. console.log("执行1",arr)
  422. arr1 = arr
  423. }else if(this.patientStateVal == 2){
  424. let arr = []
  425. arr = patientArr
  426. for (let i = 0; i < arr.length; i++) {
  427. for (let j = 0; j < arr[i].schedules.length; j++) {
  428. if (arr[i].schedules.length > 0 && (arr[i].schedules[j].assessment_before_dislysis != null && (arr[i].schedules[j].assessment_before_dislysis.weight_before != 0 || arr[i].schedules[j].assessment_before_dislysis.diastolic_blood_pressure != 0 || arr[i].schedules[j].assessment_before_dislysis.systolic_blood_pressure != 0))) {
  429. // 删除元素后改变i的值
  430. console.log('几次')
  431. arr[i].schedules.splice(j--, 1);
  432. }
  433. }
  434. }
  435. console.log("执行2",arr)
  436. arr1 = arr
  437. }else if(this.patientStateVal == 3){
  438. let arr = []
  439. arr = patientArr
  440. for (let i = 0; i <arr.length; i++) {
  441. for (let j = 0; j < arr[i].schedules.length; j++) {
  442. if (arr[i].schedules.length > 0 && (arr[i].schedules[j].dialysis_order == null || (arr[i].schedules[j].dialysis_order != null && arr[i].schedules[j].dialysis_order.stage != 1))) {
  443. // 删除元素后改变i的值
  444. arr[i].schedules.splice(j--, 1);
  445. }
  446. }
  447. }
  448. console.log("执行1",arr)
  449. arr1 = arr
  450. }else if(this.patientStateVal == 4){
  451. let arr = []
  452. arr = patientArr
  453. for (let i = 0; i < arr.length; i++) {
  454. for (let j = 0; j < arr[i].schedules.length; j++) {
  455. if (arr[i].schedules.length > 0 && (arr[i].schedules[j].dialysis_order == null || (arr[i].schedules[j].dialysis_order != null && arr[i].schedules[j].dialysis_order.stage != 2))) {
  456. // 删除元素后改变i的值
  457. arr[i].schedules.splice(j--, 1);
  458. }
  459. }
  460. }
  461. console.log("执行2",arr)
  462. arr1 = arr
  463. }
  464. let arr2 = []
  465. if(this.treatStateVal == 0){
  466. arr2 = JSON.parse(JSON.stringify(arr1))
  467. }else if(this.treatStateVal == 1){
  468. let arr = []
  469. arr = JSON.parse(JSON.stringify(arr1))
  470. for (let i = 0; i < arr.length; i++) {
  471. for (let j = 0; j < arr[i].schedules.length; j++) {
  472. if (arr[i].schedules.length > 0 && (arr[i].schedules[j].prescription != null || arr[i].schedules[j].prescription != null ? arr[i].schedules[j].prescription.creater != 0 : false)) {
  473. // 删除元素后改变i的值
  474. arr[i].schedules.splice(j--, 1);
  475. }
  476. }
  477. }
  478. arr2 = arr
  479. }else if(this.treatStateVal == 2){
  480. let arr = []
  481. arr = JSON.parse(JSON.stringify(arr1))
  482. for (let i = 0; i < arr.length; i++) {
  483. for (let j = 0; j < arr[i].schedules.length; j++) {
  484. if (arr[i].schedules.length > 0 && arr[i].schedules[j].treatment_summary != null && arr[i].schedules[j].treatment_summary.dialysis_summary != '') {
  485. // 删除元素后改变i的值
  486. arr[i].schedules.splice(j--, 1);
  487. }
  488. }
  489. }
  490. arr2 = arr
  491. }
  492. let arr3 = []
  493. if(this.schedule_type_selected == 0){
  494. arr3 = JSON.parse(JSON.stringify(arr2))
  495. }else{
  496. let arr = []
  497. arr = JSON.parse(JSON.stringify(arr2))
  498. for (let i = 0; i < arr.length; i++) {
  499. for (let j = 0; j < arr[i].schedules.length; j++) {
  500. if (this.schedule_type_selected != arr[i].schedules[j].schedule_type) {
  501. // 删除元素后改变i的值
  502. arr[i].schedules.splice(j--, 1);
  503. }
  504. }
  505. }
  506. arr3 = arr
  507. }
  508. let arr4 = []
  509. if(this.zone_selected == 0){
  510. arr4 = JSON.parse(JSON.stringify(arr3))
  511. }else{
  512. let arr = []
  513. arr = JSON.parse(JSON.stringify(arr3))
  514. for (let i = 0; i < arr.length; i++) {
  515. if (this.zone_selected != arr[i].zone_id) {
  516. // 删除元素后改变i的值
  517. arr.splice(i--, 1);
  518. }
  519. }
  520. arr4 = arr
  521. }
  522. if(this.patientStateVal == 1){
  523. arr4.map((item,index) => {
  524. if(index != 0){
  525. arr4[0].schedules.push(...arr4[index].schedules)
  526. arr4[index].schedules = []
  527. }
  528. })
  529. arr4[0].schedules.map(item => {
  530. item.created_time = item.assessment_before_dislysis.created_time
  531. })
  532. arr4[0].schedules.sort(this.compare('created_time'))
  533. this.allPatient = arr4
  534. console.log("arr4",arr4)
  535. }else{
  536. this.allPatient = arr4
  537. }
  538. },
  539. compare(property){
  540. return function(a,b){
  541. var value1 = a[property];
  542. var value2 = b[property];
  543. return value1 - value2;
  544. }
  545. }
  546. }
  547. }
  548. </script>
  549. <style rel="stylesheet/scss" lang="scss" scoped>
  550. .app-container {
  551. // margin: 20px;
  552. font-size: 15px;
  553. .filter-container {
  554. padding-bottom: 5px;
  555. }
  556. .search-component {
  557. width: 500px;
  558. .searchBox {
  559. width: 300px;
  560. height: 36px;
  561. line-height: 36px;
  562. padding-left: 15px;
  563. border: 1px #dcdfe6 solid;
  564. border-right: none;
  565. outline: none;
  566. float: left;
  567. border-radius: 6px 0 0 6px;
  568. font-size: 14px;
  569. color: #333;
  570. background: #fff;
  571. box-shadow: 3px 3px 4px rgba(135, 135, 135, 0.05);
  572. }
  573. .searchBtn {
  574. background-color: #409eff;
  575. color: #fff;
  576. font-size: 15px;
  577. text-align: center;
  578. height: 36px;
  579. line-height: 36px;
  580. float: left;
  581. outline: none;
  582. width: 70px;
  583. border: none;
  584. border-radius: 0 6px 6px 0;
  585. font-family: "Microsoft Yahei";
  586. cursor: pointer;
  587. }
  588. }
  589. .amount {
  590. font-weight: normal;
  591. padding: 10px 0 0 0;
  592. color: #606266;
  593. font-size: 14px;
  594. span {
  595. color: #ef2525;
  596. font-family: "Arial";
  597. padding: 0 2px;
  598. }
  599. }
  600. }
  601. .PatientArea{
  602. .list{
  603. .title{
  604. font-size: 16px;
  605. color: #34495e;
  606. height:50px ;
  607. line-height: 50px;
  608. font-weight: bold;
  609. }
  610. }
  611. }
  612. </style>