zhengchengwu 6 years ago
parent
commit
194dcbe360

+ 1 - 1
config/dev.env.js View File

@@ -6,5 +6,5 @@
6 6
 module.exports = {
7 7
   NODE_ENV: '"development"',
8 8
   ENV_CONFIG: '"dev"',
9
-  BASE_API: '"http://112.74.16.180:9527"', // '"http://localhost:9529"'//http://api.xt.test.sgjyun.com http://112.74.16.180:9527
9
+  BASE_API: '"http://localhost:9529"', // '"http://localhost:9529"'//http://api.xt.test.sgjyun.com http://112.74.16.180:9527
10 10
 }

+ 7 - 6
src/xt_pages/dialysis/bloodPresssWatch.vue View File

@@ -44,6 +44,7 @@
44 44
           type="primary"
45 45
           @click="changeSearchMode"
46 46
         >{{ search_mode == 1 ? "改为病人查询" : "改为日期查询" }}</el-button>
47
+
47 48
         <!-- <el-button type="primary" :disabled="selecting_schs.length == 0" @click="batchPrintAction">打印</el-button> -->
48 49
       </div>
49 50
       <div class="cell clearfix">
@@ -77,12 +78,12 @@
77 78
         </div>
78 79
       </div>
79 80
 
80
-    <el-table
81
-      :data="SchedualPatientsTableData"
82
-      style="width: 100%"
83
-      v-loading="loading"
84
-      @current-change="clickCurrent"
85
-      :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
81
+      <el-table
82
+        :data="SchedualPatientsTableData"
83
+        style="width: 100%"
84
+        v-loading="loading"
85
+        @current-change="clickCurrent"
86
+        @selection-change="handleSelectionChange"
86 87
       >
87 88
         <el-table-column type="selection" width="45" align="center"></el-table-column>
88 89
         <el-table-column prop="number" label="机号" align="center"></el-table-column>

+ 8 - 4
src/xt_pages/workforce/components/tableData.vue View File

@@ -174,7 +174,7 @@
174 174
       <el-dialog
175 175
         title="调整排班"
176 176
         :visible.sync="tzDialogVisible"
177
-        width="350px"
177
+        width="365px"
178 178
         center>
179 179
         <div style="width:100%;margin:0 auto">
180 180
           <el-radio-group v-model="tiaoZhengType" :class="tiaozhengclass" >
@@ -294,6 +294,7 @@ export default {
294 294
     },
295 295
     data() {
296 296
       return {
297
+        // tableContainHeight:400,
297 298
         // tableHeight:'window.innerHeight - 0',
298 299
         rowClass:'table-row-new-class schedule-table-row',
299 300
         searchKey:'',
@@ -1054,6 +1055,9 @@ export default {
1054 1055
       ScheduleItem,
1055 1056
     },
1056 1057
     mounted() {
1058
+      console.log(this.tableContainHeight );
1059
+       this.tableContainHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 160;
1060
+      console.log(this.tableContainHeight );
1057 1061
       // var theType = this.weekType(this.weekTime);
1058 1062
       // this.getSchedules(theType);
1059 1063
       const that = this
@@ -1069,9 +1073,9 @@ export default {
1069 1073
         })()
1070 1074
       }
1071 1075
     },
1072
-    mounted:function(){
1073
-       this.tableContainHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 160
1074
-    },
1076
+    // mounted:function(){
1077
+    //    this.tableContainHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 160
1078
+    // },
1075 1079
     created(){
1076 1080
       rowNumber = 0;
1077 1081
       this.modeOptions = this.$store.getters.treatment_mode;