see999 пре 3 година
родитељ
комит
6811ef79a9
1 измењених фајлова са 6 додато и 4 уклоњено
  1. 6 4
      src/xt_pages/outpatientDoctorStation/prescriptionTemplate.vue

+ 6 - 4
src/xt_pages/outpatientDoctorStation/prescriptionTemplate.vue Прегледај датотеку

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