Explorar el Código

Merge branch 'new_pad_branch' of http://git.shengws.com/zhangbj/xt_pad into new_pad_branch

XMLWAN hace 4 años
padre
commit
9bd7c3833f
Se han modificado 2 ficheros con 2 adiciones y 8 borrados
  1. 1 4
      src/pages/main/DialysisArea.vue
  2. 1 4
      src/pages/main/WaitingArea.vue

+ 1 - 4
src/pages/main/DialysisArea.vue Ver fichero

@@ -186,10 +186,7 @@ export default {
186 186
           var filtedSchedules = []
187 187
           for (let s_i = 0; s_i < originSchedules.length; s_i++) {
188 188
             const schedule = originSchedules[s_i]
189
-            if (
190
-              schedule.patient.name.indexOf(search_keyword) != -1 ||
191
-              schedule.patient.dialysis_no.indexOf(search_keyword) != -1
192
-            ) {
189
+            if ( schedule.patient.name.indexOf(search_keyword) != -1  ) {
193 190
               filtedSchedules.push(schedule)
194 191
               break
195 192
             }

+ 1 - 4
src/pages/main/WaitingArea.vue Ver fichero

@@ -165,10 +165,7 @@ export default {
165 165
         var scheduals = []
166 166
         for (let index = 0; index < this.scheduals.length; index++) {
167 167
           const schedual = this.scheduals[index]
168
-          if (
169
-            schedual.patient.name.indexOf(search_keyword) != -1 ||
170
-            schedual.patient.dialysis_no.indexOf(search_keyword) != -1
171
-          ) {
168
+          if ( schedual.patient.name.indexOf(search_keyword) != -1) {
172 169
             scheduals.push(schedual)
173 170
           }
174 171
         }