Pārlūkot izejas kodu

修改华侨医院bug

csx 5 gadus atpakaļ
vecāks
revīzija
caf537dd23
3 mainītis faili ar 11 papildinājumiem un 2 dzēšanām
  1. 1 1
      config/dev.env.js
  2. 6 1
      src/pages/main/PatientBox.vue
  3. 4 0
      src/pages/main/WaitingArea.vue

+ 1 - 1
config/dev.env.js Parādīt failu

@@ -4,7 +4,7 @@ const prodEnv = require('./prod.env')
4 4
 
5 5
 module.exports = merge(prodEnv, {
6 6
   NODE_ENV: '"development"',
7
-  BASE_API: '"http://api.xt.test.sgjyun.com"',
7
+  BASE_API: '"http://api.xt.kuyicloud.com"',
8 8
    //http://api.xt.test.sgjyun.com http://localhost:9529
9 9
    // BASE_API: '"http://localhost:9529"'
10 10
 })

+ 6 - 1
src/pages/main/PatientBox.vue Parādīt failu

@@ -46,6 +46,10 @@
46 46
     data () {
47 47
       return {}
48 48
     },
49
+    created(){
50
+      console.log("11111")
51
+      console.log(this.patients)
52
+    },
49 53
     methods: {
50 54
       getUnReadNum: function (schedual) {
51 55
         if (schedual.doctor_advice != null) {
@@ -351,10 +355,11 @@
351 355
   }
352 356
   .yztx{
353 357
     margin: 0 5px;
354
-    padding: 5px 10px;
358
+    padding: 3px 10px;
355 359
     background-color: #f56C6C;
356 360
     color: #fff;
357 361
     border-radius: 15px;
362
+    font-size: 14px;
358 363
   }
359 364
 </style>
360 365
 

+ 4 - 0
src/pages/main/WaitingArea.vue Parādīt failu

@@ -120,8 +120,12 @@ export default {
120 120
         // return scheduals;
121 121
         return this.processScheduals(scheduals);
122 122
       } else {
123
+
124
+
123 125
         return this.zone_scheduals;
126
+
124 127
       }
128
+
125 129
     }
126 130
   },
127 131
   created() {