Browse Source

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 4 years ago
parent
commit
068842bcb5

+ 4 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue View File

322
                   <div class="inline_block" style="flex:1;">
322
                   <div class="inline_block" style="flex:1;">
323
                     透析(滤)器:
323
                     透析(滤)器:
324
                     <div class="under_line" style="width: 100px;text-align: center">
324
                     <div class="under_line" style="width: 100px;text-align: center">
325
-                      {{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "/" }}
325
+                      <!-- {{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "/" }} -->
326
+
327
+                      {{ prescription.dialysis_dialyszers ? prescription.dialysis_dialyszers : "/" }}
326
                     </div>
328
                     </div>
327
                   </div>
329
                   </div>
328
                   <div class="inline_block" style="flex:1;">
330
                   <div class="inline_block" style="flex:1;">
329
                     灌流器:
331
                     灌流器:
330
                     <div class="under_line" style="width: 70px;text-align: center">
332
                     <div class="under_line" style="width: 70px;text-align: center">
331
-                      /
333
+                      {{ prescription.dialysis_irrigation ? prescription.dialysis_irrigation : "/" }}
332
                     </div>
334
                     </div>
333
                   </div>
335
                   </div>
334
                   <div class="inline_block" style="flex:1;">
336
                   <div class="inline_block" style="flex:1;">

+ 9 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyFive.vue View File

191
               <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('颈内静脉') > -1 ? true : false" showValue="临时颈内静脉导管"></label-box>&nbsp;
191
               <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('颈内静脉') > -1 ? true : false" showValue="临时颈内静脉导管"></label-box>&nbsp;
192
               <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股静脉') > -1 ? true : false" showValue="临时股静脉导管"></label-box>&nbsp;
192
               <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股静脉') > -1 ? true : false" showValue="临时股静脉导管"></label-box>&nbsp;
193
               <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('人造血管') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('移植血管') > -1 ? true : false" showValue="其他"></label-box>&nbsp;
193
               <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('人造血管') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('移植血管') > -1 ? true : false" showValue="其他"></label-box>&nbsp;
194
-              <span style="width:50px;display: inline-block;"></span>
194
+              
195
+              穿刺方式:
196
+              <span style="width:60px;display: inline-block;">
197
+                {{ predialysis.puncture_way ? predialysis.puncture_way : "" }}
198
+              </span>
199
+              位点:
200
+              <span style="width:60px;display: inline-block;">
201
+                {{ predialysis.pinholing ? predialysis.pinholing : "" }}
202
+              </span>
195
               穿刺者:
203
               穿刺者:
196
               <span style="width:50px;display: inline-block;">
204
               <span style="width:50px;display: inline-block;">
197
                 <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) == ''">
205
                 <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) == ''">

+ 10 - 2
src/xt_pages/outpatientCharges/newStatementPrint.vue View File

13
     </template>
13
     </template>
14
 
14
 
15
     <div class='dialysisPage' style="padding-top:40px;">
15
     <div class='dialysisPage' style="padding-top:40px;">
16
-      <printOne :info="info" :p_admin="p_admin" :charge_admin="charge_admin"></printOne>
16
+      <printOne v-if="org_id != 9990" :info="info" :p_admin="p_admin" :charge_admin="charge_admin"></printOne>
17
+      <printTwo v-if="org_id == 9990" :info="info" :order_infos="order_infos" :p_admin="p_admin" :charge_admin="charge_admin"></printTwo>
17
     </div>
18
     </div>
18
   </div>
19
   </div>
19
 </template>
20
 </template>
30
   import BreadCrumb from "@/xt_pages/components/bread-crumb";
31
   import BreadCrumb from "@/xt_pages/components/bread-crumb";
31
   import print from "print-js";
32
   import print from "print-js";
32
   import printOne from "./statementTemplate/printOne"
33
   import printOne from "./statementTemplate/printOne"
34
+  import printTwo from "./statementTemplate/printTwo"
33
   import { getAllDoctorList,getAllHisPatientList,getPrescriptionPrint } from "@/api/project/project"
35
   import { getAllDoctorList,getAllHisPatientList,getPrescriptionPrint } from "@/api/project/project"
