index.html 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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-select class="formWidth" v-model="form.turnOver" placeholder="请选择">
  27. <el-option v-for="(option, index) in turnOverOptions" :label="option.value" :value="option.code"></el-option>
  28. </el-select>
  29. </div>
  30. <div class="searchDiv pb20 pr20">
  31. <label class="c-333 c-f14">患者姓名:</label>
  32. <el-input v-model="form.patientName" class="formWidth wd160" placeholder="请输入患者姓名查询"></el-input>
  33. </div>
  34. <div class="searchDiv pb20">
  35. <el-button type="primary" size="mini" @click="queryDate">查询</el-button>
  36. <el-button type="ff9526" size="mini" @click="exportTable" :disabled="exportLoading">导出</el-button>
  37. <span class="eliminate" @click="eliminateClick">清除筛选条件</span>
  38. </div>
  39. </div>
  40. <el-table :data="tableData" style="width: 100%" v-loading="loading">
  41. <el-table-column type="index" min-width="60" label="序号"></el-table-column>
  42. <el-table-column :label="item.label" v-for="item in tableHeader" :min-width="item.width" :key="item.id">
  43. <template slot-scope="scope">{{scope.row[item.prop]}}</template>
  44. </el-table-column>
  45. <el-table-column label="操作" align="center">
  46. <template slot-scope="scope">
  47. <el-button type="text" @click="previewRecord(scope.row)">撤床记录单</el-button>
  48. </template>
  49. </el-table-column>
  50. </el-table>
  51. <el-pagination
  52. @current-change="handleCurrentChange"
  53. @size-change="handleSizeChange"
  54. :current-page.sync="page"
  55. :page-size="size"
  56. :page-sizes="[10, 20, 50]"
  57. layout="total, sizes, prev, pager, next, jumper"
  58. :total="total"
  59. class="pagination"></el-pagination>
  60. <el-dialog :visible.sync="dialogShow" title="撤床记录单" @close="closeDialog" width="700px">
  61. <div class="dialog-title">撤床记录单</div>
  62. <div style="padding:0 16px;">
  63. <div class="form-item">
  64. <div class="form-label">申请人姓名</div>
  65. <div class="form-value">{{info.patientName}}</div>
  66. </div>
  67. <div class="form-item">
  68. <div class="form-label">年龄</div>
  69. <div class="form-value">{{info.age}}</div>
  70. </div>
  71. <div class="form-item">
  72. <div class="form-label">性别</div>
  73. <div class="form-value">{{sexDict[info.sex]}}</div>
  74. </div>
  75. <div class="form-item">
  76. <div class="form-label">建床日期</div>
  77. <div class="form-value">{{info.buildingTime}}</div>
  78. </div>
  79. <div class="form-item">
  80. <div class="form-label">撤床日期</div>
  81. <div class="form-value">{{info.withdrawalTime}}</div>
  82. </div>
  83. <div class="form-item">
  84. <div class="form-label">建床诊断</div>
  85. <div class="form-value">{{info.buildingDiagnosis}}</div>
  86. </div>
  87. <div class="form-item">
  88. <div class="form-label">建床天数</div>
  89. <div class="form-value">{{info.buildingDays}}天</div>
  90. </div>
  91. <div class="form-item">
  92. <div class="form-label">查床次数</div>
  93. <div class="form-value">{{info.checkBedNum}}次</div>
  94. </div>
  95. <div class="form-item">
  96. <div class="form-label">撤床诊断</div>
  97. <div class="form-value">{{info.sickOutDiagnoseName}}</div>
  98. </div>
  99. <div class="form-item">
  100. <div class="form-label">小结</div>
  101. <div class="form-value textarea-content">{{info.summary}}</div>
  102. </div>
  103. <div class="form-item">
  104. <div class="form-label">转归</div>
  105. <div class="form-value">{{turnOverObj[info.turnOver]}}</div>
  106. </div>
  107. <div class="form-item">
  108. <div class="form-label">患者(或监护人签字)</div>
  109. <div class="form-value">
  110. <img :src="getImgUrl(info.patientSign)" alt="">
  111. </div>
  112. </div>
  113. <div class="form-item">
  114. <div class="form-label">责任医师签字</div>
  115. <div class="form-value">
  116. <img :src="getImgUrl(info.doctorSign)" alt="">
  117. </div>
  118. </div>
  119. </div>
  120. </el-dialog>
  121. </div>