28169 пре 2 дана
родитељ
комит
ae523a353a

+ 12 - 1
src/xt_pages/Pharmacy/DrugDispensing.vue Прегледај датотеку

@@ -239,6 +239,7 @@
239 239
                 {{ scope.row.frequency }}
240 240
               </template>
241 241
             </el-table-column>
242
+            
242 243
             <el-table-column
243 244
               prop="name"
244 245
               label="天数"
@@ -342,10 +343,20 @@
342 343
                 {{ scope.row.frequency }}
343 344
               </template>
344 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 356
             <el-table-column
346 357
               prop="name"
347 358
               label="天数"
348
-              width="160"
359
+              width="50"
349 360
               align="center"
350 361
             >
351 362
               <template slot-scope="scope">

+ 2 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Прегледај датотеку

@@ -2663,6 +2663,7 @@ mu
2663 2663
           if(this.predialysis!=undefined){
2664 2664
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
2665 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 2667
               if(this.dialysisPrescription.target_ultrafiltration == "NaN"){
2667 2668
                  this.dialysisPrescription.target_ultrafiltration = 0
2668 2669
              }
@@ -3280,7 +3281,7 @@ mu
3280 3281
           if(this.predialysis!=undefined){
3281 3282
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
3282 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 3285
               if(this.dialysisPrescription.target_ultrafiltration == "NaN"){
3285 3286
                  this.dialysisPrescription.target_ultrafiltration = 0
3286 3287
              }

+ 21 - 7
src/xt_pages/user/lapsoSummary.vue Прегледај датотеку

@@ -71,7 +71,7 @@
71 71
                     >
72 72
                  </el-button>
73 73
                </el-tooltip>
74
-                <!-- <el-tooltip class="item" effect="dark" content="删除" placement="top">
74
+                <el-tooltip class="item" effect="dark" content="删除" placement="top">
75 75
                    <el-button
76 76
                     size="small"
77 77
                     type="danger"
@@ -79,7 +79,7 @@
79 79
                     @click="handleDeleteAdviceTemplate(scope.row.id, scope.$index)"
80 80
                     >
81 81
                    </el-button>
82
-                </el-tooltip> -->
82
+                </el-tooltip>
83 83
              </template>
84 84
         </el-table-column>
85 85
         </el-table>
@@ -894,13 +894,27 @@
894 894
         })
895 895
       },
896 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 906
                this.$message.success("保存成功")
901 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 Прегледај датотеку

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