Browse Source

新分支

28169 8 months ago
parent
commit
e28d82816d

+ 10 - 0
src/api/patient.js View File

1174
     method:"get",
1174
     method:"get",
1175
     params:params,
1175
     params:params,
1176
   })
1176
   })
1177
+}
1178
+
1179
+
1180
+export function getPatientLapsoList(params){
1181
+
1182
+  return request({
1183
+    url:"/api/patient/getpatientlapselist",
1184
+    method:"Get",
1185
+    params:params,
1186
+  })
1177
 }
1187
 }

+ 12 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

1660
                           置换液的速度<br />(ml/h)
1660
                           置换液的速度<br />(ml/h)
1661
                           </td>
1661
                           </td>
1662
                           <td width="50" v-if="org_id == 10375">置换率<br />(ml/h)</td>
1662
                           <td width="50" v-if="org_id == 10375">置换率<br />(ml/h)</td>
1663
+                          <td width="50" v-if=" org_id ==0 || org_id ==10164">超滤率<br />(ml/h)</td>
1663
                           <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id!=10600 && org_id!=10683  && org_id!=0">超滤量<br />(ml)</td>
1664
                           <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id!=10600 && org_id!=10683  && org_id!=0">超滤量<br />(ml)</td>
1664
                           <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0">超滤率<br />(ml/h)</td>
1665
                           <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0">超滤率<br />(ml/h)</td>
1665
                           <td width="50" v-if="org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1666
                           <td width="50" v-if="org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1877
                           <td width="50" v-if="org_id == 10375"><br />
1878
                           <td width="50" v-if="org_id == 10375"><br />
1878
                             {{ monitor_record.replacement_rate?monitor_record.replacement_rate:"0" }}
1879
                             {{ monitor_record.replacement_rate?monitor_record.replacement_rate:"0" }}
1879
                           </td>
1880
                           </td>
1881
+                          <td width="50" v-if="org_id == 10489 || org_id ==0"><br />
1882
+                                   
1883
+                                   {{
1884
+                                     monitor_record.ultrafiltration_rate
1885
+                                       ? monitor_record.ultrafiltration_rate
1886
+                                       : ""
1887
+                                   }}
1888
+                         </td>
1880
                           <td v-if="org_id!=10683&& org_id!=0">
1889
                           <td v-if="org_id!=10683&& org_id!=0">
1881
                             <span v-if="org_id == 9671 || org_id == 10440 || org_id == 10471">
1890
                             <span v-if="org_id == 9671 || org_id == 10440 || org_id == 10471">
1882
                                 {{
1891
                                 {{
1902
                                         ? monitor_record.ultrafiltration_rate
1911
                                         ? monitor_record.ultrafiltration_rate
1903
                                         : ""
1912
                                         : ""
1904
                                     }}
1913
                                     }}
1905
-                              </td>
1914
+                          </td>
1906
 
1915
 
1907
                           <td
1916
                           <td
1908
                             v-if="
1917
                             v-if="
2102
                             执行人签名
2111
                             执行人签名
2103
                           </td>
2112
                           </td>
2104
                           <td style="font-size: 16px" width="10%">时间</td>
2113
                           <td style="font-size: 16px" width="10%">时间</td>
2105
-                           <td style="font-size: 16px" width="10%" v-if="org_id == 10375 || org_id == 0 || org_id ==10206 || org_id == 10571 || org_id ==10600">核对护士</td>
2114
+                           <td style="font-size: 16px" width="10%" v-if="org_id == 10375 || org_id == 0 || org_id ==10206 || org_id == 10571 || org_id ==10600 || org_id == 10489">核对护士</td>
2106
                         </tr>
2115
                         </tr>
2107
                         <!-- <template v-for="group in doctor_advices" > -->
2116
                         <!-- <template v-for="group in doctor_advices" > -->
2108
 
2117
 
2210
                                 getTime(advice[0].execution_time, " {h}:{i}")
2219
                                 getTime(advice[0].execution_time, " {h}:{i}")
2211
                               }}</span>
2220
                               }}</span>
2212
                             </td>
2221
                             </td>
2213
-                            <td height="35px" v-if="org_id == 10375 || org_id ==0||org_id ==10206|| org_id == 10571 || org_id ==10600">
2222
+                            <td height="35px" v-if="org_id == 10375 || org_id ==0||org_id ==10206|| org_id == 10571 || org_id ==10600 || org_id ==10489">
2214
                               <span
2223
                               <span
2215
                                 v-if="
2224
                                 v-if="
2216
                                   setAdminUserES(
2225
                                   setAdminUserES(

+ 38 - 4
src/xt_pages/dialysis/doctorAdviceStaticPrint.vue View File

29
                 <td width="100">药品名称</td>
29
                 <td width="100">药品名称</td>
30
                 <td width="100">规格</td>
30
                 <td width="100">规格</td>
31
                 <td width="100">数量</td>
31
                 <td width="100">数量</td>
32
-                
32
+                <td width="100" v-if="org_id == 0 || org_id==10644">数量</td>
33
               </tr>
33
               </tr>
34
               </thead>
34
               </thead>
35
               <tbody>
35
               <tbody>
41
                   <span v-if="config.is_open == 1">{{getHisCount(item.child,item.max_unit,item.min_unit,item.min_number)}}</span>
41
                   <span v-if="config.is_open == 1">{{getHisCount(item.child,item.max_unit,item.min_unit,item.min_number)}}</span>
42
                   <span v-if="config.is_open != 1">{{getCount(item.child)}}</span>
42
                   <span v-if="config.is_open != 1">{{getCount(item.child)}}</span>
43
                 </td>
43
                 </td>
44
+                <td width="100">{{item.manufacturer_name}}</td>
44
                </tr>
45
                </tr>
45
               </tbody>
46
               </tbody>
46
             </table>
47
             </table>
92
         hemodialysisPipelinesOptions:[],
93
         hemodialysisPipelinesOptions:[],
93
         tableList:[],
94
         tableList:[],
94
         druglist:[],
95
         druglist:[],
95
-        config:{}
96
+        config:{},
97
+        org_id:0,
98
+        manufacturerList:[],
96
       }
99
       }
