Browse Source

修改候诊区状态显示

张保健 5 years ago
parent
commit
2322b8ddd8
1 changed files with 11 additions and 1 deletions
  1. 11 1
      src/pages/main/PatientBox.vue

+ 11 - 1
src/pages/main/PatientBox.vue View File

@@ -89,7 +89,11 @@
89 89
           return 'gray'
90 90
         } else if (state == 3) {
91 91
           return 'red'
92
-        } else {
92
+        } else if (state == 5){
93
+          return "green1";
94
+        } else if (state == 6){
95
+          return "green2";
96
+        }else {
93 97
           return 'blue'
94 98
         }
95 99
       },
@@ -343,6 +347,12 @@
343 347
   .green {
344 348
   background: #5bd18b;
345 349
   }
350
+  .green1 {
351
+        background: #e6a23c;
352
+      }
353
+      .green2 {
354
+        background: #7930c3;
355
+      }
346 356
   .gray {
347 357
   background: #a8b3ba;
348 358
   }