Browse Source

提交代码

陈少旭 1 year ago
parent
commit
d39414f8a0

+ 4 - 1
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

3632
               }
3632
               }
3633
             }
3633
             }
3634
           }
3634
           }
3635
+          console.log("=========")
3636
+          console.log(this.zuobiao_project)
3637
+          console.log( this.tabProject)
3638
+          console.log("=========")
3635
           this.allProject = this.tabProject
3639
           this.allProject = this.tabProject
3636
-
3637
           // console.log('cccc',this.allProject);
3640
           // console.log('cccc',this.allProject);
3638
         }
3641
         }
3639
       })
3642
       })

+ 10 - 0
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue View File

110
                     <el-input   v-model="scope.row.drug.medical_insurance_number" placeholder=""></el-input>
110
                     <el-input   v-model="scope.row.drug.medical_insurance_number" placeholder=""></el-input>
111
                 </template>
111
                 </template>
112
             </el-table-column>
112
             </el-table-column>
113
+
114
+          <el-table-column align="center" prop="is_self_drug" width="100" label="医嘱性质" v-if="this.$store.getters.xt_user.org_id == 10206 || this.$store.getters.xt_user.org_id == 0">
115
+            <template slot-scope="scope">
116
+              <el-select :disabled="prescription.is_medicine_status" v-model="scope.row.is_self_drug" placeholder="请选择">
117
+                <el-option label="非自备药" value="0"></el-option>
118
+                <el-option label="自备药" value="1"></el-option>
119
+              </el-select>
120
+            </template>
121
+          </el-table-column>
122
+
113
             <el-table-column align="center" prop="remark" width="50" label="备注">
123
             <el-table-column align="center" prop="remark" width="50" label="备注">
114
                 <template slot-scope="scope">
124
                 <template slot-scope="scope">
115
                     <el-input :disabled="prescription.is_medicine_status"  v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>
125
                     <el-input :disabled="prescription.is_medicine_status"  v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>

+ 18 - 0
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

1533
                       }
1533
                       }
1534
 
1534
 
1535
                     }
1535
                     }
1536
+                    console.log(that.drugs)
1537
+                    console.log(that.zuobiao_project)
1538
+
1536
                   }
1539
                   }
1537
                 }
1540
                 }
1538
               })
1541
               })
1795
                   hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
1798
                   hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
1796
                   execution_state: prescription.advices[b].execution_state,
1799
                   execution_state: prescription.advices[b].execution_state,
1797
                   is_medicine: prescription.advices[b].is_medicine,
1800
                   is_medicine: prescription.advices[b].is_medicine,
1801
+                  is_self_drug:prescription.advices[b].is_self_drug.toString(),
1798
 
1802
 
1799
                 }
1803
                 }
1800
                 tempAdvice.push(obj)
1804
                 tempAdvice.push(obj)
1950
                     groupno: prescription.advices[b].groupno,
1954
                     groupno: prescription.advices[b].groupno,
1951
                     hosp_appr_flag: '1',
1955
                     hosp_appr_flag: '1',
1952
                     execution_state: 2,
1956
                     execution_state: 2,
1957
+                    is_self_drug:"",
1953
 
1958
 
1954
 
1959
 
1955
                   }
1960
                   }
2278
                         hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
2283
                         hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
2279
                         execution_state: prescription.advices[b].execution_state,
2284
                         execution_state: prescription.advices[b].execution_state,
2280
                         is_medicine: prescription.advices[b].is_medicine,
2285
                         is_medicine: prescription.advices[b].is_medicine,
2286
+                        is_self_drug:prescription.advices[b].is_self_drug.toString()
2287
+
2281
 
2288
 
2282
                       }
2289
                       }
2283
                       tempAdvice.push(obj)
2290
                       tempAdvice.push(obj)
2429
                           groupno: prescription.advices[b].groupno,
2436
                           groupno: prescription.advices[b].groupno,
2430
 
2437
 
2431
                           hosp_appr_flag: '1',
2438
                           hosp_appr_flag: '1',
2439
+                          is_self_drug: "",
2432
                           execution_state: 2,
