Quellcode durchsuchen

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

csx vor 4 Jahren
Ursprung
Commit
2d46f097d8

+ 16 - 2
src/store/modules/globalConfig.js Datei anzeigen

490
         sodium: 1,
490
         sodium: 1,
491
         calcium: 1,
491
         calcium: 1,
492
         bicarbonate: 1
492
         bicarbonate: 1
493
-      }
493
+      },
494
       // 15: { id: 15, name: 'HD前置换', dialysis_duration: 1, replacement_way: 2, hemodialysis_machine: 1, blood_filter: 2, perfusion_apparatus: 2, blood_flow_volume: 1, dialysate_flow: 1, kalium: 1, sodium: 1, calcium: 1, bicarbonate: 1 },
494
       // 15: { id: 15, name: 'HD前置换', dialysis_duration: 1, replacement_way: 2, hemodialysis_machine: 1, blood_filter: 2, perfusion_apparatus: 2, blood_flow_volume: 1, dialysate_flow: 1, kalium: 1, sodium: 1, calcium: 1, bicarbonate: 1 },
495
       // 16: { id: 16, name: 'HD后置换', dialysis_duration: 1, replacement_way: 2, hemodialysis_machine: 1, blood_filter: 2, perfusion_apparatus: 2, blood_flow_volume: 1, dialysate_flow: 1, kalium: 1, sodium: 1, calcium: 1, bicarbonate: 1 },
495
       // 16: { id: 16, name: 'HD后置换', dialysis_duration: 1, replacement_way: 2, hemodialysis_machine: 1, blood_filter: 2, perfusion_apparatus: 2, blood_flow_volume: 1, dialysate_flow: 1, kalium: 1, sodium: 1, calcium: 1, bicarbonate: 1 },
496
       // 17: { id: 17, name: 'HDF前置换', dialysis_duration: 1, replacement_way: 1, hemodialysis_machine: 2, blood_filter: 1, perfusion_apparatus: 2, blood_flow_volume: 1, dialysate_flow: 1, kalium: 1, sodium: 1, calcium: 1, bicarbonate: 1 },
496
       // 17: { id: 17, name: 'HDF前置换', dialysis_duration: 1, replacement_way: 1, hemodialysis_machine: 2, blood_filter: 1, perfusion_apparatus: 2, blood_flow_volume: 1, dialysate_flow: 1, kalium: 1, sodium: 1, calcium: 1, bicarbonate: 1 },
497
       // 18: { id: 18, name: 'HDF后置换', dialysis_duration: 1, replacement_way: 1, hemodialysis_machine: 2, blood_filter: 1, perfusion_apparatus: 2, blood_flow_volume: 1, dialysate_flow: 1, kalium: 1, sodium: 1, calcium: 1, bicarbonate: 1 }
497
       // 18: { id: 18, name: 'HDF后置换', dialysis_duration: 1, replacement_way: 1, hemodialysis_machine: 2, blood_filter: 1, perfusion_apparatus: 2, blood_flow_volume: 1, dialysate_flow: 1, kalium: 1, sodium: 1, calcium: 1, bicarbonate: 1 }
498
-
498
+      19: {
499
+        id: 19,
500
+        name: 'UF',
501
+        dialysis_duration: 1,
502
+        replacement_way: 1,
503
+        hemodialysis_machine: 2,
504
+        blood_filter: 1,
505
+        perfusion_apparatus: 2,
506
+        blood_flow_volume: 1,
507
+        dialysate_flow: 1,
508
+        kalium: 1,
509
+        sodium: 1,
510
+        calcium: 1,
511
+        bicarbonate: 1
512
+      }
499
     },
513
     },
500
     anticoagulants_confit: { // 抗凝剂
514
     anticoagulants_confit: { // 抗凝剂
501
       1: {
515
       1: {

+ 74 - 25
src/xt_pages/dialysis/components/consumables.vue Datei anzeigen

42
         </div>
42
         </div>
43
       </div>
43
       </div>
44
       <div>
44
       <div>
45
-        <!-- <el-button size="small" icon="el-icon-printer" @click="exportList" type="primary">导出</el-button> -->
45
+        <el-button size="small" icon="el-icon-printer" @click="exportList" type="primary">导出</el-button>
46
         <el-button size="small" type="primary" @click="statistics">统计表</el-button>
46
         <el-button size="small" type="primary" @click="statistics">统计表</el-button>
47
       </div>
47
       </div>
48
     </div>
48
     </div>
64
         <el-table-column
64
         <el-table-column
65
           align="center"
65
           align="center"
66
           prop="name"
66
           prop="name"
67
-          v-for="item,index in good_types"
67
+          v-for="(item,index) in good_types"
68
           :key="index"
68
           :key="index"
69
           :label="item"
69
           :label="item"
70
         >
70
         >
139
 
139
 
140
         good_types: [],
140
         good_types: [],
141
         arrKey:[],
141
         arrKey:[],
142
+        arrList:[],
142
 
143
 
143
       }
144
       }
144
     },
145
     },
189
           arrlist.push(desc)
190
           arrlist.push(desc)
190
           return desc
191
           return desc
191
         }
192
         }
192
-       console.log("arrlist---------",arrlist)
193
         return ""
193
         return ""
194
        
194
        
195
         // else if (good_user != null && good_user.length <= 0) {
195
         // else if (good_user != null && good_user.length <= 0) {
213
             this.$message.error(response.data.msg)
213
             this.$message.error(response.data.msg)
214
             return false
214
             return false
215
           } else {
215
           } else {
216
-
216
+           
217
             this.list = []
217
             this.list = []
218
             this.good_types = []
218
             this.good_types = []
219
             this.allGoodInfo = []
219
             this.allGoodInfo = []
226
             for (let a = 0; a <  res.data.good_type.length; a++){
226
             for (let a = 0; a <  res.data.good_type.length; a++){
227
               Object.keys(res.data.good_type[a]).map(item => {
227
               Object.keys(res.data.good_type[a]).map(item => {
228
                 if(item == 'type_name'){
228
                 if(item == 'type_name'){
229
-                  arr.push(item)
229
+                  arr.push('name')
230
                 }
230
                 }
231
               })
231
               })
232
               this.good_types.push(res.data.good_type[a].type_name)
232
               this.good_types.push(res.data.good_type[a].type_name)
233
             }
233
             }
234
+
234
             this.arrKey.push(...arr)
235
             this.arrKey.push(...arr)
235
           
236
           
236
             this.allGoodInfo = res.data.dialysis_goods
237
             this.allGoodInfo = res.data.dialysis_goods
250
 
251
 
251
                 }
252
                 }
252
                 arr.push(obj)
253
                 arr.push(obj)
253
-
254
-
255
               }
254
               }
256
 
255
 
257
 
256
 
268
             }
267
             }
269
 
268
 
270
 
269
 
271
-            for (let a = 0; a <  this.list.length; a++){
270
+           for (let a = 0; a <  this.list.length; a++){
272
               for (let b = 0; b <  this.list[a].good_type.length; b++){
271
               for (let b = 0; b <  this.list[a].good_type.length; b++){
273
 
272
 
274
                 if(this.list[a].good_type[b].id > 0){
273
                 if(this.list[a].good_type[b].id > 0){
277
 
276
 
278
               }
277
               }
279
             }
278
             }
280
-
279
+           
280
+          //  console.log("99999999",this.list)
281
+           let a = [] 
282
+          this.list.map(item => {
283
+            a.push(item.good_type)
284
+          })
285
+          // console.log('aaaaaaaaa',a)
286
+          let b = []
287
+       
288
+          a.map(item => {
289
+            let obj = []
290
+            item.map((it,index) => {
291
+              let i = 0
292
+              let c = {}
293
+              let str = 'name' + index
294
+              c[str] = it.name
295
+              obj.push(c)
296
+              
297
+            })
298
+            
299
+            b.push(obj)
300
+          })
301
+          var temp = []
302
+          // console.log('bbbbbbbbbb',b)
303
+          for(let i=0;i<b.length;i++){
304
+            var objC = {...b[i]}
305
+            temp.push(objC)
281
           }
306
           }
282
-
283
-         console.log("list222222",this.list)
284
-
285
-        })
286
-
287
-
288
-
289
-
290
-
291
-
292
-
293
-
307
+       
308
+          // console.log("temp--------",temp)
309
+          var tempTwo = []
310
+          temp.map(item => {
311
+            let obj = []
312
+            Object.values(item).map(it => {
313
+              obj.push(it)
314
+            })
315
+            let obj2 = {}
316
+            obj.map((i,ind) => {
317
+            
318
+              let str = 'name' + ind
319
+              obj2[str] = i[str]
320
+            })
321
+            tempTwo.push(obj2)
322
+            console.log(325556574342354234234,tempTwo)
323
+          })
324
+          
325
+          this.arrList.push(...tempTwo)
326
+          console.log("cccccccc",this.arrList)
327
+          }
328
+        })  
294
       },
329
       },
