Browse Source

新分支

28169 1 year ago
parent
commit
2f906a495c

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_thirteen.vue View File

@@ -438,9 +438,9 @@
438 438
                 <div class="row">
439 439
                   上机医生
440 440
                   <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
441
-                    <span v-if="setAdminUserES(record.prescription, 'prescription_doctor') == ''">{{getAdminUser(record.prescription, 'prescription_doctor')}}</span>
441
+                    <span v-if="setAdminUserES(record.prescription, 'creater') == ''">{{getAdminUser(record.prescription, 'creater')}}</span>
442 442
                     <span v-else>
443
-                      <img class="es-img" style="height:30px;" :src="setAdminUserES(record.prescription, 'prescription_doctor')" />
443
+                      <img class="es-img" style="height:30px;" :src="setAdminUserES(record.prescription, 'creater')" />
444 444
                     </span>
445 445
                   </div>
446 446
                   冲管护士

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

@@ -458,11 +458,25 @@ export default {
458 458
     },
459 459
     show(accepts) {
460 460
       console.log("accepts333333", accepts);
461
+    
462
+      console.log("入库时方式",this.way_arr)
463
+     
464
+      console.log("体委",this.posture_arr)
461 465
       if (accepts.id > 0) {
462 466
         accepts.tumble = accepts.tumble.toString();
467
+      }else{
468
+        console.log("hh2h3h2h3h32h23h23h32h23h")
469
+        // this.receiveTreatmentAsses.way = "1"
470
+        // this.receiveTreatmentAsses.posture ="1"
471
+        // this.receiveTreatmentAsses.condition = "2"
472
+
473
+        accepts.way =1
474
+        accepts.posture=1
475
+        accepts.condition =2
476
+
463 477
       }
464 478
       this.accepts = accepts;
465
-      // console.log("accepts", accepts);
479
+     console.log("accepts", accepts);
466 480
       // var arr = [];
467 481
       // if (this.accepts.precaution) {
468 482
       //   var precaution = this.accepts.precaution.split(",");

+ 2 - 2
src/xt_pages/dialysis/dialysisFlow.vue View File

@@ -568,10 +568,10 @@
568 568
         });
569 569
       },
570 570
       clickCurrent(val) {
571
-        console.log(val);
571
+        console.log("val23323223",val);
572 572
         this.$router.push({
573 573
           path: "/dialysis/details",
574
-          query: { patient_id: val.patient_id, date: val.sch_time_int,mode_id:val.mode_id }
574
+          query: { patient_id: val.patient_id, date: val.schedule_date,mode_id:val.mode_id }
575 575
         });
576 576
       },
577 577
       handleSelectionChange(val) {

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

@@ -351,8 +351,8 @@
351 351
         <div class="row">
352 352
           上机医生
353 353
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
354
-            <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
355
-            <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
354
+            <span v-if="setAdminUserES(prescription==null?0:(prescription.creater?prescription.creater:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.creater?prescription.creater:'')) }} </span>
355
+            <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.creater?prescription.creater:''))" alt="" srcset="" v-else />
356 356
           </div>
357 357
           冲管护士
358 358
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">

+ 3 - 0
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

@@ -2416,6 +2416,7 @@ export default {
2416 2416
                   this.$emit('editKeepLoad', false)
2417 2417
                   return
2418 2418
                 }
