PatientDispensing.vue 22KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753
  1. <template>
  2. <!--患者发药-->
  3. <div class="main-contain new-main-contain">
  4. <div class="position">
  5. <!-- <bread-crumb :crumbs='crumbs'></bread-crumb>-->
  6. <bread-crumb :crumbs="crumbs"></bread-crumb>
  7. </div>
  8. <div
  9. class="app-container"
  10. style="display: flex; flex: 1; padding: 10px 20px 0px 20px"
  11. >
  12. <div class="mainLeft">
  13. <div>
  14. <div class="list">
  15. <el-date-picker
  16. style="width: 200px"
  17. v-model="start_time"
  18. type="date"
  19. format="yyyy-MM-dd"
  20. value-format="yyyy-MM-dd"
  21. placeholder="选择日期"
  22. @change="changeTimes()"
  23. >
  24. </el-date-picker>
  25. </div>
  26. <!-- <el-button @click="testsss">调试1</el-button>-->
  27. <!-- <el-button @click="testsss2">调试2</el-button>-->
  28. <div class="list">
  29. <el-radio-group v-model="state" @change="lala()">
  30. <el-radio :label="1">待发药{{ waitmount }}人</el-radio>
  31. <el-radio :label="2">已发药{{ alreadmount }}人</el-radio>
  32. </el-radio-group>
  33. </div>
  34. <div
  35. class="list"
  36. style="display: flex; justify-content: space-between"
  37. >
  38. <el-input
  39. size="small"
  40. style="width: 130px"
  41. v-model="keywords"
  42. class="filter-item"
  43. placeholder="请输入患者名称"
  44. clearable
  45. />
  46. <el-button
  47. size="small"
  48. class="filter-item"
  49. type="primary"
  50. @click="searchAction"
  51. >搜索
  52. </el-button>
  53. </div>
  54. <el-table
  55. height="60vh"
  56. ref="table01"
  57. :data="waitmount_data"
  58. highlight-current-row
  59. @current-change="handleCurrentChange"
  60. border
  61. style="width: 100%"
  62. v-if="state == 1"
  63. :row-style="{ color: '#303133' }"
  64. :header-cell-style="{
  65. backgroundColor: 'rgb(245, 247, 250)',
  66. color: '#606266',
  67. }"
  68. >
  69. <el-table-column prop="date" label="患者姓名" width="100">
  70. <template slot-scope="scope">
  71. <span>{{ scope.row.Name ? scope.row.Name : "" }}</span>
  72. </template>
  73. </el-table-column>
  74. <el-table-column prop="name" label="透析号" width="100">
  75. <template slot-scope="scope">
  76. <span>{{
  77. scope.row.DialysisNo ? scope.row.DialysisNo : ""
  78. }}</span>
  79. </template>
  80. </el-table-column>
  81. </el-table>
  82. <el-table
  83. :height="tableHeight"
  84. ref="table02"
  85. :data="alreadmount_data"
  86. highlight-current-row
  87. @current-change="handleCurrentChange"
  88. border
  89. :row-style="{ color: '#303133' }"
  90. :header-cell-style="{
  91. backgroundColor: 'rgb(245, 247, 250)',
  92. color: '#606266',
  93. }"
  94. style="width: 100%"
  95. v-if="state == 2"
  96. >
  97. <el-table-column prop="date" label="患者姓名" width="100">
  98. <template slot-scope="scope">
  99. <span>{{ scope.row.Name ? scope.row.Name : "" }}</span>
  100. </template>
  101. </el-table-column>
  102. <el-table-column prop="name" label="透析号" width="100">
  103. <template slot-scope="scope">
  104. <span>{{
  105. scope.row.DialysisNo ? scope.row.DialysisNo : ""
  106. }}</span>
  107. </template>
  108. </el-table-column>
  109. </el-table>
  110. </div>
  111. </div>
  112. <div class="mainRight">
  113. <div class="titlelist">
  114. 班次:
  115. <el-select v-model="shift" placeholder="请选择" @change="searchAction">
  116. <el-option
  117. v-for="item in banshift"
  118. :key="item.value"
  119. :label="item.text"
  120. :value="item.value">
  121. </el-option>
  122. </el-select>
  123. 分区:
  124. <el-select v-model="partition" placeholder="请选择" @change="searchAction">
  125. <el-option
  126. v-for="item in fen"
  127. :key="item.id"
  128. :label="item.name"
  129. :value="item.id">
  130. </el-option>
  131. </el-select>
  132. <el-button type="primary" @click="toExport" v-if="state == 2">导出</el-button>
  133. <el-button type="primary" @click="dispense" v-if="state == 1"
  134. >发药</el-button
  135. >
  136. <el-button type="primary" @click="endispense" v-if="state == 2"
  137. >退药</el-button
  138. >
  139. <el-button type="primary" @click="toPrint">打印</el-button>
  140. <!-- <el-button @click="tiaoshi">调试</el-button>-->
  141. <el-button type="primary" v-if="state == 1" @click="toSetting"
  142. >设置</el-button
  143. >
  144. </div>
  145. <el-divider style="margin-top: 10px"></el-divider>
  146. <div>
  147. <el-table
  148. :height="tableHeight"
  149. :data="tableData"
  150. border
  151. style="width: 100%"
  152. :row-style="{ color: '#303133' }"
  153. :header-cell-style="{
  154. backgroundColor: 'rgb(245, 247, 250)',
  155. color: '#606266',
  156. }"
  157. >
  158. <el-table-column
  159. type="index"
  160. label="序号"
  161. width="120"
  162. align="center"
  163. >
  164. </el-table-column>
  165. <el-table-column label="名称" width="200" align="center">
  166. <template slot-scope="scope">
  167. <span>{{ scope.row.Name ? scope.row.Name : "" }}</span>
  168. </template>
  169. </el-table-column>
  170. <el-table-column label="单次用量" width="150" align="center">
  171. <template slot-scope="scope">
  172. <span>{{
  173. scope.row.SingleDosage ? scope.row.SingleDosage : ""
  174. }}</span>
  175. </template>
  176. </el-table-column>
  177. <el-table-column label="用法" width="160" align="center">
  178. <template slot-scope="scope">
  179. <span>{{ scope.row.Usage ? scope.row.Usage : "" }}</span>
  180. </template>
  181. </el-table-column>
  182. <el-table-column label="频率" width="160" align="center">
  183. <template slot-scope="scope">
  184. <span>{{
  185. scope.row.Frequency ? scope.row.Frequency : ""
  186. }}</span>
  187. </template>
  188. </el-table-column>
  189. <el-table-column label="天数" width="140" align="center">
  190. <template slot-scope="scope">
  191. <span>{{ scope.row.Days ? scope.row.Days : "" }}</span>
  192. </template>
  193. </el-table-column>
  194. <el-table-column label="总量" width="140" align="center">
  195. <template slot-scope="scope">
  196. <span>{{ scope.row.Total ? scope.row.Total : "" }}</span>
  197. </template>
  198. </el-table-column>
  199. <el-table-column label="开立医生" width="150" align="center">
  200. <template slot-scope="scope">
  201. <span>{{ scope.row.Doctor ? scope.row.Doctor : "" }}</span>
  202. </template>
  203. </el-table-column>
  204. <el-table-column label="数据来源" width="162" align="center">
  205. <template slot-scope="scope">
  206. <span>{{
  207. scope.row.DataSources ? scope.row.DataSources : ""
  208. }}</span>
  209. </template>
  210. </el-table-column>
  211. <el-table-column label="备注" width="170" align="center">
  212. <template slot-scope="scope">
  213. <span>{{ scope.row.Remarks ? scope.row.Remarks : "" }}</span>
  214. </template>
  215. </el-table-column>
  216. </el-table>
  217. </div>
  218. <!-- <div v-if="state == 2" style="margin-top: 25px">诊断时间:{{ timedate }}</div>-->
  219. </div>
  220. <el-dialog title="设置" :visible.sync="dialogVisible" width="30%">
  221. <span style="font-size: 17px">请选择药品是否要通过药房管理出库</span>
  222. <span style="display: block; padding: 18px 25px">
  223. <el-radio v-model="is_open" label="1">是</el-radio>
  224. <el-radio v-model="is_open" label="2">否</el-radio>
  225. </span>
  226. <div
  227. style="
  228. height: 50px;
  229. background: #c7ebfc;
  230. border-radius: 5px;
  231. padding: 7px;
  232. "
  233. >
  234. <i class="el-icon-info" style="color: #3399ff; font-size: 17px"></i>
  235. 若选择为是,则通过药房发药的药品都会在发药之后进行出库,否则按原来的方式进行出库管理
  236. </div>
  237. <span slot="footer" class="dialog-footer">
  238. <el-button @click="dialogVisible = false">取 消</el-button>
  239. <el-button type="primary" @click="SaveSetting">保 存</el-button>
  240. </span>
  241. </el-dialog>
  242. </div>
  243. <patient-print
  244. ref="patientprint"
  245. :visibility="isVisibility"
  246. :propsTable="propsTable"
  247. >
  248. </patient-print>
  249. </div>
  250. </template>
  251. <script>
  252. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  253. import patientPrint from "./print/patientPrint.vue";
  254. import { getPharmacyConfig, SaveSetting } from "@/api/his/advice";
  255. import {
  256. waitingdrug,
  257. issueddrugs,
  258. todaynumber,
  259. getpharmacycontent,
  260. dispensingmedicine,
  261. drugwithdrawal,
  262. getpartitionlist,
  263. } from "@/api/pharmacy";
  264. const moment = require("moment");
  265. export default {
  266. components: {
  267. BreadCrumb,
  268. patientPrint,
  269. },
  270. data() {
  271. return {
  272. patient_id: 0,
  273. crumbs: [
  274. { path: false, name: "药房管理" },
  275. { path: "/Pharmacy/patiantDispensing", name: "患者发药" },
  276. ],
  277. tableHeight: 400,
  278. start_time: moment(new Date()).add("year", 0).format("YYYY-MM-DD"),
  279. state: 1, //1待发药,2已发药
  280. waitmount: 0, //待发药人数
  281. waitmount_data: [],
  282. alreadmount: 0, //已发药人数
  283. alreadmount_data: [],
  284. keywords: "",
  285. tableData: [],
  286. propsTable: [],
  287. tableData_list: [],
  288. isVisibility: false,
  289. currentRow: null,
  290. dialogVisible: false,
  291. is_open: "2",
  292. banshift:[
  293. {value:0,text:'全部班'},
  294. {value:1,text:'上午'},
  295. {value:2,text: '下午'},
  296. {value:3,text: '晚上'}
  297. ],
  298. shift:0,//班次
  299. fen:[],
  300. partition:0,//分区
  301. };
  302. },
  303. watch: {},
  304. created() {
  305. this.init();
  306. this.gettodaynumber();
  307. this.fun3();
  308. this.getgetpartitionlist();
  309. // this.getwaitmount();//fun3
  310. // this.selectedbydefault();
  311. },
  312. methods: {
  313. getgetpartitionlist(){
  314. var params = {}
  315. getpartitionlist(params).then((res) =>{
  316. if(res.data.state == 1){
  317. this.fen = res.data.data.list
  318. }
  319. })
  320. },
  321. tiaoshi() {
  322. console.log("this.shift", this.shift);
  323. console.log("this.partition", this.partition);
  324. console.log("this.waitmount_data", this.waitmount_data);
  325. console.log("this.alreadmount_data", this.alreadmount_data);
  326. console.log("this.waitmount", this.waitmount);
  327. console.log("this.alreadmount", this.alreadmount);
  328. },
  329. async fun3() {
  330. console.log("fun3");
  331. this.fun1().then((val) => {
  332. this.fun2();
  333. });
  334. },
  335. async fun4(tmp) {
  336. console.log("fun3");
  337. this.fun1().then((val) => {
  338. console.log("this.alreadmount_data", this.alreadmount_data);
  339. for (let i = 0; i < this.alreadmount_data.length; i++) {
  340. console.log("tmp = ", tmp);
  341. if (this.alreadmount_data[i].PatientID == tmp) {
  342. console.log("i = ", i);
  343. this.$refs.table02.setCurrentRow(this.alreadmount_data[i]);
  344. this.handleCurrentChange(this.alreadmount_data[i]);
  345. }
  346. }
  347. });
  348. },
  349. async fun5(tmp) {
  350. console.log("fun5555");
  351. this.fun1().then((val) => {
  352. console.log("this.alreadmount_data", this.waitmount_data);
  353. for (let i = 0; i < this.waitmount_data.length; i++) {
  354. console.log("tmp = ", tmp);
  355. if (this.waitmount_data[i].PatientID == tmp) {
  356. console.log("i = ", i);
  357. this.$refs.table01.setCurrentRow(this.waitmount_data[i]);
  358. this.handleCurrentChange(this.waitmount_data[i]);
  359. }
  360. }
  361. });
  362. },
  363. lala() {
  364. console.log("this.state!!!!!!", this.state);
  365. //初始化状态
  366. this.tableData = null;
  367. this.currentRow = null;
  368. this.selectedbydefault();
  369. },
  370. //选中行数
  371. handleCurrentChange(val) {
  372. this.currentRow = val;
  373. console.log("this.currentRow", this.currentRow);
  374. if (this.state == 1) {
  375. this.getpatientdetails(0);
  376. }
  377. if (this.state == 2) {
  378. this.getpatientdetails(1);
  379. }
  380. },
  381. init() {
  382. // console.log("初始化了")
  383. this.state = 1;
  384. this.tableData = null;
  385. this.currentRow = null;
  386. this.partition = 0;
  387. this.shift = 0;
  388. },
  389. testsss() {
  390. this.state = 1;
  391. },
  392. //默认选中的
  393. selectedbydefault() {
  394. if (this.state == 1 && this.waitmount_data.length > 0) {
  395. this.$refs.table01.setCurrentRow(this.waitmount_data[0]);
  396. this.handleCurrentChange(this.waitmount_data[0]);
  397. }
  398. if (this.state == 2 && this.alreadmount_data.length > 0) {
  399. this.$refs.table02.setCurrentRow(this.alreadmount_data[0]);
  400. this.handleCurrentChange(this.alreadmount_data[0]);
  401. }
  402. },
  403. //包装selectedbydefault
  404. fun2() {
  405. console.log("3333333this.waitmount_data", this.waitmount_data);
  406. // return new Promise((resolve, reject) => {
  407. if (this.state == 1 && this.waitmount_data.length > 0) {
  408. this.$refs.table01.setCurrentRow(this.waitmount_data[0]);
  409. this.handleCurrentChange(this.waitmount_data[0]);
  410. }
  411. if (this.state == 2 && this.alreadmount_data.length > 0) {
  412. this.$refs.table02.setCurrentRow(this.alreadmount_data[0]);
  413. this.handleCurrentChange(this.alreadmount_data[0]);
  414. }
  415. // });
  416. },
  417. changeTimes() {
  418. this.gettodaynumber();
  419. this.getwaitmount();
  420. this.fun3();
  421. },
  422. //获取当天发药的人数
  423. gettodaynumber() {
  424. console.log("aaa");
  425. var params = {
  426. time: this.start_time,
  427. };
  428. todaynumber(params).then((res) => {
  429. if (res.data.state == 1) {
  430. this.waitmount = res.data.data.itotal;
  431. this.alreadmount = res.data.data.wtotal;
  432. }
  433. });
  434. // console.log("2222222")
  435. },
  436. //获取发药人列表
  437. getwaitmount() {
  438. var params = {
  439. keyword: this.keywords,
  440. time: this.start_time,
  441. shift: this.shift,
  442. partition: this.partition,
  443. };
  444. waitingdrug(params).then((res) => {
  445. if (res.data.state == 1) {
  446. this.waitmount_data = res.data.data.list;
  447. if(this.shift != 0 || this.partition != 0){
  448. if(this.waitmount_data == null){
  449. this.waitmount = 0
  450. }else{
  451. this.waitmount = this.waitmount_data.length
  452. }
  453. }
  454. }
  455. });
  456. issueddrugs(params).then((res) => {
  457. if (res.data.state == 1) {
  458. this.alreadmount_data = res.data.data.list;
  459. if(this.shift != 0 || this.partition != 0){
  460. if (this.alreadmount_data == null){
  461. this.alreadmount = 0
  462. }else{
  463. this.alreadmount = this.alreadmount_data.length
  464. }
  465. }
  466. }
  467. });
  468. },
  469. //包装getwaitmount
  470. async fun1() {
  471. // return new Promise((resolve, reject) => {
  472. var params = {
  473. keyword: this.keywords,
  474. time: this.start_time,
  475. shift: this.shift,
  476. partition: this.partition,
  477. };
  478. await waitingdrug(params).then((res) => {
  479. if (res.data.state == 1) {
  480. this.waitmount_data = res.data.data.list;
  481. console.log("1111111");
  482. }
  483. });
  484. await issueddrugs(params).then((res) => {
  485. if (res.data.state == 1) {
  486. this.alreadmount_data = res.data.data.list;
  487. console.log("1111111s");
  488. }
  489. });
  490. console.log("222222222");
  491. // })
  492. },
  493. //获取患者信息详情
  494. getpatientdetails(val) {
  495. var params = {
  496. patient_id: this.currentRow.PatientID,
  497. is_medicine: val,
  498. time: this.start_time,
  499. };
  500. getpharmacycontent(params).then((res) => {
  501. if (res.data.state == 1) {
  502. this.tableData = res.data.data.list;
  503. } else {
  504. this.$message.error(res.data.msg);
  505. }
  506. });
  507. },
  508. // 跳转打印页面
  509. toPrint() {
  510. if (this.tableData == null) {
  511. this.$message.error("未选择任何数据");
  512. return;
  513. }
  514. this.$refs.patientprint.show(
  515. this.tableData,
  516. this.currentRow,
  517. this.state,
  518. this.start_time
  519. );
  520. },
  521. toExport() {
  522. import("@/vendor/Export2Excel").then((excel) => {
  523. for (let i = 0; i < this.tableData.length; i++) {
  524. this.tableData[i].index = i + 1;
  525. this.tableData[i].time = this.start_time
  526. this.tableData[i].uname = this.currentRow.Name
  527. }
  528. const tHeader = [
  529. "序号",
  530. "日期",
  531. "患者名称",
  532. "名称",
  533. "单次用量",
  534. "用法",
  535. "频率",
  536. "天数",
  537. "总量",
  538. "开立医生",
  539. "数据来源",
  540. "备注",
  541. ];
  542. const filterVal = [
  543. "index",
  544. "time",
  545. "uname",
  546. "Name",
  547. "SingleDosage",
  548. "Usage",
  549. "Frequency",
  550. "Days",
  551. "Total",
  552. "Doctor",
  553. "DataSources",
  554. "Remarks",
  555. ];
  556. const data = this.formatJson(filterVal, this.tableData);
  557. excel.export_json_to_excel({
  558. header: tHeader,
  559. data,
  560. filename: "领药单",
  561. });
  562. this.downloadLoading = false;
  563. });
  564. },
  565. formatJson(filterVal, jsonData) {
  566. return jsonData.map((v) => filterVal.map((j) => v[j]));
  567. },
  568. // 搜索患者
  569. searchAction() {
  570. this.tableData = null;
  571. this.getwaitmount();
  572. if(this.shift != 0 || this.partition != 0){
  573. }else{
  574. this.gettodaynumber();
  575. }
  576. },
  577. // 药品发药
  578. dispense() {
  579. var tmp = this.currentRow.PatientID;
  580. var params = {
  581. patient_id: this.currentRow.PatientID,
  582. time: this.start_time,
  583. };
  584. this.$confirm("确定是否对该患者进行发药?", "患者发药", {
  585. confirmButtonText: "确 定",
  586. cancelButtonText: "取 消",
  587. type: "warning",
  588. })
  589. .then(() => {
  590. dispensingmedicine(params).then((res) => {
  591. if (res.data.state == 1) {
  592. this.$message.success("操作成功");
  593. this.gettodaynumber();
  594. this.searchAction();
  595. this.tableData = null;
  596. this.fun4(tmp);
  597. this.state = 2;
  598. // console.log("this.alreadmount_data",this.alreadmount_data)
  599. // for (let i = 0;i < this.alreadmount_data.length;i++){
  600. // console.log("tmp = ",tmp)
  601. // if (this.alreadmount_data[i].PatientID == tmp){
  602. // console.log("i = ",i)
  603. // this.$refs.table02.setCurrentRow(this.alreadmount_data[i]);
  604. // this.handleCurrentChange(this.alreadmount_data[i])
  605. // }
  606. // }
  607. } else {
  608. this.$message.error(res.data.msg);
  609. }
  610. });
  611. })
  612. .catch(() => {});
  613. },
  614. toSetting() {
  615. getPharmacyConfig().then((response) => {
  616. if (response.data.state == 1) {
  617. this.dialogVisible = true;
  618. var config = response.data.data.config;
  619. this.is_open = config.is_open.toString();
  620. }
  621. });
  622. },
  623. SaveSetting() {
  624. var params = {
  625. is_open: parseInt(this.is_open),
  626. };
  627. SaveSetting(params).then((response) => {
  628. if (response.data.state == 1) {
  629. var config = response.data.data.config;
  630. this.$message.success("保存成功!");
  631. this.dialogVisible = false;
  632. }
  633. });
  634. },
  635. // 药品退药
  636. endispense() {
  637. var tmp = this.currentRow.PatientID;
  638. var params = {
  639. patient_id: this.currentRow.PatientID,
  640. time: this.start_time,
  641. };
  642. this.$confirm("确定是否对该患者进行退药?", "患者退药", {
  643. confirmButtonText: "确 定",
  644. cancelButtonText: "取 消",
  645. type: "warning",
  646. })
  647. .then(() => {
  648. drugwithdrawal(params).then((res) => {
  649. if (res.data.state == 1) {
  650. this.$message.success("操作成功");
  651. this.gettodaynumber();
  652. this.searchAction();
  653. this.tableData = null;
  654. this.fun5(tmp);
  655. this.state = 1;
  656. } else {
  657. this.$message.error(res.data.msg);
  658. }
  659. });
  660. })
  661. .catch(() => {});
  662. },
  663. },
  664. };
  665. </script>
  666. <style rel="stylesheet/css" lang="scss" scoped>
  667. .new-main-contain {
  668. height: 100%;
  669. display: flex;
  670. flex-direction: column;
  671. }
  672. .app-container {
  673. height: 100%;
  674. }
  675. .mainLeft {
  676. width: 200px;
  677. height: 100%;
  678. display: flex;
  679. flex-direction: column;
  680. .el-radio {
  681. margin-right: 5px;
  682. }
  683. .list {
  684. margin: 10px 0;
  685. }
  686. }
  687. .mainRight {
  688. margin-left: 10px;
  689. flex: 1;
  690. height: 100%;
  691. display: flex;
  692. flex-direction: column;
  693. overflow-y: auto;
  694. .titlelist {
  695. display: flex;
  696. justify-content: flex-end;
  697. }
  698. .el-table {
  699. margin-top: -13px;
  700. }
  701. .el-button {
  702. height: 34px;
  703. width: 65px;
  704. }
  705. /deep/ .el-divider {
  706. height: 2px;
  707. margin-top: 10px;
  708. }
  709. }
  710. /deep/ .el-input__inner {
  711. padding-right: 15px;
  712. }
  713. /deep/ .el-table--scrollable-x .el-table__body-wrapper {
  714. overflow: auto;
  715. overflow-x: hidden;
  716. }
  717. /deep/ .gutter {
  718. width: 15px !important;
  719. display: inline-block !important;
  720. }
  721. /deep/ .el-table__fixed-right-patch {
  722. width: 15px !important;
  723. }
  724. /deep/ .el-table__fixed-right {
  725. bottom: 0 !important;
  726. left: auto;
  727. right: 0;
  728. }
  729. /deep/ .el-table__body-wrapper::-webkit-scrollbar {
  730. width: 15px !important;
  731. height: 15px !important;
  732. }
  733. </style>