295
       selectSchedulType(scheduleType) {
330
       selectSchedulType(scheduleType) {
296
         this.schedulType = scheduleType
331
         this.schedulType = scheduleType
333
 
368
 
334
        exportList(){
369
        exportList(){
335
          import('@/vendor/Export2Excel').then(excel => {
370
          import('@/vendor/Export2Excel').then(excel => {
336
-         const tHeader = this.good_types
337
-         const filterVal = this.arrKey
371
+         
338
         
372
         
339
-         const data = this.formatJson(filterVal, this.list)
373
+       
374
+         var arrTwo = []
375
+         for(let i=0;i<this.arrKey.length;i++){
376
+            arrTwo.push('name'+i)
377
+         }
378
+         console.log("arrKey88888",arrTwo)
379
+
380
+        //  console.log("9999999",this.list)
381
+         const tHeader = this.good_types
382
+         const filterVal = arrTwo
383
+         console.log("thedad",tHeader)
384
+         console.log("filterval",filterVal)
385
+         console.log("33333",this.arrList)
386
+         const data = this.formatJson(filterVal,this.arrList)
387
+         console.log("data",data)
388
+      
340
          excel.export_json_to_excel({
389
          excel.export_json_to_excel({
341
            header: tHeader,
390
            header: tHeader,
342
            data,
391
            data,
345
           this.downloadLoading = false
394
           this.downloadLoading = false
346
         })
395
         })
347
        },
396
        },
348
-       formatJson(filterVal, jsonData) {
397
+      formatJson(filterVal, jsonData) {
349
         return jsonData.map(v => filterVal.map(j => v[j]));
398
         return jsonData.map(v => filterVal.map(j => v[j]));
350
       },
399
       },
351
 
400
 

+ 9 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Datei anzeigen

174
           </el-col>
174
           </el-col>
175
 
175
 
176
           <el-col :span="8" v-if="anticoagulant.shouji != -1 && isShows('首剂')">
176
           <el-col :span="8" v-if="anticoagulant.shouji != -1 && isShows('首剂')">
177
+
177
             <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23' :label="'首剂(' + anticoagulant.shouji_unit + ') : '">
178
             <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23' :label="'首剂(' + anticoagulant.shouji_unit + ') : '">
178
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
179
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
179
                         v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
180
                         v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
180
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
181
               <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
181
                         v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
182
                         v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
182
             </el-form-item>
183
             </el-form-item>
184
+
183
             <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23' :label="'首剂(mg) : '">
185
             <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23' :label="'首剂(mg) : '">
184
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
186
               <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
185
                         v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
187
                         v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
1933
         this.isVisibility = false
1935
         this.isVisibility = false
1934
       },
1936
       },
1935
       changeThisAnticoagulant: function(val) {
1937
       changeThisAnticoagulant: function(val) {
1938
+        console.log("val-----",val)
1936
         var thismode = val
1939
         var thismode = val
1937
         if (isNaN(thismode) || thismode <= 0) {
1940
         if (isNaN(thismode) || thismode <= 0) {
1938
           return false
1941
           return false
1948
           this.anticoagulant.weichi_unit = 'mg/h'
1951
           this.anticoagulant.weichi_unit = 'mg/h'
1949
           this.anticoagulant.zongliang_unit = 'mg'
1952
           this.anticoagulant.zongliang_unit = 'mg'
1950
         }
1953
         }
1954
+
1955
+       if (this.$store.getters.xt_user.template_info.template_id == 27 && val == 4) {
1956
+          this.anticoagulant.shouji_unit = 'ml'
1957
+          this.anticoagulant.weichi_unit = 'ml'
1958
+          this.anticoagulant.zongliang_unit = 'ml'
1959
+        }
1951
       },
1960
       },
1952
       handleCommit: function() {
1961
       handleCommit: function() {
1953
         if (this.dialysisPrescription.anticoagulant == '低分子肝素') {
1962
         if (this.dialysisPrescription.anticoagulant == '低分子肝素') {

+ 8 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Datei anzeigen

507
                       <td v-if="prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12" width="50">
507
                       <td v-if="prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12" width="50">
508
                         置换量<br />(ml)
508
                         置换量<br />(ml)
509
                       </td>
509
                       </td>
510
+                      <td width="200" v-if="org_id == 9919">ktv</td>
510
                       <td width="200">病情变化及处理</td>
511
                       <td width="200">病情变化及处理</td>
511
-
512
+                     
512
                       <!-- <td width="100">时间</td>
513
                       <!-- <td width="100">时间</td>
513
                   <td width="30">T<br>C°</td>
514
                   <td width="30">T<br>C°</td>
514
                   <td width="30">P<br/>次/分</td>
515
                   <td width="30">P<br/>次/分</td>
555
                       <td v-if="(prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12) && ((dialysisOrder && monitor.operate_time > dialysisOrder.end_time) || (dialysisOrder && monitor.operate_time < dialysisOrder.start_time))" style="width:50px">
556
                       <td v-if="(prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12) && ((dialysisOrder && monitor.operate_time > dialysisOrder.end_time) || (dialysisOrder && monitor.operate_time < dialysisOrder.start_time))" style="width:50px">
556
                         {{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }}
557
                         {{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }}
557
                       </td>
558
                       </td>
559
+                      <td width="200" v-if="org_id == 9919">{{monitor.ktv}}</td>
558
                       <td style="line-height:16px;padding:0px;">
560
                       <td style="line-height:16px;padding:0px;">
559
                         <div style="min-height:35px;line-height:35px; overflow:hidden;">
561
                         <div style="min-height:35px;line-height:35px; overflow:hidden;">
560
                           <span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
562
                           <span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
576
                       <td></td>
578
                       <td></td>
577
                       <td></td>
579
                       <td></td>
578
                       <td v-if="prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12" width="50"></td>
580
                       <td v-if="prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12" width="50"></td>
581
+                      <td v-if="org_id == 9919"></td>
579
                       <td style="line-height:16px;padding:0px;">
582
                       <td style="line-height:16px;padding:0px;">
580
                         <div style="height:40px;line-height:20px; overflow:hidden;">
583
                         <div style="height:40px;line-height:20px; overflow:hidden;">
581
                           <span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
584
                           <span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
1162
         zongliang_unit: 'mg',
1165
         zongliang_unit: 'mg',
1163
         gaimingcheng_unit: '',
1166
         gaimingcheng_unit: '',
1164
         gaijiliang_unit: ''
1167
         gaijiliang_unit: ''
1165
-      }
1168
+      },
1169
+      org_id:0,
1166
     }
1170
     }
1167
   },
1171
   },
1168
   methods: {
1172
   methods: {
1780
       'hemodialysis',
1784
       'hemodialysis',
1781
       'vascular_access_desc'
1785
       'vascular_access_desc'
1782
     )
1786
     )
1783
-
1787
+     this.org_id = this.$store.getters.xt_user.org.id
1788
+     console.log("=====",this.org_id)
1784
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
1789
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
1785
 
1790
 
1786
     var bloodAccessParOpera = getDataConfig(
1791
     var bloodAccessParOpera = getDataConfig(

+ 13 - 11
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue Datei anzeigen

22
             </td>
22
             </td>
23
             <td width="30">岁</td>
23
             <td width="30">岁</td>
24
 
24
 
25
-            
25
+
26
             <td width="50">门诊号:</td>
26
             <td width="50">门诊号:</td>
27
             <td width="150">
27
             <td width="150">
28
               <div class="under-line">
28
               <div class="under-line">
352
                       </div>
352
                       </div>
353
                     </td>
353
                     </td>
354
 
354
 
355
-                    
355
+
356
                     <td></td>
356
                     <td></td>
357
                   </tr>
357
                   </tr>
358
                 </tbody>
358
                 </tbody>
574
                     <td width="60">
574
                     <td width="60">
575
                         <div class="under-line">&nbsp;{{ (prescription.anticoagulant == '阿加曲班' || prescription.anticoagulant == '普通肝素') && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}</div>
575
                         <div class="under-line">&nbsp;{{ (prescription.anticoagulant == '阿加曲班' || prescription.anticoagulant == '普通肝素') && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}</div>
576
                     </td>
576
                     </td>
577
-                    <td width="10">mg,</td>
577
+                    <td width="10">ml,</td>
578
                     <td width="60">追加量</td>
578
                     <td width="60">追加量</td>
579
                     <td width="60">
579
                     <td width="60">
580
                         <div class="under-line">&nbsp;{{ (prescription.anticoagulant == '阿加曲班' || prescription.anticoagulant == '普通肝素') && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}</div>
580
                         <div class="under-line">&nbsp;{{ (prescription.anticoagulant == '阿加曲班' || prescription.anticoagulant == '普通肝素') && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}</div>
581
                     </td>
581
                     </td>
582
-                    <td width="10">mg/h</td>
582
+                    <td width="10">ml</td>
583
                     <td width="10">)</td>
583
                     <td width="10">)</td>
584
                     <td width="100">
584
                     <td width="100">
585
                         <label-box :isChecked="prescription.anticoagulant == '无肝素' ? true : false" showValue="无肝素"></label-box>
585
                         <label-box :isChecked="prescription.anticoagulant == '无肝素' ? true : false" showValue="无肝素"></label-box>
770
             <td width="60" style="height:20px;line-height:20px">电导度<br />mS/cm</td>
770
             <td width="60" style="height:20px;line-height:20px">电导度<br />mS/cm</td>
771
             <td width="60" style="height:20px;line-height:20px">血流量<br />ml/分</td>
771
             <td width="60" style="height:20px;line-height:20px">血流量<br />ml/分</td>
772
             <td width="40" style="height:20px;line-height:20px">液温<br />℃</td>
772
             <td width="40" style="height:20px;line-height:20px">液温<br />℃</td>
773
+            <td width="60" style="height:20px;line-height:20px">置换量<br />L</td>
773
             <td width="">特殊记录</td>
774
             <td width="">特殊记录</td>
774
           </tr>
775
           </tr>
775
 
776
 
792
             <td>&nbsp;{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
793
             <td>&nbsp;{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
793
             <td>&nbsp;{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}</td>
794
             <td>&nbsp;{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}</td>
794
             <td>&nbsp;{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}</td>
795
             <td>&nbsp;{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}</td>
796
+            <td>{{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }}</td>
795
             <td style="text-align:left;padding-left:10px;">
797
             <td style="text-align:left;padding-left:10px;">
796
               <div style="line-height:20px;text-align: left;display: inline-block;">
798
               <div style="line-height:20px;text-align: left;display: inline-block;">
797
                 &nbsp;{{ monitor.symptom }}{{ monitor.dispose }}{{ monitor.result }}
799
                 &nbsp;{{ monitor.symptom }}{{ monitor.dispose }}{{ monitor.result }}
962
         </tbody>
964
         </tbody>
963
       </table>
965
       </table>
964
       <div style="page-break-after: always;"></div>
966
       <div style="page-break-after: always;"></div>
965
-      
966
-      
967
 
967
 
968
-      
968
+
969
+
970
+
969
     </div>
971
     </div>
970
     <div id='new-dialysis-2' class="dialysis-print-order">
972
     <div id='new-dialysis-2' class="dialysis-print-order">
971
       <!-- <div class="order-yy-name"></div> -->
973
       <!-- <div class="order-yy-name"></div> -->
1001
             </td>
1003
             </td>
1002
             <td width="20"></td>
1004
             <td width="20"></td>
1003
 
1005
 
1004
-            
1006
+
1005
             <td></td>
1007
             <td></td>
1006
           </tr>
1008
           </tr>
1007
         </tbody>
1009
         </tbody>
1036
             <span v-if="advice.parent_id == 0">{{ advice.execution_frequency }}</span>
1038
             <span v-if="advice.parent_id == 0">{{ advice.execution_frequency }}</span>
1037
             <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
1039
             <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
1038
           </td>
1040
           </td>
1039
-          
1041
+
1040
           <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
1042
           <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
1041
           <td>
1043
           <td>
1042
             <span v-if="setAdminUserES(advice.execution_staff) == ''">
1044
             <span v-if="setAdminUserES(advice.execution_staff) == ''">
1322
             this.dialysisOrder.DeviceNumber.number
1324
             this.dialysisOrder.DeviceNumber.number
1323
           );
1325
           );
1324
         }
1326
         }
1325
-        
1327
+
1326
       } else {
1328
       } else {
1327
         if(this.patientInfo.DialysisSchedule.device_zone.name.indexOf("区") > -1){
1329
         if(this.patientInfo.DialysisSchedule.device_zone.name.indexOf("区") > -1){
1328
           return (
1330
           return (
1335
             this.patientInfo.DialysisSchedule.device_number.number
1337
             this.patientInfo.DialysisSchedule.device_number.number
1336
           );
1338
           );
1337
         }
1339
         }
1338
-        
1340
+
1339
       }
1341
       }
1340
     },
1342
     },
