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

deskPrescription.vue 23KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744
  1. <template>
  2. <div style="height: calc(100% - 36px);display: flex;flex-direction: column;">
  3. <div style="border-top:1px solid #e5e5e5;margin-top:5px;">
  4. <div class="mainCell" style="margin-bottom:10px;float:right">
  5. <el-button size="small" @click="open(1)" type="primary" style="margin-left:10px;">保存</el-button>
  6. <el-button size="small" @click="open(2)" type="primary">打印</el-button>
  7. <el-button size="small" @click="open(4)" type="primary">选择模板</el-button>
  8. <el-button size="small" @click="open(5)" type="primary">存模板</el-button>
  9. </div>
  10. </div>
  11. <div class="backColor"></div>
  12. <div class="mainCenter">
  13. <div class="centerLeft">
  14. <el-form :model="form" ref="form" label-width="80px">
  15. <el-form-item label="姓名:" prop="name">
  16. <el-input v-model="patientInfo.name" placeholder=""></el-input>
  17. </el-form-item>
  18. <el-form-item label="证件号: " prop="name">
  19. <el-input v-model="patientInfo.id_card_no" placeholder=""></el-input>
  20. </el-form-item>
  21. <el-form-item label="挂号类型: " prop="name">
  22. <el-input v-model="hisPatientInfo.register_type" placeholder=""></el-input>
  23. </el-form-item>
  24. <el-form-item label="诊断:" prop="name">
  25. <el-autocomplete
  26. style="width:100%;"
  27. class="inline-input"
  28. v-model="state1"
  29. :fetch-suggestions="querySearch"
  30. placeholder="请输入内容"
  31. ></el-autocomplete>
  32. </el-form-item>
  33. <el-form-item label="大病类别: " prop="name">
  34. <el-input v-model="form.name" placeholder=""></el-input>
  35. </el-form-item>
  36. <el-form-item label="处方类型: " prop="name">
  37. <el-select v-model="value" placeholder="请选择" style="width:100%;">
  38. <el-option
  39. v-for="item in options"
  40. :key="item.value"
  41. :label="item.label"
  42. :value="item.value">
  43. </el-option>
  44. </el-select>
  45. </el-form-item>
  46. </el-form>
  47. <div class="tabsBox">
  48. <el-button type="text" class="addTab" @click="addCharges" icon="el-icon-circle-plus">附加收费</el-button>
  49. <el-tabs class="preTabs" v-model="editableTabsValue" type="card" closable @tab-remove="removeTab"
  50. :before-leave="moreState" @tab-click="tabclickEvent">
  51. <el-tab-pane
  52. v-for="(item, index) in prescriptions"
  53. :key="index"
  54. :label="item.name"
  55. :name="item.name"
  56. >
  57. </el-tab-pane>
  58. <el-tab-pane name="more" closable><span slot="label"><i class="el-icon-plus" @click="addTab"></i></span>
  59. </el-tab-pane>
  60. <div class="RP">Rp</div>
  61. <prescription-table ref="prescription_tables" :prescription="curPrescriptions" :preDrugs="preDrugs" :activeType="customTabIndex"></prescription-table>
  62. </el-tabs>
  63. </div>
  64. <div class="costBox">
  65. <span>医生:</span>
  66. <el-select style="margin-right:5px;" v-model="doctorValue" placeholder="">
  67. <el-option
  68. v-for="item in doctorOptions"
  69. :key="item.value"
  70. :label="item.label"
  71. :value="item.value">
  72. </el-option>
  73. </el-select>
  74. <span>科室:</span>
  75. <el-select style="margin-right:5px;" v-model="departmentValue" placeholder="">
  76. <el-option
  77. v-for="item in departmentOptions"
  78. :key="item.value"
  79. :label="item.label"
  80. :value="item.value">
  81. </el-option>
  82. </el-select>
  83. <span>总计:</span>
  84. <span style="color:red;">{{ total }}</span>元
  85. </div>
  86. </div>
  87. <div class='centerRight'>
  88. <div class="rightTab">
  89. <p :class="rightTab == 1 ? 'activeP' : ''" @click="clickTab(1)">药品</p>
  90. <p :class="rightTab == 2 ? 'activeP' : ''" @click="clickTab(2)">项目</p>
  91. </div>
  92. <template>
  93. <div style="margin-top:5px;">
  94. <el-input style="width:50%;" v-model="input" placeholder=""></el-input>
  95. <el-select style="float: right;width: 49%;" v-model="value" placeholder="">
  96. <el-option
  97. v-for="item in options"
  98. :key="item.value"
  99. :label="item.label"
  100. :value="item.value">
  101. </el-option>
  102. </el-select>
  103. </div>
  104. <div style="height:84%;overflow-y: auto;margin-bottom: 60px;" v-show="showOne">
  105. <el-tabs class="rightTabs" v-model="activeName">
  106. <el-tab-pane label="药品列表" name="1">
  107. <el-table :data="drugs" border @select='selectDrugs' style="width: 100%;"
  108. :row-style="{ color: '#303133' }"
  109. :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
  110. highlight-current-row>
  111. <el-table-column align="center" type="selection" width="40"></el-table-column>
  112. <el-table-column align="center" prop="name" label="名称">
  113. <template slot-scope="scope">{{ scope.row.drug_name }}</template>
  114. </el-table-column>
  115. <el-table-column align="center" label="规格" width="60">
  116. <template slot-scope="scope">{{ scope.row.drug_spec }}</template>
  117. </el-table-column>
  118. <el-table-column align="center" label="单价" width="40">
  119. <template slot-scope="scope">{{ scope.row.retail_price }}</template>
  120. </el-table-column>
  121. </el-table>
  122. </el-tab-pane>
  123. <el-tab-pane label="医嘱模板" name="2">
  124. <el-table :data="advices_template" border style="width: 100%;" :row-style="{ color: '#303133' }"
  125. :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
  126. highlight-current-row>
  127. <el-table-column align="center" type="selection" width="40"></el-table-column>
  128. <el-table-column align="center" prop="name" label="名称">
  129. <template slot-scope="scope">{{}}</template>
  130. </el-table-column>
  131. <el-table-column align="center" label="规格" width="60">
  132. <template slot-scope="scope">33</template>
  133. </el-table-column>
  134. <el-table-column align="center" label="库存" width="60">
  135. <template slot-scope="scope">22</template>
  136. </el-table-column>
  137. <el-table-column align="center" label="单价" width="40">
  138. <template slot-scope="scope">12</template>
  139. </el-table-column>
  140. </el-table>
  141. </el-tab-pane>
  142. </el-tabs>
  143. </div>
  144. <div style="height:84%;overflow-y: auto;margin-bottom: 60px;" v-show="showTwo">
  145. <el-tabs class="rightTabs" v-model="activeName">
  146. <el-tab-pane label="项目列表" name="1">
  147. <el-table :data="tabProject" border @select='selectChange' style="width: 100%;"
  148. :row-style="{ color: '#303133' }"
  149. :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
  150. highlight-current-row >
  151. <el-table-column align="center" type="selection" width="40"></el-table-column>
  152. <el-table-column align="center" prop="name" label="名称">
  153. <template slot-scope="scope">{{ scope.row.project_name }}</template>
  154. </el-table-column>
  155. <el-table-column align="center" label="规格" width="60">
  156. <template slot-scope="scope">{{ scope.row.single_dose }}</template>
  157. </el-table-column>
  158. <el-table-column align="center" label="单价" width="40">
  159. <template slot-scope="scope">{{ scope.row.price }}</template>
  160. </el-table-column>
  161. </el-table>
  162. </el-tab-pane>
  163. <el-tab-pane label="项目组套" name="2">
  164. <el-table :data="tabPrjectTeam" border style="width: 100%;" :row-style="{ color: '#303133' }"
  165. :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
  166. highlight-current-row
  167. @select='selectTeam'>
  168. <el-table-column align="center" type="selection" width="40"></el-table-column>
  169. <el-table-column align="center" prop="name" label="名称">
  170. <template slot-scope="scope">{{scope.row.project_team}}</template>
  171. </el-table-column>
  172. </el-table>
  173. </el-tab-pane>
  174. </el-tabs>
  175. </div>
  176. <div class="comfirmBox">
  177. <div>
  178. <span>药品类型:</span>
  179. <el-select style="margin-right:5px;width:100px;" v-model="value" placeholder="" @change="changeKind">
  180. <el-option
  181. label="全部"
  182. value="0">
  183. </el-option>
  184. <el-option
  185. v-for="(item,index) in getDictionaryDataConfig('system','drug_type')"
  186. :key="index"
  187. :label="item.name"
  188. :value="item.id">
  189. </el-option>
  190. </el-select>
  191. </div>
  192. <el-button type="primary" size="small" @click="comfirm">确定添加</el-button>
  193. </div>
  194. </template>
  195. </div>
  196. </div>
  197. <additionalCharges ref='additionalCharges' :paitent_id="paitent_id"></additionalCharges>
  198. <select-template ref='selectTemplate'></select-template>
  199. <save-template ref='saveTemplate'></save-template>
  200. </div>
  201. </template>
  202. <script>
  203. import { getPatientInfo, getSchedulePatientList, getInitData } from '@/api/his/his'
  204. import { getDictionaryDataConfig} from "@/utils/data";
  205. import prescriptionTable from './prescriptionTable'
  206. import selectTemplate from './selectTemplate'
  207. import saveTemplate from './saveTemplate'
  208. import additionalCharges from './additionalCharges'
  209. import { getHisProject,addProjectTeam,getAllProjectTeam,getPojectListById } from '@/api/project/project'
  210. // import { getPatientInfo, getSchedulePatientList } from '@/api/his/his'
  211. export default {
  212. props: {
  213. patientInfo: Object,
  214. hisPatientInfo: Object,
  215. prescriptions: Array,
  216. },
  217. components: {
  218. selectTemplate,
  219. saveTemplate,
  220. prescriptionTable,
  221. additionalCharges
  222. },
  223. data() {
  224. return {
  225. value:"",
  226. form: {
  227. name: ''
  228. },
  229. drugs:[],
  230. allDrugs:[],
  231. advices_template:[],
  232. editableTabsValue: '处方1',
  233. editableTabs: [{
  234. title: '处方1',
  235. name: '1'
  236. }],
  237. tabIndex: 1,
  238. currenet_inedx:0,
  239. rightTab: 1,
  240. activeName: '1',
  241. curPrescriptions: this.prescriptions[0],
  242. drugTableData: [],
  243. preDrugs: [],
  244. curDrugs: [],
  245. doctorOptions: [],
  246. doctorValue: '',
  247. departmentOptions: [],
  248. departmentValue: '',
  249. total: 0,
  250. showOne:true,
  251. showTwo:false,
  252. state1:"",
  253. customTabIndex:1,
  254. options:[],
  255. tabProject:[],
  256. strids:"",
  257. showOne:true,
  258. showTwo:false,
  259. tableData:[],
  260. tabPrjectTeam:[],
  261. teamList:[],
  262. }
  263. },
  264. methods: {
  265. changeKind(val){
  266. this.drugs = []
  267. if(val == 0){
  268. this.drugs = this.allDrugs
  269. }else{
  270. for (let i = 0; i < this.allDrugs.length; i++){
  271. if (this.allDrugs[i].drug_type == val){
  272. this.drugs.push(this.allDrugs[i])
  273. }
  274. }
  275. }
  276. },
  277. getDictionaryDataConfig(module, filed_name) {
  278. return getDictionaryDataConfig(module, filed_name)
  279. },
  280. getInitData(){
  281. getInitData().then(response => {
  282. if (response.data.state == 0) {
  283. this.$message.error(response.data.msg)
  284. return false
  285. } else {
  286. this.drugs = response.data.data.drugs
  287. this.allDrugs = response.data.data.drugs
  288. this.advices_template = response.data.data.advices_template
  289. }
  290. })
  291. },
  292. tabclickEvent(val){
  293. for (let i= 0; i<this.prescriptions.length; i++){
  294. console.log(this.prescriptions[i].name)
  295. if(this.prescriptions[i].name == val.name){
  296. this.curPrescriptions = this.prescriptions[i]
  297. //用来区分处方属于项目还是药品
  298. if(this.curPrescriptions.advices.length > 0 && this.curPrescriptions.projects.length == 0){
  299. this.customTabIndex = 1
  300. }
  301. if(this.curPrescriptions.advices.length == 0 && this.curPrescriptions.projects.length > 0){
  302. this.customTabIndex = 2
  303. }
  304. if(this.curPrescriptions.advices.length == 0 && this.curPrescriptions.projects.length == 0){
  305. this.customTabIndex = this.rightTab
  306. }
  307. }
  308. }
  309. },
  310. setData(data){
  311. this.prescriptions = data
  312. console.log(this.$refs)
  313. this.$nextTick(() => {
  314. this.$refs.prescription_tables.setNewData(this.prescriptions[0])
  315. });
  316. },
  317. moreState(tab, event) {
  318. if (tab == 'more') {
  319. return false
  320. }
  321. },
  322. open(index) {
  323. if (index == 1) {
  324. localStorage.setItem('drugs', JSON.stringify(this.preDrugs))
  325. this.$message({ message: '保存成功', type: 'success' })
  326. } else if (index == 2) {
  327. this.$router.push('/outpatientDoctorStation/print')
  328. } else if (index == 4) {
  329. this.$refs.selectTemplate.show()
  330. } else if (index == 5) {
  331. this.$refs.saveTemplate.show()
  332. }
  333. },
  334. addTab(targetName) {
  335. ++this.tabIndex
  336. let newTabName = '处方' + this.tabIndex
  337. this.prescriptions.push({
  338. name: newTabName,
  339. advices: [],
  340. projects: []
  341. })
  342. this.editableTabsValue = newTabName
  343. this.curPrescriptions = this.prescriptions[this.prescriptions.length-1]
  344. },
  345. removeTab(targetName) {
  346. let tabs = this.prescriptions
  347. let activeName = this.editableTabsValue
  348. if (activeName === targetName) {
  349. tabs.forEach((tab, index) => {
  350. if (tab.name === targetName) {
  351. let nextTab = tabs[index + 1] || tabs[index - 1]
  352. if (nextTab) {
  353. activeName = nextTab.name
  354. }
  355. }
  356. })
  357. }
  358. this.editableTabsValue = activeName
  359. this.prescriptions = tabs.filter(tab => tab.name !== targetName)
  360. console.log(this.prescriptions)
  361. },
  362. clickTab(index) {
  363. if(index == 1){
  364. this.showOne = true
  365. this.showTwo = false
  366. this.$nextTick(() => {
  367. this.$refs.prescription_tables.setNewData(this.prescriptions[this.prescriptions.length-1])
  368. });
  369. this.customTabIndex = 1
  370. }
  371. if(index == 2){
  372. this.showTwo = true
  373. this.showOne = false
  374. this.$nextTick(() => {
  375. this.$refs.prescription_tables.setNewData(this.prescriptions[this.prescriptions.length-1])
  376. });
  377. this.customTabIndex = 2
  378. }
  379. this.rightTab = index
  380. //用来区分处方属于项目还是药品
  381. if(this.curPrescriptions.advices.length > 0 && this.curPrescriptions.projects.length == 0){
  382. this.customTabIndex = 1
  383. }
  384. if(this.curPrescriptions.advices.length == 0 && this.curPrescriptions.projects.length > 0){
  385. this.customTabIndex = 2
  386. }
  387. if(this.curPrescriptions.advices.length == 0 && this.curPrescriptions.projects.length == 0){
  388. // this.customTabIndex = this.rightTab
  389. this.customTabIndex = index
  390. }
  391. },
  392. addCharges() {
  393. this.$refs.additionalCharges.show()
  394. },
  395. selectDrugs(selection, row) {
  396. this.curDrugs = selection
  397. },
  398. comfirm() {
  399. this.preDrugs = this.curDrugs
  400. for (let i = 0; i < this.prescriptions.length; i++){
  401. console.log("名称",this.prescriptions[i].name)
  402. console.log("名称2",this.editableTabsValue)
  403. if(this.prescriptions[i].name == this.editableTabsValue){
  404. this.prescriptions[i].advices = this.preDrugs
  405. this.prescriptions[i].project = this.teamList
  406. this.curPrescriptions = this.prescriptions[i]
  407. // this.$refs.prescription_tables.setNewData(this.prescriptions[i])
  408. }
  409. }
  410. console.log("222222",this.prescriptions)
  411. },
  412. selectChange(row){
  413. this.teamList = row
  414. },
  415. getlist(){
  416. getHisProject().then(response=>{
  417. if(response.data.state == 1){
  418. var project = response.data.data.project
  419. console.log("project",project)
  420. this.tabProject = project
  421. }
  422. })
  423. },
  424. querySearch(){
  425. },
  426. getAllProjectTeam(){
  427. getAllProjectTeam().then(response=>{
  428. if(response.data.state == 1){
  429. var team = response.data.data.team
  430. console.log("team",team)
  431. this.tabPrjectTeam = team
  432. }
  433. })
  434. },
  435. selectTeam(row){
  436. var arr = []
  437. for(let i=0;i<row.length;i++){
  438. arr.push(row[i].project_id)
  439. }
  440. var ids = arr.join(",")
  441. console.log("ids",ids)
  442. var strArr = ids.split(",")
  443. var res = [];//接收不重复的数据
  444. for (var i = 0; i<strArr.length; i++){
  445. var flag = true;
  446. for (var j = 0; j<i; j++){
  447. if(strArr[i]===strArr[j]){
  448. flag = false;
  449. break;
  450. }
  451. }
  452. if(flag){
  453. res.push(strArr[i])
  454. }
  455. }
  456. console.log("res",res)
  457. var idstr = res.join(",")
  458. console.log("idstr",idstr)
  459. const params = {
  460. project_id:idstr
  461. }
  462. getPojectListById(params).then(response=>{
  463. if(response.data.state == 1){
  464. var project = response.data.data.project
  465. console.log("project222",project)
  466. this.teamList = []
  467. this.teamList = project
  468. }
  469. })
  470. }
  471. },
  472. created(){
  473. this.getInitData()
  474. //获取所有项目
  475. this.getlist()
  476. //获取所以项目组套
  477. this.getAllProjectTeam()
  478. },
  479. watch:{
  480. hisPatientInfo:function(val){
  481. console.log("333333333",this.hisPatientInfo)
  482. deep:true
  483. }
  484. }
  485. }
  486. </script>
  487. <style lang="scss" scoped>
  488. .new-main-contain {
  489. height: 100%;
  490. display: flex;
  491. flex-direction: column;
  492. }
  493. .app-container {
  494. height: 100%;
  495. }
  496. .mainCell {
  497. height: 36px;
  498. display: flex;
  499. align-items: center;
  500. }
  501. .mainLeft {
  502. width: 200px;
  503. height: 100%;
  504. display: flex;
  505. flex-direction: column;
  506. .el-radio {
  507. margin-right: 5px;
  508. }
  509. }
  510. .mainRight {
  511. margin-left: 20px;
  512. flex: 1;
  513. height: 100%;
  514. display: flex;
  515. flex-direction: column;
  516. .cellSpan {
  517. min-width: 80px;
  518. display: inline-block;
  519. margin-right: 10px;
  520. }
  521. }
  522. .mainCenter {
  523. display: flex;
  524. flex: 1;
  525. }
  526. .centerLeft {
  527. flex: 1;
  528. display: flex;
  529. flex-direction: column;
  530. position: relative;
  531. .el-form-item {
  532. width: 32%;
  533. margin-right: 1%;
  534. float: left;
  535. }
  536. .el-form-item__label {
  537. text-align: left;
  538. }
  539. }
  540. .backColor {
  541. background: #f6f8f9;
  542. height: 5px;
  543. margin-bottom: 5px;
  544. }
  545. .RP {
  546. color: #409EFF;
  547. font-size: 20px;
  548. margin-bottom: 5px;
  549. }
  550. .tabsBox {
  551. position: relative;
  552. height: 76%;
  553. overflow-y: auto;
  554. margin-bottom: 60px;
  555. .el-tabs__item {
  556. padding: 0 10px;
  557. }
  558. }
  559. .preTabs {
  560. height: 100%;
  561. }
  562. .costBox {
  563. width: 100%;
  564. height: 60px;
  565. background: #fff;
  566. position: absolute;
  567. bottom: 0;
  568. display: flex;
  569. align-items: center;
  570. }
  571. .addTab {
  572. position: absolute;
  573. right: 0;
  574. top: 6px;
  575. z-index: 20;
  576. }
  577. .centerRight {
  578. width: 300px;
  579. margin-left: 5px;
  580. display: flex;
  581. flex-direction: column;
  582. position: relative;
  583. }
  584. .rightTab {
  585. height: 40px;
  586. width: 100%;
  587. border: 1px solid #d2d2d2;
  588. box-sizing: border-box;
  589. p {
  590. width: 50%;
  591. height: 40px;
  592. line-height: 40px;
  593. text-align: center;
  594. background: #eee;
  595. float: left;
  596. }
  597. > p:last-child {
  598. border-left: 1px solid #d2d2d2;
  599. float: right;
  600. }
  601. .activeP {
  602. background: #409EFF;
  603. color: #fff;
  604. }
  605. }
  606. .comfirmBox {
  607. width: 100%;
  608. height: 60px;
  609. background: #fff;
  610. position: absolute;
  611. bottom: 0;
  612. display: flex;
  613. align-items: center;
  614. justify-content: space-between;
  615. }
  616. </style>
  617. <style lang="scss">
  618. .centerLeft {
  619. .el-form-item__label {
  620. text-align: left;
  621. }
  622. }
  623. .tabsBox {
  624. .el-tabs__item {
  625. padding: 0 10px;
  626. }
  627. .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) {
  628. padding: 0 10px;
  629. }
  630. .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 {
  631. padding: 0 10px;
  632. }
  633. .el-tabs--card > .el-tabs__header .el-tabs__item.is-active.is-closable {
  634. padding: 0 10px;
  635. }
  636. }
  637. .centerRight {
  638. .el-tabs__nav-scroll {
  639. display: flex;
  640. }
  641. .el-tabs__nav {
  642. margin: 0 auto;
  643. }
  644. .el-table th .cell, .el-table td .cell {
  645. padding: 0 2px;
  646. }
  647. }
  648. .preTabs {
  649. .el-tabs__content {
  650. }
  651. }
  652. .rightTabs {
  653. height: 100%;
  654. .el-tabs__content {
  655. }
  656. }
  657. #tab-more {
  658. .el-icon-close {
  659. display: none;
  660. }
  661. }
  662. </style>