Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

summary.vue 6.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. <template>
  2. <div class="main-contain new-main-contain">
  3. <div class="position">
  4. <bread-crumb :crumbs='crumbs'></bread-crumb>
  5. </div>
  6. <div class="app-container" style="display:flex;flex: 1;padding: 10px 20px 0px 20px;">
  7. <div class="mainRight">
  8. <div class="mainHeader">
  9. <el-tabs v-model="titleType" @tab-click="handleClick"
  10. style="position: fixed;width: calc(100% - 490px);background:#fff;">
  11. <el-tab-pane label="明细" name="明细"></el-tab-pane>
  12. <el-tab-pane label="汇总" name="汇总"></el-tab-pane>
  13. <el-tab-pane label="结算" name="结算"></el-tab-pane>
  14. </el-tabs>
  15. </div>
  16. <detail v-if="titleType == '明细'"></detail>
  17. <gather v-if="titleType == '汇总'"></gather>
  18. <settle v-if="titleType == '结算'"></settle>
  19. </div>
  20. </div>
  21. </div>
  22. </template>
  23. <script>
  24. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  25. import { getDictionaryDataConfig } from '@/utils/data'
  26. import { uParseTime } from '@/utils/tools'
  27. import { getPrescriptionList } from '@/api/project/project'
  28. import SummaryDetail from '../outpatientCharges/summaryDetail'
  29. import Settle from './components/settle'
  30. import Gather from './components/gather'
  31. import Detail from './components/detail'
  32. const moment = require('moment')
  33. export default {
  34. components: {
  35. Gather,
  36. Settle,
  37. Detail,
  38. SummaryDetail,
  39. BreadCrumb
  40. },
  41. data() {
  42. return {
  43. titleType: '明细'
  44. }
  45. },
  46. methods: {},
  47. created() {
  48. },
  49. mounted() {
  50. },
  51. watch: {}
  52. }
  53. </script>
  54. <style lang="scss" scoped>
  55. .new-main-contain {
  56. height: 100%;
  57. display: flex;
  58. flex-direction: column;
  59. }
  60. .app-container {
  61. height: 100%;
  62. }
  63. .mainCell {
  64. height: 36px;
  65. display: flex;
  66. align-items: center;
  67. }
  68. .mainLeft {
  69. width: 200px;
  70. height: 100%;
  71. display: flex;
  72. flex-direction: column;
  73. .el-radio {
  74. margin-right: 5px;
  75. }
  76. }
  77. .mainRight {
  78. margin-left: 10px;
  79. flex: 1;
  80. height: 100%;
  81. display: flex;
  82. flex-direction: column;
  83. overflow-y: auto;
  84. .cellSpan {
  85. min-width: 80px;
  86. display: inline-block;
  87. margin-right: 10px;
  88. }
  89. }
  90. .mainCenter {
  91. display: flex;
  92. flex: 1;
  93. }
  94. .centerLeft {
  95. flex: 1;
  96. display: flex;
  97. flex-direction: column;
  98. position: relative;
  99. .el-form-item {
  100. width: 32%;
  101. margin-right: 1%;
  102. float: left;
  103. }
  104. .el-form-item__label {
  105. text-align: left;
  106. }
  107. }
  108. .backColor {
  109. background: #f6f8f9;
  110. height: 5px;
  111. margin-bottom: 5px;
  112. }
  113. .tabsBox {
  114. position: relative;
  115. height: 76%;
  116. overflow-y: auto;
  117. margin-bottom: 60px;
  118. .el-tabs__item {
  119. padding: 0 10px;
  120. }
  121. }
  122. .preTabs {
  123. height: 100%;
  124. display: flex;
  125. flex-direction: column;
  126. .el-tabs__content {
  127. flex: 1;
  128. overflow-y: auto;
  129. }
  130. }
  131. .costBox {
  132. width: 100%;
  133. height: 60px;
  134. background: #fff;
  135. position: absolute;
  136. bottom: 0;
  137. display: flex;
  138. align-items: center;
  139. }
  140. .addTab {
  141. position: absolute;
  142. right: 0;
  143. top: 14px;
  144. z-index: 20;
  145. }
  146. .centerRight {
  147. width: 300px;
  148. margin-left: 10px;
  149. display: flex;
  150. flex-direction: column;
  151. position: relative;
  152. }
  153. .rightTab {
  154. height: 40px;
  155. width: 100%;
  156. border: 1px solid #d2d2d2;
  157. box-sizing: border-box;
  158. p {
  159. width: 50%;
  160. height: 40px;
  161. line-height: 40px;
  162. text-align: center;
  163. background: #eee;
  164. float: left;
  165. }
  166. > p:last-child {
  167. border-left: 1px solid #d2d2d2;
  168. float: right;
  169. }
  170. .activeP {
  171. background: #409EFF;
  172. color: #fff;
  173. }
  174. }
  175. .comfirmBox {
  176. width: 100%;
  177. height: 60px;
  178. background: #fff;
  179. position: absolute;
  180. bottom: 0;
  181. display: flex;
  182. align-items: center;
  183. justify-content: space-between;
  184. }
  185. .mainHeader {
  186. width: 100%;
  187. background: #fff;
  188. position: fixed;
  189. z-index: 100;
  190. height: 36px;
  191. }
  192. .titleBox {
  193. position: fixed;
  194. z-index: 99;
  195. background: #fff;
  196. }
  197. .fixedCell {
  198. position: fixed;
  199. z-index: 99;
  200. right: 30px;
  201. background: #fff;
  202. width: 300px;
  203. display: flex;
  204. justify-content: space-between;
  205. }
  206. </style>
  207. <style lang="scss">
  208. .centerLeft {
  209. .el-form-item__label {
  210. text-align: left;
  211. }
  212. }
  213. .tabsBox {
  214. .el-tabs__item {
  215. padding: 0 10px;
  216. }
  217. .el-tabs--bottom .el-tabs--left > .el-tabs__header .el-tabs__item:nth-child(2), .el-tabs--bottom .el-tabs--right > .el-tabs__header .el-tabs__item:nth-child(2), .el-tabs--bottom.el-tabs--border-card > .el-tabs__header .el-tabs__item:nth-child(2), .el-tabs--bottom.el-tabs--card > .el-tabs__header .el-tabs__item:nth-child(2), .el-tabs--top .el-tabs--left > .el-tabs__header .el-tabs__item:nth-child(2), .el-tabs--top .el-tabs--right > .el-tabs__header .el-tabs__item:nth-child(2), .el-tabs--top.el-tabs--border-card > .el-tabs__header .el-tabs__item:nth-child(2), .el-tabs--top.el-tabs--card > .el-tabs__header .el-tabs__item:nth-child(2) {
  218. padding: 0 10px;
  219. }
  220. .el-tabs--bottom .el-tabs--left > .el-tabs__header .el-tabs__item:last-child, .el-tabs--bottom .el-tabs--right > .el-tabs__header .el-tabs__item:last-child, .el-tabs--bottom.el-tabs--border-card > .el-tabs__header .el-tabs__item:last-child, .el-tabs--bottom.el-tabs--card > .el-tabs__header .el-tabs__item:last-child, .el-tabs--top .el-tabs--left > .el-tabs__header .el-tabs__item:last-child, .el-tabs--top .el-tabs--right > .el-tabs__header .el-tabs__item:last-child, .el-tabs--top.el-tabs--border-card > .el-tabs__header .el-tabs__item:last-child, .el-tabs--top.el-tabs--card > .el-tabs__header .el-tabs__item:last-child {
  221. padding: 0 10px;
  222. }
  223. .el-tabs--card > .el-tabs__header .el-tabs__item.is-active.is-closable {
  224. padding: 0 10px;
  225. }
  226. }
  227. .centerRight {
  228. .el-tabs__nav-scroll {
  229. display: flex;
  230. }
  231. .el-tabs__nav {
  232. margin: 0 auto;
  233. }
  234. .el-table th .cell, .el-table td .cell {
  235. padding: 0 2px;
  236. }
  237. }
  238. .preTabs {
  239. .el-tabs__content {
  240. }
  241. }
  242. .rightTabs {
  243. height: 100%;
  244. .el-tabs__content {
  245. }
  246. }
  247. .centerDialog {
  248. .el-dialog__body {
  249. max-height: calc(100vh - 100px) !important;
  250. padding: 0 20px;
  251. }
  252. }
  253. </style>