1341
 
1343
 

+ 3 - 13
src/xt_pages/outpatientCharges/components/prescriptionTable.vue Datei anzeigen

9
 
9
 
10
       <el-table-column align="center" prop="name" width="90" label="单次用量">
10
       <el-table-column align="center" prop="name" width="90" label="单次用量">
11
         <template slot-scope="scope">
11
         <template slot-scope="scope">
12
-          <div style="display:flex;align-items:center;">
13
             <!--<el-input v-model="scope.row.single_dose" readonly style="width:65%;"></el-input>-->
12
             <!--<el-input v-model="scope.row.single_dose" readonly style="width:65%;"></el-input>-->
14
-            <div> {{scope.row.single_dose}}</div>
15
-
16
-            <div> {{scope.row.single_dose_unit}}</div>
17
-          </div>
13
+            <div>{{scope.row.single_dose}}&nbsp;&nbsp;{{scope.row.single_dose_unit}}</div>
18
         </template>
14
         </template>
19
       </el-table-column>
15
       </el-table-column>
20
       <el-table-column align="center" prop="name" width="100" label="用法">
16
       <el-table-column align="center" prop="name" width="100" label="用法">
33
       </el-table-column>
29
       </el-table-column>
34
 
30
 
35
       <el-table-column align="center" prop="day" width="50" label="天数">
31
       <el-table-column align="center" prop="day" width="50" label="天数">
36
-        <template slot-scope="scope">
37
-          {{scope.row.day}}
38
-        </template>
32
+        <template slot-scope="scope">{{scope.row.day}}</template>
39
       </el-table-column>
33
       </el-table-column>
40
 
34
 
41
       <el-table-column align="center" prop="name" width="100" label="总量">
35
       <el-table-column align="center" prop="name" width="100" label="总量">
42
         <template slot-scope="scope">
36
         <template slot-scope="scope">
43
-          <div style="display:flex;align-items:center;">
44
             <!--<el-input v-model="scope.row.prescribing_number" style="width:60%" readonly placeholder=""></el-input>-->
37
             <!--<el-input v-model="scope.row.prescribing_number" style="width:60%" readonly placeholder=""></el-input>-->
45
-            <div> {{scope.row.prescribing_number}}</div>
46
-
47
-            <div>{{scope.row.prescribing_number_unit}}</div>
48
-          </div>
38
+            <div>{{scope.row.prescribing_number}}&nbsp;&nbsp;{{scope.row.prescribing_number_unit}}</div>
49
         </template>
39
         </template>
50
       </el-table-column>
40
       </el-table-column>
51
       <el-table-column align="center" prop="name" width="60" label="单价">
41
       <el-table-column align="center" prop="name" width="60" label="单价">

+ 42 - 20
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Datei anzeigen

3
     <div class="position">
3
     <div class="position">
4
       <bread-crumb :crumbs='crumbs'></bread-crumb>
4
       <bread-crumb :crumbs='crumbs'></bread-crumb>
5
     </div>
5
     </div>
6
-    <div class="app-container" style="display:flex;flex: 1;padding: 20px 20px 0px 20px;">
6
+    <div class="app-container" style="display:flex;flex: 1;padding: 10px 20px 0px 20px;">
7
       <div class="mainLeft">
7
       <div class="mainLeft">
8
-        <div class="mainCell" style="justify-content: space-between;">
8
+        <!-- <div class="mainCell" style="justify-content: space-between;">
9
           <p style="color: red">未收费:<span>{{cal_one}}</span>人</p>
9
           <p style="color: red">未收费:<span>{{cal_one}}</span>人</p>
10
           <p style="color: red">已收费:<span>{{cal_two}}</span>人</p>
10
           <p style="color: red">已收费:<span>{{cal_two}}</span>人</p>
11
           <p style="color: red">已退费:<span>{{cal_three}}</span>人</p>
11
           <p style="color: red">已退费:<span>{{cal_three}}</span>人</p>
12
 
12
 
13
-        </div>
13
+        </div> -->
14
         <div class="mainCell">
14
         <div class="mainCell">
15
           <el-radio-group v-model="radio" @change="changeRadio">
15
           <el-radio-group v-model="radio" @change="changeRadio">
16
-            <el-radio :label=1>未收费</el-radio>
17
-            <el-radio :label=2>已收费</el-radio>
18
-            <el-radio :label=3>已退费</el-radio>
16
+            <el-radio :label=1>未收费<span style="color: red;margin-bottom:10px;display: inline-block;">{{cal_one}}</span>人</el-radio>
17
+            <el-radio :label=2>已收费<span style="color: red;margin-bottom:10px;display: inline-block;">{{cal_two}}</span>人</el-radio>
18
+            <el-radio :label=3>已退费<span style="color: red;margin-bottom:10px;display: inline-block;">{{cal_three}}</span>人</el-radio>
19
             <el-radio :label=4>全部</el-radio>
19
             <el-radio :label=4>全部</el-radio>
20
 
20
 
21
           </el-radio-group>
21
           </el-radio-group>
43
       </div>
43
       </div>
44
       <div class="mainRight">
44
       <div class="mainRight">
45
 
45
 
46
-        <div class="mainCell" style="margin-bottom:10px;flex-direction: row-reverse;">
46
+        <div class="mainCell fixedCell" style="margin-bottom:10px;">
47
           <!-- <el-button size="small" @click="open(1)" type="primary" style="margin-left:10px;">打印处置单</el-button>
47
           <!-- <el-button size="small" @click="open(1)" type="primary" style="margin-left:10px;">打印处置单</el-button>
48
           <el-button size="small" @click="open(2)" type="primary">打印治疗单</el-button> -->
48
           <el-button size="small" @click="open(2)" type="primary">打印治疗单</el-button> -->
49
-          <el-button size="small" @click="open(3)" type="primary" style="margin-left:10px;">打印</el-button>
49
+          <el-button size="small" @click="open(3)" type="primary">打印</el-button>
50
           <el-button v-loading="loadingone" size="small"
50
           <el-button v-loading="loadingone" size="small"
51
                      @click="open(6)"
51
                      @click="open(6)"
52
                      v-if="this.hisPatientInfo && this.hisPatientInfo.id == 0"
