Browse Source

hah阿凡达

28169 2 days ago
parent
commit
ae523a353a

+ 12 - 1
src/xt_pages/Pharmacy/DrugDispensing.vue View File

239
                 {{ scope.row.frequency }}
239
                 {{ scope.row.frequency }}
240
               </template>
240
               </template>
241
             </el-table-column>
241
             </el-table-column>
242
+            
242
             <el-table-column
243
             <el-table-column
243
               prop="name"
244
               prop="name"
244
               label="天数"
245
               label="天数"
342
                 {{ scope.row.frequency }}
343
                 {{ scope.row.frequency }}
343
               </template>
344
               </template>
344
             </el-table-column>
345
             </el-table-column>
346
+            <el-table-column
347
+              prop="name"
348
+              label="药品追溯码"
349
+              width="185"
350
+              align="center"
351
+            >
352
+              <template slot-scope="scope">
353
+                {{ scope.row.DrugCode }}
354
+              </template>
355
+            </el-table-column>
345
             <el-table-column
356
             <el-table-column
346
               prop="name"
357
               prop="name"
347
               label="天数"
358
               label="天数"
348
-              width="160"
359
+              width="50"
349
               align="center"
360
               align="center"
350
             >
361
             >
351
               <template slot-scope="scope">
362
               <template slot-scope="scope">

+ 2 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

2663
           if(this.predialysis!=undefined){
2663
           if(this.predialysis!=undefined){
2664
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
2664
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
2665
               this.dialysisPrescription.target_ultrafiltration = ((this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(0))*1000
2665
               this.dialysisPrescription.target_ultrafiltration = ((this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(0))*1000
2666
+              console.log("超滤梁----------------", this.dialysisPrescription.target_ultrafiltration)
2666
               if(this.dialysisPrescription.target_ultrafiltration == "NaN"){
2667
               if(this.dialysisPrescription.target_ultrafiltration == "NaN"){
2667
                  this.dialysisPrescription.target_ultrafiltration = 0
2668
                  this.dialysisPrescription.target_ultrafiltration = 0
2668
              }
2669
              }
3280
           if(this.predialysis!=undefined){
3281
           if(this.predialysis!=undefined){
3281
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
3282
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
3282
               this.dialysisPrescription.target_ultrafiltration = ((this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(0))*1000
3283
               this.dialysisPrescription.target_ultrafiltration = ((this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(0))*1000
3283
-              
3284
+              console.log("目标超滤----------------", this.dialysisPrescription.target_ultrafiltration)
3284
               if(this.dialysisPrescription.target_ultrafiltration == "NaN"){
3285
               if(this.dialysisPrescription.target_ultrafiltration == "NaN"){
3285
                  this.dialysisPrescription.target_ultrafiltration = 0
3286
                  this.dialysisPrescription.target_ultrafiltration = 0
3286
              }
3287
              }

+ 21 - 7
src/xt_pages/user/lapsoSummary.vue View File

71
                     >
71
                     >
72
                  </el-button>
72
                  </el-button>
73
                </el-tooltip>
73
                </el-tooltip>
74
-                <!-- <el-tooltip class="item" effect="dark" content="删除" placement="top">
74
+                <el-tooltip class="item" effect="dark" content="删除" placement="top">
75
                    <el-button
75
                    <el-button
76
                     size="small"
76
                     size="small"
77
                     type="danger"
77
                     type="danger"
79
                     @click="handleDeleteAdviceTemplate(scope.row.id, scope.$index)"
79
                     @click="handleDeleteAdviceTemplate(scope.row.id, scope.$index)"
80
                     >
80
                     >
81
                    </el-button>
81
                    </el-button>
82
-                </el-tooltip> -->
82
+                </el-tooltip>
83
              </template>
83
              </template>
84
         </el-table-column>
84
         </el-table-column>
85
         </el-table>
85
         </el-table>
894
         })
894
         })
895
       },
895
       },
896
       handleDeleteAdviceTemplate(id,index){
896
       handleDeleteAdviceTemplate(id,index){
897
-        deletePatientLapsoRrecord(id).then(response=>{
898
-            if(response.data.state==1){
899
-               var msg = response.data.data.msg
897
+
898
+        this.$confirm('确认删除吗?', '删除', {
899
+            confirmButtonText: '确 定',
900
+            cancelButtonText: '取 消',
901
+            type: 'warning'
902
+         }).then(() => {
903
+          deletePatientLapsoRrecord(id).then(response => {
904
+              if (response.data.state == 1) {
905
+                var msg = response.data.data.msg
900
                this.$message.success("保存成功")
906
                this.$message.success("保存成功")
901
                this.tableData.splice(index,1)
907
                this.tableData.splice(index,1)
902
-            }
903
-        })
908
+              } 
909
+            })
910
+          })
911
+        // deletePatientLapsoRrecord(id).then(response=>{
912
+        //     if(response.data.state==1){
913
+        //        var msg = response.data.data.msg
914
+        //        this.$message.success("保存成功")
915
+        //        this.tableData.splice(index,1)
916
+        //     }
917
+        // })
904
       }
918
       }
905
      
919
      
906
   
920
   

+ 8 - 0
src/xt_pages/user/sickHistory.vue View File

388
         this.$message.error('请填写病程内容')
388
         this.$message.error('请填写病程内容')
389
         return
389
         return
390
       }
390
       }
391
+      if(this.edit_sick_history_time == ""){
392
+        this.$message.error("请填写日期!")
393
+        return
394
+      }
391
       this.uploading_new_record = true
395
       this.uploading_new_record = true
392
       let params = {
396
       let params = {
393
         id:this.edit_current_id,
397
         id:this.edit_current_id,
437
         this.$message.error('请填写病程内容')
441
         this.$message.error('请填写病程内容')
438
         return
442
         return
439
       }
443
       }
444
+      if(this.sick_history_time == ""){
445
+        this.$message.error("请填写日期!")
446
+        return
447
+      }
440
       this.uploading_new_record = true
448
       this.uploading_new_record = true
441
       let params = {
449
       let params = {
442
         patient_id: this.patient_id,
450
         patient_id: this.patient_id,