소스 검색

合并带嘛

csx 2 년 전
부모
커밋
839237a461

+ 0 - 3
src/lang/zh.js 파일 보기

@@ -184,9 +184,6 @@ export default {
184 184
     selfPreparedMedicineIndex: '自备药管理',
185 185
     selfPreparedMedicine: '自备药管理',
186 186
     wareHouseManage: '仓库管理',
187
-    inventoryTransfer: '库存调拨',
188
-    wareHouseManage: '仓库管理',
189
-
190 187
     inventoryTransfer: '库存调拨',
191 188
 
192 189
     // consumablesManagement: '耗材管理',

+ 2 - 2
src/xt_pages/hospitalStation/components/deskPrescription.vue 파일 보기

@@ -3405,7 +3405,7 @@ export default {
3405 3405
       // }
3406 3406
       // console.log(res)
3407 3407
       // var idstr = res.join(',')
3408
-
3408
+      this.teamList = []
3409 3409
       let teamList = []
3410 3410
       for (let i = 0; i < row.length; i++) {
3411 3411
         let team_id = row[i].id
@@ -3477,7 +3477,7 @@ export default {
3477 3477
               }
3478 3478
             }
3479 3479
 
3480
-            this.teamList = this.teamList.concat(teamList)
3480
+            this.teamList = teamList
3481 3481
             console.log(this.teamList)
3482 3482
           }
3483 3483
         })

+ 2 - 1
src/xt_pages/outpatientCharges/components/chargeDialog.vue 파일 보기

@@ -48,7 +48,7 @@
48 48
       <el-form-item label="" style="width:100%;">
49 49
 
50 50
         <el-radio-group v-model="form.pay_way">
51
-          <el-radio :label="index" v-for="(item,index) in payWays" :key="index">{{ item.label }}</el-radio>
51
+          <el-radio :label="item.value" v-for="(item,index) in payWays" :key="index">{{ item.label }}</el-radio>
52 52
         </el-radio-group>
53 53
       </el-form-item>
54 54
 
@@ -316,6 +316,7 @@
316 316
           if (valid) {
317 317
             let value = {}
318 318
             value = this.getValue()
319
+            console.log(value)
319 320
             this.$emit('confirm', value)
320 321
             this.loadingtwo = true
321 322
           }

+ 4 - 2
src/xt_pages/outpatientDoctorStation/checkPrint.vue 파일 보기

@@ -13,7 +13,7 @@
13 13
       </template> -->
14 14
 
15 15
       <div class='dialysisPage' style="padding-top:40px;">
16
-        <printOne :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
16
+        <printOne :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id" :newHisPatient="newHisPatient"></printOne>
17 17
       </div>
18 18
   </div>
19 19
 </template>
@@ -32,7 +32,9 @@ export default {
32 32
     printOne,
33 33
   },
34 34
   props:{
35
-    paramsObj:Object
35
+    paramsObj:Object,
36
+    newHisPatient:Object,
37
+
36 38
   },
37 39
   data() {
38 40
     return {

+ 2 - 4
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue 파일 보기

@@ -3407,11 +3407,10 @@
3407 3407
         // }
3408 3408
         // console.log(res)
3409 3409
         // var idstr = res.join(',')
3410
-
3410
+        this.teamList = []
3411 3411
         let teamList = []
3412 3412
         for (let i = 0; i < row.length; i++) {
3413 3413
           let team_id = row[i].id
3414
-          console.log(team_id)
3415 3414
           const params = {
3416 3415
             project_id: row[i].item_id
3417 3416
           }
@@ -3479,8 +3478,7 @@
3479 3478
                 }
3480 3479
               }
3481 3480
 
3482
-              this.teamList = this.teamList.concat(teamList)
3483
-              console.log(this.teamList)
3481
+              this.teamList = teamList
3484 3482
             }
3485 3483
           })
3486 3484
         }

+ 3 - 1
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue 파일 보기

@@ -27,7 +27,9 @@
27 27
                         <el-select v-model="scope.row.single_dose_unit" placeholder="请选择" style="width:50%;"
28 28
                                    @change="getAllChangeTwo(scope)" :disabled="prescription.is_medicine_status" >
29 29
                             <el-option :label="scope.row.drug.min_unit" :value="scope.row.drug.min_unit"></el-option>
