ソースを参照

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 10 ヶ月 前
コミット
404b3de7e4

+ 9 - 0
src/api/drug/drug.js ファイルの表示

800
     method:"get",
800
     method:"get",
801
     params:params
801
     params:params
802
   })
802
   })
803
+}
804
+
805
+export function getSelfDrugWarehouseOutById(id,params){
806
+  
807
+  return request({
808
+    url:"/api/drug/getselfdrugwarehouseoutbyid?id="+id,
809
+    method:"get",
810
+    params:params
811
+  })
803
 }
812
 }

+ 8 - 0
src/router/modules/selfPreparedMedicine.js ファイルの表示

50
       hidden: true,
50
       hidden: true,
51
       is_menu: false,
51
       is_menu: false,
52
     },
52
     },
53
+    {
54
+      path: '/stock/selfwarehouse/out/edit',
55
+      component: () => import('@/xt_pages/stock/selfPreparedMedicine/editWarehouseOut'),
56
+      name: 'SelfeditWarehouseOut',
57
+      meta: { title: '自备药编辑出库', noCache: true },
58
+      hidden: true,
59
+      is_menu: false,
60
+    },
53
     {
61
     {
54
       path: '/stock/selfstockquery',
62
       path: '/stock/selfstockquery',
55
       component: () => import('@/xt_pages/stock/selfPreparedMedicine/stockquery'),
63
       component: () => import('@/xt_pages/stock/selfPreparedMedicine/stockquery'),

+ 7 - 0
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue ファイルの表示

1270
              ParamsQuery.weight_loss = (this.predialysis_evaluation.weight_before - this.form.weight_after).toFixed(1)
1270
              ParamsQuery.weight_loss = (this.predialysis_evaluation.weight_before - this.form.weight_after).toFixed(1)
1271
           }
1271
           }
1272
 
1272
 
1273
+          if(ParamsQuery.additional_weight == 0){
1274
+            if(this.additional_weight!=null){
1275
+              ParamsQuery.additional_weight = this.predialysis_evaluation.additional_weight
1276
+            }
1277
+            
1278
+          }
1279
+
1273
           console.log("Paramsquery",data)
1280
           console.log("Paramsquery",data)
1274
 
1281
 
1275
           postAssessmentAfterDislysis(ParamsQuery, data)
1282
           postAssessmentAfterDislysis(ParamsQuery, data)

+ 25 - 6
src/xt_pages/outpatientCharges/components/prescriptionTable.vue ファイルの表示

39
           <div>{{ scope.row.spec }}</div>
39
           <div>{{ scope.row.spec }}</div>
40
         </template>
40
         </template>
41
       </el-table-column>
41
       </el-table-column>
42
-      
42
+
43
       <el-table-column align="center" prop="name" width="80" label="单次用量">
43
       <el-table-column align="center" prop="name" width="80" label="单次用量">
44
         <template slot-scope="scope">
44
         <template slot-scope="scope">
45
           <!--<el-input v-model="scope.row.delivery_way" readonly></el-input>-->
45
           <!--<el-input v-model="scope.row.delivery_way" readonly></el-input>-->
74
         </template>
74
         </template>
75
       </el-table-column>
75
       </el-table-column>
76
 
76
 
77
-      <el-table-column align="center" prop="name" width="80" label="执行状态">
77
+      <el-table-column align="center" prop="name" width="80" label="执行状态" v-if="his_patient.id > 0 && schedule.id > 0">
78
+        <template slot-scope="scope">
79
+          <div>{{ scope.row.execution_state == 1 ? "已执行" : "未执行" }}</div>
80
+        </template>
81
+      </el-table-column>
82
+
83
+      <el-table-column align="center" prop="name" width="80" label="执行状态" v-if="his_patient.id == 0 && schedule.id > 0">
78
         <template slot-scope="scope">
84
         <template slot-scope="scope">
79
           <div>{{ scope.row.execution_state == 1 ? "已执行" : "未执行" }}</div>
85
           <div>{{ scope.row.execution_state == 1 ? "已执行" : "未执行" }}</div>
80
         </template>
86
         </template>
81
       </el-table-column>
87
       </el-table-column>
82
 
88
 
89
+
90
+
91
+
83
       <el-table-column align="center" prop="name" width="220" label="医保编码">