52
                      v-if="this.hisPatientInfo && this.hisPatientInfo.id == 0"
68
                 <div class="centerLeft">
68
                 <div class="centerLeft">
69
                   <div class="tabsBox">
69
                   <div class="tabsBox">
70
                     <el-button type="text" class="addTab" @click="addCharges" icon="el-icon-circle-plus">附加收费</el-button>
70
                     <el-button type="text" class="addTab" @click="addCharges" icon="el-icon-circle-plus">附加收费</el-button>
71
-                    <el-tabs class="preTabs" v-model="editableTabsValue" type="card" @tab-click="tabclickEvent">
71
+                    <el-tabs class="preTabs" v-model="editableTabsValue" type="border-card" @tab-click="tabclickEvent">
72
                       <el-tab-pane
72
                       <el-tab-pane
73
                         v-for="(item, index) in prescriptions"
73
                         v-for="(item, index) in prescriptions"
74
                         :key="index"
74
                         :key="index"
119
                     <li style="width:100%;">地址:{{patientInfo.home_address}}</li>
119
                     <li style="width:100%;">地址:{{patientInfo.home_address}}</li>
120
                     <li style="width:100%;">过敏史及其他病史:{{info.sick_history}}</li>
120
                     <li style="width:100%;">过敏史及其他病史:{{info.sick_history}}</li>
121
                   </ul>
121
                   </ul>
122
-                  <p class="centerRightTitle">诊断信息</p>
122
+                  <p class="centerRightTitle" style="padding-top: 10px;">诊断信息</p>
123
                   <div style="display:flex;justify-content: space-between;line-height:30px;">
123
                   <div style="display:flex;justify-content: space-between;line-height:30px;">
124
                     <span style="font-size:14px;">门诊编号:{{ hisPatientInfo.number}}</span>
124
                     <span style="font-size:14px;">门诊编号:{{ hisPatientInfo.number}}</span>
125
                   </div>
125
                   </div>
126
                   <ul class="basicUl">
126
                   <ul class="basicUl">
127
                     <li style="width:50%;">医生:{{ info.doctor }}</li>
127
                     <li style="width:50%;">医生:{{ info.doctor }}</li>
128
                     <li style="width:50%;">科室:{{ info.departments }}</li>
128
                     <li style="width:50%;">科室:{{ info.departments }}</li>
129
-                    <li style="width:50%;">总费用:{{ getTotal() }}</li>
129
+                    <li style="width:100%;">总费用:{{ getTotal() }}</li>
130
 
130
 
131
                     <li style="width:100%;">判断结果:{{info.diagnosis}}</li>
131
                     <li style="width:100%;">判断结果:{{info.diagnosis}}</li>
132
                     <li style="width:100%;">是否有传染病:</li>
132
                     <li style="width:100%;">是否有传染病:</li>
250
         prescriptions: [],
250
         prescriptions: [],
251
         record_date: '',
251
         record_date: '',
252
         tableData: [],
252
         tableData: [],
253
-        editableTabsValue: '1',
253
+        editableTabsValue: '处方1',
254
         loadingone: false,
254
         loadingone: false,
255
         editableTabs: [{
255
         editableTabs: [{
256
           title: '处方1',
256
           title: '处方1',
279
       }
279
       }
280
     },
280
     },
