yq1 9 ヶ月 前
コミット
4832e252bb
共有3 個のファイルを変更した191 個の追加148 個の削除を含む
  1. 145 142
      src/xt_pages/dialysis/details/index.vue
  2. 45 5
      src/xt_pages/dialysis/dialysisPrintOrder.vue
  3. 1 1
      src/xt_pages/outpatientDoctorStation/template/printTenOne.vue

+ 145 - 142
src/xt_pages/dialysis/details/index.vue ファイルの表示

@@ -43,7 +43,7 @@
43 43
       element-loading-spinner="el-icon-loading"
44 44
       element-loading-background="rgba(0, 0, 0, 0.8)"
45 45
     >
46
-    <div class="patientBox" style="width:300px;padding-left:10px;position: relative;">
46
+    <div class="patientBox" style="width:300px;padding-left:10px;position: relative;" v-if="norefresh">
47 47
       <el-button
48 48
           style="position: absolute;right:0;top:2px;z-index:10"
49 49
           size="small"
@@ -863,127 +863,129 @@
863 863
     </div>
864 864
 
865 865
     <div style="width:75%" v-show="!showView">
866
-      <div style="margin-left:60px;color:#34495e">
867
-        <span>{{ patient.name }}({{ patient.dialysis_no }})</span>
868
-        <span v-if="newTime != ''">&nbsp;&nbsp;|&nbsp;&nbsp;</span>
869
-        <span v-if="newTime != ''">签到时间:{{ newTime }}</span>
870
-      </div>
871
-
872
-      <nav-igation
873
-        ref="nav"
874
-        title="弹窗导航"
875
-        @advice="adviceFunc"
876
-        :patient="patient"
877
-        :schedual="schedual"
878
-        :prescription="prescription"
879
-        :solution="solution"
880
-        :receiver_treatment_access="receiver_treatment_access"
881
-        :predialysis_evaluation="predialysis_evaluation"
882
-        :doctor_advices="doctor_advices"
883
-        :double_check="double_check"
884
-        :assessment_after_dislysis="assessment_after_dislysis"
885
-        :treatment_summary="treatment_summary"
886
-        :monitor_records="monitor_records"
887
-        :dialysis_order="dialysis_order"
888
-        :admin_users="admin_users"
889
-        :devices="devices"
890
-        :device_numbers="device_numbers"
891
-        :admin_user_map="admin_user_map"
892
-        :device_map="device_map"
893
-        :device_number_map="device_number_map"
894
-        :niprocart_info="niprocart_info"
895
-        :jms_info="jms_info"
896
-        :fistula_needle_set_info="fistula_needle_set_info"
897
-        :fistula_needle_set_16_info="fistula_needle_set_16_info"
898
-        :hemoperfusion_info="hemoperfusion_info"
899
-        :dialyser_sterilised_info="dialyser_sterilised_info"
900
-        :filtryzer_info="filtryzer_info"
901
-        :dialyzers_info="dialyzers_info"
902
-        :injector_info="injector_info"
903
-        :bloodlines_info="bloodlines_info"
904
-        :tubingHemodialysis_info="tubingHemodialysis_info"
905
-        :safe_package_info="safe_package_info"
906
-        :aliquid_info="aliquid_info"
907
-        :config="config"
908
-        :longAdvices="longAdvices"
909
-        :waitUploadAdvices="waitUploadAdvices"
910
-        :is_open="is_open"
911
-        :last_predialysis_evaluation="lastPredialysisEvaluation"
912
-        :last_monitor_record="lastMonitorRecord"
913
-        :last_assessment_after_dislysis="lastAssessmentAfterDislysis"
914
-        :last_dialysis_prescribe="lastDialysisPrescribe"
915
-        :last_dryWeight_dislysis="lastDryWeightDislysis"
916
-        :special_premission="headNurses"
917
-        @assessmentAfterDislysis="assessmentAfterDislysisFunc"
918
-        :system_prescribe="system_prescribe"
919
-        :his_is_open="his_is_open"
920
-        :is_advice_open="is_advice_open"
921
-        :lastAssessment="lastAssessment"
922
-        :stockType="stockType"
923
-        :his_doctor_advices="his_doctor_advices"
924
-        :lastOrder="lastOrder"
925
-        :dryWeightList="dryWeightList"
926
-        :docList="docList"
927
-
928
-      >
929
-      </nav-igation>
930
-
931
-      <basic-infor
932
-        :patient="patient"
933
-        :device_number="schedual.id == 0 ? '' : schedual.device_number.number"
934
-        :steps="steps"
935
-        title="基本信息"
936
-      ></basic-infor>
937
-
938
-      <dialysis-prescription
939
-        :prescription="prescription"
940
-        :solution="solution"
941
-        :device_map="device_map"
942
-        :preparestock="preparestock"
943
-        title="透析处方"
944
-      ></dialysis-prescription>
945
-
946
-    <!-- <past-data class="往期数据"></past-data> -->
947
-      <div style="height: 20px;background-color: #f6f8f9"></div>
948
-      <accepts-assessment
949
-        :record="receiver_treatment_access"
950
-        title="接诊评估"
951
-      ></accepts-assessment>
952
-
953
-      <assessment-before
954
-        :record="predialysis_evaluation"
955
-        ref="assessment_before"
956
-        title="透前评估"
957
-      ></assessment-before>
958
-
959
-      <stat-order
960
-        ref="stat_order"
961
-        :advices="doctor_advices"
962
-        :doctor_map="admin_user_map"
963
-        title="临时医嘱"
964
-      ></stat-order>
965
-
966
-      <double-check
967
-        ref="double_check"
968
-        :record="double_check"
969
-        :admin_map="admin_user_map"
970
-        title="双人核对 "
971
-      ></double-check>
972
-
973
-      <dialysis-computer
974
-        ref="dialysis_computer"
975
-        :record="dialysis_order"
976
-        :admin_map="admin_user_map"
977
-        :device_number_map="device_number_map"
978
-        title="透析上机 "
979
-      ></dialysis-computer>
866
+      <!-- <div v-if="Refresh"> -->
867
+        <div style="margin-left:60px;color:#34495e">
868
+          <span>{{ patient.name }}({{ patient.dialysis_no }})</span>
869
+          <span v-if="newTime != ''">&nbsp;&nbsp;|&nbsp;&nbsp;</span>
870
+          <span v-if="newTime != ''">签到时间:{{ newTime }}</span>
871
+        </div>
980 872
 