97
     },
100
     },
98
     components: {
101
     components: {
99
       BreadCrumb
102
       BreadCrumb
100
     },
103
     },
101
     created() {
104
     created() {
105
+      this.org_id = this.$store.getters.xt_user.template_info.org_id;
102
       this.getDialysisAdviceSchedudeList()
106
       this.getDialysisAdviceSchedudeList()
103
     },
107
     },
104
     methods: {
108
     methods: {
113
           if(response.data.state == 1){
117
           if(response.data.state == 1){
114
              var doctorList = []
118
              var doctorList = []
115
              var druglist = response.data.data.drug
119
              var druglist = response.data.data.drug
120
+
116
              this.druglist = druglist
121
              this.druglist = druglist
122
+             this.manufacturerList = response.data.data.manufacturerList
117
              this.startdialogVisible = true
123
              this.startdialogVisible = true
118
              var list = response.data.data.list
124
              var list = response.data.data.list
119
           
125
           
212
                       patient_id:item.patient_id,
218
                       patient_id:item.patient_id,
213
                       min_number:item.drug.min_number,
219
                       min_number:item.drug.min_number,
214
                       max_unit:item.drug.max_unit,
220
                       max_unit:item.drug.max_unit,
215
-                      min_unit:item.drug.min_unit
221
+                      min_unit:item.drug.min_unit,
222
+                      manufacturer_name:this.getManufacturer(item.drug.manufacturer) ,
223
+                      delivery_way:item.delivery_way,
216
                     }
224
                     }
217
                   }
225
                   }
218
                 })
226
                 })
227
                     }
235
                     }
228
                   }
236
                   }
229
                 }
237
                 }
230
-                console.log("hisarr",hisarr)
238
+               
239
+                if(this.org_id == 0 || this.org_id ==10644){
240
+                  var newArr = []
241
+                  var arr_one = []
242
+                  for(let i=0;i<hisarr.length;i++){
243
+                    if(hisarr[i].delivery_way.indexOf('口服')!=-1){
244
+                      newArr.push(hisarr[i])
245
+                    }
246
+                  }
247
+                  for(let i=0;i<hisarr.length;i++){
248
+                    if(hisarr[i].delivery_way.indexOf('口服')==-1){
249
+                      newArr.push(hisarr[i])
250
+                    }
251
+                  }
252
+                  this.tableList = []
253
+                  this.tableList = newArr
254
+              }else{
231
                 this.tableList = []
255
                 this.tableList = []
232
                 this.tableList = hisarr
256
                 this.tableList = hisarr
233
               }
257
               }
258
+              }
234
 
259
 
235
               console.log("中国人民解放军",this.tableList)
260
               console.log("中国人民解放军",this.tableList)
236
              }
261
              }
302
       return max_str + min_str;
327
       return max_str + min_str;
303
         
328
         
304
       },
329
       },
330
+      getManufacturer(id){
331
+        var  manufacturer_name = ""
332
+        for(let i=0;i<this.manufacturerList.length;i++){
333
+            if(id== this.manufacturerList[i].id){
334
+              manufacturer_name = this.manufacturerList[i].manufacturer_name
335
+            }
336
+        }
337
+        return manufacturer_name
338
+    }
305
    }
339
    }
306
   }
340
   }
307
 </script>
341
 </script>

+ 49 - 6
src/xt_pages/dialysis/newDoctorAdvice.vue View File