281
     created() {
281
     created() {
282
-      let tableHeight = document.body.clientHeight - 263
282
+      let tableHeight = document.body.clientHeight - 243
283
       this.tableHeight = tableHeight
283
       this.tableHeight = tableHeight
284
       var nowDate = new Date()
284
       var nowDate = new Date()
285
       var nowYear = nowDate.getFullYear()
285
       var nowYear = nowDate.getFullYear()
865
       fullHeight(val) {
865
       fullHeight(val) {
866
         if (!this.timer) {
866
         if (!this.timer) {
867
           this.fullHeight = val
867
           this.fullHeight = val
868
-          let tableHeight = val - 263
868
+          let tableHeight = val - 243
869
           this.tableHeight = tableHeight
869
           this.tableHeight = tableHeight
870
           this.timer = true
870
           this.timer = true
871
           let that = this
871
           let that = this
893
     height: 100%;
893
     height: 100%;
894
     display: flex;
894
     display: flex;
895
     flex-direction: column;
895
     flex-direction: column;
896
+    margin-top: 20px;
896
 
897
 
897
   .el-radio {
898
   .el-radio {
898
     margin-right: 5px;
899
     margin-right: 5px;
904
     display: flex;
905
     display: flex;
905
     align-items: center;
906
     align-items: center;
906
   }
907
   }
908
+  .fixedCell{
909
+    position: fixed;
910
+    z-index: 99;
911
+    right: 42px;
912
+    background: #fff;
913
+    display: flex;
914
+    justify-content: space-between;
915
+  }
907
 
916
 
908
   .mainRight {
917
   .mainRight {
909
-    margin-left: 20px;
918
+    margin-left: 10px;
910
     flex: 1;
919
     flex: 1;
911
     height: 100%;
920
     height: 100%;
912
     display: flex;
921
     display: flex;
933
   }
942
   }
934
   .addTab {
943
   .addTab {
935
     position: absolute;
944
     position: absolute;
936
-    right: 0;
937
-    top: 6px;
945
+    right: 6px;
946
+    top: 3px;
938
     z-index: 20;
947
     z-index: 20;
939
   }
948
   }
940
 
949
 
959
     display: flex;
968
     display: flex;
960
     flex-direction: column;
969
     flex-direction: column;
961
     position: relative;
970
     position: relative;
962
-    height: 100%;
971
+  }
972
+  .preTabs{
973
+    height:100%;
974
+    display: flex;
975
+    flex-direction: column;
976
+    .el-tab-pane{
977
+      height:auto !important;
978
+    }
963
   }
979
   }
964
 
980
 
965
   .settlementTabs {
981
   .settlementTabs {
976
   }
992
   }
977
   .centerRight {
993
   .centerRight {
978
     width: 300px;
994
     width: 300px;
979
-    margin-left: 5px;
995
+    margin-left: 10px;
980
     display: flex;
996
     display: flex;
981
     flex-direction: column;
997
     flex-direction: column;
982
     overflow-y: auto;
998
     overflow-y: auto;
990
 
1006
 
991
   .centerRightTitle {
1007
   .centerRightTitle {
992
     color: #409EFF;
1008
     color: #409EFF;
993
-    padding-top: 10px;;
994
   }
1009
   }
995
 
1010
 
996
   .basicUl {
1011
   .basicUl {
1028
   }
1043
   }
1029
 
1044
 
1030
   }
1045
   }
1046
+  .preTabs{
1047
+    .el-tabs__content{
1048
+      flex: 1;
1049
+      overflow-y: auto;
1050
+      padding: 5px 0 5px 5px;
1051
+    }
1052
+  }
1031
 </style>
1053
 </style>
1032
 
1054
 

+ 1 - 1
src/xt_pages/outpatientCharges/summary.vue Datei anzeigen

41
         </div>
41
         </div>
42
         <el-button size="small" type="primary" @click="export_detail">报表下载</el-button>
42
         <el-button size="small" type="primary" @click="export_detail">报表下载</el-button>
43
       </div>
43
       </div>
44
-      <el-table :data="tableData" border height="500" style="width: 100%;" :row-style="{ color: '#303133' }"
44
+      <el-table :data="tableData" border style="width: 100%;" :row-style="{ color: '#303133' }"
45
                 :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
45
                 :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
46
         <el-table-column
46
         <el-table-column
47
           prop="date"
47
           prop="date"

+ 11 - 26
src/xt_pages/outpatientCharges/summaryDetail.vue Datei anzeigen

7
             <div class="mainCenter">
7
             <div class="mainCenter">
8
                 <div class="centerLeft">
8
                 <div class="centerLeft">
9
                     <div class="tabsBox">
9
                     <div class="tabsBox">
10
-                      <el-table  :data="tableData" border style="width: 99%;"
10
+                      <el-table  :data="tableData" border style="width: 100%;"
11
                                 :row-style="{ color: '#303133' }"
11
                                 :row-style="{ color: '#303133' }"
12
                                 :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
12
                                 :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
13
 
13
 
15
                           <template slot-scope="scope">{{ scope.row.name }}</template>
15
                           <template slot-scope="scope">{{ scope.row.name }}</template>
16
                         </el-table-column>
16
                         </el-table-column>
17
 
17
 
18
-                        <el-table-column align="center" prop="project_name" label="分类">
18
+                        <el-table-column align="center" prop="project_name" label="分类" width="100">
19
                           <template slot-scope="scope">{{ scope.row.type == 1?'药品':'项目' }}</template>
19
                           <template slot-scope="scope">{{ scope.row.type == 1?'药品':'项目' }}</template>
20
                         </el-table-column>
20
                         </el-table-column>
21
 
21
 
26
                           </template>
26
                           </template>
27
                         </el-table-column>
27
                         </el-table-column>
28
                         <el-table-column align="center" prop="single_dose" width="80" label="单次用量">
28
                         <el-table-column align="center" prop="single_dose" width="80" label="单次用量">
29
-                          <template slot-scope="scope">
30
-                            <!--<el-input v-model="scope.row.single_dose" placeholder="" readonly></el-input>-->
31
-                            {{scope.row.single_dose}}{{scope.row.single_dose_unit}}
32
-                          </template>
29
+                          <template slot-scope="scope">{{scope.row.single_dose}}&nbsp;&nbsp;{{scope.row.single_dose_unit}}</template>
33
                         </el-table-column>
30
                         </el-table-column>
34
-                        <el-table-column align="center" prop="delivery_way" width="80" label="用法">
31
+                        <el-table-column align="center" prop="delivery_way" width="90" label="用法">
35
                           <template slot-scope="scope">
32
                           <template slot-scope="scope">
36
                             <!--<el-input v-model="scope.row.delivery_way" placeholder="" readonly></el-input>-->
33
                             <!--<el-input v-model="scope.row.delivery_way" placeholder="" readonly></el-input>-->
37
                             {{scope.row.delivery_way}}
34
                             {{scope.row.delivery_way}}
38
 
35
 
39
                           </template>
36
                           </template>
40
                         </el-table-column>
37
                         </el-table-column>
41
-                        <el-table-column align="center" prop="execution_frequency" width="80" label="频率">
42
-                          <template slot-scope="scope">
43
-                            <!--<el-input v-model="scope.row.execution_frequency" placeholder="" readonly></el-input>-->
44
-                            {{scope.row.execution_frequency}}
45
-
46
-                          </template>
38
+                        <el-table-column align="center" prop="execution_frequency" width="90" label="频率">
39
+                          <template slot-scope="scope">{{scope.row.execution_frequency}}</template>
47
                         </el-table-column>
40
                         </el-table-column>
48
-                        <el-table-column align="center" prop="number_days" width="50" label="天数">
41
+                        <el-table-column align="center" prop="number_days" width="60" label="天数">
49
                           <template slot-scope="scope">
42
                           <template slot-scope="scope">
50
                             <!--<el-input v-model="scope.row.number_days" placeholder="" readonly></el-input>-->
43
                             <!--<el-input v-model="scope.row.number_days" placeholder="" readonly></el-input>-->
51
                             {{scope.row.day}}
44
                             {{scope.row.day}}
52
 
45
 
53
                           </template>
46
                           </template>
54
                         </el-table-column>
47
                         </el-table-column>
55
-                        <el-table-column align="center" prop="total" width="50" label="总量">
56
-                          <template slot-scope="scope">
57
-                            <div style="display:flex;">
58
-                              <!--<el-input v-model="scope.row.total" placeholder="" readonly></el-input>-->
59
-                              {{scope.row.count}}
60
-                              <div>{{scope.row.prescribing_number_unit}}</div>
61
-
62
-                            </div>
63
-                          </template>
48
+                        <el-table-column align="center" prop="total" width="60" label="总量">
49
+                          <template slot-scope="scope">{{scope.row.count}}&nbsp;&nbsp;{{scope.row.prescribing_number_unit}}</template>
64
                         </el-table-column>
50
                         </el-table-column>
65
-                        <el-table-column align="center" prop="name" width="50" label="单价">
51
+                        <el-table-column align="center" prop="name" width="60" label="单价">
66
                           <template slot-scope="scope">
52
                           <template slot-scope="scope">
67
                             <!--<el-input v-model="scope.row.price" placeholder="" readonly></el-input>-->
53
                             <!--<el-input v-model="scope.row.price" placeholder="" readonly></el-input>-->
68
                             {{scope.row.price}}
54
                             {{scope.row.price}}
69
 
55
 
70
                           </template>
56
                           </template>
71
                         </el-table-column>
57
                         </el-table-column>
72
-                        <el-table-column align="center" prop="name" width="50" label="备注">
58
+                        <el-table-column align="center" prop="name" width="80" label="备注">
73
                           <template slot-scope="scope">
59
                           <template slot-scope="scope">
74
                             <!--<el-input v-model="scope.row.remark" readonly></el-input>-->
60
                             <!--<el-input v-model="scope.row.remark" readonly></el-input>-->
75
                             {{scope.row.remark}}
61
                             {{scope.row.remark}}
398
 .summaryDetail{
384
 .summaryDetail{
399
     .el-table th .cell, .el-table td .cell{
385
     .el-table th .cell, .el-table td .cell{
400
         padding: 0 2px;
386
         padding: 0 2px;
401
-        white-space: pre-line;
402
     }
387
     }
403
     .el-icon-delete{
388
     .el-icon-delete{
404
         color:red;
389
         color:red;

+ 85 - 40
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Datei anzeigen

1
 <template>
1
 <template>
2
-  <div style="height: calc(100% - 54px);display: flex;flex-direction: column;margin-top: 54px;">
2
+  <div style="height: calc(100% - 56px);display: flex;flex-direction: column;margin-top: 56px;">
3
     <!-- <div style="border-top:1px solid #e5e5e5;margin-top:5px;">
3
     <!-- <div style="border-top:1px solid #e5e5e5;margin-top:5px;">
4
       <div class="mainCell" style="margin-bottom:10px;float:right">
4
       <div class="mainCell" style="margin-bottom:10px;float:right">
5
         <el-button size="small" @click="open(1)" type="primary" style="margin-left:10px;">保存</el-button>
5
         <el-button size="small" @click="open(1)" type="primary" style="margin-left:10px;">保存</el-button>
12
     <div class="mainCenter">
12
     <div class="mainCenter">
13
       <div class="centerLeft">
13
       <div class="centerLeft">
14
         <el-form :model="form" ref="form" label-width="80px" style="display: flex;flex-wrap: wrap;justify-content: space-between;">
14
         <el-form :model="form" ref="form" label-width="80px" style="display: flex;flex-wrap: wrap;justify-content: space-between;">
15
-          <el-form-item label="姓名:" prop="name">
15
+          <el-form-item label="姓名:" prop="name" label-position="right">
16
             <el-input v-model="patientInfo.name" placeholder="" readonly></el-input>
16
             <el-input v-model="patientInfo.name" placeholder="" readonly></el-input>
17
           </el-form-item>
17
           </el-form-item>
18
-          <el-form-item label="证件号: " prop="name">
18
+          <el-form-item label="证件号: " prop="name" label-position="right">
19
             <el-input v-model="patientInfo.id_card_no" placeholder="" readonly></el-input>
19
             <el-input v-model="patientInfo.id_card_no" placeholder="" readonly></el-input>
20
           </el-form-item>
20
           </el-form-item>
21
           <!--<el-form-item label="挂号类型: " prop="name">-->
21
           <!--<el-form-item label="挂号类型: " prop="name">-->
22
           <!--<el-input v-model="hisPatientInfo.register_type" placeholder="" readonly></el-input>-->
22
           <!--<el-input v-model="hisPatientInfo.register_type" placeholder="" readonly></el-input>-->
23
           <!--</el-form-item>-->
23
           <!--</el-form-item>-->
24
-          <el-form-item label="挂号类型: " prop="name">
24
+          <el-form-item label="挂号类型: " prop="name" label-position="right">
25
             <el-select style="width:100%;" v-model="register_type" placeholder="">
25
             <el-select style="width:100%;" v-model="register_type" placeholder="">
26
               <el-option
26
               <el-option
27
                 v-for="(item,index) in getDictionaryDataConfig('system','register_type')"
27
                 v-for="(item,index) in getDictionaryDataConfig('system','register_type')"
31
               </el-option>
31
               </el-option>
32
             </el-select>
32
             </el-select>
33
           </el-form-item>
33
           </el-form-item>
34
-          <el-form-item label="疾病类型:" prop="name">
34
+          <el-form-item label="疾病类型:" prop="name" label-position="right">
35
 
35
 
36
             <el-select style="width:100%;" v-model="state1" placeholder="">
36
             <el-select style="width:100%;" v-model="state1" placeholder="">
37
               <el-option
37
               <el-option
43
             </el-select>
43
             </el-select>
44
 
44
 
45
           </el-form-item>
45
           </el-form-item>
46
-          <el-form-item label="过敏病史: " prop="name">
46
+          <el-form-item label="过敏病史: " prop="name" label-position="right">
47
             <el-autocomplete
47
             <el-autocomplete
48
               style="width:100%;"
48
               style="width:100%;"
49
               class="inline-input"
49
               class="inline-input"
52
               placeholder="请输入内容"
52
               placeholder="请输入内容"
53
             ></el-autocomplete>
53
             ></el-autocomplete>
54
           </el-form-item>
54
           </el-form-item>
55
+          <el-form-item label="过敏病史: " prop="name" style="visibility: hidden;">
56
+            <el-input placeholder="" readonly></el-input>
57
+          </el-form-item>
55
         </el-form>
58
         </el-form>
56
         <div class="tabsBox">
59
         <div class="tabsBox">
57
 
60
 
75
 
78
 
76
         </div>
79
         </div>
77
         <div class="costBox">
80
         <div class="costBox">
78
-          <span>医生:</span>
79
-          <el-select style="margin-right:5px;width:140px;" v-model="doctorValue" placeholder="" @change="changeDoctor">
80
-            <el-option
81
-              v-for="(item,index) in doctors"
82
-              :key="index"
83
-              :label="item.user_name"
84
-              :value="item.admin_user_id">
85
-            </el-option>
86
-          </el-select>
87
-          <span>科室:</span>
88
-          <el-select style="margin-right:5px;width:140px;" v-model="departmentValue" placeholder="">
89
-            <el-option
90
-              v-for="(item,index) in department"
91
-              :key="index"
92
-              :label="item.name"
93
-              :value="item.id">
94
-            </el-option>
95
-          </el-select>
96
-          <span>当前处方总价:</span>
97
-          <span style="color:red;">{{getTotalOne()?getTotalOne():''}}</span>元
98
-          <span style="margin-left:10px;">总价:</span>
99
-          <span style="color:red;">{{ getTotal()?getTotal():''}}</span>元
100
-          <span>{{order_status}}</span>
81
+          <div>
82
+            <span>医生:</span>
83
+            <el-select style="margin-right:5px;width:140px;" v-model="doctorValue" placeholder="" @change="changeDoctor">
84
+              <el-option
85
+                v-for="(item,index) in doctors"
86
+                :key="index"
87
+                :label="item.user_name"
88
+                :value="item.admin_user_id">
89
+              </el-option>
90
+            </el-select>
91
+            <span>科室:</span>
92
+            <el-select style="margin-right:5px;width:140px;" v-model="departmentValue" placeholder="">
93
+              <el-option
94
+                v-for="(item,index) in department"
95
+                :key="index"
96
+                :label="item.name"
97
+                :value="item.id">
98
+              </el-option>
99
+            </el-select>
100
+            <span>当前处方总价:</span>
101
+            <span style="color:red;">{{getTotalOne()?getTotalOne():''}}</span>元
102
+            <span style="margin-left:10px;">总价:</span>
103
+            <span style="color:red;">{{ getTotal()?getTotal():''}}</span>元
104
+          </div>
105
+          <span :class="order_status == '未收费' ? 'statusRed' : ''">{{order_status}}</span>
101
 
106
 
102
         </div>
107
         </div>
103
       </div>
108
       </div>
106
           <p :class="rightTab == 1 ? 'activeP' : ''" @click="clickTab(1)">药品</p>
111
           <p :class="rightTab == 1 ? 'activeP' : ''" @click="clickTab(1)">药品</p>
107
           <p :class="rightTab == 2 ? 'activeP' : ''" @click="clickTab(2)">项目</p>
112
           <p :class="rightTab == 2 ? 'activeP' : ''" @click="clickTab(2)">项目</p>
108
         </div> -->
113
         </div> -->
109
-        <el-tabs class="borderCard" type="border-card" v-model="rightTab" @tab-click="clickTab">
114
+        <el-tabs class="borderCard" type="border-card" v-model="rightTab" @tab-click="clickTab" :before-leave='beforeLeave'>
110
               <el-tab-pane label="药品" :name="1">
115
               <el-tab-pane label="药品" :name="1">
111
 
116
 
112
               </el-tab-pane>
117
               </el-tab-pane>
132
                           </el-option>
137
                           </el-option>
133
                         </el-select>
138
                         </el-select>
134
                       </div>
139
                       </div>
135
-                      <div style="width: 100%;flex:1;overflow-y: auto;">
136
-                        <el-table ref="multipleTable" :data="drugs" border @select='selectDrugs'
140
+                      <div style="width: 100%;flex:1;overflow: hidden;" ref="rightTable">
141
+                        <el-table ref="multipleTable" :height="multipleTableHeight != '' ? multipleTableHeight : '200'" :data="drugs" border @select='selectDrugs'
137
                                   :row-style="{ color: '#303133' }"
142
                                   :row-style="{ color: '#303133' }"
138
                                   @select-all="changeAllGoodInfoTableData"
143
                                   @select-all="changeAllGoodInfoTableData"
139
                                   :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
144
                                   :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
140
                                   highlight-current-row>
145
                                   highlight-current-row>
141
                           <el-table-column type="selection" width="40" align="center"></el-table-column>
146
                           <el-table-column type="selection" width="40" align="center"></el-table-column>
142
-                          <el-table-column prop="name" label="名称">
147
+                          <el-table-column label="名称">
143
                             <template slot-scope="scope">{{ scope.row.drug_name }}</template>
148
                             <template slot-scope="scope">{{ scope.row.drug_name }}</template>
144
                           </el-table-column>
149
                           </el-table-column>
145
                           <el-table-column label="规格" width="60">
150
                           <el-table-column label="规格" width="60">
173
                         </el-select>
178
                         </el-select>
174
                       </div>
179
                       </div>
175
                       <div style="width: 100%;flex:1;overflow-y: auto;">
180
                       <div style="width: 100%;flex:1;overflow-y: auto;">
176
-                        <el-table ref="multipleTableTwo" :data="advices_template" border
181
+                        <el-table ref="multipleTableTwo" :height="multipleTableHeight != '' ? multipleTableHeight : '200'" :data="advices_template" border
177
                                   :row-style="{ color: '#303133' }"
182
                                   :row-style="{ color: '#303133' }"
178
                                   :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
183
                                   :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
179
                                   highlight-current-row>
184
                                   highlight-current-row>
199
                 <el-tabs class="rightTabs" v-model="activeName">
204
                 <el-tabs class="rightTabs" v-model="activeName">
200
                   <el-tab-pane label="项目列表" name="1">
205
                   <el-tab-pane label="项目列表" name="1">
201
                     <div style="width: 100%;flex:1;overflow-y: auto;">
206
                     <div style="width: 100%;flex:1;overflow-y: auto;">
202
-                      <el-table ref="tables" :data="tabProject" border @select='selectChange'
207
+                      <el-table ref="tables" :height="multipleTableHeight != '' ? multipleTableHeight : '200'" :data="tabProject" border @select='selectChange'
203
                                 :row-style="{ color: '#303133' }"
208
                                 :row-style="{ color: '#303133' }"
204
                                 @select-all="changeAllGoodInfoTableDataTwo"
209
                                 @select-all="changeAllGoodInfoTableDataTwo"
205
                                 :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
210
                                 :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
219
                   </el-tab-pane>
224
                   </el-tab-pane>
220
                   <el-tab-pane label="项目组套" name="2">
225
                   <el-tab-pane label="项目组套" name="2">
221
                     <div style="width: 100%;flex:1;overflow-y: auto;">
226
                     <div style="width: 100%;flex:1;overflow-y: auto;">
222
-                      <el-table :data="tabPrjectTeam" border
227
+                      <el-table :data="tabPrjectTeam" border :height="multipleTableHeight != '' ? multipleTableHeight : '200'"
223
                                 :row-style="{ color: '#303133' }"
228
                                 :row-style="{ color: '#303133' }"
224
                                 :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
229
                                 :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
225
                                 highlight-current-row
230
                                 highlight-current-row
255
                 </el-option>
260
                 </el-option>
256
               </el-select>
261
               </el-select>
257
             </div> -->
262
             </div> -->
258
-            <el-button type="primary" size="small" style="width:100%;" @click="comfirm">确定添加</el-button>
263
+            <el-button type="primary" style="width:100%;" @click="comfirm">确定添加</el-button>
259
           </div>
264
           </div>
260
         </template>
265
         </template>
261
       </div>
266
       </div>
312
     },
317
     },
313
     data() {
318
     data() {
314
       return {
319
       return {
320
+        multipleTableHeight:'',
315
         register_type: '',
321
         register_type: '',
316
         value: '0',
322
         value: '0',
317
         form: {
323
         form: {
886
         })
892
         })
887
 
893
 
888
       },
894
       },
895
+      beforeLeave(activeName, oldActiveName){
896
+        let index = activeName
897
+        if (index == 1) {
898
+          if (this.curPrescriptions.advices.length == 0 && this.curPrescriptions.project.length > 0) {
899
+            return false
900
+          }
901
+        } else {
902
+          if (this.curPrescriptions.advices.length > 0 && this.curPrescriptions.project.length == 0) {
903
+            return false
904
+          }
905
+
906
+        }
907
+      },
889
       clickTab(tab) {
908
       clickTab(tab) {
890
         let index = parseInt(tab.name)
909
         let index = parseInt(tab.name)
891
         if (index == 1) {
910
         if (index == 1) {
1150
       this.getlist()
1169
       this.getlist()
1151
       //获取所以项目组套
1170
       //获取所以项目组套
1152
       this.getAllProjectTeam()
1171
       this.getAllProjectTeam()
1153
-
1154
-
1172
+      this.$nextTick(() => {
1173
+        this.multipleTableHeight = parseInt(this.$refs.rightTable.offsetHeight)
1174
+      })
1175
+      
1155
     },
1176
     },
1177
+    watch: {
1178
+      fullHeight (val) {
1179
+        if(!this.timer) {
1180
+          this.fullHeight = val
1181
+          let tableHeight = val - 263
1182
+          this.tableHeight = tableHeight
1183
+          this.multipleTableHeight = parseInt(this.$refs.rightTable.offsetHeight)
1184
+          this.timer = true
1185
+          let that = this
1186
+          setTimeout(function (){
1187
+            that.timer = false
1188
+          },400)
1189
+        }
1190
+      }
1191
+    }
1156
   }
1192
   }
1157
 </script>
1193
 </script>
1158
 
1194
 
1178
     height: 100%;
1214
     height: 100%;
1179
     display: flex;
1215
     display: flex;
1180
     flex-direction: column;
1216
     flex-direction: column;
1217
+    margin-top: 2px;
1181
 
1218
 
1182
   .el-radio {
1219
   .el-radio {
1183
     margin-right: 5px;
1220
     margin-right: 5px;
1263
     bottom: 0;
1300
     bottom: 0;
1264
     display: flex;
1301
     display: flex;
1265
     align-items: center;
1302
     align-items: center;
1303
+    justify-content: space-between;
1304
+  }
1305
+  .statusRed{
1306
+    color:red;
1266
   }
1307
   }
1267
 
1308
 
1268
   .addTab {
1309
   .addTab {
1269
     position: absolute;
1310
     position: absolute;
1270
-    right: 3px;
1311
+    right: 8px;
1271
     top: 3px;
1312
     top: 3px;
1272
     z-index: 20;
1313
     z-index: 20;
1273
   }
1314
   }
1320
     display: flex;
1361
     display: flex;
1321
     align-items: center;
1362
     align-items: center;
1322
     justify-content: space-between;
1363
     justify-content: space-between;
1364
+    z-index: 99;
1323
   }
1365
   }
1324
   .borderCard{
1366
   .borderCard{
1325
     height: 100%;
1367
     height: 100%;
1427
   }
1469
   }
1428
 
1470
 
1429
   }
1471
   }
1472
+  ::-webkit-scrollbar{
1473
+    height:15px;
1474
+  }
1430
 </style>
1475
 </style>

+ 19 - 3
src/xt_pages/outpatientDoctorStation/components/deskRecord.vue Datei anzeigen

1
 <template>
1
 <template>
2
-  <div class="deskRecord" style="margin-top:54px;">
2
+  <div class="deskRecord" style="margin-top:56px;">
3
     <!-- <div style="overflow:hidden;border-top:1px solid #e5e5e5;margin-top:5px;">
3
     <!-- <div style="overflow:hidden;border-top:1px solid #e5e5e5;margin-top:5px;">
4
       <div class="mainCell" style="margin-bottom:10px;float:right">
4
       <div class="mainCell" style="margin-bottom:10px;float:right">
5
         <el-button size="small" @click="open(1)" type="primary" style="margin-left:10px;">保存</el-button>
5
         <el-button size="small" @click="open(1)" type="primary" style="margin-left:10px;">保存</el-button>
14
         <el-input v-model="patientInfo.name" placeholder="" readonly></el-input>
14
         <el-input v-model="patientInfo.name" placeholder="" readonly></el-input>
15
       </el-form-item>
15
       </el-form-item>
16
       <el-form-item label="性别: " prop="name">
16
       <el-form-item label="性别: " prop="name">
17
-        <div v-if="patientInfo.gender == 1">男</div>
18
-        <div v-if="patientInfo.gender == 2">女</div>
17
+        <el-input v-model="patientInfo.gender" placeholder="" readonly></el-input>
19
       </el-form-item>
18
       </el-form-item>
20
       <el-form-item label="年龄: " prop="name">
19
       <el-form-item label="年龄: " prop="name">
21
         <el-input v-model="patientInfo.age" placeholder="" readonly></el-input>
20
         <el-input v-model="patientInfo.age" placeholder="" readonly></el-input>
297
     created(){
296
     created(){
298
        this.wayOptions = getDataConfig("patient", "reimbursement_ways");
297
        this.wayOptions = getDataConfig("patient", "reimbursement_ways");
299
        console.log("232322323",this)
298
        console.log("232322323",this)
299
+       if(this.patientInfo.gender = 1){
300
+         this.patientInfo.gender = '男'
301
+       }else if(this.patientInfo.gender = 2){
302
+          this.patientInfo.gender = '女'
303
+        }
300
        
304
        
301
     },
305
     },
302
     watch:{
306
     watch:{
303
       detalid:function(val){
307
       detalid:function(val){
304
         this.getTemplateDetail(val)
308
         this.getTemplateDetail(val)
309
+      },
310
+      'patientInfo.gender':{
311
+        handler(newName, oldName){
312
+          console.log('newName',newName)
313
+          if(newName == 1){
314
+            this.patientInfo.gender = '男'
315
+          }else if(newName == 2){
316
+            this.patientInfo.gender = '女'
317
+          }
318
+        },
319
+        immediate: true,
320
+        deep: true
305
       }
321
       }
306
     }
322
     }
307
   }
323
   }

