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

outpatientChargesManagement.vue 48KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437
  1. <template>
  2. <div class="main-contain outpatientChargesManagement">
  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="mainLeft">
  8. <!-- <div class="mainCell" style="justify-content: space-between;font-size:14px;">
  9. <p >未收费:<span style="color: red">{{cal_one}}</span>人</p>
  10. <p>已收费:<span style="color: red">{{cal_two}}</span>人</p>
  11. <p>已退费:<span style="color: red">{{cal_three}}</span>人</p>
  12. </div> -->
  13. <div class="mainCell">
  14. <el-radio-group v-model="radio" @change="changeRadio">
  15. <!-- <el-radio :label=1>未收费</el-radio>
  16. <el-radio :label=2>已收费</el-radio>
  17. <el-radio :label=3>已退费</el-radio>
  18. <el-radio :label=4>全部</el-radio> -->
  19. <el-radio :label=1>未收费<span style="color: red;margin-bottom:10px;display: inline-block;">{{cal_one}}</span>人
  20. </el-radio>
  21. <el-radio :label=2>已收费<span style="color: red;margin-bottom:10px;display: inline-block;">{{cal_two}}</span>人
  22. </el-radio>
  23. <el-radio :label=3>已退费<span
  24. style="color: red;margin-bottom:10px;display: inline-block;">{{cal_three}}</span>人
  25. </el-radio>
  26. <el-radio :label=4>全部</el-radio>
  27. </el-radio-group>
  28. </div>
  29. <div class="mainCell" style="margin-bottom:10px;">
  30. <el-input size="small" v-model="key" class="filter-item"/>
  31. <el-input size="small" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
  32. <el-button size="small" style="margin-left:10px;" class="filter-item" type="primary" @click="searchAction">
  33. 搜索
  34. </el-button>
  35. </div>
  36. <div>
  37. <el-table :data="patientTableData" :height="tableHeight" border style="width: 100%;"
  38. :row-style="{ color: '#303133' }"
  39. :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
  40. highlight-current-row ref="tab"
  41. @current-change="handleCurrentChange">
  42. <el-table-column align="center" prop="name" label="姓名" wdith='89'>
  43. <template slot-scope="scope">{{scope.row.patients?scope.row.patients.name:''}}</template>
  44. </el-table-column>
  45. <el-table-column align="center" prop="name" label="就诊号" width="110">
  46. <template slot-scope="scope">{{ scope.row.his_patient ?scope.row.his_patient.number:''}}</template>
  47. </el-table-column>
  48. </el-table>
  49. </div>
  50. </div>
  51. <div class="mainRight">
  52. <div class="mainCell fixedCell" style="margin-bottom:10px;">
  53. <!-- <el-button size="small" @click="open(1)" type="primary" style="margin-left:10px;">打印处置单</el-button>
  54. <el-button size="small" @click="open(2)" type="primary">打印治疗单</el-button> -->
  55. <el-button size="small" @click="open(3)" type="primary">打印</el-button>
  56. <el-button v-loading="loadingone" size="small"
  57. @click="open(6)"
  58. v-if="this.hisPatientInfo && this.hisPatientInfo.id == 0"
  59. type="primary">挂号
  60. </el-button>
  61. <el-button v-loading="loadingtwo" v-if="this.info.prescription_status == 1" size="small"
  62. @click="open(4)"
  63. type="primary">收费
  64. </el-button>
  65. <el-button size="small" @click="open(5)" type="primary"
  66. v-if="this.info && this.info.prescription_status == 3">退费
  67. </el-button>
  68. <!--<el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(7)" type="primary"-->
  69. <!--&gt;对账-->
  70. <!--</el-button>-->
  71. <!--<el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(8)" type="primary"-->
  72. <!--&gt;明细对账-->
  73. <!--</el-button>-->
  74. <el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(9)" type="primary"
  75. >结算单
  76. </el-button>
  77. <!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919" size="small" @click="open(10)" type="primary"-->
  78. <!--&gt;退号-->
  79. <!--</el-button>-->
  80. <el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919"
  81. size="small" @click="open(11)" type="primary"
  82. >撤销明细
  83. </el-button>
  84. <!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919" size="small" @click="open(12)" type="primary"-->
  85. <!--&gt;查编码-->
  86. <!--</el-button>-->
  87. <el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919"
  88. size="small" @click="open(13)" type="primary"
  89. >查待遇
  90. </el-button>
  91. </div>
  92. <div class="mainCenter">
  93. <el-tabs class="settlementTabs" v-model="activeName" @tab-click="handleClick">
  94. <el-tab-pane label="日结" name="first">
  95. <div style="display:flex;height:100%;">
  96. <div class="centerLeft">
  97. <div class="tabsBox">
  98. <!--<el-button type="text" class="addTab" @click="addCharges" icon="el-icon-circle-plus">附加收费</el-button>-->
  99. <el-tabs class="preTabs" v-model="editableTabsValue" type="border-card" @tab-click="tabclickEvent">
  100. <el-tab-pane
  101. v-for="(item, index) in prescriptions"
  102. :key="index"
  103. :label="item.name"
  104. :name="item.name"
  105. >
  106. </el-tab-pane>
  107. <div class="RP">
  108. Rp
  109. <el-date-picker
  110. v-model="record_date"
  111. type="date"
  112. :clearable="false"
  113. @change="changeDate"
  114. format="yyyy-MM-dd"
  115. value-format="yyyy-MM-dd"
  116. placeholder="选择日期">
  117. </el-date-picker>
  118. </div>
  119. <prescription-table ref="prescription_tables"
  120. :prescription="curPrescriptions"></prescription-table>
  121. </el-tabs>
  122. </div>
  123. <div class="costBox">
  124. <span>当前处方总费用:<span style="color:red;">{{ total}}元</span></span>
  125. <span v-if="this.curPrescriptions.order_status == 1">待结算</span>
  126. <span v-if="this.curPrescriptions.order_status == 2">已结算</span>
  127. <span v-if="this.curPrescriptions.order_status == 3">已退费</span>
  128. </div>
  129. </div>
  130. <div class="centerRight">
  131. <p class="centerRightTitle">人员信息</p>
  132. <div style="display:flex;justify-content: space-between;line-height:30px;">
  133. <span style="font-size:14px;">人员编码:{{patientInfo.dialysis_no}}</span>
  134. <span style="font-size:14px;">日期:{{record_date}}</span>
  135. </div>
  136. <ul class="basicUl">
  137. <li style="width:50%;">姓名:{{patientInfo.name}}</li>
  138. <li style="width:50%;">性别:{{patientInfo.gender == 1 ? '男' : '女' }}</li>
  139. <li style="width:50%;">年龄:{{patientInfo.age }}</li>
  140. <li style="width:50%;">身高:{{patientInfo.height?patientInfo.height:''}}</li>
  141. <li style="width:50%;">体重:{{patientInfo.weight?patientInfo.weight:''}}</li>
  142. <li style="width:50%;">电话:{{patientInfo.phone}}</li>
  143. <li style="width:100%;">地址:{{patientInfo.home_address}}</li>
  144. <li style="width:100%;">过敏史及其他病史:{{info.sick_history}}</li>
  145. </ul>
  146. <p class="centerRightTitle" style="padding-top: 10px;">诊断信息</p>
  147. <div style="display:flex;justify-content: space-between;line-height:30px;">
  148. <span style="font-size:14px;">门诊编号:{{ hisPatientInfo.number}}</span>
  149. </div>
  150. <ul class="basicUl">
  151. <li style="width:50%;">医生:{{ info.doctor }}</li>
  152. <li style="width:50%;">科室:{{ info.departments }}</li>
  153. <li style="width:100%;">总费用:{{ getTotal() }}</li>
  154. <li style="width:100%;">判断结果:{{info.diagnosis}}</li>
  155. <li style="width:100%;">是否有传染病:</li>
  156. <li style="width:100%;">血压:</li>
  157. </ul>
  158. </div>
  159. </div>
  160. </el-tab-pane>
  161. <!--<el-tab-pane label="月结" name="second">-->
  162. <!--<div style="display:flex;height:100%;">-->
  163. <!--<div class="centerLeft">-->
  164. <!--<div class="tabsBox">-->
  165. <!--&lt;!&ndash;<el-button type="text" class="addTab" @click="addCharges" icon="el-icon-circle-plus">附加收费</el-button>&ndash;&gt;-->
  166. <!--<el-tabs class="preTabs" v-model="editableTabsValue" type="card" closable>-->
  167. <!--<el-tab-pane-->
  168. <!--v-for="(item, index) in month_prescriptions"-->
  169. <!--:key="index"-->
  170. <!--:label="item.name"-->
  171. <!--:name="item.name"-->
  172. <!--&gt;-->
  173. <!--</el-tab-pane>-->
  174. <!--<div class="RP">-->
  175. <!--Rp-->
  176. <!--<el-date-picker-->
  177. <!--v-model="other_start_time"-->
  178. <!--prefix-icon="el-icon-date"-->
  179. <!--@change="changeTime"-->
  180. <!--:editable="false"-->
  181. <!--style="width: 150px;"-->
  182. <!--type="date"-->
  183. <!--:picker-options="pickerOptions"-->
  184. <!--placeholder="选择开始时间"-->
  185. <!--align="right"-->
  186. <!--format="yyyy-MM-dd"-->
  187. <!--value-format="yyyy-MM-dd"-->
  188. <!--&gt;</el-date-picker>-->
  189. <!--<span class>-</span>-->
  190. <!--<el-date-picker-->
  191. <!--v-model="other_end_time"-->
  192. <!--prefix-icon="el-icon-date"-->
  193. <!--@change="changeEndTime"-->
  194. <!--:editable="false"-->
  195. <!--style="width: 150px;"-->
  196. <!--type="date"-->
  197. <!--placeholder="选择结束时间"-->
  198. <!--align="right"-->
  199. <!--format="yyyy-MM-dd"-->
  200. <!--value-format="yyyy-MM-dd"-->
  201. <!--&gt;</el-date-picker>-->
  202. <!--</div>-->
  203. <!--&lt;!&ndash;<prescription-table :preTableData='preTableData'></prescription-table>&ndash;&gt;-->
  204. <!--</el-tabs>-->
  205. <!--</div>-->
  206. <!--&lt;!&ndash;<div class="costBox">&ndash;&gt;-->
  207. <!--&lt;!&ndash;<span>当前处方总费用:<span style="color:red;">{{ total }}元</span></span>&ndash;&gt;-->
  208. <!--&lt;!&ndash;<span>{{ state }}</span>&ndash;&gt;-->
  209. <!--&lt;!&ndash;</div>&ndash;&gt;-->
  210. <!--</div>-->
  211. <!--</div>-->
  212. <!--</el-tab-pane>-->
  213. </el-tabs>
  214. </div>
  215. </div>
  216. </div>
  217. <additionalCharges ref='additionalCharges' @click="addCharges"
  218. :addtions_charge="addtions_charge"></additionalCharges>
  219. <register-dialog ref='register' v-on:confirm="confirm" v-on:cancel="cancel"></register-dialog>
  220. <charge-dialog ref='charge' v-on:confirm="chargeConfirm" v-on:cancel="chargeCancel"></charge-dialog>
  221. <el-dialog
  222. class="centerDialog"
  223. width="900px"
  224. title="打印"
  225. :visible.sync="treatVisible">
  226. <treatPrint :paramsObj='paramsObj'></treatPrint>
  227. </el-dialog>
  228. <el-dialog
  229. class="centerDialog"
  230. width="1200px"
  231. title="打印"
  232. :visible.sync="statementVisible">
  233. <statementPrint ref="print" :paramsObj='orderObj'></statementPrint>
  234. </el-dialog>
  235. </div>
  236. </template>
  237. <script>
  238. import axios from 'axios'
  239. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  240. import noCharge from './components/noCharge'
  241. import charged from './components/charged'
  242. import medicalInsuranceRefund from './components/medicalInsuranceRefund'
  243. import prescriptionTable from './components/prescriptionTable'
  244. import additionalCharges from './components/additionalCharges'
  245. import {getPatientInformation, getPatientList} from '@/api/project/project'
  246. import {getPatientInfo, getSchedulePatientList, Refund, register, upload} from '@/api/his/his'
  247. import RegisterDialog from "./components/registerDialog";
  248. import treatPrint from './treatPrint'
  249. import statementPrint from './statementPrint'
  250. import ChargeDialog from "./components/chargeDialog";
  251. const moment = require('moment')
  252. export default {
  253. components: {
  254. ChargeDialog,
  255. RegisterDialog,
  256. BreadCrumb,
  257. noCharge,
  258. charged,
  259. medicalInsuranceRefund,
  260. prescriptionTable,
  261. additionalCharges,
  262. treatPrint,
  263. statementPrint
  264. },
  265. data() {
  266. return {
  267. key: "",
  268. other_start_time: "",
  269. other_end_time: "",
  270. crumbs: [
  271. {path: false, name: '门诊收费'},
  272. {path: false, name: '门诊收费管理'}
  273. ],
  274. current_index: 0,
  275. cal_one: '',
  276. cal_two: '',
  277. cal_three: '',
  278. tableHeight: '',
  279. fullHeight: document.documentElement.clientHeight,
  280. activeName: 'first',
  281. info: {},
  282. curPrescriptions: {},
  283. prescriptions: [],
  284. month_prescriptions: [],
  285. record_date: '',
  286. tableData: [],
  287. editableTabsValue: '处方1',
  288. loadingone: false,
  289. editableTabs: [{
  290. title: '处方1',
  291. name: '1'
  292. }],
  293. tabIndex: 1,
  294. hisPatientInfo: {},
  295. loadingtwo: false,
  296. patientTableData: [{
  297. name: '杨美英',
  298. mdtrt_id: '1709946'
  299. }],
  300. patientInfo: {id: 0},
  301. doctor: {},
  302. total: 0,
  303. state: '未收费',
  304. radio: 1,
  305. radioStatus: 1,
  306. search_input: '',
  307. start_time: moment().locale('zh-cn').format('YYYY-MM-DD'),
  308. patient_id: 0,
  309. prescription_id: 0,
  310. all_table_data: [],
  311. order: {},
  312. addtions_charge: [],
  313. treatVisible: false,
  314. orderObj: {},
  315. paramsObj: {},
  316. statementVisible: false
  317. }
  318. },
  319. created() {
  320. let tableHeight = document.body.clientHeight - 243
  321. this.tableHeight = tableHeight
  322. var nowDate = new Date()
  323. var nowYear = nowDate.getFullYear()
  324. var nowMonth = nowDate.getMonth() + 1
  325. var nowDay = nowDate.getDate()
  326. this.record_date =
  327. nowYear +
  328. '-' +
  329. (nowMonth < 10 ? '0' + nowMonth : nowMonth) +
  330. '-' +
  331. (nowDay < 10 ? '0' + nowDay : nowDay)
  332. //获取患者信息
  333. this.getPatientList()
  334. },
  335. methods: {
  336. changeTime(val) {
  337. this.other_start_time = val
  338. }, changeEndTime(val) {
  339. this.other_end_time = val
  340. }, chargeConfirm(form) {
  341. form['id'] = this.patientInfo.id
  342. form['record_time'] = this.record_date
  343. form['admin_user_id'] = this.$store.getters.xt_user.user.id
  344. if (this.activeName == 'first') {
  345. form['settle_accounts_type'] = 1
  346. } else {
  347. form['start_time'] = this.other_start_time
  348. form['end_time'] = this.other_end_time
  349. form['settle_accounts_type'] = 2
  350. }
  351. this.loadingtwo = true
  352. if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919) {
  353. var that = this
  354. axios.get('http://127.0.0.1:9532/api/upload/get', {
  355. params: form
  356. })
  357. .then(function (response) {
  358. if (response.data.state == 0) {
  359. that.$message.error(response.data.msg)
  360. that.loadingtwo = false
  361. that.$refs.charge.hide()
  362. return false
  363. } else {
  364. that.changeRadio(2)
  365. that.$refs.charge.hide()
  366. that.loadingtwo = false
  367. that.state = '已收费'
  368. that.$message({message: '收费成功', type: 'success'})
  369. that.loadingtwo = false
  370. that.cal_one = this.cal_one - 1
  371. that.cal_two = this.cal_two + 1
  372. that.patientTableData.splice(this.current_index, 1)
  373. }
  374. })
  375. .catch(function (error) {
  376. });
  377. } else {
  378. upload(form).then(response => {
  379. if (response.data.state == 0) {
  380. this.$message.error(response.data.msg)
  381. this.loadingtwo = false
  382. this.$refs.charge.hide()
  383. return false
  384. } else {
  385. this.$refs.charge.hide()
  386. this.loadingtwo = false
  387. this.state = '已收费'
  388. this.$message({message: '收费成功', type: 'success'})
  389. this.$refs.charge.hide()
  390. this.loadingtwo = false
  391. this.cal_one = this.cal_one - 1
  392. this.cal_two = this.cal_two + 1
  393. this.patientTableData.splice(this.current_index, 1)
  394. }
  395. })
  396. }
  397. }, chargeCancel() {
  398. this.$refs.charge.hide()
  399. },
  400. confirm(forms) {
  401. forms['id'] = this.patientInfo.id,
  402. forms['record_time'] = this.record_date,
  403. forms['admin_user_id'] = this.$store.getters.xt_user.user.id
  404. this.loadingone = true
  405. if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919) {
  406. var that = this
  407. axios.get('http://127.0.0.1:9532/api/register/get', {
  408. params: forms
  409. })
  410. .then(function (response) {
  411. if (response.data.state == 0) {
  412. that.$message.error(response.data.msg)
  413. that.loadingone = false
  414. that.$refs.register.hide()
  415. return false
  416. } else {
  417. that.$refs.register.hide()
  418. that.getPatientList()
  419. that.$message({message: '挂号成功', type: 'success'})
  420. that.loadingone = false
  421. var his_info = response.data.data.his_info
  422. that.hisPatientInfo = his_info
  423. }
  424. })
  425. .catch(function (error) {
  426. });
  427. } else {
  428. register(forms).then(response => {
  429. if (response.data.state == 0) {
  430. this.$message.error(response.data.msg)
  431. this.loadingone = false
  432. this.$refs.register.hide()
  433. return false
  434. } else {
  435. this.getPatientList()
  436. this.$message({message: '挂号成功', type: 'success'})
  437. this.$refs.register.hide()
  438. this.loadingone = false
  439. var his_info = response.data.data.his_info
  440. this.hisPatientInfo = his_info
  441. }
  442. })
  443. }
  444. }, cancel() {
  445. this.$refs.register.hide()
  446. },
  447. addCharges() {
  448. this.$refs.additionalCharges.show()
  449. },
  450. changeDate(val) {
  451. if (this.patientInfo.id == 0) {
  452. this.$message.error('请先选择患者')
  453. return
  454. }
  455. this.prescriptions = []
  456. this.curPrescriptions = []
  457. let params = {
  458. 'record_date': val,
  459. 'patient_id': this.patientInfo.id
  460. }
  461. getPatientInfo(params).then(response => {
  462. if (response.data.state == 0) {
  463. this.$message.error(response.data.msg)
  464. return false
  465. } else {
  466. this.patientInfo = response.data.data.xt_info
  467. this.hisPatientInfo = response.data.data.his_info
  468. this.info = response.data.data.info
  469. this.addtions_charge = response.data.data.addtions_charge
  470. this.prescriptions = []
  471. for (let i = 0; i < response.data.data.prescription.length; i++) {
  472. var prescription = response.data.data.prescription[i]
  473. let tempAdvice = []
  474. let tempProject = []
  475. for (let b = 0; b < prescription.advices.length; b++) {
  476. let obj = {
  477. advice_id: prescription.advices[b].id,
  478. drug_name: prescription.advices[b].advice_name,
  479. single_dose: prescription.advices[b].single_dose,
  480. delivery_way: prescription.advices[b].delivery_way,
  481. execution_frequency: prescription.advices[b].execution_frequency,
  482. retail_price: prescription.advices[b].price,
  483. remark: prescription.advices[b].remark,
  484. day: prescription.advices[b].day,
  485. prescribing_number: prescription.advices[b].prescribing_number.toString(),
  486. single_dose_unit: prescription.advices[b].single_dose_unit,
  487. prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
  488. medical_insurance_number: prescription.advices[b].med_list_codg
  489. }
  490. tempAdvice.push(obj)
  491. }
  492. for (let b = 0; b < prescription.project.length; b++) {
  493. console.log(prescription.project[b].project.project_name)
  494. let obj = {
  495. id: prescription.project[b].id,
  496. project_id: prescription.project[b].project.id,
  497. project_name: prescription.project[b].project.project_name,
  498. statistical_classification: prescription.project[b].project.statistical_classification,
  499. single_dose: prescription.project[b].single_dose,
  500. delivery_way: prescription.project[b].delivery_way,
  501. execution_frequency: prescription.project[b].execution_frequency,
  502. number_days: prescription.project[b].day,
  503. total: prescription.project[b].count.toString(),
  504. price: prescription.project[b].price,
  505. remark: prescription.project[b].remark,
  506. medical_code: prescription.project[b].project.medical_code,
  507. unit: prescription.project[b].unit,
  508. }
  509. tempProject.push(obj)
  510. }
  511. let index = i + 1
  512. let obj = {
  513. id: prescription.id,
  514. name: '处方' + index,
  515. advices: tempAdvice,
  516. project: tempProject,
  517. type: response.data.data.prescription[i].type,
  518. order_status: response.data.data.prescription[i].order_status
  519. }
  520. this.prescriptions.push(obj)
  521. this.curPrescriptions = this.prescriptions[0]
  522. this.total = 0
  523. this.total = this.getTotalOne()
  524. }
  525. }
  526. })
  527. },
  528. handleClick() {
  529. },
  530. searchAction() {
  531. },
  532. tabclickEvent(val) {
  533. console.log('val', val.name)
  534. for (let i = 0; i < this.prescriptions.length; i++) {
  535. if (this.prescriptions[i].name == val.name) {
  536. this.curPrescriptions = {}
  537. var temp = this.deepClone(this.prescriptions[i])
  538. this.curPrescriptions = temp
  539. }
  540. }
  541. console.log('9999', this.curPrescriptions)
  542. this.prescription_id = this.curPrescriptions.id
  543. this.total = 0
  544. this.total = this.getTotalOne()
  545. }, deepClone(source) {
  546. if (!source && typeof source !== 'object') {
  547. throw new Error('error arguments', 'shallowClone')
  548. }
  549. const targetObj = source.constructor === Array ? [] : {}
  550. Object.keys(source).forEach((keys) => {
  551. if (source[keys] && typeof source[keys] === 'object') {
  552. targetObj[keys] = this.deepClone(source[keys])
  553. } else {
  554. targetObj[keys] = source[keys]
  555. }
  556. })
  557. return targetObj
  558. }, getTotalOne() {
  559. var total = 0
  560. if (this.curPrescriptions.type == 1) {
  561. if (this.curPrescriptions.advices != null) {
  562. for (let a = 0; a < this.curPrescriptions.advices.length; a++) {
  563. total = total + (this.curPrescriptions.advices[a].retail_price * this.curPrescriptions.advices[a].prescribing_number)
  564. }
  565. }
  566. } else {
  567. if (this.curPrescriptions.project != null) {
  568. for (let b = 0; b < this.curPrescriptions.project.length; b++) {
  569. total = total + (this.curPrescriptions.project[b].price * this.curPrescriptions.project[b].total)
  570. }
  571. }
  572. }
  573. if (this.curPrescriptions.addition != null) {
  574. for (let b = 0; b < this.curPrescriptions.addition.length; b++) {
  575. total = total + (this.curPrescriptions.addition[b].price * this.curPrescriptions.addition[b].count)
  576. }
  577. }
  578. return (total * 100) / 100
  579. },
  580. getTotal() {
  581. var total = 0
  582. for (let i = 0; i < this.prescriptions.length; i++) {
  583. if (this.prescriptions[i].advices != null) {
  584. for (let a = 0; a < this.prescriptions[i].advices.length; a++) {
  585. total = total + (this.prescriptions[i].advices[a].retail_price * this.prescriptions[i].advices[a].prescribing_number)
  586. }
  587. }
  588. if (this.prescriptions[i].project != null) {
  589. for (let b = 0; b < this.prescriptions[i].project.length; b++) {
  590. total = total + (this.prescriptions[i].project[b].price * this.prescriptions[i].project[b].total)
  591. }
  592. }
  593. if (this.prescriptions[i].addition != null) {
  594. for (let b = 0; b < this.prescriptions[i].addition.length; b++) {
  595. total = total + (this.prescriptions[i].addition[b].price * this.prescriptions[i].addition[b].count)
  596. }
  597. }
  598. }
  599. return (total * 100) / 100
  600. },
  601. moreState(tab, event) {
  602. if (tab == 'more') {
  603. return false
  604. }
  605. },
  606. open(index) {
  607. if (index == 1) {
  608. } else if (index == 2) {
  609. this.$router.push('/outpatientDoctorStation/printtwo?record=' + this.record_date)
  610. } else if (index == 3) {
  611. let obj = {
  612. record_date: this.record_date,
  613. patient_id: this.patient_id,
  614. prescription_id: this.prescription_id
  615. }
  616. this.paramsObj = obj
  617. this.treatVisible = true
  618. // this.$router.push('/outpatientCharges/treatPrint?record_date=' + this.record_date + '&patient_id=' + this.patient_id + '&prescription_id=' + this.prescription_id)
  619. } else if (index == 4) {
  620. // if (this.hisPatientInfo.id == 0) {
  621. // this.$message({message: '该患者尚未挂号,请先挂号', type: 'error'})
  622. // return
  623. // }
  624. this.$refs.charge.show(this.getTotal())
  625. } else if (index == 5) {
  626. if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919) {
  627. var that = this
  628. this.$confirm('是否退费', '退费', {
  629. confirmButtonText: '确 定',
  630. cancelButtonText: '取 消',
  631. type: 'warning'
  632. }).then(() => {
  633. let params = {
  634. 'order_id': this.order.id,
  635. 'number': this.order.number,
  636. 'patient_id': this.patientInfo.id,
  637. 'record_time': this.record_date,
  638. 'admin_user_id':this.$store.getters.xt_user.user.id
  639. }
  640. axios.get('http://127.0.0.1:9532/api/refund/post', {
  641. params: params
  642. })
  643. .then(function (response) {
  644. if (response.data.state == 0) {
  645. that.$message.error(response.data.msg)
  646. that.loadingtwo = false
  647. return false
  648. } else {
  649. that.changeRadio(1)
  650. that.$message({message: '退费成功', type: 'success'})
  651. that.loadingtwo = false
  652. }
  653. })
  654. .catch(function (error) {
  655. });
  656. }).catch(() => {
  657. })
  658. } else {
  659. this.$confirm('是否退费', '退费', {
  660. confirmButtonText: '确 定',
  661. cancelButtonText: '取 消',
  662. type: 'warning'
  663. }).then(() => {
  664. let params = {
  665. 'order_id': this.order.id,
  666. 'number': this.order.number,
  667. 'patient_id': this.patientInfo.id,
  668. 'record_time': this.record_date,
  669. }
  670. Refund(params).then(response => {
  671. if (response.data.state == 0) {
  672. this.$message.error(response.data.msg)
  673. this.loadingtwo = false
  674. return false
  675. } else {
  676. this.$message({message: '退费成功', type: 'success'})
  677. this.loadingtwo = false
  678. }
  679. })
  680. }).catch(() => {
  681. })
  682. }
  683. } else if (index == 6) {
  684. if (this.patientInfo.id == 0) {
  685. this.$message.error('请先选择要挂号的病人')
  686. return
  687. }
  688. this.$refs.register.show(this.patientInfo)
  689. } else if (index == 7) {
  690. let params = {
  691. start_time: "2020-12-28",
  692. end_time: "2020-12-30",
  693. insutype: "390",
  694. clr_type: "11",
  695. }
  696. var that = this
  697. if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919) {
  698. axios.get('http://127.0.0.1:9532/api/checkaccount/get', {
  699. params: params
  700. })
  701. .then(function (response) {
  702. if (response.data.state == 0) {
  703. that.$message.error(response.data.msg)
  704. that.loadingtwo = false
  705. return false
  706. } else {
  707. }
  708. })
  709. .catch(function (error) {
  710. });
  711. }
  712. } else if (index == 8) {
  713. let params = {
  714. start_time: "2020-12-28",
  715. end_time: "2020-12-30",
  716. }
  717. var that = this
  718. axios.get('http://127.0.0.1:9532/api/checkdetailaccount/get', {
  719. params: params
  720. })
  721. .then(function (response) {
  722. if (response.data.state == 0) {
  723. that.$message.error(response.data.msg)
  724. that.loadingtwo = false
  725. return false
  726. } else {
  727. }
  728. })
  729. .catch(function (error) {
  730. });
  731. } else if (index == 9) {
  732. this.statementVisible = true
  733. let obj = {
  734. order_id: this.order.id
  735. }
  736. this.orderObj = obj
  737. // this.$refs.print.getInfo(this.order.id)
  738. } else if (index == 10) {
  739. let params = {
  740. 'patient_id': this.patientInfo.id,
  741. 'record_time': this.record_date,
  742. }
  743. axios.get('http://127.0.0.1:9532/api/refundnumber/post', {
  744. params: params
  745. })
  746. .then(function (response) {
  747. if (response.data.state == 0) {
  748. that.$message.error(response.data.msg)
  749. that.loadingtwo = false
  750. return false
  751. } else {
  752. that.$message({message: '退号成功', type: 'success'})
  753. that.loadingtwo = false
  754. }
  755. })
  756. .catch(function (error) {
  757. });
  758. } else if (index == 11) {
  759. let params = {
  760. 'order_id': this.order.id,
  761. 'number': this.order.number,
  762. 'patient_id': this.patientInfo.id,
  763. 'record_time': this.record_date,
  764. }
  765. axios.get('http://127.0.0.1:9532/api/refunddetail/post', {
  766. params: params
  767. })
  768. .then(function (response) {
  769. if (response.data.state == 0) {
  770. that.$message.error(response.data.msg)
  771. that.loadingtwo = false
  772. return false
  773. } else {
  774. that.$message({message: '退号成功', type: 'success'})
  775. that.loadingtwo = false
  776. }
  777. })
  778. .catch(function (error) {
  779. });
  780. } else if (index == 12) {
  781. let params = {
  782. 'name': "琥珀酸亚铁片",
  783. 'codg': "XB03AAH026A001010104942"
  784. }
  785. axios.get('http://127.0.0.1:9532/api/code/get', {
  786. params: params
  787. })
  788. .then(function (response) {
  789. if (response.data.state == 0) {
  790. that.$message.error(response.data.msg)
  791. that.loadingtwo = false
  792. return false
  793. } else {
  794. that.loadingtwo = false
  795. }
  796. })
  797. .catch(function (error) {
  798. });
  799. } else if (index == 13) {
  800. let params = {
  801. 'id': this.patientInfo.id,
  802. 'record_time': this.record_date,
  803. }
  804. axios.get('http://127.0.0.1:9532/api/record/put', {
  805. params: params
  806. })
  807. .then(function (response) {
  808. if (response.data.state == 0) {
  809. that.$message.error(response.data.msg)
  810. that.loadingtwo = false
  811. return false
  812. } else {
  813. that.loadingtwo = false
  814. }
  815. })
  816. .catch(function (error) {
  817. });
  818. }
  819. },
  820. choosePatient() {
  821. console.log(id)
  822. this.radioStatus = id
  823. this.getPatientList()
  824. },
  825. changeRadio(id) {
  826. // console.log(id)
  827. // this.radioStatus = id
  828. // this.getPatientList()
  829. let temp_id = id
  830. let params = {
  831. 'record_date': this.record_date
  832. }
  833. getSchedulePatientList(params).then(response => {
  834. if (response.data.state == 0) {
  835. this.$message.error(response.data.msg)
  836. return false
  837. } else {
  838. this.patientTableData = []
  839. this.all_table_data = []
  840. let one_count = 0
  841. let two_count = 0
  842. let three_count = 0
  843. for (let i = 0; i < response.data.data.list.length; i++) {
  844. if (response.data.data.list[i].info.prescription_status == 0 || response.data.data.list[i].info.prescription_status == 1 || response.data.data.list[i].info.prescription_status == 2) {
  845. if (response.data.data.list[i].prescription != null && response.data.data.list[i].prescription.length > 0) {
  846. one_count = one_count + 1
  847. this.patientTableData.push(response.data.data.list[i])
  848. }
  849. }
  850. if (response.data.data.list[i].info.prescription_status == 3) {
  851. if (response.data.data.list[i].prescription != null && response.data.data.list[i].prescription.length > 0) {
  852. two_count = two_count + 1
  853. }
  854. }
  855. if (response.data.data.list[i].info.prescription_status == 4) {
  856. if (response.data.data.list[i].prescription != null && response.data.data.list[i].prescription.length > 0) {
  857. three_count = three_count + 1
  858. }
  859. }
  860. if (response.data.data.list[i].prescription != null && response.data.data.list[i].prescription.length > 0) {
  861. this.all_table_data.push(response.data.data.list[i])
  862. }
  863. }
  864. this.cal_one = one_count
  865. this.cal_two = two_count
  866. this.cal_three = three_count
  867. switch (temp_id) {
  868. case 1:
  869. this.patientTableData = []
  870. for (let i = 0; i < this.all_table_data.length; i++) {
  871. if (this.all_table_data[i].info.prescription_status == 0 || this.all_table_data[i].info.prescription_status == 1 || this.all_table_data[i].info.prescription_status == 2) {
  872. this.patientTableData.push(this.all_table_data[i])
  873. }
  874. }
  875. break
  876. case 2:
  877. this.patientTableData = []
  878. for (let i = 0; i < this.all_table_data.length; i++) {
  879. if (this.all_table_data[i].info.prescription_status == 3) {
  880. this.patientTableData.push(this.all_table_data[i])
  881. }
  882. }
  883. break
  884. case 3:
  885. this.patientTableData = []
  886. for (let i = 0; i < this.all_table_data.length; i++) {
  887. if (this.all_table_data[i].info.prescription_status == 4) {
  888. this.patientTableData.push(this.all_table_data[i])
  889. }
  890. }
  891. break
  892. case 4:
  893. this.patientTableData = []
  894. this.patientTableData = this.all_table_data
  895. break
  896. }
  897. this.current_index = 0
  898. this.$refs.tab.setCurrentRow(this.patientTableData[0])
  899. this.getPatientInformation(this.patientTableData[0].patients.id, "")
  900. }
  901. })
  902. },
  903. //患者列表
  904. getPatientList() {
  905. let params = {
  906. 'record_date': this.record_date
  907. }
  908. getSchedulePatientList(params).then(response => {
  909. if (response.data.state == 0) {
  910. this.$message.error(response.data.msg)
  911. return false
  912. } else {
  913. this.patientTableData = []
  914. this.all_table_data = []
  915. let one_count = 0
  916. let two_count = 0
  917. let three_count = 0
  918. for (let i = 0; i < response.data.data.list.length; i++) {
  919. // console.log('99999999', response.data.data.list)
  920. if (response.data.data.list[i].info.prescription_status == 0 || response.data.data.list[i].info.prescription_status == 1 || response.data.data.list[i].info.prescription_status == 2) {
  921. if (response.data.data.list[i].prescription != null && response.data.data.list[i].prescription.length > 0) {
  922. one_count = one_count + 1
  923. this.patientTableData.push(response.data.data.list[i])
  924. }
  925. }
  926. if (response.data.data.list[i].info.prescription_status == 3) {
  927. if (response.data.data.list[i].prescription != null && response.data.data.list[i].prescription.length > 0) {
  928. two_count = two_count + 1
  929. }
  930. }
  931. if (response.data.data.list[i].info.prescription_status == 4) {
  932. if (response.data.data.list[i].prescription != null && response.data.data.list[i].prescription.length > 0) {
  933. three_count = three_count + 1
  934. }
  935. }
  936. if (response.data.data.list[i].prescription != null && response.data.data.list[i].prescription.length > 0) {
  937. this.all_table_data.push(response.data.data.list[i])
  938. }
  939. }
  940. this.cal_one = one_count
  941. this.cal_two = two_count
  942. this.cal_three = three_count
  943. this.current_index = 0
  944. this.$refs.tab.setCurrentRow(this.patientTableData[0])
  945. this.getPatientInformation(this.patientTableData[0].patients.id, "")
  946. }
  947. })
  948. },
  949. unique(arr) {
  950. const res = new Map()
  951. return arr.filter((arr) => !res.has(arr.id_card_no) && res.set(arr.id_card_no, 1))
  952. },
  953. handleCurrentChange(val) {
  954. console.log('val', val)
  955. this.getPatientInformation(val.patients.id, val.info.batch_number)
  956. this.patient_id = val.patients.id
  957. for (let i = 0; i < this.patientTableData.length; i++) {
  958. if (this.patientTableData[i].patients.id == val.patients.id) {
  959. this.current_index = i
  960. }
  961. }
  962. },
  963. //获取患者的基本信息
  964. getPatientInformation(id, batch_number) {
  965. let params = {
  966. 'record_date': this.record_date,
  967. 'patient_id': id,
  968. 'number': batch_number,
  969. }
  970. getPatientInfo(params).then(response => {
  971. if (response.data.state == 0) {
  972. this.$message.error(response.data.msg)
  973. return false
  974. } else {
  975. this.patientInfo = response.data.data.xt_info
  976. this.hisPatientInfo = response.data.data.his_info
  977. this.info = response.data.data.info
  978. this.order = response.data.data.order
  979. this.addtions_charge = response.data.data.addtions_charge
  980. this.prescriptions = []
  981. console.log("9991323242r5253535", response.data.data.prescription)
  982. if (response.data.data.prescription[0].advices.length > 0) {
  983. this.prescription_id = response.data.data.prescription[0].advices[0].prescription_id
  984. } else {
  985. this.prescription_id = 0
  986. }
  987. for (let i = 0; i < response.data.data.prescription.length; i++) {
  988. var prescription = response.data.data.prescription[i]
  989. let tempAdvice = []
  990. let tempProject = []
  991. let tempAddition = []
  992. for (let b = 0; b < prescription.advices.length; b++) {
  993. let obj = {
  994. advice_id: prescription.advices[b].id,
  995. drug_name: prescription.advices[b].advice_name,
  996. single_dose: prescription.advices[b].single_dose,
  997. delivery_way: prescription.advices[b].delivery_way,
  998. execution_frequency: prescription.advices[b].execution_frequency,
  999. retail_price: prescription.advices[b].price.toString(),
  1000. remark: prescription.advices[b].remark,
  1001. day: prescription.advices[b].day,
  1002. prescribing_number: prescription.advices[b].prescribing_number.toString(),
  1003. single_dose_unit: prescription.advices[b].single_dose_unit,
  1004. prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
  1005. medical_insurance_number: prescription.advices[b].med_list_codg
  1006. }
  1007. tempAdvice.push(obj)
  1008. }
  1009. for (let b = 0; b < prescription.project.length; b++) {
  1010. console.log(prescription.project[b].project.project_name)
  1011. let obj = {
  1012. id: prescription.project[b].id,
  1013. project_id: prescription.project[b].project.id,
  1014. project_name: prescription.project[b].project.project_name,
  1015. statistical_classification: prescription.project[b].project.statistical_classification,
  1016. single_dose: prescription.project[b].single_dose,
  1017. delivery_way: prescription.project[b].delivery_way,
  1018. execution_frequency: prescription.project[b].execution_frequency,
  1019. number_days: prescription.project[b].day,
  1020. total: prescription.project[b].count.toString(),
  1021. price: prescription.project[b].price,
  1022. remark: prescription.project[b].remark,
  1023. medical_code: prescription.project[b].project.medical_code,
  1024. unit: prescription.project[b].project.unit
  1025. }
  1026. tempProject.push(obj)
  1027. }
  1028. for (let b = 0; b < prescription.addition.length; b++) {
  1029. let obj = {
  1030. id: prescription.addition[b].id,
  1031. item_name: prescription.addition[b].item_name,
  1032. price: prescription.addition[b].price,
  1033. count: prescription.addition[b].count,
  1034. item_id: prescription.addition[b].item_id,
  1035. }
  1036. tempAddition.push(obj)
  1037. }
  1038. let index = i + 1
  1039. let obj = {
  1040. id: prescription.id,
  1041. name: '处方' + index,
  1042. advices: tempAdvice,
  1043. project: tempProject,
  1044. addition: tempAddition,
  1045. order_status: response.data.data.prescription[i].order_status,
  1046. type: response.data.data.prescription[i].type
  1047. }
  1048. this.prescriptions.push(obj)
  1049. this.curPrescriptions = this.prescriptions[0]
  1050. this.total = 0
  1051. this.total = this.getTotalOne()
  1052. console.log(this.total)
  1053. }
  1054. }
  1055. })
  1056. }
  1057. },
  1058. mounted() {
  1059. console.log(this.$store.getters.xt_user.org_id)
  1060. const that = this
  1061. window.onresize = () => {
  1062. return (() => {
  1063. window.fullHeight = document.documentElement.clientHeight
  1064. that.fullHeight = window.fullHeight
  1065. })()
  1066. }
  1067. },
  1068. watch: {
  1069. fullHeight(val) {
  1070. if (!this.timer) {
  1071. this.fullHeight = val
  1072. let tableHeight = val - 243
  1073. this.tableHeight = tableHeight
  1074. this.timer = true
  1075. let that = this
  1076. setTimeout(function () {
  1077. that.timer = false
  1078. }, 400)
  1079. }
  1080. }
  1081. }
  1082. }
  1083. </script>
  1084. <style lang="scss" scoped>
  1085. .app-container {
  1086. height: 100%;
  1087. }
  1088. .outpatientChargesManagement {
  1089. height: 100%;
  1090. display: flex;
  1091. flex-direction: column;
  1092. .mainLeft {
  1093. width: 200px;
  1094. height: 100%;
  1095. display: flex;
  1096. flex-direction: column;
  1097. padding-top: 20px;
  1098. .el-radio {
  1099. margin-right: 5px;
  1100. }
  1101. }
  1102. .mainCell {
  1103. height: 36px;
  1104. display: flex;
  1105. align-items: center;
  1106. }
  1107. .fixedCell {
  1108. position: fixed;
  1109. z-index: 99;
  1110. right: 42px;
  1111. background: #fff;
  1112. display: flex;
  1113. justify-content: space-between;
  1114. }
  1115. .mainRight {
  1116. margin-left: 10px;
  1117. flex: 1;
  1118. height: 100%;
  1119. display: flex;
  1120. flex-direction: column;
  1121. overflow-y: auto;
  1122. .cellSpan {
  1123. min-width: 80px;
  1124. display: inline-block;
  1125. margin-right: 10px;
  1126. }
  1127. }
  1128. .tabsBox {
  1129. position: relative;
  1130. height: 90%;
  1131. overflow-y: auto;
  1132. margin-bottom: 60px;
  1133. .el-tabs__item {
  1134. padding: 0 10px;
  1135. }
  1136. }
  1137. .addTab {
  1138. position: absolute;
  1139. right: 6px;
  1140. top: 3px;
  1141. z-index: 20;
  1142. }
  1143. .mainCenter {
  1144. display: flex;
  1145. flex: 1;
  1146. height: 100%;
  1147. }
  1148. .costBox {
  1149. width: 100%;
  1150. height: 60px;
  1151. background: #fff;
  1152. position: absolute;
  1153. bottom: 0;
  1154. display: flex;
  1155. align-items: center;
  1156. justify-content: space-between;
  1157. }
  1158. .centerLeft {
  1159. flex: 1;
  1160. display: flex;
  1161. flex-direction: column;
  1162. position: relative;
  1163. }
  1164. .preTabs {
  1165. height: 100%;
  1166. display: flex;
  1167. flex-direction: column;
  1168. .el-tab-pane {
  1169. height: auto !important;
  1170. }
  1171. }
  1172. .settlementTabs {
  1173. flex: 1;
  1174. .el-tab-pane {
  1175. height: 100%;
  1176. }
  1177. .el-tabs__content {
  1178. height: 100%;
  1179. }
  1180. }
  1181. .centerRight {
  1182. width: 300px;
  1183. margin-left: 10px;
  1184. display: flex;
  1185. flex-direction: column;
  1186. overflow-y: auto;
  1187. }
  1188. .RP {
  1189. color: #409EFF;
  1190. font-size: 20px;
  1191. margin-bottom: 5px;
  1192. }
  1193. .centerRightTitle {
  1194. color: #409EFF;
  1195. }
  1196. .basicUl {
  1197. border-top: 1px solid #e5e5e5;
  1198. border-left: 1px solid #e5e5e5;
  1199. display: flex;
  1200. flex-wrap: wrap;
  1201. li {
  1202. border-bottom: 1px solid #e5e5e5;
  1203. border-right: 1px solid #e5e5e5;
  1204. width: 100%;
  1205. min-height: 38px;
  1206. /* line-height: 38px;
  1207. text-indent: 5px; */
  1208. font-size: 14px;
  1209. display: flex;
  1210. align-items: center;
  1211. padding: 5px;
  1212. box-sizing: border-box;
  1213. }
  1214. }
  1215. }
  1216. </style>
  1217. <style lang="scss">
  1218. #tab-more {
  1219. .el-icon-close {
  1220. display: none;
  1221. }
  1222. }
  1223. .settlementTabs {
  1224. .el-tabs__content {
  1225. height: 90%;
  1226. }
  1227. }
  1228. .preTabs {
  1229. .el-tabs__content {
  1230. flex: 1;
  1231. overflow-y: auto;
  1232. padding: 5px 0 5px 5px;
  1233. }
  1234. }
  1235. .centerDialog {
  1236. .el-dialog__body {
  1237. max-height: calc(100vh - 100px) !important;
  1238. padding: 0 20px;
  1239. }
  1240. }
  1241. </style>