Browse Source

自备药出库处理

XMLWAN 4 years ago
parent
commit
49a7b6c1b5

+ 2 - 2
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

81
           <span class="content">{{
81
           <span class="content">{{
82
             target_ultrafiltration != "0" ? target_ultrafiltration : ""
82
             target_ultrafiltration != "0" ? target_ultrafiltration : ""
83
           }}</span>
83
           }}</span>
84
-          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28" class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
85
-          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
84
+          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27" class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
85
+          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id != 27" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
86
         </li>
86
         </li>
87
         <li v-if="isShow('葡萄糖')">
87
         <li v-if="isShow('葡萄糖')">
88
           <label>葡萄糖 : </label>
88
           <label>葡萄糖 : </label>

+ 2 - 2
src/xt_pages/dialysis/details/assessmentAfter.vue View File

17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
18
             actual_ultrafiltration
18
             actual_ultrafiltration
19
           }}</span>
19
           }}</span>
20
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28) " >ml</span>
21
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28" >L</span>
20
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.org_id == 9555) " >ml</span>
21
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27  &&  this.$store.getters.xt_user.template_info.org_id == 9555 " >L</span>
22
         </li>
22
         </li>
23
         <li v-if="isShow('导管')">
23
         <li v-if="isShow('导管')">
24
           <label>导管 : </label>
24
           <label>导管 : </label>

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

28
           <el-col :span="8" v-if="isShow('实际超滤量')">
28
           <el-col :span="8" v-if="isShow('实际超滤量')">
29
             <el-form-item
29
             <el-form-item
30
               label="实际超滤量(ml): "
30
               label="实际超滤量(ml): "
31
-              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28"  >
31
+              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.$store.getters.xt_user.template_info.org_id == 9555 "  >
32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33
             </el-form-item>
33
             </el-form-item>
34
             <el-form-item label="实际超滤量(L): " v-else>
34
             <el-form-item label="实际超滤量(L): " v-else>

+ 3 - 6
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

87
           </el-col>
87
           </el-col>
88
 
88
 
89
           <el-col :span="8"
89
           <el-col :span="8"
90
-                  v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28)">
90
+                  v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.org_id == 9555 )">
91
             <el-form-item label="目标超滤量(ml):">
91
             <el-form-item label="目标超滤量(ml):">
92
               <el-input
92
               <el-input
93
                 type="number"
93
                 type="number"
97
           </el-col>
97
           </el-col>
98
 
98
 
99
           <el-col :span="8"
99
           <el-col :span="8"
100
-                  v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28">
100
+                  v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 || this.$store.getters.xt_user.template_info.template_id == 27 && this.$store.getters.xt_user.template_info.org_id == 9555 ">
101
             <el-form-item label="目标超滤量(L):">
101
             <el-form-item label="目标超滤量(L):">
102
               <el-input
102
               <el-input
103
                 type="number"
103
                 type="number"
2043
                     duration: 2000
2043
                     duration: 2000
2044
                   })
2044
                   })
2045
 
2045
 
2046
-                  // for(let i=0;i<this.waitUploadAdvices.length;i++){
2047
-                  //    this.waitUploadAdvices[i].drug_spec =  this.waitUploadAdvices[i].drug_spec.toString()
2048
-                  // }
2049
                   const params = {
2046
                   const params = {
2050
                     advices: this.waitUploadAdvices,
2047
                     advices: this.waitUploadAdvices,
2051
                     advice_date: uParseTime(
2048
                     advice_date: uParseTime(
2116
                     type: 'success',
2113
                     type: 'success',
2117
                     duration: 2000
2114
                     duration: 2000
2118
                   })
2115
                   })
2119
-
2116
+ 
2120
                   const prescription_resp = response.data.data.prescription
2117
                   const prescription_resp = response.data.data.prescription
2121
                   // console.log("aaaaaaa", prescription_resp);
2118
                   // console.log("aaaaaaa", prescription_resp);
