Pārlūkot izejas kodu

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

陈少旭 9 mēnešus atpakaļ
vecāks
revīzija
38e40596b3

+ 7 - 0
src/api/inspection.js Parādīt failu

@@ -105,7 +105,14 @@ export function getNewInspectionList(params){
105 105
   })
106 106
 }
107 107
 
108
+export function getNewInspectionDetailList(params){
108 109
 
110
+  return request({
111
+    url:"/api/getnewinspectiondetaillist",
112
+    method:"Get",
113
+    params:params,
114
+  })
115
+}
109 116
 
110 117
 
111 118
 

+ 0 - 1
src/router/modules/Dialysisanalysis.js Parādīt failu

@@ -42,7 +42,6 @@ export default {
42 42
     //   }
43 43
     // },
44 44
 
45
-
46 45
     {//透析总量分析
47 46
       path: '/Dialysisanalysis/qualitycontrol/new_otherIndicators/Total_analysis',
48 47
       component: () => import('@/xt_pages/Dialysisanalysis/new_otherIndicators/components/Total_analysis'),

+ 14 - 6
src/xt_pages/dialysis/batch_print/batch_print_order_seventytwo.vue Parādīt failu

@@ -1191,6 +1191,7 @@
1191 1191
                           <div style="flex: 0.9;border-right: 1px solid black;">超滤量<br/>(ml)</div>
1192 1192
                           <div style="flex: 1;border-right: 1px solid black;" v-if="record.prescription.mode_id == 2">置换液流量<br/>(ml/h)</div>
1193 1193
                           <div style="flex: 1.2;border-right: 1px solid black;" v-if="record.prescription.anticoagulant == 7 && record.prescription.anticoagulant != ''">肝素剩余量度(ml)</div>
1194
+                          <div style="flex: 1;border-right: 1px solid black;">透析液温度°C</div>
1194 1195
                           <div style="flex: 2;">病情变化及处理</div>
1195 1196
                         </div>
1196 1197
                     </div>
@@ -1226,8 +1227,9 @@
1226 1227
                       <div style="flex: 1;border-right: 1px solid black;" v-if="record.prescription.mode_id == 2">
1227 1228
                         {{ monitor_record.displacement_flow_quantity ? monitor_record.displacement_flow_quantity : "" }}
1228 1229
                       </div>
1229
-                      <div style="flex: 1.2;border-right: 1px solid black;" v-if="record.prescription.anticoagulant == 7 && record.prescription.anticoagulant != ''">
1230
-
1230
+                      <div style="flex: 1.2;border-right: 1px solid black;" v-if="record.prescription.anticoagulant == 7 && record.prescription.anticoagulant != ''"> </div>
1231
+                      <div style="flex: 1;border-right: 1px solid black;">
1232
+                        {{ monitor_record.dialysate_temperature ? monitor_record.dialysate_temperature :'' }}
1231 1233
                       </div>
1232 1234
                       <div style="flex: 2;">
1233 1235
                         <div style="min-height: 35px;
@@ -1600,8 +1602,7 @@
1600 1602
                 </tr>
1601 1603
                 <tr>
1602 1604
                   <td>
1603
-                    <div
1604
-                      class="row"
1605
+                    <div class="row"
1605 1606
                       style="padding: 2px 0; line-height: 23px; display: flex"
1606 1607
                     >
1607 1608
                       <div class="inline_block" style="flex: 1">
@@ -1859,8 +1860,7 @@
1859 1860
                         </div>
1860 1861
                       </div>
1861 1862
                     </div>
1862
-                    <div
1863
-                      class="row"
1863
+                    <div class="row"
1864 1864
                       style="padding: 2px 0; line-height: 23px; display: flex"
1865 1865
                     >
1866 1866
                       <div class="inline_block" style="flex: 1"
@@ -1900,6 +1900,14 @@
1900 1900
                           {{ getpatientgose(record.assessment_after_dislysis.patient_gose) }}
1901 1901
                         </div>
1902 1902
                       </div>
1903
+                      <div class="inline_block" style="flex: 1">
1904
+                        KT/V:
1905
+                        <div class="under_line"
1906
+                          style="width: 150px; text-align: center"
1907
+                        >
1908
+                            {{ record.assessment_after_dislysis.ktv ? record.assessment_after_dislysis.ktv : "/" }}
1909
+                        </div>
1910
+                      </div>
1903 1911
                     </div>
1904 1912
 
1905 1913
                     <div

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight.vue Parādīt failu

@@ -2371,7 +2371,7 @@
2371 2371
                       >
2372 2372
 
2373 2373
                         <span v-if="org_id!=10460 && org_id!=10551">
2374
-                          透析中入量  (L)
2374
+                          透析中入量:
2375 2375
                         </span>
2376 2376
                         <span v-if="org_id==10460 || org_id ==10551">
2377 2377
                           透析中入量  (ml):

+ 4 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Parādīt failu

@@ -3195,10 +3195,13 @@ mu
3195 3195
         if(moment().weekday() == 0){
3196 3196
            total_day ="周日"
3197 3197
         }
3198
-
3198
+         
3199
+        console.log("hhhhhhhhhhhhhhhhhhhhhhhhhhh",this.targetAdvices)
3199 3200
         if(this.targetAdvices!=null && this.targetAdvices.length >0){
3200 3201
             for (let i = 0; i < this.targetAdvices.length; i++) {
3202
+              console.log("WOOWOWOWOWOWOW",this.targetAdvices[i].week_day.indexOf(total_day))
3201 3203
               if(this.targetAdvices[i].week_day.indexOf(total_day)!=-1){
3204
+                console.log("尽力啊=--------------------")
3202 3205
                 this.targetAdvices[i].isCheck = 1
3203 3206
               }
3204 3207
               if(this.targetAdvices[i].frequency_type == 1){

+ 14 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderFortyEight.vue Parādīt failu

@@ -85,7 +85,7 @@
85 85
             </td>
86 86
           </tr>
87 87
           <tr>
88
-            <td style="text-align: left" colspan="2">
88
+            <td style="text-align: left" colspan="3">
89 89
               <span style="display: inline-block; margin-left: 15px"
90 90
                 >治疗方式:</span
91 91
               >
@@ -106,8 +106,16 @@
106 106
                     : false
107 107
                 "
108 108
                 showValue="HP"
109
-              ></label-box
110
-              >&nbsp;
109
+              ></label-box>&nbsp;
110
+              <label-box
111
+                :isChecked="
112
+                  prescription.mode_id == 12
113
+                    ? true
114
+                    : false
115
+                "
116
+                showValue="HD+HP"
117
+              ></label-box>&nbsp;
118
+              
111 119
               <!-- <label-box :isChecked="prescription.mode_id == 7 ? true : false" showValue="IUF"></label-box>&nbsp; -->
112 120
               <!-- <label-box
113 121
                 :isChecked="prescription.mode_id == 5 ? true : false"
@@ -137,9 +145,9 @@
137 145
                                 <span v-if="prescription.mode_id == 11">
138 146
                                 HFR
139 147
                                 </span>
140
-                                <span v-if="prescription.mode_id == 12">
148
+                                <!-- <span v-if="prescription.mode_id == 12">
141 149
                                 HDF+HP
142
-                                </span>
150
+                                </span> -->
143 151
                                 <span v-if="prescription.mode_id == 13">
144 152
                                 CRRT
145 153
                                 </span>
@@ -203,7 +211,7 @@
203 211
                                 </span>
204 212
                 
205 213
             </td>
206
-            <td style="text-align: left" colspan="5">
214
+            <td style="text-align: left" colspan="4">
207 215
               <span
208 216
                 style="display: inline-block; margin-left: 15px; width: 100%"
209 217
                 >诊断: {{ patientInfo.diagnose }}</span

+ 16 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyTwo.vue Parādīt failu

@@ -1119,8 +1119,10 @@
1119 1119
                       <div style="flex: 0.9;border-right: 1px solid black;">钠浓度<br/>(mmol/L)</div>
1120 1120
                       <div style="flex: 0.9;border-right: 1px solid black;">超滤量<br/>(ml)</div>
1121 1121
                       <div style="flex: 1;border-right: 1px solid black;" v-if="prescription.mode_id == 2">置换液流量<br/>(ml/h)</div>
1122
-                      <div style="flex: 1.2;border-right: 1px solid black;" v-if="prescription.anticoagulant_name=='低分子肝素钠'">肝素剩余量度(ml)
1122
+                      <div style="flex: 1.2;border-right: 1px solid black;" v-if="prescription.anticoagulant_name=='低分子肝素钠'">
1123
+                        肝素剩余量度(ml)
1123 1124
                       </div>
1125
+                      <div style="flex: 1;border-right: 1px solid black;">透析液温度°C</div>
1124 1126
                       <div style="flex: 2;">病情变化及处理</div>
1125 1127
                     </div>
1126 1128
                   </div>
@@ -1174,7 +1176,9 @@
1174 1176
                       {{ monitor.displacement_flow_quantity ? monitor.displacement_flow_quantity : "" }}
1175 1177
                     </div>
1176 1178
                     <div style="flex: 1.2;border-right: 1px solid black;" v-if="prescription.anticoagulant_name=='低分子肝素钠'">
1177
-
1179
+                    </div>
1180
+                    <div style="flex: 1;border-right: 1px solid black;">
1181
+                      {{ monitor.dialysate_temperature ? monitor.dialysate_temperature :'' }}
1178 1182
                     </div>
1179 1183
                     <!-- v-if="prescription.anticoagulant == 7 && prescription.anticoagulant_name != ''" -->
1180 1184
                     <div style="flex: 2;">
@@ -1811,6 +1815,16 @@
1811 1815
                         {{ afterdialysis.cvc_v ? afterdialysis.cvc_v : "/" }}
1812 1816
                       </div>
1813 1817
                     </div>
1818
+                    <div class="inline_block" style="flex: 1">
1819
+                      KT/V:
1820
+                      <div class="under_line"
1821
+                        style="width: 150px; text-align: center"
1822
+                      >
1823
+                        
1824
+                          {{ afterdialysis.ktv ? afterdialysis.ktv : "/" }}
1825
+                        
1826
+                      </div>
1827
+                    </div>
1814 1828
                   </div>
1815 1829
 
1816 1830
                   <div

+ 76 - 78
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyeight.vue Parādīt failu

@@ -1927,11 +1927,7 @@ export default {
1927 1927
     },
1928 1928
 
1929 1929
     checkData() {
1930
-      if (this.receiverTreatmentAccess.way == 0) {
1931
-        this.$message.error("入科方式未填");
1932
-      } else if (this.predialysis.symptom_before_dialysis == "") {
1933
-        this.$message.error("透前症状未填");
1934
-      } else if (this.predialysis.temperature == "") {
1930
+      if (this.predialysis.temperature == '') {
1935 1931
         this.$message.error("透前体温未填");
1936 1932
       } else if (this.predialysis.pulse_frequency == "") {
1937 1933
         this.$message.error("透前脉搏未填");
@@ -1942,61 +1938,88 @@ export default {
1942 1938
         this.predialysis.diastolic_blood_pressure == 0
1943 1939
       ) {
1944 1940
         this.$message.error("透前血压未填完整");
1945
-      } else if (this.predialysis.puncture_way == "") {
1946
-        this.$message.error("穿刺方式未填");
1947
-      } else if (this.predialysis.puncture_needle == "") {
1948
-        this.$message.error("穿刺针未填");
1949
-      } else if (
1950
-        this.predialysis.blood_access_part_id == "" &&
1951
-        this.predialysis.blood_access_part_opera_name == ""
1952
-      ) {
1953
-        this.$message.error("血管通路未填");
1941
+      } else if (this.predialysis.dialysis_interphase == "") {
1942
+        this.$message.error("透析期间未填");
1943
+      } else if (this.predialysis.symptom_before_dialysis == "") {
1944
+        this.$message.error("透前症状未填");
1954 1945
       } else if (this.predialysis.internal_fistula == "") {
1955 1946
         this.$message.error("透前内瘘未填");
1956 1947
       } else if (this.predialysis.catheter == "") {
1957 1948
         this.$message.error("透前导管未填");
1958
-      } else if (this.prescription.mode_id == "") {
1959
-        this.$message.error("透析方式未填");
1949
+      } else if (this.predialysis.complication == "" ) {
1950
+        this.$message.error("合并症未填");
1951
+      } else if (this.receiverTreatmentAccess.score == "") {
1952
+        this.$message.error("跌倒评估未填");
1953
+      } else if (this.predialysis.dry_weight == '' ) {
1954
+        this.$message.error("干体重未填");
1955
+      } else if ( this. predialysis.weight_before == '') {
1956
+        this.$message.error("透前体重未填");
1957
+      } else if (this.predialysis.dehydration == '') {
1958
+        this.$message.error("预增脱水量未填");
1959
+      } else if (this.afterdialysis.temperature == '') {
1960
+        this.$message.error("透后体温未填");
1961
+      } else if (this.afterdialysis.pulse_frequency == "") {
1962
+        this.$message.error("透后脉搏未填");
1963
+      } else if (this.afterdialysis.breathing_rate == "") {
1964
+        this.$message.error("透后呼吸频率未填");
1960 1965
       } else if (
1961
-        this.prescription.displace_liqui_part == 0 &&
1962
-        this.prescription.mode_id == 2
1966
+        this.afterdialysis.systolic_blood_pressure == 0 ||
1967
+        this.afterdialysis.diastolic_blood_pressure == 0
1963 1968
       ) {
1969
+        this.$message.error("透后血压未填完整");
1970
+      } else if (this.afterdialysis.cruor == "") {
1971
+        this.$message.error("凝血未填");
1972
+      } else if (this.afterdialysis.symptom_after_dialysis == "") {
1973
+        this.$message.error("透后症状未填");
1974
+      } else if (this.afterdialysis.internal_fistula == "") {
1975
+        this.$message.error("透后内瘘未填");
1976
+      } else if (this.afterdialysis.catheter == "") {
1977
+        this.$message.error("透后导管未填");
1978
+      } else if (this.afterdialysis.complication == 0) {
1979
+        this.$message.error("并发症未填");
1980
+      } else if (this.afterdialysis.actual_displacement == 0) {
1981
+        this.$message.error("实际置换量未填");
1982
+      } else if (this.afterdialysis.actual_ultrafiltration == 0) {
1983
+        this.$message.error("实际超滤量未填");
1984
+      } else if (this.afterdialysis.weight_after == 0) {
1985
+        this.$message.error("透后体重未填");
1986
+      } else if (this.afterdialysis.weight_loss == 0) {
1987
+        this.$message.error("体重减少未填");
1988
+      } else if (this.afterdialysis.dialysis_intakes == 0) {
1989
+        this.$message.error("透析中入量未填");
1990
+      } else if (this.prescription.target_ultrafiltration == 0) {
1991
+        this.$message.error("处方脱水量未填");
1992
+      } else if (this.afterdialysis.actual_ultrafiltration == 0) {
1993
+        this.$message.error("超滤总量未填");
1994
+      } else if (this.prescription.dialysis_duration_hour == 0) {
1995
+        this.$message.error("透析时长未填");
1996
+      } else if (this.prescription.mode_id == 0) {
1997
+        this.$message.error("透析方式未填");
1998
+      } else if (this.prescription.displace_liqui_part == '') {
1964 1999
         this.$message.error("置换方式未填");
1965
-      } else if (
1966
-        this.prescription.displace_liqui_value == 0 &&
1967
-        this.prescription.mode_id == 2
1968
-      ) {
1969
-        this.$message.error("置换量未填");
2000
+      } else if (this.prescription.displace_liqui_value == 0) {
2001
+        this.$message.error("置换总量未填");
2002
+      } else if (this.predialysis.blood_access_part_opera_name == ''){
2003
+        this.$message.error('血管通路未填');
1970 2004
       } else if (this.prescription.blood_flow_volume == 0) {
1971 2005
         this.$message.error("血流量未填");
1972 2006
       } else if (
1973
-        this.prescription.dialysis_duration_hour == 0 &&
1974
-        this.prescription.dialysis_duration_minute == 0
1975
-      ) {
1976
-        this.$message.error("透析时间未填");
1977
-      } else if (
1978
-        this.prescription.dialyzer_perfusion_apparatus == "" &&
1979
-        this.prescription.dialysis_dialyszers == ""
1980
-      ) {
1981
-        this.$message.error("透析器未填");
1982
-      } else if (this.prescription.dialysis_irrigation == "") {
1983
-        this.$message.error("灌流器未填");
1984
-      } else if (
1985
-        this.prescription.plasma_separator == "" &&
1986
-        this.org_id == 9538
1987
-      ) {
1988
-        this.$message.error("血浆分离器未填");
1989
-      } else if (
1990
-        this.prescription.bilirubin_adsorption_column == "" &&
1991
-        this.org_id == 9538
1992
-      ) {
1993
-        this.$message.error("胆红素吸附柱未填");
1994
-      } else if (this.predialysis.weight_before == 0) {
1995
-        this.$message.error("透前体重未填");
1996
-      } else if (this.predialysis.dry_weight == 0) {
1997
-        this.$message.error("干体重未填");
1998
-      } else if (this.prescription.target_ultrafiltration == 0) {
1999
-        this.$message.error("计划超滤量未填");
2007
+        this.prescription.dialysis_irrigation == '' &&
2008
+        this.prescription.dialysis_dialyszers == ''
2009
+      ){
2010
+        this.$message.error('人工肾装置未填');
2011
+      } else if (this.predialysis.machine_type == 0) {
2012
+        this.$message.error("透析机型未填");
2013
+      } else if (this.dialysisOrder.DeviceNumber.number == 0) {
2014
+        this.$message.error("机号未填");
2015
+      } else if (this.prescription.anticoagulant_name == 0) {
2016
+        this.$message.error("抗凝剂未填");
2017
+      } else if (this.prescription.anticoagulant_shouji == 0) {
2018
+        this.$message.error("首剂未填");
2019
+      } else if (this.prescription.anticoagulant_weichi == 0) {
2020
+        this.$message.error("维持未填");
2021
+      } else if (this.prescription.anticoagulant_zongliang == 0) {
2022
+        this.$message.error("总量未填");
2000 2023
       } else if (this.prescription.calcium == 0) {
2001 2024
         this.$message.error("钙未填");
2002 2025
       } else if (this.prescription.sodium == 0) {
@@ -2007,8 +2030,6 @@ export default {
2007 2030
         this.$message.error("碳酸氢根未填");
2008 2031
       } else if (this.prescription.dialysate_flow == 0) {
2009 2032
         this.$message.error("透析液流量未填");
2010
-      } else if (this.prescription.anticoagulant == 0) {
2011
-        this.$message.error("抗凝剂未填");
2012 2033
       } else if (
2013 2034
         this.prescription.anticoagulant_gaimingcheng == "" &&
2014 2035
         this.prescription.anticoagulant == 5
@@ -2019,36 +2040,13 @@ export default {
2019 2040
         this.prescription.anticoagulant == 5
2020 2041
       ) {
2021 2042
         this.$message.error("钙剂量未填");
2022
-      } else if (this.afterdialysis.temperature == 0) {
2023
-        this.$message.error("透后体温未填");
2024
-      } else if (this.afterdialysis.pulse_frequency == 0) {
2025
-        this.$message.error("透后脉搏未填");
2026
-      } else if (this.afterdialysis.breathing_rate == 0) {
2027
-        this.$message.error("透后呼吸频率未填");
2028
-      } else if (
2029
-        this.afterdialysis.systolic_blood_pressure == 0 ||
2030
-        this.afterdialysis.diastolic_blood_pressure == 0
2031
-      ) {
2032
-        this.$message.error("透后血压未填完整");
2033 2043
       } else if (
2034 2044
         this.afterdialysis.actual_treatment_hour == 0 &&
2035 2045
         this.afterdialysis.actual_treatment_minute == 0
2036 2046
       ) {
2037 2047
         this.$message.error("实际治疗时间未填");
2038
-      } else if (this.afterdialysis.cruor == "") {
2039
-        this.$message.error("透析器凝血未填");
2040
-      } else if (this.afterdialysis.internal_fistula == "") {
2041
-        this.$message.error("透后内瘘未填");
2042
-      } else if (this.afterdialysis.catheter == "") {
2043
-        this.$message.error("透后导管未填");
2044
-      } else if (this.afterdialysis.weight_after == 0) {
2045
-        this.$message.error("透后体重未填");
2046
-      } else if (this.afterdialysis.weight_loss == 0) {
2047
-        this.$message.error("透后体重减少未填");
2048
-      } else if (this.afterdialysis.dialysis_intakes == 0) {
2049
-        this.$message.error("透析中入量未填");
2050
-      } else if (this.afterdialysis.actual_ultrafiltration == 0) {
2051
-        this.$message.error("实际超滤量未填");
2048
+      } else if (this.summary.mission == 0) {
2049
+        this.$message.error("透后宣教未填");
2052 2050
       } else if (this.summary.dialysis_summary == "") {
2053 2051
         this.$message.error("透析小结未填");
2054 2052
       } else if (
@@ -2088,7 +2086,7 @@ export default {
2088 2086
       ) {
2089 2087
         this.$message.error("下机护士未填");
2090 2088
       } else if (this.prescription.creater == 0) {
2091
-        this.$message.error("医生签名未填");
2089
+        this.$message.error("治疗医生未填");
2092 2090
       } else if (this.tableAdvice.length > 0) {
2093 2091
         let num = 0;
2094 2092
         this.tableAdvice.map((item) => {

+ 601 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Parādīt failu

@@ -3953,7 +3953,8 @@
3953 3953
 
3954 3954
     <div id="dialysis-print-box-1-2" class="dialysis-print-order print-template-two print_page_main_content" style="position: relative;">
3955 3955
       <div class="order-yy-name">{{ orgname }}</div>
3956
-      <div class="order_title">血液净化科医嘱及执行单</div>
3956
+      <div class="order_title" v-if="org_id!=0&&org_id!=10579">血液净化科医嘱及执行单</div>
3957
+      <div class="order_title" v-if="org_id==0|| org_id==10579">血液净化治疗记录单</div>
3957 3958
       <div class="row" style="margin-top: 15px">
3958 3959
         <div class="inline_block">
3959 3960
           科室:
@@ -4130,7 +4131,606 @@
4130 4131
                           />
4131 4132
                         </td>
4132 4133
                       </tr>
4134
+                      
4135
+                      <tr v-if="org_id == 0 || org_id == 10579">
4136
+                  <td colspan="7">
4137
+                  <div
4138
+                    class="row"
4139
+                    style="padding: 2px 0; line-height: 23px; display: flex"
4140
+                  >
4141
+                   <div v-if="org_id == 0 || org_id == 10440">
4142
+
4143
+
4144
+
4145
+                    <div class="inline_block" style="flex: 1">
4146
+                      上机护士:
4147
+                      <div
4148
+                        class="under_line"
4149
+                        style="width: 90px; text-align: center"
4150
+                      >
4151
+                        <span
4152
+                          style="height: 30px; display: inline-block"
4153
+                          v-if="
4154
+                            setAdminUserES(
4155
+                              dialysisOrder == null
4156
+                                ? 0
4157
+                                : dialysisOrder.start_nurse
4158
+                            ) == ''
4159
+                          "
4160
+                        >
4161
+                          {{
4162
+                            getAdminUser(
4163
+                              dialysisOrder == null
4164
+                                ? 0
4165
+                                : dialysisOrder.start_nurse
4166
+                            )
4167
+                          }}</span
4168
+                        >
4169
+                        <img
4170
+                          style="height: 35px"
4171
+                          :src="
4172
+                            setAdminUserES(
4173
+                              dialysisOrder == null
4174
+                                ? 0
4175
+                                : dialysisOrder.start_nurse
4176
+                            )
4177
+                          "
4178
+                          alt=""
4179
+                          srcset=""
4180
+                          v-else
4181
+                        />
4182
+                      </div>
4183
+                    </div>
4184
+
4185
+
4186
+                  </div>
4187
+                  <div v-if="org_id ==10644">
4188
+                    <div class="inline_block" style="flex: 1" v-if="predialysis.catheter == ''">
4189
+                      穿刺护士:
4190
+                      <div
4191
+                        class="under_line"
4192
+                        style="width: 90px; text-align: center"
4193
+                      >
4194
+                        <span
4195
+                          style="height: 30px; display: inline-block"
4196
+                          v-if="
4197
+                            setAdminUserES(
4198
+                              dialysisOrder == null
4199
+                                ? 0
4200
+                                : dialysisOrder.puncture_nurse
4201
+                            ) == ''
4202
+                          "
4203
+                        >
4204
+                          {{
4205
+                            getAdminUser(
4206
+                              dialysisOrder == null
4207
+                                ? 0
4208
+                                : dialysisOrder.puncture_nurse
4209
+                            )
4210
+                          }}</span
4211
+                        >
4212
+                        <img
4213
+                          style="height: 35px"
4214
+                          :src="
4215
+                            setAdminUserES(
4216
+                              dialysisOrder == null
4217
+                                ? 0
4218
+                                : dialysisOrder.puncture_nurse
4219
+                            )
4220
+                          "
4221
+                          alt=""
4222
+                          srcset=""
4223
+                          v-else
4224
+                        />
4225
+                      </div>
4226
+                    </div>
4227
+
4228
+                    <div class="inline_block" style="flex: 1" v-if="predialysis.catheter != ''">
4229
+                      换药护士:
4230
+
4231
+                      <div
4232
+                        class="under_line"
4233
+                        style="width: 90px; text-align: center"
4234
+                        v-if="org_id==10644"
4235
+                      >
4236
+                        <span
4237
+                          style="height: 30px; display: inline-block"
4238
+                          v-if="
4239
+                            setAdminUserES(
4240
+                              dialysisOrder == null
4241
+                                ? 0
4242
+                                : dialysisOrder.change_nurse
4243
+                            ) == ''
4244
+                          "
4245
+                        >
4246
+                          {{
4247
+                            getAdminUser(
4248
+                              dialysisOrder == null
4249
+                                ? 0
4250
+                                : dialysisOrder.change_nurse
4251
+                            )
4252
+                          }}</span
4253
+                        >
4254
+                        <img
4255
+                          style="height: 35px"
4256
+                          :src="
4257
+                            setAdminUserES(
4258
+                              dialysisOrder == null
4259
+                                ? 0
4260
+                                : dialysisOrder.change_nurse
4261
+                            )
4262
+                          "
4263
+                          alt=""
4264
+                          srcset=""
4265
+                          v-else
4266
+                        />
4267
+                      </div>
4268
+
4269
+                      <div
4270
+                        class="under_line"
4271
+                        style="width: 90px; text-align: center"
4272
+                        v-if="org_id!=10644"
4273
+                      >
4274
+                        <span
4275
+                          style="height: 30px; display: inline-block"
4276
+                          v-if="
4277
+                            setAdminUserES(
4278
+                              dialysisOrder == null
4279
+                                ? 0
4280
+                                : dialysisOrder.puncture_nurse
4281
+                            ) == ''
4282
+                          "
4283
+                        >
4284
+                          {{
4285
+                            getAdminUser(
4286
+                              dialysisOrder == null
4287
+                                ? 0
4288
+                                : dialysisOrder.puncture_nurse
4289
+                            )
4290
+                          }}</span
4291
+                        >
4292
+                        <img
4293
+                          style="height: 35px"
4294
+                          :src="
4295
+                            setAdminUserES(
4296
+                              dialysisOrder == null
4297
+                                ? 0
4298
+                                : dialysisOrder.puncture_nurse
4299
+                            )
4300
+                          "
4301
+                          alt=""
4302
+                          srcset=""
4303
+                          v-else
4304
+                        />
4305
+                      </div>
4306
+                    </div>
4307
+                  </div>
4308
+
4309
+
4310
+                  <div v-if="org_id !=10644 && org_id!=10440">
4311
+                    <div class="inline_block" style="flex: 1" v-if="predialysis.catheter == ''">
4312
+                      穿刺护士:
4313
+                      <div
4314
+                        class="under_line"
4315
+                        style="width: 90px; text-align: center"
4316
+                      >
4317
+                        <span
4318
+                          style="height: 30px; display: inline-block"
4319
+                          v-if="
4320
+                            setAdminUserES(
4321
+                              dialysisOrder == null
4322
+                                ? 0
4323
+                                : dialysisOrder.puncture_nurse
4324
+                            ) == ''
4325
+                          "
4326
+                        >
4327
+                          {{
4328
+                            getAdminUser(
4329
+                              dialysisOrder == null
4330
+                                ? 0
4331
+                                : dialysisOrder.puncture_nurse
4332
+                            )
4333
+                          }}</span
4334
+                        >
4335
+                        <img
4336
+                          style="height: 35px"
4337
+                          :src="
4338
+                            setAdminUserES(
4339
+                              dialysisOrder == null
4340
+                                ? 0
4341
+                                : dialysisOrder.puncture_nurse
4342
+                            )
4343
+                          "
4344
+                          alt=""
4345
+                          srcset=""
4346
+                          v-else
4347
+                        />
4348
+                      </div>
4349
+                    </div>
4350
+
4351
+                    <div class="inline_block" style="flex: 1" v-if="predialysis.catheter != ''">
4352
+                      穿刺护士:
4353
+
4354
+                      <div
4355
+                        class="under_line"
4356
+                        style="width: 90px; text-align: center"
4357
+                        v-if="org_id==10644"
4358
+                      >
4359
+                        <span
4360
+                          style="height: 30px; display: inline-block"
4361
+                          v-if="
4362
+                            setAdminUserES(
4363
+                              dialysisOrder == null
4364
+                                ? 0
4365
+                                : dialysisOrder.puncture_nurse
4366
+                            ) == ''
4367
+                          "
4368
+                        >
4369
+                          {{
4370
+                            getAdminUser(
4371
+                              dialysisOrder == null
4372
+                                ? 0
4373
+                                : dialysisOrder.puncture_nurse
4374
+                            )
4375
+                          }}</span
4376
+                        >
4377
+                        <img
4378
+                          style="height: 35px"
4379
+                          :src="
4380
+                            setAdminUserES(
4381
+                              dialysisOrder == null
4382
+                                ? 0
4383
+                                : dialysisOrder.puncture_nurse
4384
+                            )
4385
+                          "
4386
+                          alt=""
4387
+                          srcset=""
4388
+                          v-else
4389
+                        />
4390
+                      </div>
4391
+
4392
+                      <div
4393
+                        class="under_line"
4394
+                        style="width: 90px; text-align: center"
4395
+                        v-if="org_id!=10644"
4396
+                      >
4397
+                        <span
4398
+                          style="height: 30px; display: inline-block"
4399
+                          v-if="
4400
+                            setAdminUserES(
4401
+                              dialysisOrder == null
4402
+                                ? 0
4403
+                                : dialysisOrder.puncture_nurse
4404
+                            ) == ''
4405
+                          "
4406
+                        >
4407
+                          {{
4408
+                            getAdminUser(
4409
+                              dialysisOrder == null
4410
+                                ? 0
4411
+                                : dialysisOrder.puncture_nurse
4412
+                            )
4413
+                          }}</span
4414
+                        >
4415
+                        <img
4416
+                          style="height: 35px"
4417
+                          :src="
4418
+                            setAdminUserES(
4419
+                              dialysisOrder == null
4420
+                                ? 0
4421
+                                : dialysisOrder.puncture_nurse
4422
+                            )
4423
+                          "
4424
+                          alt=""
4425
+                          srcset=""
4426
+                          v-else
4427
+                        />
4428
+                      </div>
4429
+                    </div>
4430
+                  </div>
4431
+
4432
+                  <div v-if="org_id==10440">
4433
+
4434
+                    <div class="inline_block" style="flex: 1">
4435
+                     <div>
4436
+                      <span>责任护士:</span>
4437
+                      <div
4438
+                        class="under_line"
4439
+                        style="width: 80px; text-align: center"
4440
+
4441
+                      >
4442
+
4443
+                        <span
4444
+                          style="height: 35px; display: inline-block"
4445
+                          v-if="
4446
+                            setAdminUserES(
4447
+                              dialysisOrder == null
4448
+                                ? 0
4449
+                                : dialysisOrder.start_nurse
4450
+                            ) == ''
4451
+                          "
4452
+                        >
4453
+                          {{
4454
+                            getAdminUser(
4455
+                              dialysisOrder == null
4456
+                                ? 0
4457
+                                : dialysisOrder.start_nurse
4458
+                            )
4459
+                          }}</span
4460
+                        >
4461
+                        <img
4462
+                          style="height: 30px"
4463
+                          :src="
4464
+                            setAdminUserES(
4465
+                              dialysisOrder == null
4466
+                                ? 0
4467
+                                : dialysisOrder.start_nurse
4468
+                            )
4469
+                          "
4470
+                          alt=""
4471
+                          srcset=""
4472
+                          v-else
4473
+                        />
4474
+                      </div>
4475
+                    </div>
4476
+
4477
+                    </div>
4478
+
4479
+                  </div>
4480
+
4481
+                  <div v-if="org_id!=0&&org_id!=10440&&org_id!= 10206">
4482
+                    <div class="inline_block" style="flex: 1">
4483
+                      <span v-if="org_id==10414">责任护士:</span>
4484
+                      <span v-else>治疗护士:</span>
4485
+
4486
+                      <div
4487
+                        class="under_line"
4488
+                        style="width: 80px; text-align: center"
4489
+                      >
4490
+                        <span
4491
+                          style="height: 30px; display: inline-block"
4492
+                          v-if="
4493
+                            setAdminUserES(
4494
+                              dialysisOrder == null
4495
+                                ? 0
4496
+                                : dialysisOrder.start_nurse
4497
+                            ) == ''
4498
+                          "
4499
+                        >
4500
+                          {{
4501
+                            getAdminUser(
4502
+                              dialysisOrder == null
4503
+                                ? 0
4504
+                                : dialysisOrder.start_nurse
4505
+                            )
4506
+                          }}</span
4507
+                        >
4508
+                        <img
4509
+                          style="height: 30px"
4510
+                          :src="
4511
+                            setAdminUserES(
4512
+                              dialysisOrder == null
4513
+                                ? 0
4514
+                                : dialysisOrder.start_nurse
4515
+                            )
4516
+                          "
4517
+                          alt=""
4518
+                          srcset=""
4519
+                          v-else
4520
+                        />
4521
+                      </div>
4522
+                    </div>
4523
+                  </div>
4524
+
4525
+
4526
+
4527
+                    <div class="inline_block" style="flex: 1">
4528
+                      <span v-if="org_id==10387 || org_id ==10206 || org_id == 0" >核对护士:</span>
4529
+                      <span v-else >核对人员:</span>
4530
+                      <div
4531
+                        class="under_line"
4532
+                        style="width: 80px; text-align: center"
4533
+                        v-if="dialysisOrder == null"
4534
+                      >
4535
+                        <span
4536
+                          style="height: 30px; display: inline-block"
4537
+                          v-if="
4538
+                            setAdminUserES(check == null ? 0 : check.creater) ==
4539
+                            ''
4540
+                          "
4541
+                        >
4542
+                          {{ getAdminUser(check == null ? 0 : check.creater) }}
4543
+                        </span>
4544
+                        <img
4545
+                          style="height: 30px"
4546
+                          :src="
4547
+                            setAdminUserES(check == null ? 0 : check.creater)
4548
+                          "
4549
+                          alt=""
4550
+                          srcset=""
4551
+                          v-else
4552
+                        />
4553
+                      </div>
4554
+                      <div
4555
+                        class="under_line"
4556
+                        style="width: 80px; text-align: center"
4557
+                        v-if="
4558
+                          dialysisOrder != null &&
4559
+                          dialysisOrder.start_nurse == check.modifier
4560
+                        "
4561
+                      >
4562
+                        <span
4563
+                          style="height: 30px; display: inline-block"
4564
+                          v-if="
4565
+                            setAdminUserES(check == null ? 0 : check.creater) ==
4566
+                            ''
4567
+                          "
4568
+                        >
4569
+                          {{ getAdminUser(check == null ? 0 : check.creater) }}
4570
+                        </span>
4571
+                        <img
4572
+                          style="height: 30px"
4573
+                          :src="
4574
+                            setAdminUserES(check == null ? 0 : check.creater)
4575
+                          "
4576
+                          alt=""
4577
+                          srcset=""
4578
+                          v-else
4579
+                        />
4580
+                      </div>
4581
+                      <div
4582
+                        class="under_line"
4583
+                        style="width: 80px; text-align: center"
4584
+                        v-if="
4585
+                          dialysisOrder != null &&
4586
+                          dialysisOrder.start_nurse == check.creater
4587
+                        "
4588
+                      >
4589
+                        <span
4590
+                          style="height: 30px; display: inline-block"
4591
+                          v-if="
4592
+                            setAdminUserES(
4593
+                              check == null ? 0 : check.modifier
4594
+                            ) == ''
4595
+                          "
4596
+                        >
4597
+                          {{ getAdminUser(check == null ? 0 : check.modifier) }}
4598
+                        </span>
4599
+                        <img
4600
+                          style="height: 30px"
4601
+                          :src="
4602
+                            setAdminUserES(check == null ? 0 : check.modifier)
4603
+                          "
4604
+                          alt=""
4605
+                          srcset=""
4606
+                          v-else
4607
+                        />
4608
+                      </div>
4609
+                      <div
4610
+                        class="under_line"
4611
+                        style="width: 80px; text-align: center"
4612
+                        v-if="
4613
+                          dialysisOrder != null &&
4614
+                          dialysisOrder.start_nurse != check.creater &&
4615
+                          dialysisOrder.start_nurse != check.modifier
4616
+                        "
4617
+                      >
4618
+                        <span
4619
+                          style="height: 30px; display: inline-block"
4620
+                          v-if="
4621
+                            setAdminUserES(check == null ? 0 : check.creater) ==
4622
+                            ''
4623
+                          "
4624
+                        >
4625
+                          {{ getAdminUser(check == null ? 0 : check.creater) }}
4626
+                        </span>
4627
+                        <img
4628
+                          style="height: 30px"
4629
+                          :src="
4630
+                            setAdminUserES(check == null ? 0 : check.creater)
4631
+                          "
4632
+                          alt=""
4633
+                          srcset=""
4634
+                          v-else
4635
+                        />
4636
+                      </div>
4637
+                    </div>
4638
+                    <div class="inline_block" style="flex: 1" v-if="org_id!=10579 && org_id!=0">
4639
+                       下机护士:
4640
+                      <div
4641
+                        class="under_line"
4642
+                        style="width: 80px; text-align: center"
4643
+                      >
4644
+                        <span
4645
+                          style="height: 30px; display: inline-block"
4646
+                          v-if="
4647
+                            setAdminUserES(
4648
+                              dialysisOrder == null
4649
+                                ? 0
4650
+                                : dialysisOrder.finish_nurse
4651
+                            ) == ''
4652
+                          "
4653
+                        >
4654
+                          {{
4655
+                            getAdminUser(
4656
+                              dialysisOrder == null
4657
+                                ? 0
4658
+                                : dialysisOrder.finish_nurse
4659
+                            )
4660
+                          }}
4661
+                        </span>
4662
+                        <img
4663
+                          style="height: 30px"
4664
+                          :src="
4665
+                            setAdminUserES(
4666
+                              dialysisOrder == null
4667
+                                ? 0
4668
+                                : dialysisOrder.finish_nurse
4669
+                            )
4670
+                          "
4671
+                          alt=""
4672
+                          srcset=""
4673
+                          v-else
4674
+                        />
4675
+                      </div>
4676
+                    </div>
4677
+                    <div class="inline_block" style="flex: 1" v-if="org_id==10579 || org_id == 0">
4678
+                       患者签名
4679
+                      <div
4680
+                        class="under_line"
4681
+                        style="width: 80px; text-align: center"
4682
+                      >
4683
+
4684
+
4685
+                      </div>
4686
+                    </div>
4687
+                    <div class="inline_block" style="flex: 1">
4688
+                      治疗医生:
4689
+                      <div
4690
+                        v-if="org_id ==10191"
4691
+                        class="under_line"
4692
+                        style="width: 80px; text-align: center"
4693
+                      >
4694
+                        <span
4695
+                          style="height: 30px; display: inline-block"
4696
+                          v-if="setAdminUserES(prescription.creater) == ''"
4697
+                        >
4698
+                          {{ getAdminUser(prescription.creater) }}
4699
+                        </span>
4700
+                        <img
4701
+                          style="height: 40px"
4702
+                          :src="setAdminUserES(prescription.creater)"
4703
+                          alt=""
4704
+                          srcset=""
4705
+                          v-else
4706
+                        />
4707
+                      </div>
4708
+                      <div
4709
+                        v-if="org_id!=10191"
4710
+                        class="under_line"
4711
+                        style="width: 80px; text-align: center"
4712
+                      >
4713
+                      <span v-if="doctor_advices[0]!=null && doctor_advices[0].advice_doctor>0">
4714
+                        <span
4715
+                            style="height: 30px; display: inline-block"
4716
+                            v-if="setAdminUserES(doctor_advices[0].advice_doctor) == ''"
4717
+                          >
4718
+                            {{ getAdminUser(doctor_advices[0].advice_doctor) }}
4719
+                          </span>
4720
+                          <img
4721
+                            style="height: 40px"
4722
+                            :src="setAdminUserES(doctor_advices[0].advice_doctor)"
4723
+                            alt=""
4724
+                            srcset=""
4725
+                            v-else
4726
+                          />
4727
+                      </span>
4133 4728
 
4729
+                      </div>
4730
+                    </div>
4731
+                  </div>
4732
+                </td>
4733
+              </tr>
4134 4734
 
4135 4735
 
4136 4736
                     </tbody>

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue Parādīt failu

@@ -2170,7 +2170,7 @@
2170 2170
                       v-if="org_id != 10223 || org_id!=10375"
2171 2171
                     >
2172 2172
                         <span v-if="org_id!=10460 && org_id!=10551">
2173
-                          透析中入量(L)
2173
+                          透析中入量:
2174 2174
                         </span>
2175 2175
                         <span v-if="org_id==10460 || org_id ==10551">
2176 2176
                           透析中入量(ml):
@@ -2185,7 +2185,7 @@
2185 2185
                             : "/"
2186 2186
                         }}
2187 2187
                       </div>
2188
-                      {{ getUnit(afterdialysis.dialysis_intakes_unit) }}
2188
+                      <!-- {{ getUnit(afterdialysis.dialysis_intakes_unit) }} -->
2189 2189
                     </div>
2190 2190
 
2191 2191
                     <div class="inline_block" style="flex: 1">

+ 1 - 1
src/xt_pages/management/components/RepairForm.vue Parādīt failu

@@ -752,7 +752,7 @@ export default {
752 752
         fault_description: [{ required: true, message: "请填写故障描述" }]
753 753
       },
754 754
       filename: "",
755
-      limit: 10,
755
+      limit: 100,
756 756
       page: 1,
757 757
       total: 0,
758 758
       hiddenShow:false,

+ 6 - 6
src/xt_pages/management/components/UserForm.vue Parādīt failu

@@ -855,7 +855,7 @@
855 855
                 <td
856 856
                   :rowspan="2"
857 857
                   style="text-align:center;min-width:40px;font-size:15px"
858
-                  v-if="org_id!=0&&org_id!=10060&& org_id!=10340 && org_id!=0 && org_id!=10495"
858
+                  v-if="org_id!=10060&& org_id!=10340 && org_id!=0 && org_id!=10495"
859 859
                 >
860 860
                  透析机消毒液(更换)
861 861
                  
@@ -863,14 +863,14 @@
863 863
                 <td
864 864
                   :rowspan="2"
865 865
                   style="text-align:center;width:80px;font-size:15px"
866
-                  v-if="org_id!=0&&org_id!=10060&& org_id!=10340 && org_id!=10495 && org_id!=0"
866
+                  v-if="org_id!=10060&& org_id!=10340 && org_id!=10495 && org_id!=0"
867 867
                 >
868 868
                  细菌过滤器(更换)
869 869
                 </td>
870 870
                 <td
871 871
                   :rowspan="2"
872 872
                   style="text-align:center;width:80px;font-size:15px"
873
-                  v-if="org_id!=0&&org_id!=10060&& org_id!=10340"
873
+                  v-if="org_id!=0&&org_id!=10060&& org_id!=10340 && org_id!=10495"
874 874
                 >
875 875
                  空气滤网
876 876
                 </td>
@@ -974,15 +974,15 @@
974 974
                   {{ item.disinfection_residue }}
975 975
                 </td>
976 976
                 <td style="text-align:center;font-size:15px;height:30px"
977
-                v-if="org_id!=0&&org_id!=10060 && org_id!=10340">
977
+                v-if="org_id!=0&&org_id!=10060 && org_id!=10340 && org_id!=10495">
978 978
                    {{item.dialysis_checked }}
979 979
                 </td>
980 980
                 <td style="text-align:center;font-size:15px;height:30px"
981
-                v-if="org_id!=0&&org_id!=10060&& org_id!=10340">
981
+                v-if="org_id!=0&&org_id!=10060&& org_id!=10340  && org_id!=10495">
982 982
                   {{item.germ_checked }}
983 983
                 </td>
984 984
                 <td style="text-align:center;font-size:15px;height:30px"
985
-                v-if="org_id!=0&&org_id!=10060&& org_id!=10340">
985
+                v-if="org_id!=0&&org_id!=10060&& org_id!=10340  && org_id!=10495">
986 986
                   {{item.clean}}
987 987
                 </td>
988 988
 

+ 2 - 2
src/xt_pages/outpatientCharges/listTemplate/listPrintforu.vue Parādīt failu

@@ -7,7 +7,7 @@
7 7
             <div>性别:{{patient.gender == 1 ? '男': '女'}}</div>
8 8
             <div>身份证号:{{patient.id_card_no}}</div>
9 9
             <div>年龄:{{patient.age}}  岁</div>
10
-            <div>开方日期:{{getTimes(order.ctime)}}</div>
10
+            <div>开方日期:{{getTimes(order.settle_accounts_date) }}</div>
11 11
         </div>
12 12
         <div class="listInfo">
13 13
             <div>结算类型:{{order.is_medicine_insurance == 1 ? "医保" : "自费"}}</div>
@@ -19,7 +19,7 @@
19 19
             <div>总金额:{{ order.medfee_sumamt }}</div>
20 20
             <div>个人支付金额:{{ order.psn_part_amt }}</div>
21 21
             <div>基金支付金额:{{ order.fund_pay_sumamt }}</div>
22
-            <div>收费日期:{{getTimes(order.settle_accounts_date)}}</div>
22
+            <div>收费日期:{{getTimes(order.ctime)}}</div>
23 23
         </div>
24 24
         
25 25
         <table class="listTable" style="text-align: center;">

+ 4 - 13
src/xt_pages/outpatientDoctorStation/components/dialysishistory.vue Parādīt failu

@@ -370,24 +370,14 @@ export default{
370 370
       }
371 371
     },
372 372
     setAnticoagulantsConfit(prescription) {
373
-      if (
374
-        typeof this.anticoagulantsConfit[prescription.anticoagulant] ===
375
-        "undefined"
376
-      ) {
373
+      console.log("透析处方----------------",prescription)
374
+      if (typeof this.anticoagulantsConfit[prescription.anticoagulant] ==="undefined") {
377 375
         return "";
378 376
       } else {
379 377
         if (this.anticoagulantsConfit[prescription.anticoagulant].shouji != 1) {
380 378
           return this.anticoagulantsConfit[prescription.anticoagulant].name;
381 379
         } else {
382
-          return (
383
-            this.anticoagulantsConfit[prescription.anticoagulant].name +
384
-            "/" +
385
-            prescription.anticoagulant_shouji +
386
-            "/" +
387
-            prescription.anticoagulant_weichi +
388
-            "/" +
389
-            prescription.anticoagulant_zongliang
390
-          );
380
+          return (this.anticoagulantsConfit[prescription.anticoagulant].name +"/" +prescription.anticoagulant_shouji +"/" + prescription.anticoagulant_weichi +"/" +prescription.anticoagulant_zongliang);
391 381
         }
392 382
       }
393 383
     },
@@ -396,6 +386,7 @@ export default{
396 386
     this.modeOptions = this.$store.getters.treatment_mode;
397 387
     console.log("patinetid----",this.patientid)
398 388
     this.queryParams.patient_id = this.patientid
389
+    this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
399 390
     this.getPatientDialysisRecords()
400 391
 
401 392
   },

+ 10 - 1
src/xt_pages/role/components/AdminInfoForm.vue Parādīt failu

@@ -403,7 +403,14 @@
403 403
       <el-row :gutter="24">
404 404
         <el-col :span="24">
405 405
           <el-form-item label="介绍 : ">
406
-            <Tinymce :height="400" menubar ref="editor" v-model="form.intro" :show_upload_img="false"/>
406
+            <!-- <Tinymce :height="400" menubar ref="editor" v-model="form.intro" :show_upload_img="false"/> -->
407
+            <el-input
408
+              :height="1000"
409
+              type="textarea"
410
+              :rows="120"
411
+              placeholder="请输入内容"
412
+              v-model="form.intro">
413
+            </el-input>
407 414
           </el-form-item>
408 415
         </el-col>
409 416
       </el-row>
@@ -731,7 +738,9 @@ export default {
731 738
               }
732 739
             }
733 740
             this.form.intro = ""
741
+            console.log('admin33333333333333333333', admin.intro)
734 742
             this.form.intro = admin.intro
743
+            console.log("intro------------------------",this.form.intro)
735 744
             this.form.user_title_name = admin.user_title_name
736 745
 
737 746
             if (this.form.user_type == 2) {

+ 1 - 0
src/xt_pages/role/components/EditAdminInfo.vue Parādīt failu

@@ -168,6 +168,7 @@ export default {
168 168
                     this.form.user_title = admin.user_title
169 169
                     this.form.role = admin.role_id
170 170
                     this.form.intro = ""
171
+                    console.log("admin=-==============",admin)
171 172
                     this.form.intro = admin.intro
172 173
                     this.form.deparment_id = admin.deparment_id
173 174
                 } else {

+ 43 - 9
src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue Parādīt failu

@@ -18,7 +18,6 @@
18 18
             format="yyyy-MM-dd"
19 19
             value-format="yyyy-MM-dd"
20 20
             :picker-options="pickerOptions"
21
-            @change="startTimeChange"
22 21
             :clearable="false"
23 22
            ></el-date-picker>
24 23
             <span>-</span>
@@ -34,9 +33,9 @@
34 33
               format="yyyy-MM-dd"
35 34
               value-format="yyyy-MM-dd"
36 35
               :picker-options="pickerOptions"
37
-              @change="endTimeChange"
38 36
               :clearable="false"
39 37
           ></el-date-picker>
38
+          <el-button  type="primary" icon="el-icon-search" @click="getDrugQuery">查询</el-button>
40 39
           <span style="font-size:14px;color:#606266">药品类型:</span>
41 40
           <el-select v-model="good_type" style="width:200px;margin-right:10px;" placeholder="请选择"
42 41
           filterable
@@ -452,19 +451,36 @@ export default {
452 451
            
453 452
               list[i].over_count_one = this.GetInitStartFlowOne(list[i].new_drug_in_flow_info,list[i].new_drug_profit_flow_info,list[i].new_drug_out_flow_info,list[i].new_drug_no_profit_flow_info,list[i].new_drug_cancel_flow_info,list[i].min_number,list[i].min_unit,list[i].max_unit) 
454 453
               list[i].drugInMoney = list[i].last_price
455
-              list[i].drugSaleMoney = "/"
454
+              if(this.org_id == 0){
455
+                list[i].drugSaleMoney =  (list[i].over_count_one * list[i].last_price).toFixed(2)
456
+              }else{
457
+                list[i].drugSaleMoney = "/"
458
+              }
459
+             
456 460
 
457 461
               list[i].drugAdd = this.drugAddInfo(list[i].DrugWarehouseInfoStartEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareStartEndStockInventoryProfit)
458 462
               list[i].drugAddOne = this.drugAddInfoOne(list[i].DrugWarehouseInfoStartEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareStartEndStockInventoryProfit)
459
-           
460
-              list[i].drugAddPrice = "/"
461
-              list[i].drugAddSalePrice = "/"
463
+              
464
+              if(this.org_id == 0){
465
+                 list[i].drugAddPrice = list[i].last_price
466
+                 list[i].drugAddSalePrice = (list[i].last_price *list[i].drugAddOne).toFixed(2)
467
+              }else{
468
+                list[i].drugAddPrice = "/"
469
+                list[i].drugAddSalePrice = "/"
470
+              }
471
+             
462 472
 
463 473
               list[i].drugOut=  this.getDrugOut(list[i].DrugWarehouseOutInfoStartEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareStartEndStockInventoryLosses,list[i].WareStartEndStockCancelInfo)
464 474
               list[i].drugOutOne =this.getDrugOutOne(list[i].DrugWarehouseOutInfoStartEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareStartEndStockInventoryLosses,list[i].WareStartEndStockCancelInfo)
465 475
            
466
-              list[i].drugOutPrice = "/"
467
-              list[i].drugOutSalePrice = "/"
476
+              if(this.org_id == 0){
477
+                list[i].drugOutPrice = list[i].retail_price
478
+                list[i].drugOutSalePrice = (list[i].drugOutOne * list[i].retail_price).toFixed(2)
479
+              }else{
480
+                list[i].drugOutPrice = "/"
481
+                list[i].drugOutSalePrice = "/"
482
+              }
483
+            
468 484
 
469 485
          
470 486
             if(this.org_id == 10265 || this.org_id ==10210 || this.org_id==10402 || this.org_id ==10215){
@@ -472,10 +488,17 @@ export default {
472 488
             }else{
473 489
               list[i].overDrug = this.GetDrugOver(list[i].over_count_one,list[i].drugAddOne,list[i].drugOutOne,list[i].min_number,list[i].min_unit,list[i].max_unit)
474 490
             }
475
-            
491
+             
492
+            list[i].overDrugOne = this.GetDrugOverOne(list[i].over_count_one,list[i].drugAddOne,list[i].drugOutOne,list[i].min_number,list[i].min_unit,list[i].max_unit)
493
+            if(this.org_id == 0){
494
+                list[i].overDrugPrice = list[i].retail_price
495
+                list[i].oveDrugSaleMoney = (list[i].overDrugOne * list[i].retail_price).toFixed(2)
496
+            }else{
476 497
              list[i].overDrugPrice = "/"
477 498
              list[i].oveDrugSaleMoney = "/"
478 499
             }
500
+           
501
+            }
479 502
             this.tableList = list;
480 503
             this.total = response.data.data.total
481 504
             this.manufacturerList = response.data.data.manufacturerList
@@ -1469,6 +1492,14 @@ export default {
1469 1492
         return max_str + min_str;
1470 1493
       }
1471 1494
     },
1495
+    GetDrugOverOne(totalone,totaltwo,totalthree,min_number,min_unit,max_unit){
1496
+      var total = 0
1497
+      
1498
+      total = totalone + totaltwo - totalthree
1499
+       
1500
+      return total
1501
+       
1502
+    },
1472 1503
     GetInitStartFlow(val1,val2,val3,val4,val5,min_number,min_unit,max_unit){
1473 1504
       var total_one =0
1474 1505
       var total_two = 0
@@ -1589,6 +1620,9 @@ export default {
1589 1620
         return 0
1590 1621
       }
1591 1622
      
1623
+    },
1624
+    getDrugQuery(){
1625
+      this.getlist()
1592 1626
     }
1593 1627
   }
1594 1628
 }

+ 41 - 22
src/xt_pages/stock/query/purchaseNewStockQuery.vue Parādīt failu

@@ -18,7 +18,6 @@
18 18
             align="right"
19 19
             format="yyyy-MM-dd"
20 20
             value-format="yyyy-MM-dd"
21
-            @change="startTimeChange"
22 21
             :picker-options="pickerOptions"
23 22
             :clearable="false"
24 23
            ></el-date-picker> 
@@ -34,10 +33,10 @@
34 33
               align="right"
35 34
               format="yyyy-MM-dd"
36 35
               value-format="yyyy-MM-dd"
37
-              @change="endTimeChange"
38 36
               :picker-options="pickerOptions"
39 37
               :clearable="false"
40 38
           ></el-date-picker>  
39
+          <el-button  type="primary" icon="el-icon-search" @click="getAllQuery">查询</el-button>
41 40
           <span style="font-size:14px;color:#606266">耗材类型:</span>
42 41
           <el-select v-model="good_type" style="width:200px;margin-right:10px;" placeholder="请选择"
43 42
           filterable
@@ -69,7 +68,8 @@
69 68
             :class="signAndWeighBoxPatients"
70 69
             border
71 70
           >
72
-          <el-table-column label="耗材编码" align="center" v-if="org_id ==9956 || org_id == 0">
71
+        
72
+            <el-table-column label="耗材编码" align="center" v-if="org_id ==9956 || org_id == 0">
73 73
               <template slot-scope="scope">
74 74
                 <span v-if="scope.row.good_number>0">{{ scope.row.good_number?scope.row.good_number:"" }}</span> 
75 75
               </template>
@@ -287,17 +287,36 @@ export default {
287 287
                
288 288
               }
289 289
               //  list[i].stockIn = list[i].GoodStartFlowInfo.over_count
290
-               list[i].stock_in_price = "/"
291
-               list[i].stockMoney = "/"
290
+               if(this.org_id == 0){
291
+                  list[i].stock_in_price = list[i].buy_price
292
+                  list[i].stockMoney = (list[i].buy_price * list[i].stockIn).toFixed(2)
293
+               }else{
294
+                list[i].stock_in_price = "/"
295
+                list[i].stockMoney = "/"
296
+               }
297
+             
292 298
               
293 299
               
294 300
               list[i].stockAdd = this.getWarehouseInfoOne(list[i].StartFlowWarehouseInfo,list[i].WareStartEndStockInventoryProfit)//期间增加
295
-              list[i].addStockMoney = "/"
296
-              list[i].saleStockMoney = "/"
301
+
302
+              if(this.org_id == 0){
303
+               list[i].addStockMoney = list[i].buy_price 
304
+                list[i].saleStockMoney = (list[i].buy_price *list[i].stockAdd).toFixed(2)
305
+              }else{
306
+               list[i].addStockMoney = "/"
307
+               list[i].saleStockMoney = "/"
308
+              }
309
+             
297 310
 
298 311
               list[i].outStock = this.getWarehosueOutInfo(list[i].WarehouseOutInfoStart,list[i].WareStartEndStockInventoryLosses,list[i].StartEndCancelFLowInfo)//本期减少
299
-              list[i].stockOutprice = "/"
300
-              list[i].saleOutMoney = "/"
312
+              if(this.org_id == 0){
313
+                list[i].stockOutprice = list[i].packing_price
314
+                list[i].saleOutMoney = (list[i].packing_price * list[i].outStock).toFixed(2)
315
+              }else{
316
+                list[i].stockOutprice = "/"
317
+                list[i].saleOutMoney = "/"
318
+              }
319
+             
301 320
               if(this.org_id == 10265){
302 321
                 list[i].overStock = list[i].GoodEndFlowInfo.over_count
303 322
               }else{
@@ -312,9 +331,14 @@ export default {
312 331
                
313 332
               }
314 333
             
315
-            
316
-              list[i].overPrice = "/"
317
-              list[i].overMoney = "/"
334
+              if(this.org_id == 0){
335
+                list[i].overPrice = list[i].packing_price
336
+                list[i].overMoney = (list[i].packing_price*list[i].overStock).toFixed(2)
337
+              }else{
338
+                list[i].overPrice = "/"
339
+                list[i].overMoney = "/"
340
+              }
341
+             
318 342
              
319 343
             }
320 344
             console.log("listwowowoowowowow",list)
@@ -622,11 +646,6 @@ export default {
622 646
         countfive +=arr5[i].count
623 647
       }
624 648
     }
625
-    console.log("countOne",countOne)
626
-    console.log("countTwo",countTwo)
627
-    console.log("countthree",countthree)
628
-    console.log("countfour",countfour)
629
-    console.log("*********************")
630 649
     count = countOne - countTwo + countthree - countfour + countfive
631 650
     if(count > 0 ){
632 651
       return count
@@ -660,10 +679,7 @@ export default {
660 679
      }
661 680
     }
662 681
     all_count = count + countOne
663
-    console.log("count2332323223232o2222222222wide",count)
664
-    console.log("countONE23232322323323223",countOne)
665
-    console.log("all_count9999999999999wode",all_count)
666
-    console.log("-------------------------------------------")
682
+
667 683
     if(all_count > 0 ){
668 684
       return all_count
669 685
     }else{
@@ -1150,7 +1166,10 @@ export default {
1150 1166
         }
1151 1167
       }
1152 1168
       return count
1153
-    } 
1169
+    },
1170
+    getAllQuery(){
1171
+     this.getlist()
1172
+    }
1154 1173
   },
1155 1174
 
1156 1175
 }

+ 148 - 205
src/xt_pages/user/lapsoInspection.vue Parādīt failu

@@ -88,7 +88,7 @@
88 88
                 type="primary"
89 89
                 icon="el-icon-edit-outline"
90 90
                 @click="openEdit()"
91
-                :disabled="itemDate ? false : true"
91
+                :disabled="itemDateShow ? false : true"
92 92
               >修改
93 93
               </el-button
94 94
               >
@@ -113,9 +113,12 @@
113 113
             </div>
114 114
             <div v-if="!isPic">
115 115
               <el-table
116
+                highlight-current-row
117
+               @current-change="handleCurrentChangeOne"
116 118
                 :header-cell-style="{
117 119
                 backgroundColor: 'rgb(245, 247, 250)',
118 120
                 color: '#606266'
121
+                
119 122
               }"
120 123
                 :row-style="{ color: '#303133' }"
121 124
                 :data="tabileList"
@@ -183,17 +186,6 @@
183 186
   
184 187
             </div>
185 188
   
186
-            <!-- <el-pagination
187
-              align="right"
188
-              @current-change="handleCurrentChangePage"
189
-              :current-page="queryParams.page"
190
-              :page-size="1"
191
-              background
192
-              style="margin-top:20px;"
193
-              layout="total, prev, pager, next, jumper"
194
-              :total="total"
195
-            >
196
-            </el-pagination> -->
197 189
           </el-col>
198 190
         </el-row>
199 191
       </div>
@@ -218,11 +210,6 @@
218 210
               </el-form-item>
219 211
             </el-col>
220 212
   
221
-  <!--          <el-col :span="24">-->
222
-  <!--            <p style="margin-top:20px;">是否弹窗提醒:-->
223
-  <!--              <el-switch v-model="is_open"></el-switch>-->
224
-  <!--            </p>-->
225
-  <!--          </el-col>-->
226 213
           </el-row>
227 214
         </el-form>
228 215
         <div slot="footer" class="dialog-footer">
@@ -281,7 +268,7 @@
281 268
             </el-col>
282 269
             <el-col :span="7">
283 270
               <el-form-item
284
-                label="检验日期"
271
+                label="检验日期222"
285 272
                 prop="inspect_date"
286 273
                 :rules="[
287 274
                   { required: true, message: '请输入检验日期', trigger: 'blur' }
@@ -463,7 +450,8 @@
463 450
     fetchPatientInspections,
464 451
     setRemind,
465 452
     setRemindDialog,
466
-    getNewInspectionList
453
+    getNewInspectionList,
454
+    getNewInspectionDetailList
467 455
   } from '@/api/inspection'
468 456
   import { getFileExtension, uParseTime } from '@/utils/tools'
469 457
   
@@ -523,7 +511,9 @@
523 511
         org_id:0,
524 512
         rowList:[],
525 513
         tabileList:[],
526
-        inspectionList:[]
514
+        inspectionList:[],
515
+        inspectionData:[],
516
+        itemDateShow:false
527 517
       }
528 518
     },
529 519
     methods: {
@@ -729,84 +719,31 @@
729 719
             this.dialogRemindFormVisible = false
730 720
           }
731 721
         })