34
   export default {
36
   export default {
35
     name: "newStatementPrint",
37
     name: "newStatementPrint",
36
     components: {
38
     components: {
37
       BreadCrumb,
39
       BreadCrumb,
38
-      printOne
40
+      printOne,
41
+      printTwo
39
     },
42
     },
40
     props:{
43
     props:{
41
       paramsObj:Object
44
       paramsObj:Object
59
         info:null,
62
         info:null,
60
         p_admin:{},
63
         p_admin:{},
61
         charge_admin:{},
64
         charge_admin:{},
65
+        org_id:'',
66
+        order_infos:null
62
       };
67
       };
63
     },
68
     },
64
     methods:{
69
     methods:{
173
                 that.info = response.data.data.info
178
                 that.info = response.data.data.info
174
                 that.p_admin = response.data.data.printor_admin
179
                 that.p_admin = response.data.data.printor_admin
175
                 that.charge_admin = response.data.data.charge_admin
180
                 that.charge_admin = response.data.data.charge_admin
181
+                that.order_infos = response.data.data
176
 
182
 
177
 
183
 
178
                 console.log(that.info)
184
                 console.log(that.info)
226
     },
232
     },
227
 
233
 
228
     created() {
234
     created() {
235
+      this.org_id = this.$store.getters.xt_user.org_id
229
       this.getInfo(this.paramsObj.order_id)
236
       this.getInfo(this.paramsObj.order_id)
237
+      
230
     },
238
     },
231
     watch:{
239
     watch:{
232
       paramsObj:{//深度监听,可监听到对象、数组的变化
240
       paramsObj:{//深度监听,可监听到对象、数组的变化

+ 7 - 3
src/xt_pages/outpatientCharges/settlementPrint.vue View File

13
     </template>
13
     </template>
14
     <div class="app-container" style="padding-top:40px;">
14
     <div class="app-container" style="padding-top:40px;">
15
         <div class='dialysisPage'>
15
         <div class='dialysisPage'>
16
-            <printOne v-bind:childResponse="childResponse" :paramsObj="paramsObj"></printOne>
16
+            <printOne v-bind:childResponse="childResponse" :info="info" :p_admin="p_admin" :charge_admin="charge_admin" :paramsObj="paramsObj"></printOne>
17
         </div>
17
         </div>
18
     </div>
18
     </div>
19
   </div>
19
   </div>
41
         { path: false, name: "打印单" }
41
         { path: false, name: "打印单" }
42
       ],
42
       ],
43
       childResponse: {},
43
       childResponse: {},
44
-      paramsObj:{}
45
-      
44
+      paramsObj:{},
45
+      info:null,
46
+      p_admin:{},
47
+      charge_admin:{},
46
 
48
 
47
     };
49
     };
48
   },
50
   },
180
 
182
 
181
               console.log(response.data.data.info)
183
               console.log(response.data.data.info)
182
               that.info = response.data.data.info
184
               that.info = response.data.data.info
185
+              that.p_admin = response.data.data.printor_admin
186
+              that.charge_admin = response.data.data.charge_admin
183
               console.log(that.info)
187
               console.log(that.info)
184
 
188
 
185
               that.info['bed_cost_total'] = response.data.data.bedCostTotal
189
               that.info['bed_cost_total'] = response.data.data.bedCostTotal

+ 9 - 2
src/xt_pages/outpatientCharges/statementTemplate/printTwo.vue View File

67
       <div style="width:10%;text-align:center;">门诊目录</div>
67
       <div style="width:10%;text-align:center;">门诊目录</div>
68
       <div style="width:10%;text-align:center;">医保目录</div>
68
       <div style="width:10%;text-align:center;">医保目录</div>
69
     </div>
69
     </div>
70
-    <div style="border-bottom:1px solid #000;padding:10px 0;display:flex;" v-for="(item,index) in info.order_infos"
70
+    <div style="border-bottom:1px solid #000;padding:10px 0;display:flex;" v-for="(item,index) in order_infos.order_infos"
71
          :key="index">
71
          :key="index">
72
       <div style="width:50%;text-align:center;" v-if="item.advice_id > 0">{{item.advice.drug.drug_name}}</div>
72
       <div style="width:50%;text-align:center;" v-if="item.advice_id > 0">{{item.advice.drug.drug_name}}</div>
73
       <div style="width:50%;text-align:center;" v-if="item.project_id > 0">{{item.project.project.project_name}}</div>
73
       <div style="width:50%;text-align:center;" v-if="item.project_id > 0">{{item.project.project.project_name}}</div>
108
         default: function () {
108
         default: function () {
109
           return {}
109
           return {}
110
         }
110
         }
