Browse Source

修改华侨医院bug

csx 6 years ago
parent
commit
caf537dd23
3 changed files with 11 additions and 2 deletions
  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 View File

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

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

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

+ 4 - 0
src/pages/main/WaitingArea.vue View File

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