see999 3 years ago
parent
commit
6811ef79a9
1 changed files with 6 additions and 4 deletions
  1. 6 4
      src/xt_pages/outpatientDoctorStation/prescriptionTemplate.vue

+ 6 - 4
src/xt_pages/outpatientDoctorStation/prescriptionTemplate.vue View File

@@ -18,7 +18,7 @@
18 18
                 </div>
19 19
                 <div>
20 20
                     <el-table :data="data" :height="tableHeight" @row-click='choosePatient'
21
-                              @current-change='currentChange' border style="width: 100%;"
21
+                               border style="width: 100%;"
22 22
                               :row-style="{ color: '#303133' }"
23 23
                               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
24 24
                               highlight-current-row
@@ -30,8 +30,8 @@
30 30
                 </div>
31 31
             </div>
32 32
             <div class="mainRight">
33
-                <el-table :data="templates" :height="tableHeight" @row-click='choosePatient'
34
-                          @current-change='currentChange' border style="width: 100%;"
33
+                <el-table :data="templates" :height="tableHeight"
34
+                           border style="width: 100%;"
35 35
                           :row-style="{ color: '#303133' }"
36 36
                           :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
37 37
                           highlight-current-row
@@ -85,6 +85,7 @@
85 85
           { path: false, name: '门诊医生站' },
86 86
           { path: false, name: '处方模版' }
87 87
         ],
88
+        search_input:'',
88 89
         templates: [],
89 90
         tableHeight: '',
90 91
         fullHeight: document.documentElement.clientHeight,
@@ -92,7 +93,8 @@
92 93
         data: [],
93 94
         page: 1,
94 95
         limit: 10,
95
-        patient_id: 0
96
+        patient_id: 0,
97
+        total:0
96 98
       }
97 99
     },
98 100
     methods: {