index.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <!-- 家庭病床css文件位置位于/component/common/jtbc.css -->
  2. <div id="app" class="jtbc">
  3. <div class="copd-filter-group ui-col-1 bgc-fff" style="min-width: 900px">
  4. <div class="searchDiv pb20 pr20">
  5. <label class="c-333 c-f14">
  6. <el-radio v-model="yearType" label="1">按查床年度:</el-radio>
  7. <el-select v-model="chooseYear" class="formWidth wd160">
  8. <el-option v-for="(item , index) in years" :key="index" :label="item" :value="item"></el-option>
  9. </el-select>
  10. </label>
  11. </div>
  12. <div class="searchDiv pb20 pr20">
  13. <label class="c-333 c-f14" style="display: flex; align-items: center">
  14. <el-radio v-model="yearType" label="2">自定义查床时间:</el-radio>
  15. <el-date-picker
  16. v-model="chooseTime"
  17. type="daterange"
  18. range-separator="至"
  19. start-placeholder="开始日期"
  20. end-placeholder="结束日期"
  21. value-format="yyyy-MM-dd"></el-date-picker>
  22. </label>
  23. </div>
  24. <div class="searchDiv pb20 pr20">
  25. <label class="c-333 c-f14">查床人员:</label>
  26. <el-input v-model="form.doctorName" class="formWidth wd160" placeholder="请输入医生姓名查询"></el-input>
  27. </div>
  28. <div class="searchDiv pb20 pr20">
  29. <label class="c-333 c-f14">患者姓名:</label>
  30. <el-input v-model="form.patientName" class="formWidth wd160" placeholder="请输入患者姓名查询"></el-input>
  31. </div>
  32. <div class="searchDiv pb20">
  33. <el-button type="primary" size="mini" @click="queryDate">查询</el-button>
  34. <el-button type="ff9526" size="mini" @click="exportTable">导出</el-button>
  35. <span class="eliminate" @click="eliminateClick">清除筛选条件</span>
  36. </div>
  37. </div>
  38. <el-table :data="tableData" style="width: 100%">
  39. <el-table-column type="index" min-width="60" label="序号"></el-table-column>
  40. <el-table-column :label="item.label" v-for="item in tableHeader" :key="item.prop">
  41. <template slot-scope="scope">{{scope.row[item.prop]}}</template>
  42. </el-table-column>
  43. <el-table-column label="操作" align="center">
  44. <template slot-scope="scope">
  45. <el-button type="text" @click="previewRecord(scope.row)">巡诊记录表</el-button>
  46. </template>
  47. </el-table-column>
  48. </el-table>
  49. <el-pagination
  50. @current-change="handleCurrentChange"
  51. @size-change="handleSizeChange"
  52. :current-page.sync="page"
  53. :page-size="size"
  54. :page-sizes="[10, 20, 50]"
  55. layout="total, sizes, prev, pager, next, jumper"
  56. :total="total"
  57. class="pagination"></el-pagination>
  58. <el-dialog :visible.sync="dialogShow" title="结算单据记录" @close="closeDialog" width="700px">
  59. <div class="dialog-title">患者信息</div>
  60. <div class="pb20 dialog-box">
  61. <div class="pr20">
  62. <label class="c-909399">姓名:</label>
  63. {{info.patientName}}
  64. </div>
  65. <div class="pr20">{{sexDict[info.sex]}}</div>
  66. <div class="pr20">{{info.age}}岁</div>
  67. <div class="pr20">
  68. <label class="c-909399">住院号:</label>
  69. {{info.bedTeamId}}
  70. </div>
  71. <div class="pr20">
  72. <label class="c-909399">手机号:</label>
  73. {{info.mobile}}
  74. </div>
  75. </div>
  76. <div class="dialog-title">巡诊记录单</div>
  77. <div>
  78. <div class="form-item">
  79. <div class="form-label">查床日期</div>
  80. <div class="form-value">{{info.checkTime}}</div>
  81. </div>
  82. <div class="form-item">
  83. <div class="form-label">服务内容</div>
  84. <div class="form-value">{{serviceList[info.serviceType]}}</div>
  85. </div>
  86. <div class="form-item" style="align-items: flex-start">
  87. <div class="form-label">入户签到</div>
  88. <div class="form-value">
  89. <div>签到时间:{{info.signTime}}</div>
  90. <div>签到方式:{{info.signMethod}}</div>
  91. </div>
  92. </div>
  93. <div class="form-item">
  94. <div class="form-label">巡诊人员</div>
  95. <div class="form-value">{{info.planDoctor}}</div>
  96. </div>
  97. <div class="form-item" style="align-items: flex-start">
  98. <div class="form-label">病情变化及处理</div>
  99. <div class="form-value textarea-content">{{info.diseaseCondition}}</div>
  100. </div>
  101. </div>
  102. </el-dialog>
  103. </div>