597
              <span v-if="config.is_open ==1">{{getHisCount(scope.row.child,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
597
              <span v-if="config.is_open ==1">{{getHisCount(scope.row.child,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
598
            </template>
598
            </template>
599
         </el-table-column>
599
         </el-table-column>
600
-
600
+      
601
+        <el-table-column align="center" label="厂家">
602
+           <template slot-scope="scope">
603
+             {{scope.row.manufacturer_name}}
604
+           </template>
605
+        </el-table-column>
601
 
606
 
602
 
607
 
603
       </el-table>
608
       </el-table>
915
       partion_str:"",
920
       partion_str:"",
916
       keyword:"",
921
       keyword:"",
917
       tableProjectList:[],
922
       tableProjectList:[],
923
+      manufacturerList:[]
918
     };
924
     };
919
   },
925
   },
920
   created() {
926
   created() {
1845
              var list = response.data.data.list
1851
              var list = response.data.data.list
1846
 
1852
 
1847
              var config = response.data.data.config
1853
              var config = response.data.data.config
1848
-
1849
-             console.log("dcotor---------------",this.doctorList)
1854
+             this.manufacturerList = response.data.data.manufacturerList
1855
+             console.log("dcotor---------------",this.manufacturerList)
1850
              if(list!=null && list.length > 0){
1856
              if(list!=null && list.length > 0){
1851
                for(let i=0;i<list.length;i++){
1857
                for(let i=0;i<list.length;i++){
1852
                 for(let j=0;j<list[i].xt_doctor_advice.length;j++){
1858
                 for(let j=0;j<list[i].xt_doctor_advice.length;j++){
1868
                       drug_id:item.drug_id,
1874
                       drug_id:item.drug_id,
1869
                       specification_name:item.advice_desc +item.drug_spec_unit,
1875
                       specification_name:item.advice_desc +item.drug_spec_unit,
1870
                       patient_id:item.patient_id,
1876
                       patient_id:item.patient_id,
1877
+                      delivery_way:"",
1871
                     }
1878
                     }
1872
                   }
1879
                   }
1873
                 })
1880
                 })
1939
                       patient_id:item.patient_id,
1946
                       patient_id:item.patient_id,
1940
                       min_number:item.drug.min_number,
1947
                       min_number:item.drug.min_number,
1941
                       max_unit:item.drug.max_unit,
1948
                       max_unit:item.drug.max_unit,
1942
-                      min_unit:item.drug.min_unit
1949
+                      min_unit:item.drug.min_unit,
1950
+                      delivery_way:item.delivery_way,
1951
+                      manufacturer_name:this.getManufacturer(item.drug.manufacturer) ,
1943
                     }
1952
                     }
1944
                   }
1953
                   }
1945
                 })
1954
                 })
1954
                     }
1963
                     }
1955
                   }
1964
                   }
1956
                 }
1965
                 }
1957
-                console.log("hisarr",hisarr)
1966
+
1967
+              if(this.org_id == 0 || this.org_id ==10644){
1968
+                  var newArr = []
1969
+                  var arr_one = []
1970
+                  for(let i=0;i<hisarr.length;i++){
1971
+                    if(hisarr[i].delivery_way.indexOf('口服')!=-1){
1972
+                      newArr.push(hisarr[i])
1973
+                    }
1974
+                  }
1975
+                  for(let i=0;i<hisarr.length;i++){
1976
+                    if(hisarr[i].delivery_way.indexOf('口服')==-1){
1977
+                      newArr.push(hisarr[i])
1978
+                    }
1979
+                  }
1980
+                  this.tableList = []
1981
+                  this.tableList = newArr
1982
+              }else{
1958
                 this.tableList = []
1983
                 this.tableList = []
1959
                 this.tableList = hisarr
1984
                 this.tableList = hisarr
1960
               }
1985
               }
1986
+                
1987
+               
1988
+              }
1961
 
1989
 
1962
 
1990
 
1963
              }
1991
              }
1965
         })
1993
         })
1966
 
1994
 
1967
       },
1995
       },
1996
+      arraySort(property) {
1997
+      return function (a, b) {
1998
+        var value1 = a[property];
1999
+        var value2 = b[property];
2000
+        return value1 - value2;
2001
+      };
2002
+     },
1968
       toStaticOne() {
2003
       toStaticOne() {
1969
          var str = ""
2004
          var str = ""
1970
          if(this.partion_type==0){
2005
          if(this.partion_type==0){
2646
         }
2681
         }
2647
       })
2682
       })
2648
     },
2683
     },
2649
-
2684
+    getManufacturer(id){
2685
+        var  manufacturer_name = ""
2686
+        for(let i=0;i<this.manufacturerList.length;i++){
2687
+            if(id== this.manufacturerList[i].id){
2688
+              manufacturer_name = this.manufacturerList[i].manufacturer_name
2689
+            }
2690
+        }
2691
+        return manufacturer_name
2692
+    }
2650
 
2693
 
2651
   },
2694
   },