92
       <el-table-column align="center" prop="name" width="220" label="医保编码">
84
         <template slot-scope="scope">
93
         <template slot-scope="scope">
85
           <div>{{ scope.row.code }}</div>
94
           <div>{{ scope.row.code }}</div>
200
           >{{ scope.row.single_dose }}{{ scope.row.unit }}</template
209
           >{{ scope.row.single_dose }}{{ scope.row.unit }}</template
201
         >
210
         >
202
       </el-table-column>
211
       </el-table-column>
203
-      
212
+
204
       <el-table-column
213
       <el-table-column
205
         align="center"
214
         align="center"
206
         prop="delivery_way"
215
         prop="delivery_way"
235
           <div>{{ scope.row.total }} {{ scope.row.unit }}</div>
244
           <div>{{ scope.row.total }} {{ scope.row.unit }}</div>
236
         </template>
245
         </template>
237
       </el-table-column>
246
       </el-table-column>
238
-      
247
+
239
       <el-table-column align="center" prop="name" width="50" label="单价">
248
       <el-table-column align="center" prop="name" width="50" label="单价">
240
         <template slot-scope="scope">{{ scope.row.price }}元</template>
249
         <template slot-scope="scope">{{ scope.row.price }}元</template>
241
       </el-table-column>
250
       </el-table-column>
242
 
251
 
243
-      <el-table-column align="center" prop="name" width="80" label="执行状态">
252
+      <el-table-column align="center" prop="name" width="80" label="执行状态" v-if="his_patient.id > 0 && schedule.id > 0">
244
         <template slot-scope="scope">
253
         <template slot-scope="scope">
245
           <div>{{ scope.row.execution_state == 1 ? "已执行" : "未执行" }}</div>
254
           <div>{{ scope.row.execution_state == 1 ? "已执行" : "未执行" }}</div>
246
         </template>
255
         </template>
247
       </el-table-column>
256
       </el-table-column>
248
 
257
 
258
+      <el-table-column align="center" prop="name" width="80" label="执行状态" v-if="his_patient.id == 0 && schedule.id > 0">
259
+        <template slot-scope="scope">
260
+          <div>{{ scope.row.execution_state == 1 ? "已执行" : "未执行" }}</div>
261
+        </template>
262
+      </el-table-column>
263
+
264
+
265
+
249
       <el-table-column align="center" prop="name" width="220" label="医保编码">
266
       <el-table-column align="center" prop="name" width="220" label="医保编码">
250
         <template slot-scope="scope">
267
         <template slot-scope="scope">
251
           <div>{{ scope.row.medical_code }}</div>
268
           <div>{{ scope.row.medical_code }}</div>
252
         </template>
269
         </template>
253
       </el-table-column>
270
       </el-table-column>
254
 
271
 
255
-      
272
+
256
 
273
 
257
       <el-table-column align="center" prop="name" width="60" label="金额">
274
       <el-table-column align="center" prop="name" width="60" label="金额">
258
         <template slot-scope="scope">
275
         <template slot-scope="scope">
339
 export default {
356
 export default {
340
   props: {
357
   props: {
341
     prescription: Object,
358
     prescription: Object,
359
+    his_patient: Object,
360
+    schedule: Object,
342
     manufacturers: Array,
361
     manufacturers: Array,
343
   },
362
   },
344
   data() {
363
   data() {

+ 12 - 6
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue ファイルの表示

263
                           </el-tab-pane>
263
                           </el-tab-pane>
264
                             <prescription-table ref="prescription_tables"
264
                             <prescription-table ref="prescription_tables"
265
                                               :prescription="items.curPrescriptions"
265
                                               :prescription="items.curPrescriptions"
266
+                                                :schedule="schedule"
267
+                                                :his_patient="hisPatientInfo"
266
                                               :manufacturers="manufacturers"></prescription-table>
268
                                               :manufacturers="manufacturers"></prescription-table>
267
 
269
 
268
                         </el-tabs>
270
                         </el-tabs>
1202
       }],
1204
       }],
1203
       tabIndex: 1,
1205
       tabIndex: 1,
1204
       hisPatientInfo: {},
1206
       hisPatientInfo: {},
1207
+      schedule:{},
1205
       loadingtwo: false,