111
-      }, p_admin: {
111
+      }, 
112
+      order_infos: {
113
+        type: Object,
114
+        default: function () {
115
+          return {}
116
+        }
117
+      }, 
118
+      p_admin: {
112
         type: Object,
119
         type: Object,
113
         default: function () {
120
         default: function () {
114
           return {}
121
           return {}

+ 1 - 1
src/xt_pages/outpatientCharges/summary.vue View File

104
                             结算单
104
                             结算单
105
                         </el-button>
105
                         </el-button>
106
                         <el-button size="mini" type="primary" v-if="scope.row.order_status == 2 && $store.getters.xt_user.org_id == 10106" @click="settlementPrint(scope.row)">结算单</el-button>
106
                         <el-button size="mini" type="primary" v-if="scope.row.order_status == 2 && $store.getters.xt_user.org_id == 10106" @click="settlementPrint(scope.row)">结算单</el-button>
107
-                        <el-button size="mini" type="primary" @click="toRefund(scope.row)" v-if="(scope.row.order_status == 2 && $store.getters.xt_user.org_id == 10106)">
107
+                        <el-button size="mini" type="primary" @click="toRefund(scope.row)" v-if="(scope.row.order_status == 2 && $store.getters.xt_user.org_id == 10106) || (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 9990)">
108
                             退费
108
                             退费
109
                         </el-button>
109
                         </el-button>
110
                         <el-button size="mini" type="primary" @click="invoicePrint(scope.row)">打印发票</el-button>
110
                         <el-button size="mini" type="primary" @click="invoicePrint(scope.row)">打印发票</el-button>

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

378
 
378
 
379
       },
379
       },
380
       getSingleDose(scope){
380
       getSingleDose(scope){
381
-        // this.prescription.advices[scope.$index].prescribing_number = scope.row.single_dose * scope.row.day
381
+        this.prescription.advices[scope.$index].prescribing_number = scope.row.single_dose * scope.row.day
382
       },
382
       },
383
       getDay(scope){
383
       getDay(scope){
384
-        // this.prescription.advices[scope.$index].prescribing_number = scope.row.single_dose * scope.row.day
384
+        this.prescription.advices[scope.$index].prescribing_number = scope.row.single_dose * scope.row.day
385
       },
385
       },
386
       getProjectSingleDose(scope){
386
       getProjectSingleDose(scope){
387
-        // this.prescription.project[scope.$index].total = scope.row.single_dose * scope.row.number_days
387
+        this.prescription.project[scope.$index].total = scope.row.single_dose * scope.row.number_days
388
       },
388
       },
389
       getProjectDay(scope){
389
       getProjectDay(scope){
390
-        // this.prescription.project[scope.$index].total = scope.row.single_dose * scope.row.number_days
390
+        this.prescription.project[scope.$index].total = scope.row.single_dose * scope.row.number_days
391
       }
391
       }
392
     },mounted(){
392
     },mounted(){
393
       this.getInitData()
393
       this.getInitData()

+ 1 - 1
src/xt_pages/outpatientRegistration/index.vue View File

923
             var params = {
923
             var params = {
924
               id: this.form.id,
924
               id: this.form.id,
925
               settlement_value: this.form.settlementValue,
925
               settlement_value: this.form.settlementValue,
926
-              medical_insurance_card: this.for???m.medicalInsuranceCard,
926
+              medical_insurance_card: this.form.medicalInsuranceCard,
927
               name: this.form.name,
927
               name: this.form.name,
928
               sex: this.form.sex,
928
               sex: this.form.sex,
929
               id_card_type: this.form.id_card_type,
929
               id_card_type: this.form.id_card_type,

+ 1 - 1
src/xt_pages/qcd/basicInformationAnalysis.vue View File

710
       //本月的结束时间
710
       //本月的结束时间
711
       var monthEndDate = new Date(nowYear, nowMonth+1, 0);
711
       var monthEndDate = new Date(nowYear, nowMonth+1, 0);
712
       var timeEnd=Date.parse(monthEndDate)/1000-1;//s
712
       var timeEnd=Date.parse(monthEndDate)/1000-1;//s
713
-       console.log("本月最后一天",timeEnd)
713
+        // console.log("本月最后一天",timeEnd)
714
       //本月
714
       //本月
715
       if(state == 0){
715
       if(state == 0){
716
        //统计透析总量
716
        //统计透析总量