+ 8 - 14
src/xt_pages/outpatientDoctorStation/components/newPrescriptionTable.vue Datei anzeigen

1
 <template>
1
 <template>
2
   <div class="prescriptionTable">
2
   <div class="prescriptionTable">
3
-    <el-table v-if="prescription.type == 1" :data="prescription.advices" border style="width: 99%;"
3
+    <el-table v-if="prescription.type == 1" :data="prescription.advices" border style="width: 100%;"
4
               :row-style="{ color: '#303133' }"
4
               :row-style="{ color: '#303133' }"
5
               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
5
               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
6
       <el-table-column align="center" prop="name" label="名称">
6
       <el-table-column align="center" prop="name" label="名称">
7
         <template slot-scope="scope">{{ scope.row.drug_name }}</template>
7
         <template slot-scope="scope">{{ scope.row.drug_name }}</template>
8
       </el-table-column>
8
       </el-table-column>
9
 
9
 
10
-      <el-table-column align="center" prop="name" width="50" :label="'单次\n用量'">
10
+      <el-table-column align="center" prop="name" width="100" label="单次用量">
11
         <template slot-scope="scope">
11
         <template slot-scope="scope">
12
-          <el-input v-model="scope.row.single_dose" readonly></el-input>
13
-          <div> {{scope.row.single_dose_unit}}</div>
12
+          <div>{{ scope.row.single_dose }} &nbsp;&nbsp; {{scope.row.single_dose_unit}}</div>
14
         </template>