1208
       loadingtwo: false,
1206
       patientTableData: [{}],
1209
       patientTableData: [{}],
1207
       patientInfo: { id: 0 },
1210
       patientInfo: { id: 0 },
1968
           this.hisPatientInfo = response.data.data.his_info
1971
           this.hisPatientInfo = response.data.data.his_info
1969
           this.info = response.data.data.info
1972
           this.info = response.data.data.info
1970
           this.order = response.data.data.order
1973
           this.order = response.data.data.order
1974
+          this.schedule = response.data.data.sch
1975
+
1971
 
1976
 
1972
           this.addtions_charge = response.data.data.addtions_charge
1977
           this.addtions_charge = response.data.data.addtions_charge
1973
 
1978
 
2810
             this.big_month_prescriptions[b].curMonthPrescriptions = temp
2815
             this.big_month_prescriptions[b].curMonthPrescriptions = temp
2811
             this.big_month_prescriptions[b].month_total = this.getMonthTotalTwo(temp)
2816
             this.big_month_prescriptions[b].month_total = this.getMonthTotalTwo(temp)
2812
           }
2817
           }
2813
-          
2818
+
2814
         }
2819
         }
2815
       }
2820
       }
2816
-     
2821
+
2817
     },
2822
     },
2818
     tabclickEventThree(val) {
2823
     tabclickEventThree(val) {
2819
       for (let i = 0; i < this.big_prescriptions_two.length; i++) {
2824
       for (let i = 0; i < this.big_prescriptions_two.length; i++) {
5333
           for(let j in month_prescriptions[i].advices){
5338
           for(let j in month_prescriptions[i].advices){
5334
             const obj ={
5339
             const obj ={
5335
               drug_id: month_prescriptions[i].advices[j].drug_id,
5340
               drug_id: month_prescriptions[i].advices[j].drug_id,
5336
-              spec:month_prescriptions[i].advices[j].drug.dose + month_prescriptions[i].advices[j].drug.dose_unit + '*' + 
5337
-              month_prescriptions[i].advices[j].drug.min_number + month_prescriptions[i].advices[j].drug.min_unit + '/' + 
5341
+              spec:month_prescriptions[i].advices[j].drug.dose + month_prescriptions[i].advices[j].drug.dose_unit + '*' +
5342
+              month_prescriptions[i].advices[j].drug.min_number + month_prescriptions[i].advices[j].drug.min_unit + '/' +
5338
               month_prescriptions[i].advices[j].drug.max_unit
5343
               month_prescriptions[i].advices[j].drug.max_unit
5339
             }
5344
             }
5340
             advices2.push(obj)
5345
             advices2.push(obj)
5552
           }
5557
           }
5553
         }
5558
         }
5554
       }
5559
       }
5555
-      
5556
-        
5560
+
5561
+
5557
       console.log('kkkkk',big_prescriptions[0].curMonthPrescriptions);
5562
       console.log('kkkkk',big_prescriptions[0].curMonthPrescriptions);
5558
       if (this.big_month_prescriptions.length > 0) {
5563
       if (this.big_month_prescriptions.length > 0) {
5559
         this.editableTabsValue = this.big_month_prescriptions[0].curMonthPrescriptions.name
5564
         this.editableTabsValue = this.big_month_prescriptions[0].curMonthPrescriptions.name
5785
             this.hisPatientInfo = response.data.data.his_info
5790
             this.hisPatientInfo = response.data.data.his_info
5786
             this.info = response.data.data.info
5791
             this.info = response.data.data.info
5787
             this.order = response.data.data.order
5792
             this.order = response.data.data.order
5793
+            this.schedule = response.data.data.sch
5788
             this.p_type = ''
5794
             this.p_type = ''
5789
             this.sick_type = ''
5795
             this.sick_type = ''
5790
             this.diagnosis = []
5796
             this.diagnosis = []

File diff suppressed because it is too large
+ 1236 - 0
src/xt_pages/stock/selfPreparedMedicine/editWarehouseOut.vue


+ 3 - 3
src/xt_pages/stock/selfPreparedMedicine/warehouseOut.vue ファイルの表示

467
     },
467
     },
468
     clicks: function () {},
468
     clicks: function () {},
