huangyw 2 年 前
コミット
e9a5ba202e
共有2 個のファイルを変更した20 個の追加0 個の削除を含む
  1. 10 0
      src/xt_pages/Pharmacy/DrugDispensing.vue
  2. 10 0
      src/xt_pages/Pharmacy/PatientDispensing.vue

+ 10 - 0
src/xt_pages/Pharmacy/DrugDispensing.vue ファイルの表示

@@ -56,6 +56,11 @@
56 56
             highlight-current-row
57 57
             ref="table01"
58 58
             @current-change="handleCurrentChange"
59
+             :row-style="{ color: '#303133' }"
60
+            :header-cell-style="{
61
+              backgroundColor: 'rgb(245, 247, 250)',
62
+              color: '#606266',
63
+            }"
59 64
           >
60 65
             <el-table-column prop="name" label="名称" width="100">
61 66
               <template slot-scope="scope">
@@ -82,6 +87,11 @@
82 87
             style="width: 100%"
83 88
             highlight-current-row
84 89
             @current-change="handleCurrentChange"
90
+             :row-style="{ color: '#303133' }"
91
+            :header-cell-style="{
92
+              backgroundColor: 'rgb(245, 247, 250)',
93
+              color: '#606266',
94
+            }"
85 95
             ref="table02"
86 96
           >
87 97
             <el-table-column prop="name" label="名称" width="100">

+ 10 - 0
src/xt_pages/Pharmacy/PatientDispensing.vue ファイルの表示

@@ -61,6 +61,11 @@
61 61
             border
62 62
             style="width: 100%"
63 63
             v-if="state == 1"
64
+             :row-style="{ color: '#303133' }"
65
+            :header-cell-style="{
66
+              backgroundColor: 'rgb(245, 247, 250)',
67
+              color: '#606266',
68
+            }"
64 69
           >
65 70
             <el-table-column prop="date" label="患者姓名" width="100">
66 71
               <template slot-scope="scope">
@@ -82,6 +87,11 @@
82 87
             highlight-current-row
83 88
             @current-change="handleCurrentChange"
84 89
             border
90
+             :row-style="{ color: '#303133' }"
91
+            :header-cell-style="{
92
+              backgroundColor: 'rgb(245, 247, 250)',
93
+              color: '#606266',
94
+            }"
85 95
             style="width: 100%"
86 96
             v-if="state == 2"
87 97
           >