2652
   components: {
2695
   components: {

+ 24 - 11
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

1260
                         class="under_line"
1260
                         class="under_line"
1261
                         style="width: 50px; text-align: center"
1261
                         style="width: 50px; text-align: center"
1262
                       >
1262
                       >
1263
-                        {{ prescription.kalium ? prescription.kalium : "/" }}
1263
+                       <span v-if="org_id!=0&&org_id!=10489">{{ prescription.kalium ? prescription.kalium : "/" }}</span>  
1264
+                       <span v-if="org_id==0||org_id==10489">{{ prescription.kalium ? prescription.kalium : "" }}</span>  
1264
                       </div>
1265
                       </div>
1265
                       mmol/L
1266
                       mmol/L
1266
                     </div>
1267
                     </div>
1270
                         class="under_line"
1271
                         class="under_line"
1271
                         style="width: 50px; text-align: center"
1272
                         style="width: 50px; text-align: center"
1272
                       >
1273
                       >
1273
-                        {{ prescription.sodium ? prescription.sodium : "/" }}
1274
+                       <span v-if="org_id!=0&&org_id!=10489">{{ prescription.sodium ? prescription.sodium : "/" }}</span> 
1275
+                       <span v-if="org_id==0||org_id==10489">{{ prescription.sodium ? prescription.sodium : "" }}</span>  
1274
                       </div>
1276
                       </div>
1275
                       mmol/L
1277
                       mmol/L
1276
                     </div>
1278
                     </div>
1280
                         class="under_line"
1282
                         class="under_line"
1281
                         style="width: 50px; text-align: center"
1283
                         style="width: 50px; text-align: center"
1282
                       >
1284
                       >
1283
-                        {{ prescription.calcium ? prescription.calcium : "/" }}
1285
+                       <span v-if="org_id!=0 && org_id!=10489"> {{ prescription.calcium ? prescription.calcium : "/" }}</span>
1286
+                       <span v-if="org_id ==0 || org_id==10489"> {{ prescription.calcium ? prescription.calcium : "" }}</span>
1284
                       </div>
1287
                       </div>
1285
                       mmol/L
1288
                       mmol/L
1286
                     </div>
1289
                     </div>
1290
                         class="under_line"
1293
                         class="under_line"
1291
                         style="width: 50px; text-align: center"
1294
                         style="width: 50px; text-align: center"
1292
                       >
1295
                       >
1293
-                        {{
1296
+                       <span v-if="org_id!=0&&org_id!=10489">{{
1294
                           prescription.bicarbonate ? prescription.bicarbonate : "/"
1297
                           prescription.bicarbonate ? prescription.bicarbonate : "/"
1295
                         }}
1298
                         }}
1299
+                        </span>  
1300
+                        <span v-if="org_id == 0 || org_id == 10489">
1301
+                          {{
1302
+                          prescription.bicarbonate ? prescription.bicarbonate : ""
1303
+                         }}
1304
+                        </span>
1296
                       </div>
1305
                       </div>
1297
                       mmol/L
1306
                       mmol/L
1298
                     </div>
1307
                     </div>
1732
                         </td>
1741
                         </td>
1733
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1742
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1734
                         <td width="50" v-if="org_id == 10375 || org_id == 0">置换率<br />(ml/h)</td>
1743
                         <td width="50" v-if="org_id == 10375 || org_id == 0">置换率<br />(ml/h)</td>
1744
+                        <td width="50" v-if="org_id == 0 || org_id ==10489">超滤率<br/>(ml/h)</td>
1735
                         <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 10600&& org_id != 10683">超滤量<br />(ml)</td>
1745
                         <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 10600&& org_id != 10683">超滤量<br />(ml)</td>
1736
                         <td width="50" v-if="org_id == 10600 || org_id ==10598 || org_id ==10683">超滤率<br/>(ml/h)</td>
1746
                         <td width="50" v-if="org_id == 10600 || org_id ==10598 || org_id ==10683">超滤率<br/>(ml/h)</td>
1737
                         <td width="50" v-if="org_id ==3877 || org_id == 10449 || org_id ==0">累计超滤量<br />(ml)</td>
1747
                         <td width="50" v-if="org_id ==3877 || org_id == 10449 || org_id ==0">累计超滤量<br />(ml)</td>
1853
                           {{ monitor.replacement_rate? monitor.replacement_rate: ""}}
1863
                           {{ monitor.replacement_rate? monitor.replacement_rate: ""}}
1854
                         </td>
1864
                         </td>
1855
                         <td v-if="org_id!=10600 && org_id!=10644  && org_id!=10683">
1865
                         <td v-if="org_id!=10600 && org_id!=10644  && org_id!=10683">
1856
-                          <span v-if="org_id!=9671 && org_id!=10440 && org_id!=10617"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1866
+                          <span v-if="org_id!=9671 && org_id!=10440 && org_id!=10617">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1857
                           <span v-if="org_id==9671 || org_id==10440 || org_id ==10617">
1867
                           <span v-if="org_id==9671 || org_id==10440 || org_id ==10617">
1858
                               <span v-if="org_id ==10617 && monindex == 0">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>
1868
                               <span v-if="org_id ==10617 && monindex == 0">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>
1859
                               <span v-if="org_id ==10617 && monindex == monitors.length-1">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>
1869
                               <span v-if="org_id ==10617 && monindex == monitors.length-1">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>
1861
                               <span v-if="org_id !=10617">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
1871
                               <span v-if="org_id !=10617">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
1862
                            </span>
1872
                            </span>
1863
                         </td>
1873
                         </td>
1874
+                        <td v-if="org_id == 10489 || org_id == 0"><br />
1875
+                          {{ monitor.replacement_rate? monitor.replacement_rate: ""}}
1876
+                        </td>
1864
                         <td width="50" v-if="org_id == 10600 || org_id == 10598 || org_id==10644 || org_id == 10683 || org_id == 0"><br/>
1877
                         <td width="50" v-if="org_id == 10600 || org_id == 10598 || org_id==10644 || org_id == 10683 || org_id == 0"><br/>
1865
                            <span v-if="org_id!=10644 && org_id!=0">{{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: ""}}</span>
1878
                            <span v-if="org_id!=10644 && org_id!=0">{{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: ""}}</span>
1866
                            <span v-if="org_id==10644 || org_id == 0">
1879
                            <span v-if="org_id==10644 || org_id == 0">
2056
                         <td style="font-size: 16px" width="10%">医生签名</td>
2069
                         <td style="font-size: 16px" width="10%">医生签名</td>
2057
                         <!-- <td style="font-size: 16px" width="10%">核对人签名</td> -->
2070
                         <!-- <td style="font-size: 16px" width="10%">核对人签名</td> -->
2058
                         <td style="font-size: 16px" width="10%">执行人签名</td>
2071
                         <td style="font-size: 16px" width="10%">执行人签名</td>
2059
-                        <td style="font-size: 16px" width="10%" v-if="org_id == 10598">核对护士</td>
2072
+                        <td style="font-size: 16px" width="10%" v-if="org_id == 10598 || org_id == 10489 || org_id == 0">核对护士</td>
2060
                         <td style="font-size: 16px" width="10%">时间</td>
2073
                         <td style="font-size: 16px" width="10%">时间</td>
2061
                         <td
2074
                         <td
2062
                           style="font-size: 16px"
2075
                           style="font-size: 16px"
2148
                             />
2161
                             />
2149
                         </span>
2162
                         </span>
2150
                         </td>
2163
                         </td>
2151
-                        <td v-if="org_id == 10598">
2164
+                        <td v-if="org_id == 10598 || org_id==10489 || org_id == 0">
2152
                           <span v-if="advice!=null && advice.checker>0">
2165
                           <span v-if="advice!=null && advice.checker>0">
2153
                               <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker)}}</span>