469
      handleWarehouse: function () {
469
      handleWarehouse: function () {
470
-      this.$router.push({path:"/stock/selfwarehouse/info/add"})
470
+      this.$router.push({path:"/stock/selfwarehouse/out/add"})
471
     },
471
     },
472
     handleSelectionChange: function (val) {
472
     handleSelectionChange: function (val) {
473
       this.multipleSelection = val;
473
       this.multipleSelection = val;
511
 
511
 
512
     handleEdit: function (index, row) {
512
     handleEdit: function (index, row) {
513
 
513
 
514
-      this.$router.push({path:"/stock/selfwarehouse/info/edit?id="+row.id+"&is_sys="+row.is_sys+"&is_check="+row.is_check})
514
+      this.$router.push({path:"/stock/selfwarehouse/out/edit?id="+row.id+"&is_sys="+row.is_sys+"&is_check="+row.is_check})
515
       
515
       
516
     },
516
     },
517
     search(){
517
     search(){
567
                 type: 'success',
567
                 type: 'success',
568
                 duration: 2000
568
                 duration: 2000
569
               })
569
               })
570
-              this.tableData.splice(index, 1)
570
+              this.tableList.splice(index, 1)
571
 
571
 
572
             }
572
             }
573
           })
573
           })

+ 8 - 6
src/xt_pages/user/components/PatientDetail.vue ファイルの表示

281
                 </el-checkbox-group>
281
                 </el-checkbox-group>
282
               </el-form-item>
282
               </el-form-item>
283
              </el-col>
283
              </el-col>
284
+
285
+             <el-col :span="8">
286
+              <el-form-item label="家庭住址 : " prop="homeAddress">
287
+                <el-input v-model="form.homeAddress" disabled style="width: 350px;"></el-input>
288
+              </el-form-item>
289
+            </el-col>
284
             
290
             
285
-             <el-col :span="6" :style="isEdit ? 'width:380px' : ''">
291
+             <el-col :span="8" :style="isEdit ? 'width:280px' : ''">
286
                 <el-form-item
292
                 <el-form-item
287
                   label="打印日期:"
293
                   label="打印日期:"
288
                   label-width="150px"
294
                   label-width="150px"
634
                 ></el-input>
640
                 ></el-input>
635
               </el-form-item>
641
               </el-form-item>
636
             </el-col>
642
             </el-col>
637
-            <el-col :span="8">
638
-              <el-form-item label="家庭住址 : " prop="homeAddress">
639
-                <el-input v-model="form.homeAddress" disabled style="width: 350px;"></el-input>
640
-              </el-form-item>
641
-            </el-col>
643
+           
642
 
644
 
643
             <div v-show="!generic_info_fold">
645
             <div v-show="!generic_info_fold">
644
               <el-col :span="8">
646
               <el-col :span="8">

+ 8 - 6
src/xt_pages/user/components/PatientForm.vue ファイルの表示

333
               </el-form-item>
333
               </el-form-item>
334
             </el-col>
334
             </el-col>
335
 
335
 
336
-            <el-col :span="6" :style="isEdit ? 'width:380px' : ''">
336
+            <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
337
+                <el-form-item label="家庭住址 : " prop="homeAddress"  class="is-required">
338
+                  <el-input v-model="form.homeAddress" style="width: 280px;"></el-input>
339
+                </el-form-item>
340
+            </el-col>
341
+
342
+            <el-col :span="8" :style="isEdit ? 'width:280px' : ''">
337
                 <el-form-item
343
                 <el-form-item
338
                   label="打印日期:"
344
                   label="打印日期:"
339
                   label-width="150px"
345
                   label-width="150px"
676
                 </el-form-item>
682
                 </el-form-item>
677
               </el-col>
683
               </el-col>
678
 
684
 
679
-              <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
680
-                <el-form-item label="家庭住址 : " prop="homeAddress"  class="is-required">
681
-                  <el-input v-model="form.homeAddress" style="width: 350px;"></el-input>
682
-                </el-form-item>
683
-              </el-col>
685
+            
684
 
686
 
685
               <div v-show="!generic_info_fold">
687
               <div v-show="!generic_info_fold">
686
                 <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
688
                 <el-col :span="8" :style="isEdit ? 'width:360px' : ''">