13
         </template>
15
       </el-table-column>
14
       </el-table-column>
16
-      <el-table-column align="center" prop="name" width="50" label="用法">
15
+      <el-table-column align="center" prop="name" width="90" label="用法">
17
         <template slot-scope="scope">
16
         <template slot-scope="scope">
18
           <!--<el-input v-model="scope.row.delivery_way" readonly></el-input>-->
17
           <!--<el-input v-model="scope.row.delivery_way" readonly></el-input>-->
19
           <div> {{scope.row.delivery_way}}</div>
18
           <div> {{scope.row.delivery_way}}</div>
21
 
20
 
22
         </template>
21
         </template>
23
       </el-table-column>
22
       </el-table-column>
24
-      <el-table-column align="center" prop="name" width="50" label="频率">
23
+      <el-table-column align="center" prop="name" width="90" label="频率">
25
         <template slot-scope="scope">
24
         <template slot-scope="scope">
26
           <!--<el-input v-model="scope.row.execution_frequency" readonly></el-input>-->
25
           <!--<el-input v-model="scope.row.execution_frequency" readonly></el-input>-->
27
           <div> {{scope.row.execution_frequency}}</div>
26
           <div> {{scope.row.execution_frequency}}</div>
31
 
30
 
32
       <el-table-column align="center" prop="name" width="100" label="总量">
31
       <el-table-column align="center" prop="name" width="100" label="总量">
33
         <template slot-scope="scope">
32
         <template slot-scope="scope">
34
-          <div style="display:flex;">
35
-            <!--<el-input v-model="scope.row.prescribing_number" style="width:50%" readonly placeholder=""></el-input>-->
36
-            <div> {{scope.row.prescribing_number}}</div>
37
-
38
-            <div>{{scope.row.prescribing_number_unit}}</div>
39
-          </div>
33
+          <div>{{scope.row.prescribing_number}} {{scope.row.prescribing_number_unit}}</div>
40
         </template>
34
         </template>
41
       </el-table-column>
35
       </el-table-column>
42
-      <el-table-column align="center" prop="name" width="50" label="单价">
36
+      <el-table-column align="center" prop="name" width="80" label="单价">
43
         <template slot-scope="scope">
37
         <template slot-scope="scope">
44
           <div> {{scope.row.retail_price}}</div>
38
           <div> {{scope.row.retail_price}}</div>
45
 
39
 
46
           <!--<el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>-->
40
           <!--<el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>-->
47
         </template>
41
         </template>
48
       </el-table-column>
42
       </el-table-column>
49
-      <el-table-column align="center" prop="name" width="50" label="备注">
43
+      <el-table-column align="center" prop="name" width="80" label="备注">
50
         <template slot-scope="scope">
44
         <template slot-scope="scope">
51
           <!--<el-input v-model="scope.row.remark" style="width:50%" placeholder="" readonly></el-input>-->
45
           <!--<el-input v-model="scope.row.remark" style="width:50%" placeholder="" readonly></el-input>-->
52
           <div> {{scope.row.remark}}</div>
46
           <div> {{scope.row.remark}}</div>

+ 3 - 3
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue Datei anzeigen

101
           <el-input v-model="scope.row.number_days" placeholder=""></el-input>
101
           <el-input v-model="scope.row.number_days" placeholder=""></el-input>
102
         </template>
102
         </template>
103
       </el-table-column>
103
       </el-table-column>
104
-      <el-table-column align="center" prop="total" width="50" label="总量">
104
+      <el-table-column align="center" prop="total" width="70" label="总量">
105
         <template slot-scope="scope">
105
         <template slot-scope="scope">
106
-          <div style="display:flex;">
107
-            <el-input v-model="scope.row.total" style="width:50" placeholder=""></el-input>
106
+          <div style="display:flex;align-items:center;">
107
+            <el-input v-model="scope.row.total" style="width:60%" placeholder=""></el-input>
108
             <div>{{scope.row.unit}}</div>
108
             <div>{{scope.row.unit}}</div>
