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

prescriptionTable.vue 25KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626
  1. <template>
  2. <div class="prescriptionTable">
  3. <el-table v-if="activeType == 1" :data="prescription.advices" border style="width: 99%;"
  4. :row-style="{ color: '#303133' }"
  5. :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
  6. <el-table-column align="center" prop="day" width="70" label="序号">
  7. <template slot-scope="scope">
  8. <div style="display:flex;align-items:center;">
  9. <el-input v-model="scope.row.groupno" placeholder=""></el-input>
  10. </div>
  11. </template>
  12. </el-table-column>
  13. <el-table-column align="center" prop="drug_name" label="名称">
  14. <template slot-scope="scope"><span :title="scope.row.drug_name">{{ scope.row.drug_name }}</span>
  15. </template>
  16. </el-table-column>
  17. <el-table-column align="center" prop="single_dose" width="120" label="单次用量">
  18. <template slot-scope="scope">
  19. <div style="display:flex;align-items:center;">
  20. <el-input v-model="scope.row.single_dose" @input="getAllChange(scope)"
  21. style="width:50%;"></el-input>
  22. <!-- <div>{{scope.row.single_dose_unit}}</div> -->
  23. <el-select v-model="scope.row.single_dose_unit" placeholder="请选择" style="width:50%;"
  24. @change="getAllChange(scope)">
  25. <el-option :label="scope.row.drug.min_unit" :value="scope.row.drug.min_unit"></el-option>
  26. <el-option :label="scope.row.drug.dose_unit"
  27. v-if="scope.row.drug.dose_unit != scope.row.drug.min_unit"
  28. :value="scope.row.drug.dose_unit"></el-option>
  29. </el-select>
  30. </div>
  31. </template>
  32. </el-table-column>
  33. <el-table-column align="center" prop="delivery_way" width="100" label="用法">
  34. <template slot-scope="scope">
  35. <el-select v-model="scope.row.delivery_way" placeholder="请选择">
  36. <el-option
  37. v-for="(item,index) in drugways"
  38. :key="index"
  39. :label="item.name"
  40. :value="item.name">
  41. </el-option>
  42. </el-select>
  43. </template>
  44. </el-table-column>
  45. <el-table-column align="center" prop="execution_frequency" width="100" label="频率">
  46. <template slot-scope="scope">
  47. <el-select v-model="scope.row.execution_frequency" placeholder="请选择" @change="getAllChange(scope)">
  48. <el-option
  49. v-for="item,index in efs"
  50. :key="index"
  51. :label="item.name"
  52. :value="item.name">
  53. </el-option>
  54. </el-select>
  55. </template>
  56. </el-table-column>
  57. <el-table-column align="center" prop="day" width="70" label="天数">
  58. <template slot-scope="scope">
  59. <div style="display:flex;align-items:center;">
  60. <el-input v-model="scope.row.day" @input="getAllChange(scope)" placeholder=""></el-input>
  61. {{'天'}}
  62. </div>
  63. </template>
  64. </el-table-column>
  65. <el-table-column align="center" prop="prescribing_number" width="120" label="总量">
  66. <template slot-scope="scope">
  67. <div style="display:flex;align-items:center;">
  68. <el-input v-model="scope.row.prescribing_number" @input="changePrescribingNumber(scope)"
  69. style="width:50%" placeholder=""></el-input>
  70. <!-- <div> {{scope.row.prescribing_number_unit}}</div> -->
  71. <el-select v-model="scope.row.prescribing_number_unit" placeholder="请选择" style="width:50%;"
  72. @change="getPrescribingNumberUnit(scope)">
  73. <el-option :label="scope.row.drug.min_unit" :value="scope.row.drug.min_unit"></el-option>
  74. <el-option :label="scope.row.drug.max_unit"
  75. v-if="scope.row.drug.min_unit != scope.row.drug.max_unit"
  76. :value="scope.row.drug.max_unit"></el-option>
  77. </el-select>
  78. </div>
  79. </template>
  80. </el-table-column>
  81. <el-table-column align="center" prop="retail_price" width="80" label="单价">
  82. <template slot-scope="scope">
  83. <div style="display:flex;align-items:center;">
  84. <el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>
  85. <div>{{'元'}}</div>
  86. </div>
  87. </template>
  88. </el-table-column>
  89. <el-table-column align="center" prop="hosp_appr_flag" width="100" label="医院审批标志">
  90. <template slot-scope="scope">
  91. <el-select v-model="scope.row.hosp_appr_flag" placeholder="请选择">
  92. <el-option label="审批通过" value="1"></el-option>
  93. <el-option label="无须审批" value="3"></el-option>
  94. <el-option label="审批不通过" value="2"></el-option>
  95. </el-select>
  96. </template>
  97. </el-table-column>
  98. <el-table-column align="center" prop="remark" width="50" label="备注">
  99. <template slot-scope="scope">
  100. <el-input v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>
  101. </template>
  102. </el-table-column>
  103. <el-table-column align="center" width="40" prop="name" label="操作">
  104. <template slot-scope="scope">
  105. <i class="el-icon-delete" @click="deleteDrug(scope.$index, scope.row)"></i>
  106. </template>
  107. </el-table-column>
  108. </el-table>
  109. <el-table v-if="activeType == 2" :data="prescription.project" border style="width: 99%;"
  110. :row-style="{ color: '#303133' }"
  111. :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
  112. <el-table-column align="center" type="index" width="40" label="序号"></el-table-column>
  113. <el-table-column align="center" prop="project_name" label="名称">
  114. <template slot-scope="scope"><span :title="scope.row.project_name">{{ scope.row.project_name }}</span>
  115. </template>
  116. </el-table-column>
  117. <el-table-column align="center" prop="statistical_classification" width="100" label="组">
  118. <template slot-scope="scope">{{scope.row.statistical_classification}}
  119. </template>
  120. </el-table-column>
  121. <el-table-column align="center" prop="single_dose" width="80" label="单次用量">
  122. <template slot-scope="scope">
  123. <div style="display:flex;align-items:center;">
  124. <el-input v-model="scope.row.single_dose" @input="getProjectSingleDose(scope)"
  125. placeholder=""></el-input>
  126. <div>{{scope.row.unit}}</div>
  127. </div>
  128. </template>
  129. </el-table-column>
  130. <el-table-column align="center" prop="delivery_way" width="80" label="用法">
  131. <template slot-scope="scope">
  132. <el-autocomplete
  133. style="width:100%;"
  134. class="inline-input"
  135. v-model="scope.row.delivery_way"
  136. :fetch-suggestions="querySearch2"
  137. placeholder="请输入内容"
  138. ></el-autocomplete>
  139. </template>
  140. </el-table-column>
  141. <el-table-column align="center" prop="execution_frequency" width="80" label="频率">
  142. <template slot-scope="scope">
  143. <el-input v-model="scope.row.execution_frequency" @input="getProjectSingleDose(scope)"
  144. placeholder=""></el-input>
  145. </template>
  146. </el-table-column>
  147. <el-table-column align="center" prop="number_days" width="70" label="天数">
  148. <template slot-scope="scope">
  149. <div style="display:flex;align-items:center;">
  150. <el-input v-model="scope.row.number_days" @input="getProjectSingleDose(scope)"
  151. placeholder=""></el-input>
  152. <div>{{'天'}}</div>
  153. </div>
  154. </template>
  155. </el-table-column>
  156. <el-table-column align="center" prop="total" width="70" label="总量">
  157. <template slot-scope="scope">
  158. <div style="display:flex;align-items:center;">
  159. <el-input v-model="scope.row.total" style="width:60%" placeholder=""></el-input>
  160. <div>{{scope.row.unit}}</div>
  161. </div>
  162. </template>
  163. </el-table-column>
  164. <el-table-column align="center" prop="name" width="70" label="单价">
  165. <template slot-scope="scope">
  166. <div style="display:flex;align-items:center;">
  167. <el-input v-model="scope.row.price" placeholder="" readonly></el-input>
  168. <div>{{'元'}}</div>
  169. </div>
  170. </template>
  171. </el-table-column>
  172. <el-table-column align="center" prop="name" width="50" label="备注">
  173. <template slot-scope="scope">
  174. <el-input v-model="scope.row.remark" :title="scope.row.remark"></el-input>
  175. </template>
  176. </el-table-column>
  177. <el-table-column align="center" width="40" prop="name" label="操作">
  178. <template slot-scope="scope">
  179. <i class="el-icon-delete" @click="deleteProject(scope.row,scope.$index)"></i>
  180. </template>
  181. </el-table-column>
  182. </el-table>
  183. <div class="additionalBox">
  184. <div class="additionalOne" v-for="(item,index) in prescription.addition" :key="index">
  185. <span :title="item.item_name">{{item.item_name}}</span>
  186. <el-input v-model="item.price" placeholder="" style="width:50px;"></el-input>
  187. <el-input v-model="item.count" placeholder="" style="width:50px;"></el-input>
  188. <i class="el-icon-delete deleteIcon" @click="delAddition(index,item)"></i>
  189. </div>
  190. </div>
  191. </div>
  192. </template>
  193. <script>
  194. import { getDictionaryDataConfig } from '@/utils/data'
  195. import { delHisAddition, delHisAdvice, delHisProject, getInitData } from '@/api/his/his'
  196. export default {
  197. props: {
  198. preDrugs: Array,
  199. activeType: Number,
  200. addtions_charge: Array,
  201. prescription: {
  202. type: Object,
  203. default: function() {
  204. return {
  205. name: '',
  206. advices: [],
  207. project: [],
  208. drugways: [],
  209. efs: []
  210. }
  211. }
  212. }
  213. },
  214. data() {
  215. return {
  216. advices: [],
  217. tableData: [],
  218. newoptions: [{
  219. value: '1',
  220. label: '1'
  221. }, {
  222. value: '2',
  223. label: '2'
  224. }, {
  225. value: '3',
  226. label: '3'
  227. }, {
  228. value: '4',
  229. label: '4'
  230. }, {
  231. value: '5',
  232. label: '5'
  233. }],
  234. value: '1',
  235. input: 1,
  236. efs: [],
  237. drugways: []
  238. }
  239. },
  240. methods: {
  241. createFilter(queryString) {
  242. return (restaurant) => {
  243. return (restaurant.name.toLowerCase().indexOf(queryString.toLowerCase()) === 0)
  244. }
  245. },
  246. querySearch2(queryString, cb) {
  247. var restaurants = this.getDictionaryDataConfig('system', 'project_use')
  248. restaurants.map(item => {
  249. item.value = item.name
  250. })
  251. var results = queryString ? restaurants.filter(this.createFilter(queryString)) : restaurants
  252. // 调用 callback 返回建议列表的数据
  253. cb(results)
  254. },
  255. delAddition(index, addition) {
  256. if (this.prescription.order_status == 2) {
  257. this.$message.error('该处方已经结算,无法删除')
  258. return
  259. }
  260. this.$confirm('附加费删除后不可恢复,是否确认删除', '删除', {
  261. confirmButtonText: '确 定',
  262. cancelButtonText: '取 消',
  263. type: 'warning'
  264. }).then(() => {
  265. this.$nextTick(function() {
  266. if (addition.id == 0) {
  267. this.prescription.addition.splice(index, 1)
  268. } else {
  269. let params = {
  270. 'id': addition.id
  271. }
  272. delHisAddition(params).then(response => {
  273. if (response.data.state == 0) {
  274. this.$message.error(response.data.msg)
  275. return false
  276. } else {
  277. var temp2 = this.deepClone(this.prescription.addition)
  278. temp2.splice(index, 1)
  279. this.prescription.addition = temp2
  280. this.$message.success(response.data.data.msg)
  281. }
  282. })
  283. }
  284. })
  285. })
  286. .catch(() => {
  287. })
  288. },
  289. getInitData() {
  290. getInitData().then(response => {
  291. if (response.data.state == 0) {
  292. this.$message.error(response.data.msg)
  293. return false
  294. } else {
  295. this.drugways = response.data.data.drugways
  296. this.efs = response.data.data.efs
  297. }
  298. })
  299. }, deleteDrug: function(index, row) {
  300. if (this.prescription.order_status == 2) {
  301. this.$message.error('该处方已经结算,无法删除')
  302. return
  303. }
  304. this.$confirm('药品删除后不可恢复,是否确认删除', '删除', {
  305. confirmButtonText: '确 定',
  306. cancelButtonText: '取 消',
  307. type: 'warning'
  308. }).then(() => {
  309. this.$nextTick(function() {
  310. if (row.advice_id == 0) {
  311. this.prescription.advices.splice(index, 1)
  312. } else {
  313. let params = {
  314. 'id': row.advice_id
  315. }
  316. delHisAdvice(params).then(response => {
  317. if (response.data.state == 0) {
  318. this.$message.error(response.data.msg)
  319. return false
  320. } else {
  321. var temp2 = this.deepClone(this.prescription.advices)
  322. temp2.splice(index, 1)
  323. this.prescription.advices = temp2
  324. this.$message.success(response.data.data.msg)
  325. }
  326. })
  327. }
  328. })
  329. })
  330. .catch(() => {
  331. })
  332. }, deepClone(source) {
  333. if (!source && typeof source !== 'object') {
  334. throw new Error('error arguments', 'shallowClone')
  335. }
  336. const targetObj = source.constructor === Array ? [] : {}
  337. Object.keys(source).forEach((keys) => {
  338. if (source[keys] && typeof source[keys] === 'object') {
  339. targetObj[keys] = this.deepClone(source[keys])
  340. } else {
  341. targetObj[keys] = source[keys]
  342. }
  343. })
  344. return targetObj
  345. },
  346. setNewData: function(data) {
  347. this.prescription = data
  348. // this.prescription.advices = data.advices
  349. },
  350. getDictionaryDataConfig(module, filed_name) {
  351. return getDictionaryDataConfig(module, filed_name)
  352. },
  353. getGroup(id) {
  354. var name = ''
  355. var statistics_category = getDictionaryDataConfig('system', 'statistics_category')
  356. console.log('2235', statistics_category)
  357. for (let i = 0; i < statistics_category.length; i++) {
  358. if (id == statistics_category[i].id) {
  359. name = statistics_category[i].name
  360. }
  361. }
  362. return name
  363. },
  364. deleteProject(row, i) {
  365. if (this.prescription.order_status == 2) {
  366. this.$message.error('该处方已经结算,无法删除')
  367. return
  368. }
  369. this.$confirm('项目删除后不可恢复,是否确认删除', '删除', {
  370. confirmButtonText: '确 定',
  371. cancelButtonText: '取 消',
  372. type: 'warning'
  373. }).then(() => {
  374. if (row.id == 0) {
  375. this.prescription.project.splice(i, 1)
  376. } else {
  377. let params = {
  378. 'id': row.id
  379. }
  380. delHisProject(params).then(response => {
  381. if (response.data.state == 0) {
  382. this.$message.error(response.data.msg)
  383. return false
  384. } else {
  385. for (let i = 0; i < this.prescription.project.length; i++) {
  386. if (this.prescription.project[i].id == row.id) {
  387. this.prescription.project.splice(i, 1)
  388. }
  389. }
  390. this.$message.success(response.data.data.msg)
  391. }
  392. })
  393. }
  394. })
  395. .catch(() => {
  396. })
  397. },
  398. getAllChange(scope) {
  399. if (scope.row.drug.min_unit == scope.row.single_dose_unit) {
  400. if (scope.row.prescribing_number_unit == scope.row.drug.min_unit) {
  401. console.log(1)
  402. scope.row.prescribing_number = scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1) * (scope.row.day ? scope.row.day : 1)
  403. } else {
  404. console.log(12)
  405. scope.row.prescribing_number = Math.ceil((scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1)) * (scope.row.day ? scope.row.day : 1) / scope.row.drug.min_number)
  406. }
  407. } else {
  408. if (scope.row.prescribing_number_unit == scope.row.drug.min_unit) {
  409. console.log(123)
  410. scope.row.prescribing_number = Math.ceil((scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1) * (scope.row.day ? scope.row.day : 1)) / scope.row.drug.dose)
  411. } else {
  412. console.log(1234)
  413. scope.row.prescribing_number = Math.ceil((scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1) * (scope.row.day ? scope.row.day : 1)) / scope.row.drug.dose / scope.row.drug.min_number)
  414. }
  415. }
  416. if (scope.row.prescribing_number == 0) {
  417. scope.row.prescribing_number = 1
  418. }
  419. if (scope.row.prescribing_number_unit == scope.row.drug.min_unit) {
  420. // scope.row.retail_price = scope.row.drug.min_number / scope.row.retail_price
  421. if (scope.row.prescribing_number > scope.row.drug.total) {
  422. this.$message.error(scope.row.drug_name + '库存不足')
  423. }
  424. } else {
  425. if ((parseInt(scope.row.prescribing_number) * scope.row.drug.min_number) > scope.row.drug.total) {
  426. this.$message.error(scope.row.drug_name + '库存不足')
  427. }
  428. // scope.row.retail_price = scope.row.drug.retail_price * scope.row.prescribing_number
  429. }
  430. },
  431. getPrescribingNumberUnit(scope) {
  432. console.log('scope',scope)
  433. // if(scope.row.drug.min_unit == scope.row.single_dose_unit){
  434. // if(scope.row.prescribing_number_unit == scope.row.drug.min_unit){
  435. // scope.row.prescribing_number = scope.row.single_dose * this.getNum(scope.row.execution_frequency) * scope.row.day
  436. // }else{
  437. // scope.row.prescribing_number = Math.ceil((scope.row.single_dose * this.getNum(scope.row.execution_frequency)) * scope.row.day / scope.row.drug.min_number)
  438. // }
  439. // }else{
  440. // if(scope.row.prescribing_number_unit == scope.row.drug.min_unit){
  441. // scope.row.prescribing_number = Math.ceil((scope.row.single_dose * this.getNum(scope.row.execution_frequency) * scope.row.day) / scope.row.drug.dose)
  442. // }else{
  443. // scope.row.prescribing_number = Math.ceil((scope.row.single_dose * this.getNum(scope.row.execution_frequency) * scope.row.day) / scope.row.drug.dose / scope.row.drug.min_number)
  444. // }
  445. // }
  446. // if(scope.row.prescribing_number == 0){
  447. // scope.row.prescribing_number = 1
  448. // }
  449. if (scope.row.prescribing_number_unit == scope.row.drug.min_unit) {
  450. scope.row.retail_price = scope.row.drug.min_price
  451. // if (scope.row.prescribing_number > scope.row.drug.total) {
  452. // this.$message.error(scope.row.drug_name + '库存不足')
  453. // }
  454. } else {
  455. // if ((parseInt(scope.row.prescribing_number) * scope.row.drug.min_number) > scope.row.drug.total) {
  456. // this.$message.error(scope.row.drug_name + '库存不足')
  457. // }
  458. scope.row.retail_price = scope.row.drug.retail_price
  459. }
  460. },
  461. changePrescribingNumber(scope) {
  462. if (scope.row.prescribing_number_unit == scope.row.drug.min_unit) {
  463. if (parseInt(scope.row.prescribing_number) > scope.row.drug.total) {
  464. this.$message.error(scope.row.drug_name + '库存不足')
  465. }
  466. } else {
  467. if ((parseInt(scope.row.prescribing_number) * scope.row.drug.min_number) > scope.row.drug.total) {
  468. this.$message.error(scope.row.drug_name + '库存不足')
  469. }
  470. }
  471. },
  472. getProjectSingleDose(scope) {
  473. this.prescription.project[scope.$index].total = scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1) * (scope.row.number_days ? scope.row.number_days : 1)
  474. if (this.prescription.project[scope.$index].total == 0) {
  475. this.prescription.project[scope.$index].total = 1
  476. }
  477. },
  478. getProjectDay(scope) {
  479. this.prescription.project[scope.$index].total = scope.row.single_dose * scope.row.number_days
  480. if (this.prescription.project[scope.$index].total == 0) {
  481. this.prescription.project[scope.$index].total = 1
  482. }
  483. },
  484. getNum(execution_frequency) {
  485. let arr = [
  486. { name: '立即执行', count: 1 },
  487. { name: '透析时', count: 1 },
  488. { name: '透析1h一次', count: 1 },
  489. { name: '透析2h一次', count: 1 },
  490. { name: '透析3h一次', count: 1 },
  491. { name: '每日一次', count: 1 },
  492. { name: '每日两次', count: 2 },
  493. { name: '每日三次', count: 3 },
  494. { name: '每晚一次', count: 1 },
  495. { name: '每晚', count: 1 },
  496. { name: '上机前', count: 1 },
  497. { name: '下机前', count: 1 },
  498. { name: '透析后立即', count: 1 },
  499. { name: '持续使用', count: 1 },
  500. { name: '临时开药', count: 1 },
  501. { name: '临睡前', count: 1 },
  502. { name: '隔日一次', count: 1 },
  503. { name: '隔三日一次', count: 1 },
  504. { name: '每二小时一次', count: 12 },
  505. { name: '每四小时一次', count: 6 },
  506. { name: '每六小时一次', count: 4 },
  507. { name: '每八小时一次', count: 3 }
  508. ]
  509. let num = ''
  510. arr.map(item => {
  511. if (item.name == execution_frequency) {
  512. num = item.count
  513. }
  514. })
  515. if (num == '') {
  516. num = 1
  517. }
  518. return num
  519. }
  520. }, mounted() {
  521. this.getInitData()
  522. },
  523. watch: {
  524. 'prescription.advices': {
  525. handler(newVal, oldVal) {
  526. },
  527. deep: true
  528. }
  529. // "prescription.project":{
  530. // handler(newVal,oldVal){
  531. // newVal.map((item,index) => {
  532. // if(item.single_dose != oldVal[index].single_dose || item.number_days != oldVal[index].number_days){
  533. // item.total = item.single_dose * item.number_days
  534. // }
  535. // })
  536. // },
  537. // deep:true
  538. // }
  539. }
  540. }
  541. </script>
  542. <style lang="scss">
  543. .prescriptionTable {
  544. .el-input__inner {
  545. padding: 0 5px;
  546. }
  547. .additionalBox {
  548. margin-top: 20px;
  549. display: flex;
  550. flex-wrap: wrap;
  551. .additionalOne {
  552. margin-right: 20px;
  553. margin-bottom: 10px;
  554. display: flex;
  555. align-items: center;
  556. > span {
  557. white-space: nowrap;
  558. overflow: hidden;
  559. text-overflow: ellipsis;
  560. width: 80px;
  561. display: inline-block;
  562. font-size: 14px;
  563. }
  564. }
  565. .deleteIcon {
  566. color: red;
  567. margin-left: 5px;
  568. }
  569. }
  570. .el-table th .cell, .el-table td .cell {
  571. padding: 0 2px;
  572. white-space: pre-line;
  573. }
  574. .el-icon-delete {
  575. color: red;
  576. }
  577. }
  578. </style>