981
-      <dialysis-monitoring
982
-        ref="monitoring"
983
-        :monitores="monitor_records"
984
-        title="透析监测"
985
-      ></dialysis-monitoring>
873
+        <nav-igation
874
+          ref="nav"
875
+          title="弹窗导航"
876
+          @advice="adviceFunc"
877
+          :patient="patient"
878
+          :schedual="schedual"
879
+          :prescription="prescription"
880
+          :solution="solution"
881
+          :receiver_treatment_access="receiver_treatment_access"
882
+          :predialysis_evaluation="predialysis_evaluation"
883
+          :doctor_advices="doctor_advices"
884
+          :double_check="double_check"
885
+          :assessment_after_dislysis="assessment_after_dislysis"
886
+          :treatment_summary="treatment_summary"
887
+          :monitor_records="monitor_records"
888
+          :dialysis_order="dialysis_order"
889
+          :admin_users="admin_users"
890
+          :devices="devices"
891
+          :device_numbers="device_numbers"
892
+          :admin_user_map="admin_user_map"
893
+          :device_map="device_map"
894
+          :device_number_map="device_number_map"
895
+          :niprocart_info="niprocart_info"
896
+          :jms_info="jms_info"
897
+          :fistula_needle_set_info="fistula_needle_set_info"
898
+          :fistula_needle_set_16_info="fistula_needle_set_16_info"
899
+          :hemoperfusion_info="hemoperfusion_info"
900
+          :dialyser_sterilised_info="dialyser_sterilised_info"
901
+          :filtryzer_info="filtryzer_info"
902
+          :dialyzers_info="dialyzers_info"
903
+          :injector_info="injector_info"
904
+          :bloodlines_info="bloodlines_info"
905
+          :tubingHemodialysis_info="tubingHemodialysis_info"
906
+          :safe_package_info="safe_package_info"
907
+          :aliquid_info="aliquid_info"
908
+          :config="config"
909
+          :longAdvices="longAdvices"
910
+          :waitUploadAdvices="waitUploadAdvices"
911
+          :is_open="is_open"
912
+          :last_predialysis_evaluation="lastPredialysisEvaluation"
913
+          :last_monitor_record="lastMonitorRecord"
914
+          :last_assessment_after_dislysis="lastAssessmentAfterDislysis"
915
+          :last_dialysis_prescribe="lastDialysisPrescribe"
916
+          :last_dryWeight_dislysis="lastDryWeightDislysis"
917
+          :special_premission="headNurses"
918
+          @assessmentAfterDislysis="assessmentAfterDislysisFunc"
919
+          :system_prescribe="system_prescribe"
920
+          :his_is_open="his_is_open"
921
+          :is_advice_open="is_advice_open"
922
+          :lastAssessment="lastAssessment"
923
+          :stockType="stockType"
924
+          :his_doctor_advices="his_doctor_advices"
925
+          :lastOrder="lastOrder"
926
+          :dryWeightList="dryWeightList"
927
+          :docList="docList"
986 928
 
