See999 4 年之前
父節點
當前提交
695b0a6507

+ 42 - 15
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue 查看文件

@@ -5,32 +5,32 @@
5 5
     </div>
6 6
     <div class="app-container" style="display:flex;flex: 1;padding: 20px 20px 0px 20px;">
7 7
       <div class="mainLeft">
8
-        <!--<div class="mainCell" style="justify-content: space-between;">-->
9
-        <!--<p>未就诊:<span>1</span>人</p>-->
10
-        <!--<p>已就诊:<span>0</span>人</p>-->
11
-        <!--</div>-->
12
-        <!--<div class="mainCell">-->
13
-        <!--<el-radio-group v-model="radio" @change="changeRadio">-->
14
-        <!--<el-radio :label=1>未就诊</el-radio>-->
15
-        <!--<el-radio :label=2>已就诊</el-radio>-->
16
-        <!--<el-radio :label=3>全部</el-radio>-->
17
-        <!--</el-radio-group>-->
18
-        <!--</div>-->
8
+        <div class="mainCell" style="justify-content: space-between;">
9
+        <p>未就诊:<span>1</span>人</p>
10
+        <p>已就诊:<span>0</span>人</p>
11
+        </div>
12
+        <div class="mainCell">
13
+        <el-radio-group v-model="radio" @change="changeRadio">
14
+        <el-radio :label=1>未就诊</el-radio>
15
+        <el-radio :label=2>已就诊</el-radio>
16
+        <el-radio :label=3>全部</el-radio>
17
+        </el-radio-group>
18
+        </div>
19 19
         <div class="mainCell" style="margin-bottom:10px;">
20 20
           <el-input size="small" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
21 21
           <el-button size="small" style="margin-left:10px;" class="filter-item" type="primary" @click="searchAction">
22 22
             搜索
23 23
           </el-button>
24 24
         </div>
25
-        <div style="flex:1;overflow-y:auto;">
26
-          <el-table :data="patientTableData" border style="width: 100%;" :row-style="{ color: '#303133' }"
25
+        <div>
26
+          <el-table :data="patientTableData" :height="tableHeight" border style="width: 100%;" :row-style="{ color: '#303133' }"
27 27
                     :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
28 28
                     highlight-current-row ref="tab"
29 29
                     @current-change="handleCurrentChange">
30
-            <el-table-column align="center" prop="name" label="患者姓名">
30
+            <el-table-column align="center" prop="name" label="姓名" wdith='89'>
31 31
               <template slot-scope="scope">{{scope.row.patients?scope.row.patients.name:''}}</template>
32 32
             </el-table-column>
33
-            <el-table-column align="center" prop="name" label="就诊号" width="90">
33
+            <el-table-column align="center" prop="name" label="就诊号" width="110">
34 34
               <template slot-scope="scope">{{ scope.row.his_patient ?scope.row.his_patient.number:''}}</template>
35 35
             </el-table-column>
36 36
           </el-table>
@@ -229,6 +229,8 @@
229 229
           { path: false, name: '门诊收费' },
230 230
           { path: false, name: '门诊收费管理' }
231 231
         ],
232
+        tableHeight:'',
233
+        fullHeight: document.documentElement.clientHeight,
232 234
         activeName: 'first',
233 235
         info: {},
234 236
         curPrescriptions: {},
@@ -259,6 +261,8 @@
259 261
       }
260 262
     },
261 263
     created() {
264
+      let tableHeight = document.body.clientHeight - 263
265
+      this.tableHeight = tableHeight
262 266
       var nowDate = new Date()
263 267
       var nowYear = nowDate.getFullYear()
264 268
       var nowMonth = nowDate.getMonth() + 1
@@ -631,6 +635,29 @@
631 635
           }
632 636
         })
633 637
       }
638
+    },
639
+    mounted(){
640
+      const that = this
641
+      window.onresize = () => {
642
+        return (() => {
643
+          window.fullHeight = document.documentElement.clientHeight
644
+          that.fullHeight = window.fullHeight
645
+        })()
646
+      }
647
+    },
648
+    watch: {
649
+      fullHeight (val) {
650
+        if(!this.timer) {
651
+          this.fullHeight = val
652
+          let tableHeight = val - 263
653
+          this.tableHeight = tableHeight
654
+          this.timer = true
655
+          let that = this
656
+          setTimeout(function (){
657
+            that.timer = false
658
+          },400)
659
+        }
660
+      }
634 661
     }
635 662
   }
636 663
 </script>

+ 5 - 2
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue 查看文件

@@ -6,10 +6,10 @@
6 6
         <template slot-scope="scope">{{ scope.row.drug_name }}</template>
7 7
       </el-table-column>
8 8
 
9
-      <el-table-column align="center" prop="single_dose" width="80" :label="'单次\n用量'">
9
+      <el-table-column align="center" prop="single_dose" width="90" label="单次用量">
10 10
         <template slot-scope="scope">
11 11
           <div style="display:flex;align-items:center;">
12
-            <el-input v-model="scope.row.single_dose" style="width:60%;"></el-input>
12
+            <el-input v-model="scope.row.single_dose" style="width:65%;"></el-input>
13 13
             <div>{{scope.row.min_unit}}</div>
14 14
           </div>
15 15
         </template>
@@ -311,6 +311,9 @@
311 311
 
312 312
 <style lang="scss">
313 313
   .prescriptionTable {
314
+    .el-input__inner{
315
+      padding: 0 5px;
316
+    }
314 317
     .additionalBox{
315 318
       margin-top: 20px;
316 319
       display: flex;

+ 5 - 5
src/xt_pages/outpatientDoctorStation/doctorDesk.vue 查看文件

@@ -17,7 +17,7 @@
17 17
           </el-radio-group>
18 18
         </div>
19 19
         <div class="mainCell" style="margin-bottom:10px;">
20
-          <el-input size="small" @keyup.enter.native='searchAction' v-model="search_input" class="filter-item"/>
20
+          <el-input size="small" placeholder="请输入姓名或就诊号" @keyup.enter.native='searchAction' v-model="search_input" class="filter-item"/>
21 21
           <el-button size="small" style="margin-left:10px;" class="filter-item" type="primary" @click="searchAction">
22 22
             搜索
23 23
           </el-button>
@@ -29,7 +29,7 @@
29 29
                     highlight-current-row
30 30
                     ref="tab"
31 31
           >
32
-            <el-table-column prop="name" label="姓名">
32
+            <el-table-column prop="name" label="姓名" width='89'>
33 33
               <template slot-scope="scope">{{scope.row.patients?scope.row.patients.name:''}}</template>
34 34
             </el-table-column>
35 35
             <el-table-column prop="name" label="就诊号" width="110">
@@ -41,8 +41,8 @@
41 41
       <div class="mainRight">
42 42
         <div class="mainHeader">
43 43
           <el-radio-group class="titleBox" v-model="titleType" @change="changeTab">
44
-            <el-radio-button label="处方"></el-radio-button>
45
-            <el-radio-button label="病历"></el-radio-button>
44
+            <el-radio-button label="电子处方"></el-radio-button>
45
+            <el-radio-button label="电子病历"></el-radio-button>
46 46
           </el-radio-group>
47 47
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '处方'">
48 48
             <el-button size="small" ref="button_one"   @click="open(1)" type="primary" style="margin-left:10px;">保存</el-button>
@@ -105,7 +105,7 @@
105 105
         search_input: '',
106 106
         cal_one: 0,
107 107
         cal_two: 0,
108
-        radio: 0,
108
+        radio: 1,
109 109
         record_date: '',
110 110
         crumbs: [
111 111
           { path: false, name: '门诊医生站' },