30
-                            <el-option :label="scope.row.drug.dose_unit"
30
+                          <el-option :label="scope.row.drug.min_unit" :value="scope.row.drug.min_unit"></el-option>
31
+
32
+                          <el-option :label="scope.row.drug.dose_unit"
31 33
                                        v-if="scope.row.drug.dose_unit != scope.row.drug.min_unit"
32 34
                                        :value="scope.row.drug.dose_unit"></el-option>
33 35
                         </el-select>

+ 14 - 14
src/xt_pages/outpatientDoctorStation/doctorDesk.vue 파일 보기

@@ -104,15 +104,15 @@
104 104
       </div>
105 105
       <div class="mainRight">
106 106
         <div class="mainHeader">
107
-          
107
+
108 108
           <el-tabs v-model="titleType" @tab-click="handleClick"
109 109
                    style="position: fixed;width: calc(100% - 490px);background:#fff;">
110 110
             <el-tab-pane label="电子处方" name="电子处方"></el-tab-pane>
111 111
             <el-tab-pane label="透析记录" name="透析记录">
112
-           
112
+
113 113
             </el-tab-pane>
114 114
             <el-tab-pane label="电子病历" name="电子病历"></el-tab-pane>
115
-           
115
+
116 116
           </el-tabs>
117 117
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子处方'">
118 118
             <el-button size="small" ref="button_one" @click="open(1)" type="primary"
@@ -177,7 +177,7 @@
177 177
         <!--<dialysis-index v-if="titleType == '透析记录'" :record_date="record_date" :patientid='patientid'></dialysis-index>-->
178 178
         <dialysis-index v-if="titleType == '透析记录'" :record_date="record_date" :patientid='patientid'
179 179
                         :dialysisShow="dialysisShow"></dialysis-index>
180
-       
180
+
181 181
       </div>
182 182
 
183 183
     </div>
@@ -293,9 +293,9 @@
293 293
           >
294 294
         </template>
295 295
         <div id='printMain'>
296
-          <print ref="print" v-if="selecting_schs1.length > 0" :paramsObj='paramsObj'></print>
297
-          <treatPrint ref="treatPrint" v-if="selecting_schs2.length > 0" :paramsObj='paramsObj2'></treatPrint>
298
-          <checkPrint ref="checkPrint" v-if="selecting_schs3.length > 0" :paramsObj='paramsObj3'></checkPrint>
296
+          <print ref="print" v-if="selecting_schs1.length > 0" :paramsObj='paramsObj' :newHisPatient="hisPatientInfo"></print>
297
+          <treatPrint ref="treatPrint" v-if="selecting_schs2.length > 0" :paramsObj='paramsObj2' :newHisPatient="hisPatientInfo"></treatPrint>
298
+          <checkPrint ref="checkPrint" v-if="selecting_schs3.length > 0" :paramsObj='paramsObj3' :newHisPatient="hisPatientInfo"></checkPrint>
299 299
         </div>
300 300
 
301 301
       </el-dialog>
@@ -319,7 +319,7 @@
319 319
       <recordPrint :patientid="patientid" ref="recordPrint">
320 320
     </recordPrint>
321 321
     </el-dialog>
322
-    
322
+
323 323
     <el-dialog
324 324
       :visible.sync="startVisibility"
325 325
       :close-on-click-modal="false"
@@ -360,7 +360,7 @@
360 360
                 </div>
361 361
                 <div class="printCell" style="display:flex;justify-content: space-around;">
362 362
                   <span style="display: block;width: 50%;">净重值:{{ main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight }}Kg</span>
363
-                  
363
+
364 364
                   <span style="display: block;width: 50%;">
365 365
                     首剂: <span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
366 366
                   <span v-if="main_collection.dialysissolution.anticoagulant == 2">
@@ -393,8 +393,8 @@
393 393
                   <span v-if="main_collection.dialysissolution.anticoagulant == 11">
394 394
                     {{main_collection.dialysissolution.anticoagulant_shouji}}iu
395 395
                    </span>
396
-                    </span> 
397
-                 
396
+                    </span>
397
+
398 398
                 </div>
399 399
                 <div class="printCell" style="display:flex;justify-content: space-around;">
400 400
                   <span style="display: block;width: 50%;">体重增加:{{ (main_collection.assessmentbefor.weight_before - assessmentAfterDislysis.weight_after).toFixed(2) }}Kg</span>