2166
                               <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker)}}</span>
2154
                               <img
2167
                               <img
2165
                             getTime(advice.execution_time, "{h}:{i}")
2178
                             getTime(advice.execution_time, "{h}:{i}")
2166
                           }}</span>
2179
                           }}</span>
2167
                         </td>
2180
                         </td>
2168
-                        <td height="32px" v-if="org_id == 10223 || org_id == 9538 || org_id == 0 ||
2169
-                            org_id ==10375 || org_id ==10571 || org_id ==10600 ">
2181
+                        <td height="32px" v-if="org_id == 10223 || org_id == 9538  ||
2182
+                            org_id ==10375 || org_id ==10571 || org_id ==10600">
2170
                           <span v-if="advice!=null && advice.checker>0">
2183
                           <span v-if="advice!=null && advice.checker>0">
2171
                             <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker)}}</span>
2184
                             <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker)}}</span>
2172
                             <img
2185
                             <img
2292
                         <td style="font-size: 16px" width="10%">医生签名</td>
2305
                         <td style="font-size: 16px" width="10%">医生签名</td>
2293
 
2306
 
2294
                         <td style="font-size: 16px" width="10%">执行人签名</td>
2307
                         <td style="font-size: 16px" width="10%">执行人签名</td>
2295
-                        <td style="font-size: 16px" width="10%" v-if="org_id == 10598">核对护士</td>
2308
+                        <td style="font-size: 16px" width="10%" v-if="org_id == 10598 || org_id == 0 || org_id == 10489">核对护士</td>
2296
                         <td style="font-size: 16px" width="10%">时间</td>
2309
                         <td style="font-size: 16px" width="10%">时间</td>
2297
                         <td
2310
                         <td
2298
                           style="font-size: 16px"
2311
                           style="font-size: 16px"
2367
                             />
2380
                             />
2368
                         </span>
2381
                         </span>
2369
                         </td>
2382
                         </td>
2370
-                        <td v-if="org_id == 10598">
2383
+                        <td v-if="org_id == 10598 || org_id == 10489 || org_id == 0">
2371
                           <span v-if="advice!=null && advice.checker>0">
2384
                           <span v-if="advice!=null && advice.checker>0">
2372
                               <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker)}}</span>
2385
                               <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker)}}</span>
2373
                               <img
2386
                               <img

+ 196 - 31
src/xt_pages/user/lapsoSummary.vue View File

5
         <div style="display:flex;justify-content: space-between;align-items: center;margin-bottom: 12px;">
5
         <div style="display:flex;justify-content: space-between;align-items: center;margin-bottom: 12px;">
6
            <span style="font-weight:bold;">转归记录列表</span>
6
            <span style="font-weight:bold;">转归记录列表</span>
7
            <el-button size="medium" type="primary" @click="dialogVisible =true">新增</el-button>
7
            <el-button size="medium" type="primary" @click="dialogVisible =true">新增</el-button>
8
+
9
+           <!-- <el-button size="medium" type="primary" @click="toJiaoBen">脚本</el-button> -->
8
         </div>
10
         </div>
9
         <el-table class="oictable" :data="tableData" border style="width:100%">
11
         <el-table class="oictable" :data="tableData" border style="width:100%">
10
         <el-table-column prop="start_time" label="日期" align="center">
12
         <el-table-column prop="start_time" label="日期" align="center">
22
         </el-table-column>
24
         </el-table-column>
23
        <el-table-column prop="blood_access_part_id" label="转归分类" align="center">
25
        <el-table-column prop="blood_access_part_id" label="转归分类" align="center">
24
           <template slot-scope="scope">
26
           <template slot-scope="scope">
25
-            <span v-if="scope.row.lapse_class == 1">终止透析</span>
27
+            <!-- <span v-if="scope.row.lapse_class == 1">终止透析</span>
26
             <span v-if="scope.row.lapse_class == 2">转出院外</span>
28
             <span v-if="scope.row.lapse_class == 2">转出院外</span>
27
             <span v-if="scope.row.lapse_class == 3">回居住地透析</span>
29
             <span v-if="scope.row.lapse_class == 3">回居住地透析</span>
28
             <span v-if="scope.row.lapse_class == 4">临时透析</span>
30
             <span v-if="scope.row.lapse_class == 4">临时透析</span>
29
             <span v-if="scope.row.lapse_class == 5">转腹膜透析</span>
31
             <span v-if="scope.row.lapse_class == 5">转腹膜透析</span>
30
             <span v-if="scope.row.lapse_class == 6">其他</span>
32
             <span v-if="scope.row.lapse_class == 6">其他</span>