929
+        >
930
+        </nav-igation>
931
+
932
+        <basic-infor
933
+          :patient="patient"
934
+          :dialysis_date="dialysis_date"
935
+          :device_number="schedual.id == 0 ? '' : schedual.device_number.number"
936
+          :steps="steps"
937
+          title="基本信息"
938
+        ></basic-infor>
939
+
940
+        <dialysis-prescription
941
+          :prescription="prescription"
942
+          :solution="solution"
943
+          :device_map="device_map"
944
+          :preparestock="preparestock"
945
+          title="透析处方"
946
+        ></dialysis-prescription>
947
+
948
+        <!-- <past-data class="往期数据"></past-data> -->
949
+        <div style="height: 20px;background-color: #f6f8f9"></div>
950
+        <accepts-assessment
951
+          :record="receiver_treatment_access"
952
+          title="接诊评估"
953
+        ></accepts-assessment>
954
+
955
+        <assessment-before
956
+          :record="predialysis_evaluation"
957
+          ref="assessment_before"
958
+          title="透前评估"
959
+        ></assessment-before>
960
+
961
+        <stat-order
962
+          ref="stat_order"
963
+          :advices="doctor_advices"
964
+          :doctor_map="admin_user_map"
965
+          title="临时医嘱"
966
+        ></stat-order>
967
+
968
+        <double-check
969
+          ref="double_check"
970
+          :record="double_check"
971
+          :admin_map="admin_user_map"
972
+          title="双人核对 "
973
+        ></double-check>
974
+
975
+        <dialysis-computer
976
+          ref="dialysis_computer"
977
+          :record="dialysis_order"
978
+          :admin_map="admin_user_map"
979
+          :device_number_map="device_number_map"
980
+          title="透析上机 "
981
+        ></dialysis-computer>
982
+
983
+        <dialysis-monitoring
984
+          ref="monitoring"
985
+          :monitores="monitor_records"
986
+          title="透析监测"
987
+        ></dialysis-monitoring>
988
+      <!-- </div> -->
987 989
       <el-dialog
988 990
         title="长期医嘱单"
989 991
         :visible.sync="dialogFormVisible"
@@ -1172,7 +1174,7 @@
1172 1174
         :record="treatment_summary"
1173 1175
         title="治疗小结"
1174 1176
       ></treatment-of>
1175
-      </div>
1177
+    </div>
1176 1178
     <div v-if="showView" style="text-align:center;margin: 0 auto;font-size:20px;">
1177 1179
       <p style="margin-top:20px;">当前叫号</p>
1178 1180
       <p style="margin-top:20px;">{{ $route.query.patient_name ? $route.query.patient_name : ""}}</p>
@@ -1336,7 +1338,6 @@ export default {
1336 1338
       newTime: '',
1337 1339
       scheudle_mode:"",
1338 1340
 
1339
-
1340 1341
       showView:false,
1341 1342
       curPatient:{},
1342 1343
 
@@ -1355,6 +1356,9 @@ export default {
1355 1356
       dryWeightList:[],
1356 1357
       docList:[],
1357 1358
       blood_access_part_opera: [],
1359
+      Dialysis_patient:'',
1360
+      Refresh:true,
1361
+      norefresh:true,
1358 1362
     }
1359 1363
   },