732
-      }, openEdit() {
733
-  
734
-        if (this.project == null) {
735
-          this.$message.error('请先选择项目')
736
-          return false
737
-        }
738
-        if(this.isPic){
739
-          this.form.pic_method = 'edit'
740
-          this.formTitle = '修改' + this.project.project_name
741
-          this.form.project_id = this.project.project_id
742
-          this.form.inspect_date = this.itemDate
743
-          this.form.old_inspect_date = this.itemDate
744
-          this.form.imgs = []
745
-          this.form.delete_imgs = []
746
-          for(var index in this.inspections){
747
-            this.form.imgs.push({
748
-              id: this.inspections[index].id,
749
-              img_url: this.inspections[index].inspect_value,
750
-              desc: this.inspections[index].item_name
751
-            })
752
-          }
753
-          console.log(this.form.imgs)
754
-          this.dialogPicFormVisible = true
755
-        }else{
756
-          console.log("22222")
757
-          this.form.method = 'edit'
722
+      },
723
+     
724
+      openEdit(){
725
+        this.form.formItem = []
726
+        if(this.inspectionData!=null){
758 727
           this.formTitle = '修改' + this.project.project_name
759
-          this.form.project_id = this.project.project_id
760
-          this.form.inspect_date = this.itemDate
761
-          this.form.old_inspect_date = this.itemDate
762
-          if(this.form.project_id == 14) {
763
-            this.form.remind_cycle = this.patient_info.remind_cycle
764
-          }else{
765
-            this.form.remind_cycle =""
766
-          }
767
-          console.log(this.form.remind_cycle)
768
-           
769
-         
770
-          this.form.formItem = []
771
-          console.log("hhhhhhhhhhhhh",this.project.inspection_reference)
772
-          console.log("inspectionsMap",this.inspectionsMap)
773
-          for (var index in this.project.inspection_reference) {
774
-            if(this.org_id ==10138){
775
-              this.form.formItem.push({
776
-                id: this.project.inspection_reference[index].id in this.inspectionsMap ? this.inspectionsMap[this.project.inspection_reference[index].id].id : 0,
777
-                project_id: this.project.inspection_reference[index].project_id,
778
-                project_name: this.project.inspection_reference[index].project_name,
779
-                item_id: this.project.inspection_reference[index].id,
780
-                item: this.project.inspection_reference[index].item,
781
-                item_name: this.project.inspection_reference[index].item_name,
782
-                range_type: this.project.inspection_reference[index].range_type,
783
-                value: this.project.inspection_reference[index].item_id in this.inspectionsMap ? this.inspectionsMap[this.project.inspection_reference[index].item_id].inspect_value : '',
784
-                select_options: this.project.inspection_reference[index].range_options.split(','),
785
-                unit: this.project.inspection_reference[index].unit,
786
-                item_id:parseInt(this.project.inspection_reference[index].item_id) ,
787
-              })
788
-            }else{
789
-              this.form.formItem.push({
790
-              id: this.project.inspection_reference[index].id in this.inspectionsMap ? this.inspectionsMap[this.project.inspection_reference[index].id].id : 0,
791
-              project_id: this.project.inspection_reference[index].project_id,
792
-              project_name: this.project.inspection_reference[index].project_name,
793
-              item_id: this.project.inspection_reference[index].id,
794
-              item: this.project.inspection_reference[index].item,
795
-              item_name: this.project.inspection_reference[index].item_name,
796
-              range_type: this.project.inspection_reference[index].range_type,
797
-              value: this.project.inspection_reference[index].id in this.inspectionsMap ? this.inspectionsMap[this.project.inspection_reference[index].id].inspect_value : '',
798
-              select_options: this.project.inspection_reference[index].range_options.split(','),
799
-              unit: this.project.inspection_reference[index].unit
800
-            })
801
-            }
802
-           
728
+          
729
+          for(let i=0;i<this.inspectionData.length;i++){
730
+            console.log("类型====================",this.inspectionData[i].inspect_type)
731
+            var obj = {id:0,project_id:0,project_name:"",item_id:0,item_name:"",range_type:"",value:"",unit:"",item_id:0} 
732
+            obj.id=this.inspectionData[i].id,
733
+            obj.project_id=this.inspectionData[i].project_id
734
+            obj.project_name=this.inspectionData[i].project_name
735
+            obj.item_id = this.inspectionData[i].item_id
736
+            obj.item_name = this.inspectionData[i].item_name
737
+            obj.range_type = this.inspectionData[i].inspect_type
738
+            obj.value = this.inspectionData[i].inspect_value
739
+            obj.unit = this.inspectionData[i].unit
740
+            this.form.formItem.push(obj)
803 741
           }
804
-          console.log(this.form.formItem)
805
-          this.dialogFormVisible = true
806
-  
807 742
         }
808
-  
809
-      },setRemindDialog(){
743
+        console.log("this.form.formItem-----------------------",this.form.formItem)
744
+        this.dialogFormVisible = true
745
+      },
746
+      setRemindDialog(){
810 747
         this.dialogRemindDialogFormVisible = true
811 748
   
812 749
   
@@ -832,11 +769,6 @@
832 769
         this.form.inspect_date = uParseTime(today, '{y}-{m}-{d} {h}:{i}')
833 770
         this.form.formItem = []
834 771
         for (var index in this.project.inspection_reference) {
835
-          // var formItem = this.project.inspection_reference[index];
836
-          // formItem["value"] = '';
837
-          // if (formItem.range_type==2) {
838
-          //   formItem["select_options"] = formItem.range_options.split(",");
839
-          // }
840 772
           this.form.formItem.push({
841 773
             id: 0,
842 774
             project_id: this.project.inspection_reference[index].project_id,
@@ -893,86 +825,94 @@
893 825
         console.log('form.formItem', this.form.formItem)
894 826
         this.dialogFormVisible = true
895 827
       },
896
-      submitEdit(formName) {
897
-        this.$refs[formName].validate(valid => {
898
-          if (valid) {
899
-            this.formLoading = true
900
-            if (this.form.formItem.length == 0) {
901
-              this.$message.error('未填写项目')
902
-              return false
903
-            }
904
-            for (var index in this.form.formItem) {
905
-              this.form.formItem[index].value = '' + this.form.formItem[index].value
906
-            }
907
-  
908
-            EditPatientInspection(this.patientID, this.form, this.form.remind_cycle, this.form.inspect_date, this.form.project_id).then(response => {
909
-              if (response.data.state == 1) {
910
-                this.$notify({
911
-                  title: '成功',
912
-                  message: '修改成功',
913
-                  type: 'success',
914
-                  duration: 2000
915
-                })
916
-                this.patient_info.remind_cycle =
917
-                  response.data.data.remind_cycle
918
-                this.itemDate = this.form.inspect_date
919
-                this.items = []
920
-                var inspections = response.data.data.inspections
921
-                this.inspections = response.data.data.inspections
922
-                if (inspections == null) {
923
-                  this.inspections = []
924
-                  return false
925
-                }
926
-                var inspectionsMap = {}
927
-                this.inspectionsMap = {}
928
-                for (var index in inspections) {
929
-                  inspectionsMap[inspections[index].item_id] =
930
-                    inspections[index]
931
-                  this.inspectionsMap[inspections[index].item_id] =
932
-                    inspections[index]
933
-                }
934
-                var items = this.project.inspection_reference
935
-                console.log('itmes', items)
936
-                for (var index in items) {
937
-                  if (items[index].id in inspectionsMap) {
938
-                    var item = {}
939
-                    for (var key in items[index]) {
940
-                      item[key] = items[index][key]
941
-                    }
942
-                    item.value = inspectionsMap[items[index].id].inspect_value
943
-                    item.value_direction = ''
944
-                    if (item.range_type == 1) {
945
-                      var value = parseFloat(item.value)
946
-                      var range_min = parseFloat(item.range_min)
947
-                      var range_max = parseFloat(item.range_max)
948
-                      if (value < range_min) {
949
-                        item.value_direction = '↓'
950
-                      } else if (value > range_max) {
951
-                        item.value_direction = '↑'
952
-                      }
953
-                    }
954
-                    this.items.push(item)
955
-                  }
956
-                }
957
-  
958
-                this.resetForm(formName)
959
-                this.dialogFormVisible = false
960
-              } else {
961
-                this.$message.error(response.data.msg)
962
-                return false
963
-              }
964
-            })
965
-              .catch(v => {
966
-                this.$message.error(v)
967
-                return false
968
-              })
969
-            this.formLoading = false
970
-            return false
971
-          } else {
972
-            return false
973
-          }
828
+      // submitEdit(formName) {
829
+      //   this.$refs[formName].validate(valid => {
830
+      //     if (valid) {
831
+      //       this.formLoading = true
832
+      //       if (this.form.formItem.length == 0) {
833
+      //         this.$message.error('未填写项目')
834
+      //         return false
835
+      //       }
836
+      //       for (var index in this.form.formItem) {
837
+      //         this.form.formItem[index].value = '' + this.form.formItem[index].value
838
+      //       }
839
+  
840
+      //       EditPatientInspection(this.patientID, this.form, this.form.remind_cycle, this.form.inspect_date, this.form.project_id).then(response => {
841
+      //         if (response.data.state == 1) {
842
+      //           this.$notify({
843
+      //             title: '成功',
844
+      //             message: '修改成功',
845
+      //             type: 'success',
846
+      //             duration: 2000
847
+      //           })
848
+      //           this.patient_info.remind_cycle =
849
+      //             response.data.data.remind_cycle
850
+      //           this.itemDate = this.form.inspect_date
851
+      //           this.items = []
852
+      //           var inspections = response.data.data.inspections
853
+      //           this.inspections = response.data.data.inspections
854
+      //           if (inspections == null) {
855
+      //             this.inspections = []
856
+      //             return false
857
+      //           }
858
+      //           var inspectionsMap = {}
859
+      //           this.inspectionsMap = {}
860
+      //           for (var index in inspections) {
861
+      //             inspectionsMap[inspections[index].item_id] =
862
+      //               inspections[index]
863
+      //             this.inspectionsMap[inspections[index].item_id] =
864
+      //               inspections[index]
865
+      //           }
866
+      //           var items = this.project.inspection_reference
867
+      //           console.log('itmes', items)
868
+      //           for (var index in items) {
869
+      //             if (items[index].id in inspectionsMap) {
870
+      //               var item = {}
871
+      //               for (var key in items[index]) {
872
+      //                 item[key] = items[index][key]
873
+      //               }
874
+      //               item.value = inspectionsMap[items[index].id].inspect_value
875
+      //               item.value_direction = ''
876
+      //               if (item.range_type == 1) {
877
+      //                 var value = parseFloat(item.value)
878
+      //                 var range_min = parseFloat(item.range_min)
879
+      //                 var range_max = parseFloat(item.range_max)
880
+      //                 if (value < range_min) {
881
+      //                   item.value_direction = '↓'
882
+      //                 } else if (value > range_max) {
883
+      //                   item.value_direction = '↑'
884
+      //                 }
885
+      //               }
886
+      //               this.items.push(item)
887
+      //             }
888
+      //           }
889
+  
890
+      //           this.resetForm(formName)
891
+      //           this.dialogFormVisible = false
892
+      //         } else {
893
+      //           this.$message.error(response.data.msg)
894
+      //           return false
895
+      //         }
896
+      //       })
897
+      //         .catch(v => {
898
+      //           this.$message.error(v)
899
+      //           return false
900
+      //         })
901
+      //       this.formLoading = false
902
+      //       return false
903
+      //     } else {
904
+      //       return false
905
+      //     }
906
+      //   })
907
+      // },
908
+      submitEdit(){
909
+         
910
+         console.log("hhahahahh",this.form.formItem)
911
+        EditPatientNewInspection().then(response=>{
912
+
974 913
         })
975 914
       },
915
+      
976 916
       submitNew(formName) {
977 917
         this.$refs[formName].validate(valid => {
978 918
           if (valid) {
@@ -1154,27 +1094,7 @@
1154 1094
                 }
1155 1095
               }
1156 1096
               this.total += 1
1157
-              // var inspections = response.data.data.inspections
1158
-              // this.inspections = response.data.data.inspections
1159
-              // if (inspections == null) {
1160
-              //   this.inspections = []
1161
-              //   return false
1162
-              // }
1163
-              // var inspectionsMap = {}
1164
-              // this.inspectionsMap = {}
1165
-              //
1166
-              // var items = this.project.inspection_reference
1167
-              // for (var index in items) {
1168
-              //   if (items[index].id in inspectionsMap) {
1169
-              //     var item = {}
1170
-              //     for (var key in items[index]) {
1171
-              //       item[key] = items[index][key]
1172
-              //     }
1173
-              //     item.value = inspectionsMap[items[index].id].inspect_value
1174
-              //     item.value_direction = ''
1175
-              //     this.items.push(item)
1176
-              //   }
1177
-              // }
1097
+             
1178 1098
               this.dialogPicFormVisible = false
1179 1099
               this.queryParams.patient = this.patientID
1180 1100
               this.queryParams.project_id = this.project.project_id
@@ -1237,9 +1157,10 @@
1237 1157
           this.queryParams.page = 1
1238 1158
           this.total = 0
1239 1159
          
1160
+        
1161
+          this.getNewInspectionList(this.queryParams)
1240 1162
           // this.fetchPatientInspections(this.queryParams)
1241 1163
 
1242
-          this.getNewInspectionList(this.queryParams)
1243 1164
         }
1244 1165
       },
1245 1166
   
@@ -1251,7 +1172,7 @@
1251 1172
       fetchPatientInspections(params) {
1252 1173
         this.items = []
1253 1174
         this.isPic = false
1254
-        console.log("params------------------",params)
1175
+       
1255 1176
         fetchPatientInspections(params)
1256 1177
           .then(response => {
1257 1178
             if (response.data.state == 1) {
@@ -1374,22 +1295,21 @@
1374 1295
       },
1375 1296
 
1376 1297
       getNewInspectionList(params){
1377
-         console.log("params-----",params)
1378 1298
          getNewInspectionList(params).then(response=>{
1379 1299
            if(response.data.state == 1){
1380 1300
              var list =  response.data.data.list
1381
-             console.log("list=====================",list)
1301
+            
1382 1302
              this.isPic = false
1383 1303
              this.tabileList = list
1384 1304
 
1385 1305
              var inspectionGroup = response.data.data.inspectionGroup
1386 1306
 
1387 1307
              this.rowList = inspectionGroup
1388
-              console.log("inspectionGroup",inspectionGroup)
1308
+             
1389 1309
              var inspection = response.data.data.inspection
1390 1310
 
1391 1311
              this.inspectionList = inspection
1392
-             console.log("inspection-------------",inspection)
1312
+           
1393 1313
              this.pageLoading = false
1394 1314
              this.itemLoading = false
1395 1315
              this.formLoading = false
@@ -1397,7 +1317,30 @@
1397 1317
         })
1398 1318
       },
1399 1319
       getInspecValue(inspect_date,item_id){
1320
+        var inspect_value = ""
1321
+        for(let i=0;i<this.inspectionList.length;i++){
1322
+          if(inspect_date == this.inspectionList[i].inspect_date && item_id == this.inspectionList[i].item_id){
1323
+             inspect_value = this.inspectionList[i].inspect_value
1324
+          }
1325
+        }
1326
+        return inspect_value
1327
+      },
1328
+      handleCurrentChangeOne(val){
1400 1329
         
1330
+           var params = {
1331
+             patient_id:this.patientID,
1332
+             project_id:val.project_id,
1333
+             inspect_date:val.inspect_date,
1334
+           }
1335
+         getNewInspectionDetailList(params).then(response=>{
1336
+            if(response.data.state == 1){
1337
+                var inspection =  response.data.data.inspection
1338
+                this.itemDateShow = true
1339
+                this.inspectionData = inspection
1340
+                this.form.inspect_date = uParseTime(val.inspect_date, '{y}-{m}-{d} {h}:{i}')
1341
+              
1342
+            }
1343
+         })
1401 1344
       }
1402 1345
     },
1403 1346
     created() {