31
-            <span v-if="scope.row.lapse_class == 7">变更透析医院</span>
33
+            <span v-if="scope.row.lapse_class == 7">变更透析医院</span> -->
34
+            <!-- <span v-if="scope.row.lapse_class == 1">留治</span>
35
+            <span v-if="scope.row.lapse_class == 2">转出</span>
36
+            <span v-if="scope.row.lapse_class == 3">死亡</span> -->
37
+            <span v-if="scope.row.lapse_class == 4">转出院外</span>
38
+            <span v-if="scope.row.lapse_class == 5">肾移植</span>
39
+            <span v-if="scope.row.lapse_class == 6">转腹膜透析</span>
40
+            <span v-if="scope.row.lapse_class == 7">出院</span>
41
+            <span v-if="scope.row.lapse_class == 8">好转</span>
42
+            <span v-if="scope.row.lapse_class == 9">放弃治疗</span>
43
+            <span v-if="scope.row.lapse_class == 10">其他状态</span>
44
+            <span v-if="scope.row.lapse_class ==11">请假</span>
45
+            <span v-if="scope.row.lapse_class ==12">临时透析</span>
46
+            <span v-if="scope.row.lapse_class ==13">回居住地透析</span>
47
+            <span v-if="scope.row.lapse_class ==14">变更透析医院</span>
32
           </template>
48
           </template>
33
        </el-table-column>
49
        </el-table-column>
34
         <el-table-column prop="inflow_pass" label="原因"  align="center">
50
         <el-table-column prop="inflow_pass" label="原因"  align="center">
129
             </el-row>
145
             </el-row>
130
 
146
 
131
 
147
 
148
+            <el-row :gutter="20" v-if="lapse_type == 4">
149
+                <el-col :span="8">
150
+                    <el-form-item label="开始时间:"> 
151
+                      <el-date-picker
152
+                          v-model="start_time"
153
+                          type="date"
154
+                            value-format="yyyy-MM-dd"
155
+                          placeholder="选择日期">
156
+                        </el-date-picker>
157
+                    </el-form-item>
158
+                </el-col>
159
+
160
+                <el-col :span="8">
161
+                    <el-form-item label="结束时间:"> 
162
+                      <el-date-picker
163
+                          v-model="end_time"
164
+                          type="date"
165
+                            value-format="yyyy-MM-dd"
166
+                          placeholder="选择日期">
167
+                        </el-date-picker>
168
+                    </el-form-item>
169
+                </el-col>
170
+
171
+                <el-col :span="8">
172
+                    <el-form-item label="转院地区:"> 
173
+                      <el-input style="width: 200px" v-model="patient_address"></el-input> 
174
+                    </el-form-item>
175
+                </el-col>
176
+            </el-row>
177
+
178
+            
179
+
180
+
132
             <el-row :gutter="20" v-if="lapse_type == 3 && his_type==2">
181
             <el-row :gutter="20" v-if="lapse_type == 3 && his_type==2">
133
                 <el-col :span="11">
182
                 <el-col :span="11">
134
                     <el-form-item label="病区:"> 
183
                     <el-form-item label="病区:"> 
147
                 <el-col :span="23">
196
                 <el-col :span="23">
148
                     <el-form-item label="转归分类:"> 
197
                     <el-form-item label="转归分类:"> 
149
                         <el-radio-group style="padding: 10px;" v-model="lapse_class">
198
                         <el-radio-group style="padding: 10px;" v-model="lapse_class">
150
-                            <el-radio  label="1">终止透析</el-radio>
151
-                            <el-radio  label="2">转出院外</el-radio>
152
-                            <el-radio  label="3">回居住地透析</el-radio>
153
-                            <el-radio  label="4">临时透析</el-radio>
154
-                            <el-radio  label="5">转腹膜透析</el-radio>
155
-                            <el-radio  label="6">其他</el-radio>
156
-                            <el-radio  label="7">变更透析医院</el-radio>
157
-                            <el-radio  label="8">住院</el-radio>
158
-                            <el-radio  label="9">转血透科</el-radio>
199
+                            <el-radio  label="4">转出院外</el-radio>
200
+                            <el-radio  label="5">肾移植</el-radio>
201
+                            <el-radio  label="6">转腹膜透析</el-radio>
202
+                            <el-radio  label="7">出院</el-radio>
203
+                            <el-radio  label="8">好转</el-radio>
204
+                            <el-radio  label="9">放弃治疗</el-radio>
205
+                            <el-radio  label="10">其他状态</el-radio>
206
+                            <el-radio  label="11">请假</el-radio>
207
+                            <el-radio  label="12">临时透析</el-radio>
208
+                            <el-radio  label="13">回居住地透析</el-radio>
209
+                            <el-radio  label="14">变更透析医院</el-radio>
159
                       </el-radio-group>
210
                       </el-radio-group>
160
                     </el-form-item>
211
                     </el-form-item>
161
                 </el-col>
212
                 </el-col>
162
             </el-row>
213
             </el-row>
163
 
214
 