109
 
109
 
110
           </div>
110
           </div>

+ 14 - 6
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Datei anzeigen

45
             <el-tab-pane label="电子病历" name="电子病历"></el-tab-pane>
45
             <el-tab-pane label="电子病历" name="电子病历"></el-tab-pane>
46
           </el-tabs>
46
           </el-tabs>
47
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子处方'">
47
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子处方'">
48
-            <el-button size="small" ref="button_one"   @click="open(1)" type="primary">保存</el-button>
48
+            <el-button size="small" ref="button_one" @click="open(1)" type="primary">保存</el-button>
49
             <el-popover
49
             <el-popover
50
               placement="bottom"
50
               placement="bottom"
51
               width="200"
51
               width="200"
52
               trigger="click">
52
               trigger="click">
53
-              <el-button size="small" ref="button_two"   @click="open(2)" type="primary">处方单</el-button>
54
-              <el-button size="small" ref="button_six"   @click="open(6)" type="primary">治疗单</el-button>
53
+              <el-button size="small" ref="button_two"   @click="open(2)">处方单</el-button>
54
+              <el-button size="small" ref="button_six"   @click="open(6)">治疗单</el-button>
55
               <el-button slot="reference" style="margin:0 10px;" type="primary" size="small">打印</el-button>
55
               <el-button slot="reference" style="margin:0 10px;" type="primary" size="small">打印</el-button>
56
             </el-popover>
56
             </el-popover>
57
             <el-button size="small" ref="button_three" @click="open(4)" type="primary">选择模板</el-button>
57
             <el-button size="small" ref="button_three" @click="open(4)" type="primary">选择模板</el-button>
58
-            <el-button size="small" ref="button_four"  @click="open(5)" type="primary">存模板</el-button>
58
+            <el-button size="small" ref="button_four"  @click="open(5)" type="primary" :disabled='prescriptions && prescriptions[0].advices && prescriptions[0].project ? prescriptions[0].advices.length == 0 && prescriptions[0].project.length == 0 : false'>存模板</el-button>
59
           </div>
59
           </div>
60
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子病历'">
60
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子病历'">
61
             <el-button size="small" @click="opentwo(1)" type="primary">保存</el-button>
61
             <el-button size="small" @click="opentwo(1)" type="primary">保存</el-button>
594
            if(response.data.state == 1){
594
            if(response.data.state == 1){
595
              this.centerDialogVisible = true
595
              this.centerDialogVisible = true
596
              var list = response.data.data.list
596
              var list = response.data.data.list
597
-             // console.log("list9999999",list)
597
+             console.log("list9999999",list)
598
              this.tableData = list
598
              this.tableData = list
599
            }
599
            }
600
         })
600
         })
753
 
753
 
754
   }
754
   }
755
   .preTabs {
755
   .preTabs {
756
-    height: 100%;
756
+      height: 100%;
757
+      display: flex;
758
+      flex-direction: column;
759
+
760
+    .el-tabs__content {
761
+      flex: 1;
762
+      overflow-y: auto;
763
+    }
764
+
757
   }
765
   }
758
 
766
 
759
   .costBox {
767
   .costBox {

+ 2 - 2
src/xt_pages/outpatientDoctorStation/pastInquiries.vue Datei anzeigen

21
         <el-table-column align="center" prop="name" label="姓名" width="100">
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.patient   .name }}</template>
23
         </el-table-column>
23
         </el-table-column>
24
-        <el-table-column align="center" prop="name" label="处方日期" width="110">
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"> {{getTimes(scope.row.info.ctime)}}</template>
26
 
26
 
27
         </el-table-column>
27
         </el-table-column>
37
         <el-table-column align="center" prop="name" label="诊断">
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.diagnosis }}</template>
39
         </el-table-column>
39
         </el-table-column>
40
-        <el-table-column align="center" prop="name" label="状态">
40
+        <el-table-column align="center" prop="name" label="状态" width="100">
41
           <template slot-scope="scope">
41
           <template slot-scope="scope">
42
             <div v-if=" scope.row.info.id == 0">未就诊</div>
42
             <div v-if=" scope.row.info.id == 0">未就诊</div>
43
             <div v-if=" scope.row.info.id > 0">已就诊</div>
43
             <div v-if=" scope.row.info.id > 0">已就诊</div>

+ 3 - 3
src/xt_pages/outpatientRegistration/index.vue Datei anzeigen

39
                         <el-date-picker v-model="form.birthday" type="date" @change="getBirthday" placeholder="选择日期"></el-date-picker>
39
                         <el-date-picker v-model="form.birthday" type="date" @change="getBirthday" placeholder="选择日期"></el-date-picker>
40
                     </el-form-item>
40
                     </el-form-item>
41
 
41
 
42
-                    <el-form-item label="手机号码" prop="phone">
42
+                    <el-form-item label="手机号码" prop="phone">
43
                         <el-input v-model="form.phone"></el-input>
43
                         <el-input v-model="form.phone"></el-input>
44
                     </el-form-item>
44
                     </el-form-item>
45
 
45
 
90
                     </el-form-item>
90
                     </el-form-item>
91
 
91
 
92
 
92
 
93
-                   <el-form-item label="社保类型:">
93
+                   <el-form-item label="社保类型">
94
                         <el-select v-model="form.social_type" placeholder="请选择">
94
                         <el-select v-model="form.social_type" placeholder="请选择">
95
                             <!-- <el-option
95
                             <!-- <el-option
96
                             v-for="(item,index) in getDictionaryDataConfig('system','social_type')"
96
                             v-for="(item,index) in getDictionaryDataConfig('system','social_type')"
602
         width: 33%;
602
         width: 33%;
603
     }
603
     }
604
     .specialFormItem{
604
     .specialFormItem{
605
-        width:67%;
605
+        width:66.5%;
606
         .el-input{
606
         .el-input{
607
             min-width: 150px;
607
             min-width: 150px;
608
         }
608
         }

+ 3 - 4
src/xt_pages/outpatientRegistration/registrationHistory.vue Datei anzeigen

7
             <div class="cell clearfix">
7
             <div class="cell clearfix">
8
                 <!-- <el-input style="width: 180px;" v-model.trim="search_input" class="filter-item"/> -->
8
                 <!-- <el-input style="width: 180px;" v-model.trim="search_input" class="filter-item"/> -->
9
                 <el-autocomplete
9
                 <el-autocomplete
10
-                  style="margin:16px 5px"
11
                   popper-class="my-autocomplete"
10
                   popper-class="my-autocomplete"
12
                   v-model.trim="search_input"
11
                   v-model.trim="search_input"
13
                   :fetch-suggestions="querySearchAsync"
12
                   :fetch-suggestions="querySearchAsync"
71
                         <span v-if="scope.row.register_type == 5">专家</span>
70
                         <span v-if="scope.row.register_type == 5">专家</span>
72
                     </template>
71
                     </template>
73
                 </el-table-column>
72
                 </el-table-column>
74
-                <el-table-column align="center" prop="name" label="就诊号" width="80">
73
+                <el-table-column align="center" prop="name" label="就诊号" width="140">
75
                     <template slot-scope="scope">
74
                     <template slot-scope="scope">
76
                         {{scope.row.number}}
75
                         {{scope.row.number}}
77
                     </template>
76
                     </template>
99
                 </el-table-column>
98
                 </el-table-column>
100
                 <el-table-column align="center" prop="name" label="操作" width="80">
99
                 <el-table-column align="center" prop="name" label="操作" width="80">
101
                     <template slot-scope="scope">
100
                     <template slot-scope="scope">
102
-                        <el-button size="mini" type="primary" v-if="scope.row.is_return == 1" @click ="toReturnPatient(scope.row.id)">退号</el-button> 
103
-                        <el-button size="mini" type="primary" v-if="scope.row.is_return == 2" :disabled="true">已退号</el-button>
101
+                        <el-button size="mini" type="info" v-if="scope.row.is_return == 1" @click ="toReturnPatient(scope.row.id)">退号</el-button> 
102
+                        <el-button size="mini" type="info" v-if="scope.row.is_return == 2" :disabled="true">已退号</el-button>
104
                         <el-button size="mini" type="primary" v-if="scope.row.is_return == 3" :disabled="true">已就诊</el-button>  
103
                         <el-button size="mini" type="primary" v-if="scope.row.is_return == 3" :disabled="true">已就诊</el-button>  
105
                     </template>
104
                     </template>
106
                 </el-table-column>
105
                 </el-table-column>

+ 3 - 0
src/xt_pages/stock/selfPreparedMedicine/query.vue Datei anzeigen

142
          for(let i=0;i<this.tableData.length;i++){
142
          for(let i=0;i<this.tableData.length;i++){
143
             this.tableData[i].margin = (this.tableData[i].Total?this.tableData[i].Total:0) - this.tableData[i].Count
143
             this.tableData[i].margin = (this.tableData[i].Total?this.tableData[i].Total:0) - this.tableData[i].Count
144
          }
144
          }
145
+         console.log("表哥------",this.tableData)
145
          const data = this.formatJson(filterVal, this.tableData)
146
          const data = this.formatJson(filterVal, this.tableData)
147
+         console.log("data",data)
148
+         return
146
          excel.export_json_to_excel({
149
          excel.export_json_to_excel({
147
            header: tHeader,
150
            header: tHeader,
148
            data,
151
            data,