Browse Source

Merge branch '20200710_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20200710_pc_vue_new_branch

csx 4 years ago
parent
commit
3a134fb47d
2 changed files with 12 additions and 2 deletions
  1. 1 1
      src/api/common/common.js
  2. 11 1
      src/xt_pages/dialysis/details/index.vue

+ 1 - 1
src/api/common/common.js View File

383
 }
383
 }
384
 
384
 
385
 export function getFirstQuarter(params) {
385
 export function getFirstQuarter(params) {
386
-  // console.log('params', params)
386
+  console.log('params', params)
387
   return request({
387
   return request({
388
     url: '/com/api/getfirstquarter',
388
     url: '/com/api/getfirstquarter',
389
     method: 'get',
389
     method: 'get',

+ 11 - 1
src/xt_pages/dialysis/details/index.vue View File

20
       element-loading-spinner="el-icon-loading"
20
       element-loading-spinner="el-icon-loading"
21
       element-loading-background="rgba(0, 0, 0, 0.8)"
21
       element-loading-background="rgba(0, 0, 0, 0.8)"
22
     >
22
     >
23
-    <div class="patientBox" style="width:25%;padding-left:10px;">
23
+    <div class="patientBox" style="width:25%;padding-left:10px;position: relative;">
24
+      <el-button
25
+          style="position: absolute;right:0;top:2px;z-index:10"
26
+          size="small"
27
+          type="primary"
28
+          @click="refresh"
29
+          >刷新</el-button>
24
       <el-tabs v-model="activeName" @tab-click="handleClick">
30
       <el-tabs v-model="activeName" @tab-click="handleClick">
25
         <el-tab-pane label="候诊区" name="first">
31
         <el-tab-pane label="候诊区" name="first">
26
           <div class="cell clearfix" style="margin-bottom:10px;">
32
           <div class="cell clearfix" style="margin-bottom:10px;">
1483
 
1489
 
1484
       let strDate = h  + ':' + m;
1490
       let strDate = h  + ':' + m;
1485
       return strDate;
1491
       return strDate;
1492
+    },
1493
+    refresh(){
1494
+      console.log('1111111')
1495
+      this.requestDialysisSchedules()
1486
     }
1496
     }
1487
   }
1497
   }
1488
 }
1498
 }