215
+            <el-row :gutter="20" v-if="lapse_class == 11">
216
+                <el-col :span="8">
217
+                    <el-form-item label="开始时间:"> 
218
+                      <el-date-picker
219
+                          v-model="start_time_one"
220
+                          type="date"
221
+                            value-format="yyyy-MM-dd"
222
+                          placeholder="选择日期">
223
+                        </el-date-picker>
224
+                    </el-form-item>
225
+                </el-col>
226
+
227
+                <el-col :span="8">
228
+                    <el-form-item label="结束时间:"> 
229
+                      <el-date-picker
230
+                          v-model="end_time_one"
231
+                          type="date"
232
+                            value-format="yyyy-MM-dd"
233
+                          placeholder="选择日期">
234
+                        </el-date-picker>
235
+                    </el-form-item>
236
+                </el-col>
237
+            </el-row>
238
+
164
             <el-row :gutter="20">
239
             <el-row :gutter="20">
165
                 <el-col :span="23">
240
                 <el-col :span="23">
166
                     <el-form-item label="原因:"> 
241
                     <el-form-item label="原因:"> 
261
                 </el-col>
336
                 </el-col>
262
             </el-row>
337
             </el-row>
263
 
338
 
339
+            <el-row :gutter="20" v-if="lapse_type == 4">
340
+                <el-col :span="8">
341
+                    <el-form-item label="开始时间:"> 
342
+                      <el-date-picker
343
+                          v-model="start_time"
344
+                          type="date"
345
+                            value-format="yyyy-MM-dd"
346
+                          placeholder="选择日期">
347
+                        </el-date-picker>
348
+                    </el-form-item>
349
+                </el-col>
350
+
351
+                <el-col :span="8">
352
+                    <el-form-item label="结束时间:"> 
353
+                      <el-date-picker
354
+                          v-model="end_time"
355
+                          type="date"
356
+                            value-format="yyyy-MM-dd"
357
+                          placeholder="选择日期">
358
+                        </el-date-picker>
359
+                    </el-form-item>
360
+                </el-col>
361
+
362
+                <el-col :span="8">
363
+                    <el-form-item label="转院地区:"> 
364
+                      <el-input style="width: 200px" v-model="patient_address"></el-input> 
365
+                    </el-form-item>
366
+                </el-col>
367
+            </el-row>
368
+
264
             <el-row :gutter="20" v-if="lapse_type == 3 && his_type==2">
369
             <el-row :gutter="20" v-if="lapse_type == 3 && his_type==2">
265
                 <el-col :span="11">
370
                 <el-col :span="11">
266
                     <el-form-item label="病区:"> 
371
                     <el-form-item label="病区:"> 
278
                 <el-col :span="24">
383
                 <el-col :span="24">
279
                     <el-form-item label="转归分类:"> 
384
                     <el-form-item label="转归分类:"> 
280
                         <el-radio-group style="padding: 10px;" v-model="lapse_class">
385
                         <el-radio-group style="padding: 10px;" v-model="lapse_class">
281
-                            <el-radio  label="1">终止透析</el-radio>
282
-                            <el-radio  label="2">转出院外</el-radio>
283
-                            <el-radio  label="3">回居住地透析</el-radio>
284
-                            <el-radio  label="4">临时透析</el-radio>
285
-                            <el-radio  label="5">转腹膜透析</el-radio>
286
-                            <el-radio  label="6">其他</el-radio>
287
-                            <el-radio  label="7">变更透析医院</el-radio>
288
-                            <el-radio  label="8">住院</el-radio>
289
-                            <el-radio  label="9">转血透科</el-radio>
386
+                            <el-radio  label="4">转出院外</el-radio>
387
+                            <el-radio  label="5">肾移植</el-radio>
388
+                            <el-radio  label="6">转腹膜透析</el-radio>
389
+                            <el-radio  label="7">出院</el-radio>
390
+                            <el-radio  label="8">好转</el-radio>
391
+                            <el-radio  label="9">放弃治疗</el-radio>
392
+                            <el-radio  label="10">其他状态</el-radio>
393
+                            <el-radio  label="11">请假</el-radio>
394
+                            <el-radio  label="12">临时透析</el-radio>
395
+                            <el-radio  label="13">回居住地透析</el-radio>
396
+                            <el-radio  label="14">变更透析医院</el-radio>
290
                       </el-radio-group>
397
                       </el-radio-group>
291
                     </el-form-item>
398
                     </el-form-item>
292
                 </el-col>
399
                 </el-col>
293
             </el-row>
400
             </el-row>
294
 
401
 
402
+            
403
+            <el-row :gutter="20" v-if="lapse_class == 11">
404
+                <el-col :span="8">
405
+                    <el-form-item label="开始时间:"> 
406
+                      <el-date-picker
407
+                          v-model="start_time_one"
408
+                          type="date"
409
+                            value-format="yyyy-MM-dd"
410
+                          placeholder="选择日期">
411
+                        </el-date-picker>
412
+                    </el-form-item>
413
+                </el-col>
414
+
415
+                <el-col :span="8">
416
+                    <el-form-item label="结束时间:"> 
417
+                      <el-date-picker
418
+                          v-model="end_time_one"
419
+                          type="date"
420
+                            value-format="yyyy-MM-dd"
421
+                          placeholder="选择日期">
422
+                        </el-date-picker>
423
+                    </el-form-item>
424
+                </el-col>
425
+            </el-row>
426
+
427
+
295
             <el-row :gutter="20">
428
             <el-row :gutter="20">
296
                 <el-col :span="24">
429
                 <el-col :span="24">
297
                     <el-form-item label="原因:"> 
430
                     <el-form-item label="原因:"> 
348
   <script>
481
   <script>
349
     const moment = require('moment')
482
     const moment = require('moment')
350
     import PatientSidebar from './components/PatientSidebar'