2419
+                console.log("2o23o23o23o2o23",this.prescriptions[i].advices[b])
2419 2420
                 if(this.prescriptions[i].advices[b].day == NaN){
2420 2421
                   this.$message.error(`处方${i+1}的${this.prescriptions[i].advices[b].drug_name}天数未填写`)
2421 2422
                   this.$emit('editKeepLoad', false)
@@ -2426,6 +2427,8 @@ export default {
2426 2427
                   this.$emit('editKeepLoad', false)
2427 2428
                   return
2428 2429
                 }
2430
+          
2431
+
2429 2432
                 if(this.prescriptions[i].advices[b].prescribing_number == ""){
2430 2433
                   this.$message.error(`处方${i+1}的${this.prescriptions[i].advices[b].drug_name}总量未填写`)
2431 2434
                   this.$emit('editKeepLoad', false)

+ 2 - 0
src/xt_pages/outpatientTool/components/settle.vue View File

@@ -93,6 +93,8 @@
93 93
               <template slot-scope="scope">
94 94
                   <div v-if="scope.row.med_type == '14'">门诊特殊病</div>
95 95
                   <div v-if="scope.row.med_type == '11'">普通门诊</div>
96
+                  <div v-if="scope.row.med_type == '1112'">普通门诊</div>
97
+                
96 98
               </template>
97 99
           </el-table-column>
98 100
           <el-table-column align="center" prop="item_name" label="医疗费总额">

+ 48 - 4
src/xt_pages/user/components/PatientDetail.vue View File

@@ -347,6 +347,39 @@
347 347
                 </el-radio-group>
348 348
               </el-form-item>
349 349
             </el-col>
350
+
351
+            <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
352
+                <el-form-item
353
+                  label="患者去向 : "
354
+                >
355
+                  <el-radio-group v-model="form.patient_source">
356
+                    <el-radio
357
+                     disabled
358
+                      v-for="item in patientSourceList"
359
+                      :key="item.value"
360
+                      :label="item.value"
361
+                      :value="item.value"
362
+                      >{{ item.label }}</el-radio
363
+                    >
364
+                  </el-radio-group>
365
+                </el-form-item>
366
+              </el-col>
367
+
368
+                <el-col :span="8" style="margin-bottom: 20px;">
369
+                <el-form-item
370
+                  label="备注 : "
371
+                  prop="sch_remark">
372
+                  <el-input
373
+                   disabled
374
+                    type="textarea"
375
+                    :rows="3"
376
+                    v-model="form.sch_remark"
377
+                    resize="none"
378
+                    placeholder
379
+                  ></el-input>
380
+                </el-form-item>
381
+              </el-col>
382
+
350 383
             <el-col :span="8" style="height: 59px">
351 384
               <el-form-item
352 385
                 label="治疗状态(转归) : "
@@ -1027,7 +1060,8 @@
1027 1060
                 </tr>
1028 1061
                 <tr>
1029 1062
                   <td>
1030
-                    <div class="td_proj_title">传<br />染<br />病</div>
1063
+                    <div class="td_proj_title" v-if="org_id !=10278 && org_id!=10138 && org_id!=0">传<br />染<br />病</div>
1064
+                    <div class="td_proj_title" v-if="org_id==10138 || org_id == 10278 || org_id == 0">过<br />敏<br />史</div>
1031 1065
                   </td>
1032 1066
                   <td colspan="7">
1033 1067
                     <div class="td_proj_content td_align_left">
@@ -1093,7 +1127,7 @@
1093 1127
               <div class="proj">
1094 1128
                 <span class="proj_title">日期:</span>
1095 1129
                 <!-- {{ getTime(patientPrint.created_time) }} -->
1096
-                <span v-if="org_id == 3907 || org_id == 9671|| org_id == 10138|| org_id == 9675 || org_id == 10394">{{
1130
+                <span v-if="org_id == 3907 || org_id == 9671|| org_id == 9675 || org_id == 10394">{{
1097 1131
                   getTime(patientPrint.created_time)
1098 1132
                 }}</span>
1099 1133
                 <span v-else>{{ printDate }}</span>
@@ -1237,6 +1271,7 @@ const defaultForm = {
1237 1271
   treatment_plan: "",
1238 1272
   doctor:"",
1239 1273
   record_number:"",
1274
+  patient_source:"",
1240 1275
 };
1241 1276
 
1242 1277
 export default {
@@ -1254,7 +1289,12 @@ export default {
1254 1289
         { id: 6, name: "军队医疗" },
1255 1290
         { id: 7, name: "其他" },
1256 1291
       ],
1257
-
1292
+      patientSourceList:[
1293
+        {value:1,label:"门诊"},
1294
+        {value:2,label:"住院"},
1295
+        {value:3,label:"请假"},
1296
+        {value:4,label:"备注"}
1297
+      ],
1258 1298
       generic_info_fold: true,
1259 1299
       treat_info_fold: true,
1260 1300
       dialogFormVisible: false,
@@ -1573,6 +1613,8 @@ export default {
1573 1613
               patietInfo.first_treatment_date,
1574 1614
               "{y}-{m}-{d}"
1575 1615
             );
1616
+            
1617
+            this.form.patient_source = patietInfo.patient_source
1576 1618
 
1577 1619
             // this.form.initial = patietInfo.initial_dialysis + "";
1578 1620
             // this.form.dialysisTotal = patietInfo.total_dialysis + "";
@@ -1861,7 +1903,7 @@ export default {
1861 1903
               }
1862 1904
               this.patientPrint.contagions = printContagions.join("、");
1863 1905
             } else {
1864
-              this.patientPrint.contagions = "";
1906
+              this.patientPrint.contagions = "阴性";
1865 1907
             }
1866 1908
 
1867 1909
             if (diseasesArr.length > 0) {
@@ -1907,6 +1949,8 @@ export default {
1907 1949
               this.patientPrint.hospital_first_dialysis_date = "";
1908 1950
             }
1909 1951
 
1952
+          
1953
+
1910 1954
             this.checkIdCardNo();
1911 1955
           } else {
1912 1956
             console.log("patient get err state");

+ 49 - 1
src/xt_pages/user/components/PatientForm.vue View File

@@ -394,7 +394,23 @@
394 394
                 </el-form-item>
395 395
               </el-col>
396 396
 
397
-              <el-col :span="8" style="margin-bottom: 20px;">
397
+              <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
398
+                <el-form-item
399
+                  label="患者去向 : "
400
+                >
401
+                  <el-radio-group v-model="form.patient_source">
402
+                    <el-radio
403
+                      v-for="item in patientSourceList"
404
+                      :key="item.value"
405
+                      :label="item.value"
406
+                      :value="item.value"
407
+                      >{{ item.label }}</el-radio
408
+                    >
409
+                  </el-radio-group>
410
+                </el-form-item>
411
+              </el-col>
412
+
413
+              <el-col :span="8" style="margin-bottom: 20px;" :style="isEdit ? 'width:360px' : ''">
398 414
                 <el-form-item
399 415
                   label="备注 : "
400 416
                   prop="sch_remark">
@@ -1061,6 +1077,7 @@ const defaultForm = {
1061 1077
   troble_shoot:2,
1062 1078
   zb_patient_id:"",
1063 1079
   doctor:"",
1080
+  patient_source:0,
1064 1081
   formItem: [
1065 1082
     {
1066 1083
       id: 0,
@@ -1307,6 +1324,12 @@ export default {
1307 1324
       // typeOptions: null,
1308 1325
       // styleOptions: null,
1309 1326
       sourceOptions: [{ value: 1, label: "门诊" }, { value: 2, label: "住院" }],
1327
+      patientSourceList:[
1328
+        {value:1,label:"门诊"},
1329
+        {value:2,label:"住院"},
1330
+        {value:3,label:"请假"},
1331
+        {value:4,label:"备注"}
1332
+      ],
1310 1333
       lapsetoOptions: [
1311 1334
         { value: 1, label: "留治" },
1312 1335
         { value: 2, label: "转出" }
@@ -1541,6 +1564,18 @@ export default {
1541 1564
             this.form.user_sys_before_count = this.form.user_sys_before_count.toString();
1542 1565
             this.form.troble_shoot = parseInt(this.form.troble_shoot)
1543 1566
             this.form.doctor = parseInt(this.form.doctor)
1567
+            if(this.form.patient_source >0){
1568
+              this.form.patient_source = parseInt(this.form.patient_source)
1569
+            }else{
1570
+              this.form.patient_source = 4
1571
+            }
1572
+
1573
+            if(this.form.patient_source == "NaN"){
1574
+              this.form.patient_source = 4
1575
+            }
1576
+            
1577
+          
1578
+            
1544 1579
             if(this.form.avatar.indexOf('?imageView2/2/w/500/h/500/q/90')!=-1){
1545 1580
                this.form.avatar = this.form.avatar
1546 1581
             }else{
@@ -1580,6 +1615,15 @@ export default {
1580 1615
             this.form.age = parseInt(this.form.age);
1581 1616
             this.form.troble_shoot = parseInt(this.form.troble_shoot)
1582 1617
             this.form.doctor = parseInt(this.form.doctor)
1618
+            if(this.form.patient_source >0){
1619
+              this.form.patient_source = parseInt(this.form.patient_source)
1620
+            }else{
1621
+              this.form.patient_source = 4
1622
+            }
1623
+
1624
+            if(this.form.patient_source == "NaN"){
1625
+              this.form.patient_source = 4
1626
+            }
1583 1627
             console.log("form233322332w",this.form)
1584 1628
 
1585 1629
             createPatient(this.form)
@@ -1911,6 +1955,10 @@ export default {
1911 1955
             if(this.form.doctor == 0){
1912 1956
               this.form.doctor = ""
1913 1957
             }
1958
+
1959
+         
1960
+            this.form.patient_source = patietInfo.patient_source
1961
+            
1914 1962
             this.checkIdCardNo();
1915 1963
           } else {
1916 1964
             this.$notify.error({

+ 1 - 1
src/xt_pages/user/courseOfDisease.vue View File

@@ -852,7 +852,7 @@
852 852
         '-' +
853 853
         (nowDay < 10 ? '0' + nowDay : nowDay)
854 854
       nowDate.setMonth(nowDate.getMonth() - 1)
855
-      nowYear = nowDate.getFullYear()
855
+      nowYear = nowDate.getFullYear() -1
856 856
       nowMonth = nowDate.getMonth() + 1
857 857
       nowDay = nowDate.getDate()
858 858
       this.start_time =

+ 3 - 2
src/xt_pages/user/firstDisease.vue View File

@@ -674,12 +674,13 @@
674 674
        tableList:[],
675 675
        projectList:[],
676 676
        inspectionList:[],
677
+       org_id:0
677 678
       }
678 679
     },
679 680
     created() {
680 681
 
681 682
       this.patient_id = this.$route.params && this.$route.params.id
682
-
683
+      
683 684
 
684 685
       var now = new Date()
685 686
       this.date = [now.getTime() - (7 * 24 * 60 * 60 * 1000), now.getTime()]
@@ -696,7 +697,7 @@
696 697
         '-' +
697 698
         (nowDay < 10 ? '0' + nowDay : nowDay)
698 699
       nowDate.setMonth(nowDate.getMonth() - 1)
699
-      nowYear = nowDate.getFullYear()
700
+      nowYear = nowDate.getFullYear()-1
700 701
       nowMonth = nowDate.getMonth() + 1
701 702
       nowDay = nowDate.getDate()
702 703
       this.start_time =

+ 1 - 1
src/xt_pages/user/hospitalSummary.vue View File

@@ -633,7 +633,7 @@
633 633
         '-' +
634 634
         (nowDay < 10 ? '0' + nowDay : nowDay)
635 635
       nowDate.setMonth(nowDate.getMonth() - 1)
636
-      nowYear = nowDate.getFullYear()
636
+      nowYear = nowDate.getFullYear()-1
637 637
       nowMonth = nowDate.getMonth() + 1
638 638
       nowDay = nowDate.getDate()
639 639
       this.start_time =

+ 31 - 2
src/xt_pages/user/patients.vue View File

@@ -253,6 +253,21 @@
253 253
           </ul>
254 254
         </div>
255 255
       </div>
256
+      <div class="cell clearfix">
257
+        <label class="title"><span class="name">患者去向</span> : </label>
258
+        <div class="time ">
259
+          <ul class="">
260
+            <li
261
+              :class="item.source == patientSoureType ? 'active' : ''"
262
+              @click="selectPatientSource(item.source)"
263
+              v-for="item in patientSourceList"
264
+              :key="item.value"
265
+            >
266
+              {{ item.label }}
267
+            </li>
268
+          </ul>
269
+        </div>
270
+      </div>
256 271
       <div class="cell clearfix">
257 272
         <label class="title"><span class="name">其它查询</span> : </label>
258 273
         <el-select
@@ -686,6 +701,7 @@
686 701
           { value: 2, label: '未绑定' }
687 702
         ],
688 703
         sourceType: 0,
704
+        patientSoureType:0,
689 705
         sourceID: 0,
690 706
         lapsetoType: 1,
691 707
         sourceArr: [
@@ -695,6 +711,13 @@
695 711
           { value: 3, label: '门诊', source: 1, lapseto: 1 },
696 712
           { value: 4, label: '住院', source: 2, lapseto: 1 }
697 713
         ],
714
+        patientSourceList:[
715
+          {value:0,label:"全部",source:0,lapeseto:0},
716
+          {value:1,label:"门诊",source:1,lapeseto:1},
717
+          {value:2,label:"住院",source:2,lapeseto:2},
718
+          {value:3,label:"请假",source:3,lapeseto:3},
719
+          {value:4,label:"备注",source:4,lapeseto:4}
720
+       ],
698 721
         lapsetoArr: [
699 722
           { value: 0, label: '全部', source: 0, lapseto: 0 },
700 723
           { value: 1, label: '转出', source: 0, lapseto: 2 },
@@ -744,7 +767,8 @@
744 767
           contagion: '',
745 768
           reimbursement_way: '',
746 769
           isscheduling: '',
747
-          isprescription: ''
770
+          isprescription: '',
771
+          patientSoureType:'',
748 772
         },
749 773
         multipleSelection: [],
750 774
         bindWechatDialog: false,
@@ -1316,6 +1340,11 @@
1316 1340
         this.listQuery.source = source
1317 1341
         this.getList()
1318 1342
       },
1343
+      selectPatientSource(source){
1344
+        this.patientSoureType = source
1345
+        this.listQuery.patientSoureType = source
1346
+        this.getList()
1347
+      },
1319 1348
       changeTimeOne(val) {
1320 1349
         var time = this.getTimestamp(val) - this.end_time
1321 1350
         if (time > 0) {
@@ -1349,7 +1378,7 @@
1349 1378
         this.getList()
1350 1379
       },
1351 1380
       getList() {
1352
-
1381
+         console.log("query23323223wo",this.listQuery)
1353 1382
         fetchList(this.listQuery).then(response => {
1354 1383
           if (response.data.state === 0) {
1355 1384
             this.$message.error(response.data.msg)

+ 1 - 1
src/xt_pages/user/rescueRecord.vue View File

@@ -209,7 +209,7 @@ export default {
209 209
       "-" +
210 210
       (nowDay < 10 ? "0" + nowDay : nowDay);
211 211
     nowDate.setMonth(nowDate.getMonth() - 1);
212
-    nowYear = nowDate.getFullYear();
212
+    nowYear = nowDate.getFullYear()-1;
213 213
     nowMonth = nowDate.getMonth() + 1;
214 214
     nowDay = nowDate.getDate();
215 215
     this.start_time =

+ 1 - 1
src/xt_pages/user/templateSummary.vue View File

@@ -987,7 +987,7 @@
987 987
         '-' +
988 988
         (nowDay < 10 ? '0' + nowDay : nowDay)
989 989
       nowDate.setMonth(nowDate.getMonth() - 1)
990
-      nowYear = nowDate.getFullYear()
990
+      nowYear = nowDate.getFullYear()-1
991 991
       nowMonth = nowDate.getMonth() + 1
992 992
       nowDay = nowDate.getDate()
993 993
       this.start_time =