2440
                           execution_state: 2,
2433
 
2441
 
2434
 
2442
 
2847
                         groupno: prescription.advices[b].groupno,
2855
                         groupno: prescription.advices[b].groupno,
2848
                         hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
2856
                         hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
2849
                         execution_state: prescription.advices[b].execution_state,
2857
                         execution_state: prescription.advices[b].execution_state,
2858
+                        is_self_drug:prescription.advices[b].is_self_drug.toString()
2850
 
2859
 
2851
                       }
2860
                       }
2852
                       tempAdvice.push(obj)
2861
                       tempAdvice.push(obj)
2974
                           groupno: prescription.advices[b].groupno,
2983
                           groupno: prescription.advices[b].groupno,
2975
 
2984
 
2976
                           hosp_appr_flag: '1',
2985
                           hosp_appr_flag: '1',
2986
+                          is_self_drug:"",
2987
+
2977
                           execution_state: 2,
2988
                           execution_state: 2,
2978
 
2989
 
2979
 
2990
 
3359
                       drug: prescription.advices[b].drug,
3370
                       drug: prescription.advices[b].drug,
3360
                       groupno: prescription.advices[b].groupno,
3371
                       groupno: prescription.advices[b].groupno,
3361
                       hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
3372
                       hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
3373
+                      is_self_drug:prescription.advices[b].is_self_drug.toString(),
3374
+
3362
                       execution_state: prescription.advices[b].execution_state
3375
                       execution_state: prescription.advices[b].execution_state
3363
                     }
3376
                     }
3364
                     tempAdvice.push(obj)
3377
                     tempAdvice.push(obj)
3486
                         groupno: prescription.advices[b].groupno,
3499
                         groupno: prescription.advices[b].groupno,
3487
 
3500
 
3488
                         hosp_appr_flag: '1',
3501
                         hosp_appr_flag: '1',
3502
+                        is_self_drug:"",
3489
                         execution_state: 2
3503
                         execution_state: 2
3490
 
3504
 
3491
 
3505
 
3944
                         drug: prescription.advices[b].drug,
3958
                         drug: prescription.advices[b].drug,
3945
                         groupno: prescription.advices[b].groupno,
3959
                         groupno: prescription.advices[b].groupno,
3946
                         hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
3960
                         hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
3961
+                        is_self_drug:prescription.advices[b].is_self_drug.toString(),
3947
                         execution_state: prescription.advices[b].execution_state,
3962
                         execution_state: prescription.advices[b].execution_state,
3948
                         is_medicine: prescription.advices[b].is_medicine,
3963
                         is_medicine: prescription.advices[b].is_medicine,
3949
 
3964
 
4104
                           groupno: prescription.advices[b].groupno,
4119
                           groupno: prescription.advices[b].groupno,
4105
 
4120
 
4106
                           hosp_appr_flag: '1',
4121
                           hosp_appr_flag: '1',
4122
+                          is_self_drug:"",
4107
                           execution_state: 2,
4123
                           execution_state: 2,
4108
 
4124
 
4109
 
4125
 
4597
                         drug: prescription.advices[b].drug,
4613
                         drug: prescription.advices[b].drug,
4598
                         groupno: prescription.advices[b].groupno,
4614
                         groupno: prescription.advices[b].groupno,
4599
                         hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
4615
                         hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
4616
+                        is_self_drug:prescription.advices[b].is_self_drug.toString(),
4600
                         execution_state: prescription.advices[b].execution_state,
4617
                         execution_state: prescription.advices[b].execution_state,
4601
                         is_medicine: prescription.advices[b].is_medicine,
4618
                         is_medicine: prescription.advices[b].is_medicine,
4602
 
4619
 
4755
                           groupno: prescription.advices[b].groupno,
4772
                           groupno: prescription.advices[b].groupno,
4756
 
4773
 
4757
                           hosp_appr_flag: '1',
4774
                           hosp_appr_flag: '1',
4775
+                          is_self_drug:"",
4758
                           execution_state: 2
4776
                           execution_state: 2
4759
 
4777
 
4760
 
4778