1360 1364
   created() {
@@ -1405,8 +1409,6 @@ export default {
1405 1409
     this.getInitData()
1406 1410
 
1407 1411
     this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
1408
-
1409
-
1410 1412
   },
1411 1413
   beforeMount() {
1412 1414
     if (this.websocket) {
@@ -1602,6 +1604,7 @@ export default {
1602 1604
       getLongAdviceTwo(params).then(rs => {
1603 1605
         var resp = rs.data
1604 1606
         if (resp.state == 1) {
1607
+          console.log('vbnvnffvvvv',resp);
1605 1608
           var status = parseInt(resp.data.status)
1606 1609
           switch (status) {
1607 1610
             case 2:
@@ -2079,8 +2082,7 @@ export default {
2079 2082
             newArr.push(...item.schedules)
2080 2083
           })
2081 2084
 
2082
-
2083
-          console.log("newArrwowowowowoowwowo",newArr)
2085
+          // console.log("newArrwowowowowoowwowo",newArr)
2084 2086
           this.tableData = newArr
2085 2087
           this.getData()
2086 2088
 
@@ -2090,22 +2092,23 @@ export default {
2090 2092
       })
2091 2093
     },
2092 2094
     changePatient(schedual) {
2093
-      this.patient_id = schedual.patient_id
2094
-      this.date = schedual.schedule_date
2095
-      // this.getScheduleDetail();
2096
-      this.getLongAdvice();
2097
-
2098
-      var patient_id = schedual.patient_id
2099
-      var date = schedual.schedule_date
2100
-      this.$router.push({
2101
-        path: '/dialysis/details',
2102
-        query: {
2103
-          patient_id: patient_id,
2104
-          date: date,
2105
-          patient_name: schedual.patient.name,
2106
-          mode_id:schedual.mode_id
2107
-        }
2108
-      })
2095
+        this.patient_id = schedual.patient_id
2096
+        this.date = schedual.schedule_date
2097
+         this.getScheduleDetail();
2098
+        console.log('schedual',schedual);
2099
+        this.getLongAdvice();
2100
+
2101
+        // var patient_id = schedual.patient_id
2102
+        // var date = schedual.schedule_date
2103
+        // this.$router.push({
2104
+        //   path: '/dialysis/details',
2105
+        //   query: {
2106
+        //     patient_id: patient_id,
2107
+        //     date: date,
2108
+        //     patient_name: schedual.patient.name,
2109
+        //     mode_id:schedual.mode_id
2110
+        //   }
2111
+        // })
2109 2112
     },
2110 2113
     handleClick(type) {
2111 2114
       sessionStorage.setItem('nameActive', type.name);

+ 45 - 5
src/xt_pages/dialysis/dialysisPrintOrder.vue ファイルの表示

@@ -1,7 +1,18 @@
1 1
 <template>
2 2
   <div class="main-contain">
3 3
     <div class="position">
4
-      <bread-crumb :crumbs="crumbs"></bread-crumb>
4
+      <bread-crumb :crumbs="crumbs" style="flex: 2;"></bread-crumb>
5
+      <template>
6
+          <div style="margin-right: 10px;">
7
+            <el-button
8
+            :loading="loading"
9
+            size="small"
10
+            @click="fanhui"
11
+            type="primary"
12
+            >返回</el-button>
13
+          </div>
14
+      </template>
15
+
5 16
       <template v-if="org_template_info.template_id == 1">
6 17
         <el-button
7 18
           :loading="loading"
@@ -1356,7 +1367,6 @@
1356 1367
             v-bind:childResponse="childResponse"
1357 1368
             v-if="org_template_info.template_id == 70"
1358 1369
           >
1359
-
1360 1370
           </DialysisPrintOrderSeventy>
1361 1371
           <DialysisPrintOrderseventyone
1362 1372
             v-bind:childResponse="childResponse"
@@ -1662,9 +1672,23 @@ export default {
1662 1672
       scheduleStateVal: 0,
1663 1673
       zone_options: [{ id: 0, text: "全部" }],
1664 1674
       zoneVal: 0,
1675
+      x_tdate:'',
1665 1676
     };
1666 1677
   },
1667 1678
   methods: {
1679
+    //返回
1680
+    fanhui(){
1681
+      this.$router.push({
1682
+        path: "/dialysis/details",
1683
+        query: {
1684
+          patient_id: this.patient_id,
1685
+          date: this.date,
1686
+          patient_name: this.patient_name,
1687
+          mode_id: this.mode_id,
1688
+        },
1689
+      });
1690
+      // window.history.back()
1691
+    },
1668 1692
     getAdminUser(id) {
1669 1693
       if (id == 0) {
1670 1694
         return "";
@@ -2189,7 +2213,7 @@ export default {
2189 2213
         });
2190 2214
 
2191 2215
       }
2192
-     
2216
+
2193 2217
     },
2194 2218
     printThisOnePage() {
2195 2219
       var ptime = Math.round(new Date().getTime() / 1000);
@@ -2385,8 +2409,14 @@ export default {
2385 2409
       getDialysisRecord(this.queryParams).then((response) => {
2386 2410
         if (response.data.state == 1) {
2387 2411
           this.childResponse = response;
2412
+           this.mode_id= response.data.data.patientInfo.DialysisSchedule.mode_id
2413
+          this.date = response.data.data.patientInfo.DialysisSchedule.schedule_date
2414
+          this.patient_id = response.data.data.patientInfo.DialysisSchedule.patient_id
2415
+          this.patient_name = response.data.data.patientInfo.name
2416
+          console.log('kkkkkkk222222',this.org_template_info);
2388 2417
           // console.log('this.org_template_info是数据',response.data.data.org_template_info.template_id);
2389 2418
           this.org_template_info = response.data.data.org_template_info;
2419
+           this.org_template_info.template_id= response.data.data.org_template_info.template_id
2390 2420
           this.loading = false;
2391 2421
           //   this.adminUser = response.data.data.users
2392 2422
           //   this.users = response.data.data.users
@@ -2812,14 +2842,24 @@ export default {
2812 2842
       });
2813 2843
     },
2814 2844
     changePatient(schedual) {
2815
-      // console.log(schedual);
2845
+      console.log('schedual',schedual);
2816 2846
       var xtdate = parseTime(schedual.schedule_date, "{y}-{m}-{d}");
2847
+      console.log('fffff',this.org_template_info.template_id);
2848
+      this.x_tdate=xtdate
2849
+    
2850
+      // this.queryParams.xtdate = xtdate;
2851
+      // this.queryParams.xtno = schedual.patient.dialysis_no;
2852
+      // this.queryParams.patient_id = schedual.patient.id
2853
+      // this.getDialysisRecord()
2854
+      // console.log('');
2855
+
2817 2856
       this.$router.push(
2818 2857
         "/dialysis/print?xtdate=" +
2819 2858
           xtdate +
2820 2859
           "&xtno=" +
2821 2860
           schedual.patient.dialysis_no+"&patient_id="+schedual.patient.id
2822 2861
       );
2862
+
2823 2863
       //   this.patient_id = schedual.patient_id;
2824 2864
       //   this.date = schedual.schedule_date;
2825 2865
       //   // this.getScheduleDetail();
@@ -3033,7 +3073,6 @@ export default {
3033 3073
     },
3034 3074
   },
3035 3075
   created() {
3036
-    // console.log("hhahahhahahahah=======",this.org_template_info.template_id)
3037 3076
     // console.log("this.$store.getters.xt_user.org.id",this.$store.getters.xt_user.org.id)
3038 3077
     var schedule_type_selected = this.$store.getters.schedule_type_selected;
3039 3078
     var zone_selected = this.$store.getters.zone_selected;
@@ -3097,6 +3136,7 @@ export default {
3097 3136
       this.queryParams.xtdate = xtdate;
3098 3137
       this.queryParams.xtno = xtno;
3099 3138
       this.queryParams.patient_id = patient_id
3139
+      console.log('wwwwww121212',this.org_template_info.template_id);
3100 3140
       this.getDialysisRecord();
3101 3141
     } else {
3102 3142
       this.$message.error("参数不齐");

+ 1 - 1
src/xt_pages/outpatientDoctorStation/template/printTenOne.vue ファイルの表示

@@ -151,7 +151,7 @@
151 151
               srcset=""
152 152
             />
153 153
           </p>
154
-          <p style="line-height: 50px;" v-if="org_id==10217||org_id==0">打印日期:{{ getTime(new Date()) ? getTime(new Date()) : "" }}</p>
154
+          <p style="line-height: 50px;" v-if="org_id==10217||org_id==0">打印日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>
155 155
         </div>
156 156
         <div class="actionBar">
157 157
           <p >审核、调配:</p>