483
     import PatientSidebar from './components/PatientSidebar'
351
-    import { savePatientLapse,getAllDoctor,deletePatientLapsoRrecord,getPatientById,getPatientLapseRecord,getPatientLapsoSummary,updatePatientLapseRecord} from '@/api/patient'
484
+    import { savePatientLapse,getAllDoctor,deletePatientLapsoRrecord,getPatientById,getPatientLapseRecord,getPatientLapsoSummary,updatePatientLapseRecord,getPatientLapsoList} from '@/api/patient'
352
   
485
   
353
     import { jsGetAge, uParseTime } from '@/utils/tools'
486
     import { jsGetAge, uParseTime } from '@/utils/tools'
354
     import { getDataConfig } from '@/utils/data'
487
     import { getDataConfig } from '@/utils/data'
459
           his_type:"1",
592
           his_type:"1",
460
           his_zone:"",
593
           his_zone:"",
461
           his_bed:"",
594
           his_bed:"",
595
+          start_time:"",
596
+          end_time:"",
597
+          patient_address:"",
598
+          start_time_one:"",
599
+          end_time_one:"",
462
         }
600
         }
463
       },
601
       },
464
       methods: {
602
       methods: {
603
+        toJiaoBen(){
604
+           getPatientLapsoList().then(response=>{
605
+
606
+           })      
607
+        },
465
         clickuseradvicecell(row, column, cell, event) {
608
         clickuseradvicecell(row, column, cell, event) {
466
         },
609
         },
467
         onTranPatient: function(tranPatient) {
610
         onTranPatient: function(tranPatient) {
532
           }
675
           }
533
         })
676
         })
534
       },
677
       },
678
+
535
       getLapseType(id){
679
       getLapseType(id){
536
         var name = ""
680
         var name = ""
537
-        if(id == 1){
538
-          name = "终止透析"
681
+        if(id == 4){
682
+          name = "转出院外"
539
         }
683
         }
540
-        if(id == 2){
684
+        if(id == 5){
541
           name = "转出院外"
685
           name = "转出院外"
542
         }
686
         }
543
-        if(id == 3){
687
+        if(id == 6){
544
           name = "回居住地透析"
688
           name = "回居住地透析"
545
         }
689
         }
546
-        if(id == 4){
690
+        if(id == 7){
547
           name = "临时透析"
691
           name = "临时透析"
548
         }
692
         }
549
-        if(id == 5){
693
+        if(id == 8){
550
           name = "转腹膜透析"
694
           name = "转腹膜透析"
551
         }
695
         }
552
-        if(id == 6){
696
+        if(id == 9){
553
           name = "其他"
697
           name = "其他"
554
         }
698
         }
555
-        if(id == 7){
699
+        if(id == 10){
556
           name = "变更透析医院"
700
           name = "变更透析医院"
557
         }
701
         }
558
-        if(id == 8){
702
+        if(id == 11){
559
           name = "住院"
703
           name = "住院"
560
         }
704
         }
561
-        if(id == 9){
705
+        if(id == 12){
562
           name = "转血透科"
706
           name = "转血透科"
563
         }
707
         }
708
+        if(id == 13){
709
+          name = "回居住地透析"
710
+        }
711
+        if(id == 14){
712
+          name = "变更透析医院"
713
+        }
564
 
714
 
565
         return name
715
         return name
566
 
716
 
582
             his_bed:this.his_bed,
732
             his_bed:this.his_bed,
583
             his_type: parseInt(this.his_type),
733
             his_type: parseInt(this.his_type),
584
             his_zone:this.his_zone,
734
             his_zone:this.his_zone,
735
+            patient_address:this.patient_address,
736
+            start_time:this.start_time,
737
+            end_time:this.end_time,
738
+            start_time_one:this.start_time_one,
739
+            end_time_one:this.end_time_one,
585
           }
740
           }
586
           console.log("params=====",params)
741
           console.log("params=====",params)
587
         savePatientLapse(params).then(response=>{
742
         savePatientLapse(params).then(response=>{
626
              this.his_zone = lapsorecord.his_zone
781
              this.his_zone = lapsorecord.his_zone
627
              this.his_type = lapsorecord.his_type
782
              this.his_type = lapsorecord.his_type
628
              this.id = lapsorecord.id
783
              this.id = lapsorecord.id
784
+             this.patient_address = lapsorecord.patient_address
785
+             this.start_time =  this.getTime(lapsorecord.start_time)
786
+             this.end_time =  this.getTime(lapsorecord.end_time)
787
+             this.start_time_one =  this.getTime(lapsorecord.start_time_one)
788
+             this.end_time_one =  this.getTime(lapsorecord.end_time_one)
629
              this.editDialogVisible = true
789
              this.editDialogVisible = true
630
            
790
            
631
           }
791
           }
650
             his_bed:this.his_bed,
810
             his_bed:this.his_bed,
651
             his_type:parseInt(this.his_type),
811
             his_type:parseInt(this.his_type),
652
             his_zone:this.his_zone,
812
             his_zone:this.his_zone,
813
+            patient_address:this.patient_address,
814
+            start_time:this.start_time,
815
+            end_time:this.end_time,
816
+            start_time_one:this.start_time_one,
817
+            end_time_one:this.end_time_one,
653
           }
818
           }
654
          
819
          
655
         updatePatientLapseRecord(params).then(response=>{
820
         updatePatientLapseRecord(params).then(response=>{