@@ -434,11 +434,11 @@
434 434
                     iu/h
435 435
                    </span>
436 436
                   </span>
437
-                
437
+
438 438
                 </div>
439 439
                 <div class="printCell" style="display:flex;justify-content: space-around;">
440 440
                   <span style="display: block;width: 50%;">处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}
441
-                    <span v-if="$store.getters.xt_user.org.id == 10278">ml</span> 
441
+                    <span v-if="$store.getters.xt_user.org.id == 10278">ml</span>
442 442
                     <span v-else>L</span>
443 443
                     </span>
444 444
                   <span style="display: block;width: 50%;">
@@ -5187,7 +5187,7 @@ export default {
5187 5187
         spinner: 'el-icon-loading',
5188 5188
         background: 'rgba(0, 0, 0, 0.7)'
5189 5189
        })
5190
-   
5190
+
5191 5191
        var params = {
5192 5192
          patient_id:this.patientInfo.id,
5193 5193
          record_date:this.record_date,

+ 3 - 2
src/xt_pages/outpatientDoctorStation/print.vue 파일 보기

@@ -18,7 +18,7 @@
18 18
 9675:测试
19 19
  -->
20 20
     <div class="dialysisPage" style="padding-top: 40px">
21
-      <div v-if="org_id != 10138 && org_id != 10278 && org_id != 10243">
21
+      <div v-if="org_id != 10138 && org_id != 10278 && org_id != 10243 && org_id != 0">
22 22
 
23 23
         <printOne v-if="org_id != 10088 && org_id != 10215" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :doctorPorject="doctorPorject" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
24 24
 
@@ -68,7 +68,7 @@
68 68
           :advicePrint="advicePrint"
69 69
           :ids="ids"
70 70
           :patient="patient"
71
-          :hisPatient="hisPatient"
71
+          :newHisPatient="newHisPatient"
72 72
           :doctorPorject="doctorPorject"
73 73
           :patient_id="patient_id"
74 74
           :record_date="record_date"
@@ -105,6 +105,7 @@ export default {
105 105
   },
106 106
   props: {
107 107
     paramsObj: Object,
108
+    newHisPatient:Object
108 109
   },
109 110
   data() {
110 111
     return {

+ 10 - 7
src/xt_pages/outpatientDoctorStation/template/printThree.vue 파일 보기

@@ -37,13 +37,14 @@
37 37
           </div>
38 38
           <div style="display: flex">
39 39
             <div style="width: 33%; display: flex">
40
-              费别:<span class="under_line"
41
-                ><span>{{
42
-                  faber && faber.transBody
43
-                    ? getName(faber.transBody.outputlist1)
44
-                    : "自费"
45
-                }}</span></span
46
-              >
40
+              费别:
41
+              <span class="under_line">
42
+                <span v-if="newHisPatient.id > 0">{{
43
+                    newHisPatient.balance_accounts_type == 1 ? '医保':'自费'
44
+                }}</span>
45
+                   <span v-else>{{
46
+                     }}</span>
47
+            </span>
47 48
             </div>
48 49
             <div style="width: 33%; display: flex">
49 50
               电脑号:<span class="under_line">{{
@@ -258,6 +259,7 @@ export default {
258 259
     prescription_id: Number,
259 260
     his_patient_id:Number,
260 261
     ids: String,
262
+    newHisPatient:Object,
261 263
   },
262 264
   data() {
263 265
     return {
@@ -269,6 +271,7 @@ export default {
269 271
       prescriptionInfo: [],
270 272
       doc_name: "",
271 273
       hisPatient: {},
274
+
272 275
       department: [],
273 276
       prescriptions: [],
274 277
       projectList: [],

+ 12 - 11
src/xt_pages/outpatientDoctorStation/treatPrint.vue 파일 보기

@@ -11,12 +11,12 @@
11 11
           >打印</el-button
12 12
         >
13 13
       </template> -->
14
-            
14
+
15 15
       <div class='dialysisPage' style="padding-top:40px;">
16 16
         <!-- 此下条为本地开发下页面 -->
17 17
         <!-- <printTwo v-if="org_id == 4" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printTwo> -->
18 18
         <printOne v-if="org_id != 10138 && org_id != 10278 && org_id !=4&& org_id !=0" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
19
-        <printTwo v-else v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printTwo>
19
+        <printTwo v-else v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id" :newHisPatient="newHisPatient"></printTwo>
20 20
       </div>
21 21
   </div>
22 22
 </template>
@@ -42,7 +42,8 @@ export default {
42 42
     printTwo
43 43
   },
44 44
   props:{
45
-    paramsObj:Object
45
+    paramsObj:Object,
46
+    newHisPatient:Object
46 47
   },
47 48
   data() {
48 49
     return {
@@ -78,7 +79,7 @@ export default {
78 79
             scanStyles: false
79 80
           });
80 81
         },500)
81
-        
82
+
82 83
       }else{
83 84
         const style =
84 85
         '@media print {#prescription-print{font-size:14px;}.prescription-print:last-child {page-break-after: auto;}.prescription-print{font-size: 14px;}.printTitle{font-size: 18px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:5px;padding:0 10px;}.infoTitle div{width: 300px;margin-bottom:5px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;}.prescriptionBox{padding:0 10px;min-height:380px;}.Rp{font-size: 22px;font-weight: bold;line-height:1px;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox p{line-height: 1px;padding-bottom:10px !important;} .drugsOne{line-height: 1px;margin-bottom:10px !important;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; padding:0 10px;margin:5px 0;} .actionBar div{width:150px;}}';
@@ -89,7 +90,7 @@ export default {
89 90
           scanStyles: false
90 91
         });
91 92
       }
92
-      
93
+
93 94
 
94 95
       // if (this.org_template_info.template_id == 1) {
95 96
       //   printJS({
@@ -104,10 +105,10 @@ export default {
104 105
       getAllDoctorList().then(response=>{
105 106
         if(response.data.state == 1){
106 107
                var doctor =  response.data.data.doctor
107
-               
108
+
108 109
                this.doctorList = doctor
109 110
              }
110
-         })   
111
+         })
111 112
      },
112 113
     getAllHisPatientList(){
113 114
          const params = {
@@ -133,7 +134,7 @@ export default {
133 134
             // console.log(this.patientTableData[0])
134 135
             // this.choosePatient(this.patientTableData[0])
135 136
             this.cal_one = cal_one
136
-            this.cal_two = cal_two   
137
+            this.cal_two = cal_two
137 138
          }
138 139
       })
139 140
     },
@@ -167,7 +168,7 @@ export default {
167 168
     searchAction(){
168 169
 
169 170
     }
170
-    
171
+
171 172
   },
172 173
 
173 174
   created() {
@@ -191,7 +192,7 @@ export default {
191 192
         var prescription_id = this.paramsObj.prescription_id
192 193
         this.prescription_id = prescription_id
193 194
         this.ids = this.paramsObj.ids
194
-        
195
+
195 196
       },
196 197
       deep:true
197 198
     }
@@ -364,7 +365,7 @@ export default {
364 365
   .dialysisPage::-webkit-scrollbar {
365 366
     height: 15px;
366 367
   }
367
-  
368
+
368 369
   .el-date-editor{
369 370
     .el-input__inner{
370 371
       padding-right:0px;

+ 9 - 5
src/xt_pages/outpatientDoctorStation/treatTemplate/printTwo.vue 파일 보기

@@ -34,11 +34,14 @@
34 34
       </div>
35 35
       <div style="display: flex">
36 36
         <div style="width: 33%; display: flex">
37
-          费别:<span class="under_line">{{
38
-            faber && faber.transBody
39
-              ? getName(faber.transBody.outputlist1)
40
-              : "自费"
41
-          }}</span>
37
+          费别:
38
+          <span class="under_line">
39
+                <span v-if="newHisPatient.id > 0">{{
40
+                    newHisPatient.balance_accounts_type == 1 ? '医保':'自费'
41
+                  }}</span>
42
+                   <span v-else>{{
43
+                     }}</span>
44
+            </span>
42 45
         </div>
43 46
         <div style="width: 33%; display: flex">
44 47
           电脑号:<span class="under_line">{{
@@ -325,6 +328,7 @@ export default {
325 328
     record_date: String,
326 329
     prescription_id: Number,
327 330
     ids: String,
331
+    newHisPatient:Object,
328 332
   },
329 333
   data() {
330 334
     return {