Browse Source

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

csx 4 years ago
parent
commit
5f74956239

File diff suppressed because it is too large
+ 1899 - 0
src/xt_pages/data/hisTemplate.vue


+ 13 - 13
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

@@ -186,15 +186,15 @@
186 186
                           <el-table-column prop="name" label="名称">
187 187
                             <template slot-scope="scope">{{}}</template>
188 188
                           </el-table-column>
189
-                          <el-table-column label="规格" width="60">
190
-                            <template slot-scope="scope">33</template>
191
-                          </el-table-column>
192
-                          <el-table-column label="库存" width="60">
193
-                            <template slot-scope="scope">22</template>
194
-                          </el-table-column>
195
-                          <el-table-column label="单价" width="40">
196
-                            <template slot-scope="scope">12</template>
197
-                          </el-table-column>
189
+                          <!--<el-table-column label="规格" width="60">-->
190
+                            <!--<template slot-scope="scope">33</template>-->
191
+                          <!--</el-table-column>-->
192
+                          <!--<el-table-column label="库存" width="60">-->
193
+                            <!--<template slot-scope="scope">22</template>-->
194
+                          <!--</el-table-column>-->
195
+                          <!--<el-table-column label="单价" width="40">-->
196
+                            <!--<template slot-scope="scope">12</template>-->
197
+                          <!--</el-table-column>-->
198 198
                         </el-table>
199 199
                       </div>
200 200
                     </el-tab-pane>
@@ -433,7 +433,7 @@
433 433
 
434 434
         }
435 435
 
436
-      }, 
436
+      },
437 437
       getTotalOne() {
438 438
         var total = 0
439 439
         console.log(this.prescriptions)
@@ -465,7 +465,7 @@
465 465
         }
466 466
         return total
467 467
 
468
-      }, 
468
+      },
469 469
       getCurTotal() {
470 470
         var total = 0
471 471
 
@@ -1030,7 +1030,7 @@
1030 1030
                   execution_frequency: temp[b].execution_frequency,
1031 1031
                   retail_price: temp[b].retail_price.toString(),
1032 1032
                   remark: '',
1033
-                  day:'',
1033
+                  day:1,
1034 1034
                   prescribing_number: temp[b].prescribing_number,
1035 1035
                   single_dose_unit: temp[b].min_unit,
1036 1036
                   prescribing_number_unit: temp[b].max_unit,
@@ -1172,7 +1172,7 @@
1172 1172
       this.$nextTick(() => {
1173 1173
         this.multipleTableHeight = parseInt(this.$refs.rightTable.offsetHeight)
1174 1174
       })
1175
-      
1175
+
1176 1176
     },
1177 1177
     watch: {
1178 1178
       fullHeight (val) {

+ 5 - 5
src/xt_pages/outpatientDoctorStation/pastInquiries.vue View File

@@ -19,23 +19,23 @@
19 19
                 :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
20 20
         <el-table-column align="center" label="序号" width="60" type="index"></el-table-column>
21 21
         <el-table-column align="center" prop="name" label="姓名" width="100">
22
-          <template slot-scope="scope">{{ scope.row.patient   .name }}</template>
22
+          <template slot-scope="scope">{{scope.row.patients?scope.row.patients.name:''}}</template>
23 23
         </el-table-column>
24 24
         <el-table-column align="center" prop="name" label="处方日期" width="200">
25
-          <template slot-scope="scope"> {{getTimes(scope.row.info.ctime)}}</template>
25
+          <template slot-scope="scope"> {{scope.row.info?getTimes(scope.row.info.ctime):''}}</template>
26 26
 
27 27
         </el-table-column>
28 28
         <!--<el-table-column align="center" prop="name" label="患者类型">-->
29 29
           <!--<template slot-scope="scope">{{}}</template>-->
30 30
         <!--</el-table-column>-->
31 31
         <el-table-column align="center" prop="name" label="处方号">
32
-          <template slot-scope="scope">{{scope.row.info.prescription_number}}</template>
32
+          <template slot-scope="scope">{{scope.row.info?scope.row.info.prescription_number:''}}</template>
33 33
         </el-table-column>
34 34
         <el-table-column align="center" prop="name" label="开立医生">
35
-          <template slot-scope="scope">{{scope.row.info.doctor}}</template>
35
+          <template slot-scope="scope">{{scope.row.info?scope.row.info.doctor:''}}</template>
36 36
         </el-table-column>
37 37
         <el-table-column align="center" prop="name" label="诊断">
38
-          <template slot-scope="scope">{{ scope.row.info.diagnosis }}</template>
38
+          <template slot-scope="scope">{{ scope.row.info ? scope.row.info.diagnosis :''}}</template>
39 39
         </el-table-column>
40 40
         <el-table-column align="center" prop="name" label="状态" width="100">
41 41
           <template slot-scope="scope">