2122
                   var prescription = this.prescription
2119
                   var prescription = this.prescription

+ 8 - 4
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

155
                   template_id == 22 ||
155
                   template_id == 22 ||
156
                   template_id == 23 ||
156
                   template_id == 23 ||
157
                   template_id == 24 ||
157
                   template_id == 24 ||
158
-                  template_id == 26)
158
+                  template_id == 26 ||
159
+                  template_id == 27 ||
160
+                  org_id == 9555)
159
             "
161
             "
160
           >
162
           >
161
             <template slot-scope="scope">
163
             <template slot-scope="scope">
186
                 template_id != 22 &&
188
                 template_id != 22 &&
187
                 template_id != 23 &&
189
                 template_id != 23 &&
188
                 template_id != 24 &&
190
                 template_id != 24 &&
189
-                template_id != 26
191
+                template_id != 26 &&
192
+                template_id != 27 &&
193
+                org_id!=9555
190
             "
194
             "
191
           >
195
           >
192
             <template slot-scope="scope">
196
             <template slot-scope="scope">
490
 
494
 
491
           <el-col
495
           <el-col
492
             :span="8"
496
             :span="8"
493
-            v-if=" isShow('超滤量') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26) " >
497
+            v-if=" isShow('超滤量') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || org_id == 9555) " >
494
             <el-form-item label="超滤量(ml):">
498
             <el-form-item label="超滤量(ml):">
495
               <el-input v-model="form.ultrafiltration_volume"></el-input>
499
               <el-input v-model="form.ultrafiltration_volume"></el-input>
496
             </el-form-item>
500
             </el-form-item>
498
 
502
 
499
           <el-col
503
           <el-col
500
             :span="8"
504
             :span="8"
501
-            v-if=" isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26" >
505
+            v-if=" isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id!=27 && org_id !=9555" >
502
             <el-form-item label="超滤量(L):">
506
             <el-form-item label="超滤量(L):">
503
               <el-input v-model="form.ultrafiltration_volume"></el-input>
507
               <el-input v-model="form.ultrafiltration_volume"></el-input>
504
             </el-form-item>
508
             </el-form-item>

+ 1 - 1
src/xt_pages/dialysis/details/index.vue View File

1306
       this.patient_id = schedual.patient_id
1306
       this.patient_id = schedual.patient_id
1307
       this.date = schedual.schedule_date
1307
       this.date = schedual.schedule_date
1308
       // this.getScheduleDetail();
1308
       // this.getScheduleDetail();
1309
-      // this.getLongAdvice();
1309
+      this.getLongAdvice();
1310
 
1310
 
1311
       var patient_id = schedual.patient_id
1311
       var patient_id = schedual.patient_id
1312
       var date = schedual.schedule_date
1312
       var date = schedual.schedule_date

+ 2 - 1
src/xt_pages/user/components/EditGroupAdvice.vue View File

1400
       this.nameFormTitle = "添加子药内容";
1400
       this.nameFormTitle = "添加子药内容";
1401
     },
1401
     },
1402
     openGroupAdvice(isEdit) {
1402
     openGroupAdvice(isEdit) {
1403
+     
1403
       this.isChild = false;
1404
       this.isChild = false;
1404
       if (isEdit) {
1405
       if (isEdit) {
1405
         if (this.groupSelectRow === null) {
1406
         if (this.groupSelectRow === null) {
1440
         if (!this.isChild) {
1441
         if (!this.isChild) {
1441
           this.weeks = this.groupSelectRow.week_day.split(",");
1442
           this.weeks = this.groupSelectRow.week_day.split(",");
1442
         }
1443
         }
1443
-
1444
+        this.getAdviceConfig(1)
1444
         this.nameFormTitle = "修改医嘱内容";
1445
         this.nameFormTitle = "修改医嘱内容";
1445
       } else {
1446
       } else {
1446
         this.nameForm = {
1447
         this.nameForm = {