Преглед на файлове

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

陈少旭 преди 7 месеца
родител
ревизия
86a4946855

+ 10 - 0
src/api/patient.js Целия файл

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
 }

+ 36 - 7
src/xt_pages/dialysis/batch_print/batch_print_order_seventynine.vue Целия файл

40
                         <div style="flex: 1;">
40
                         <div style="flex: 1;">
41
                           姓 名:{{ record.patient.name }}
41
                           姓 名:{{ record.patient.name }}
42
                         </div>
42
                         </div>
43
+                        <div style="flex: 1;">
44
+                          年 龄:{{getNewAge(record.patient.id_card_no) }}岁
45
+                        </div>
43
                         <div style="flex: 1;">
46
                         <div style="flex: 1;">
44
                           性 别:{{ record.patient.gender == 1 ? "男" : "女" }}
47
                           性 别:{{ record.patient.gender == 1 ? "男" : "女" }}
45
                         </div>
48
                         </div>
49
+                        <div style="flex: 1;">
50
+                          透析号:{{ record.patient.dialysis_no }}
51
+                        </div>
46
                         <div style="flex: 1;">
52
                         <div style="flex: 1;">
47
                           透析机号:
53
                           透析机号:
48
                           {{ record.dialysis_order &&
54
                           {{ record.dialysis_order &&
53
                               : record.device_number.number
59
                               : record.device_number.number
54
                           }}
60
                           }}
55
                         </div>
61
                         </div>
62
+                        <div style="flex: 1;">
63
+                          透析次数:{{ record.patient.total_dialysis +
64
+                            record.patient.user_sys_before_count
65
+                              ? record.patient.total_dialysis +
66
+                                record.patient.user_sys_before_count
67
+                              : "/" }}
68
+                        </div>
56
                       </div>
69
                       </div>
57
                     </td>
70
                     </td>
58
                   </tr>
71
                   </tr>
133
                   <tr>
146
                   <tr>
134
                     <td colspan="2">
147
                     <td colspan="2">
135
                       <div style="line-height:30px;">
148
                       <div style="line-height:30px;">
136
-                      <span>计划脱水量: {{ record.prescription.prescription_water ? record.prescription.prescription_water : "" }} </span>L &nbsp;&nbsp;
149
+                      <span>目标脱水量: {{ record.prescription.target_ultrafiltration ? record.prescription.target_ultrafiltration : "" }} </span>L &nbsp;&nbsp;
150
+                      <span>处方脱水量: {{ record.prescription.prescription_water ? record.prescription.prescription_water : "" }} </span>L &nbsp;&nbsp;
137
                       <span>透析液流量: {{ record.prescription.dialysate_flow ? record.prescription.dialysate_flow : "" }} </span>ml/h
151
                       <span>透析液流量: {{ record.prescription.dialysate_flow ? record.prescription.dialysate_flow : "" }} </span>ml/h
138
                       </div>
152
                       </div>
139
                     </td>
153
                     </td>
209
                   <tr>
223
                   <tr>
210
                     <td rowspan="2">时间</td>
224
                     <td rowspan="2">时间</td>
211
                     <td colspan="5">透析参数</td>
225
                     <td colspan="5">透析参数</td>
212
-                    <td colspan="2">生命体征</td>
226
+                    <td colspan="3">生命体征</td>
213
                     <td colspan="2">治疗中病情变化</td>
227
                     <td colspan="2">治疗中病情变化</td>
214
                   </tr>
228
                   </tr>
215
                   <tr>
229
                   <tr>
222
                     <td>HR<br/>bpm</td>
236
                     <td>HR<br/>bpm</td>
223
                     <!-- <td>R<br/>bpm</td> -->
237
                     <!-- <td>R<br/>bpm</td> -->
224
                     <td>BP<br/>mmHg</td>
238
                     <td>BP<br/>mmHg</td>
225
-                    <!-- <td>SpO₂<br/>%</td> -->
239
+                    <td>护士签名</td>
226
                     <td>记录</td>
240
                     <td>记录</td>
227
                   </tr>
241
                   </tr>
228
                   <tr v-for="(monitor, monindex) in record.monitor_records" :key="monindex">
242
                   <tr v-for="(monitor, monindex) in record.monitor_records" :key="monindex">
248
                           : "/"
262
                           : "/"
249
                       }}
263
                       }}
250
                     </td>
264
                     </td>
251
-                    <!-- <td>{{monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : "/"}}</td> -->
252
-                    <!-- <td></td> -->
265
+                    <td>
266
+                      <span v-if="setAdminUserES(monitor, 'monitoring_nurse') == ''">{{getAdminUser(monitor, 'monitoring_nurse')}}</span>
267
+                      <img class="es-img" :src="setAdminUserES(monitor, 'monitoring_nurse')" alt="" srcset=""  v-else >
268
+                    </td>
253
                     <td>
269
                     <td>
254
                       {{ monitor.end }} {{ monitor.symptom }} &nbsp;
270
                       {{ monitor.end }} {{ monitor.symptom }} &nbsp;
255
                       {{monitor.dispose}} &nbsp;{{ monitor.result }}
271
                       {{monitor.dispose}} &nbsp;{{ monitor.result }}
288
 
304
 
289
                     <tr v-for="(advice, advice_index) in record.advices" :key="advice_index">
305
                     <tr v-for="(advice, advice_index) in record.advices" :key="advice_index">
290
                       <td style="height:30px;line-height:30px">{{ getTime(advice[0].start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
306
                       <td style="height:30px;line-height:30px">{{ getTime(advice[0].start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
291
-                      <td style="height:30px;line-height:30px">
307
+                      <td style="height:30px;line-height:30px;text-align: left;">
292
                         <span v-if="advice[0].parent_id > 0">---></span>
308
                         <span v-if="advice[0].parent_id > 0">---></span>
293
                         <span>{{ advice[0].advice_name }}</span>
309
                         <span>{{ advice[0].advice_name }}</span>
294
                         <span v-if="advice && advice[0].advice_desc">({{ advice[0].advice_desc }}{{ advice[0].drug_spec_unit }})</span>
310
                         <span v-if="advice && advice[0].advice_desc">({{ advice[0].advice_desc }}{{ advice[0].drug_spec_unit }})</span>
354
                 <div style="display: flex;">
370
                 <div style="display: flex;">
355
                   <div style="flex: 1;"></div>
371
                   <div style="flex: 1;"></div>
356
                   <div style="flex: 1;margin-top: 20px;">
372
                   <div style="flex: 1;margin-top: 20px;">
357
-                    <div style="display: inline-block;margin-right: 20px;">
373
+                    <div style="display: inline-block;margin-right: 120px;">
358
                       <span style="display: inline-block;">医生签名:</span>
374
                       <span style="display: inline-block;">医生签名:</span>
359
                       <span v-if=" setAdminUserES(record.prescription, 'prescription_doctor') == '' ">
375
                       <span v-if=" setAdminUserES(record.prescription, 'prescription_doctor') == '' ">
360
                           {{ getAdminUser(record.prescription, 'prescription_doctor')}}
376
                           {{ getAdminUser(record.prescription, 'prescription_doctor')}}
949
       }
965
       }
950
       return displace_liqui_part_name;
966
       return displace_liqui_part_name;
951
       },
967
       },
968
+      getNewAge(UUserCard) {
969
+        if (UUserCard != null && UUserCard != '') {
970
+          //获取年龄
971
+          var myDate = new Date();
972
+          var month = myDate.getMonth() + 1;
973
+          var day = myDate.getDate();
974
+          var age = myDate.getFullYear() - UUserCard.substring(6, 10) - 1;
975
+          if (UUserCard.substring(10, 12) < month || UUserCard.substring(10, 12) == month && UUserCard.substring(12, 14) <= day) {
976
+          age++;
977
+          }
978
+          return age;
979
+        }
980
+      },
952
     }
981
     }
953
   }
982
   }
954
 </script>
983
 </script>

+ 12 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Целия файл

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 Целия файл

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 Целия файл

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: {

+ 33 - 8
src/xt_pages/dialysis/template/DialysisPrintOrderSeventynine.vue Целия файл

8
         <table border="1" class="table-box" style="border-collapse: collapse;text-align: center;width: 99%;font-size: 16px;">
8
         <table border="1" class="table-box" style="border-collapse: collapse;text-align: center;width: 99%;font-size: 16px;">
9
           <tbody>
9
           <tbody>
10
             <tr>
10
             <tr>
11
-              <td width="80" style="line-height:30px;">治疗日期: <span>{{ year }}</span>年<span>{{ months }}</span>月<span>{{ day }}</span>日</td>
11
+              <td width="80" style="line-height:30px;">
12
+                治疗日期: <span>{{ year }}</span>年<span>{{ months }}</span>月<span>{{ day }}</span>日
13
+              </td>
12
             </tr>
14
             </tr>
13
           </tbody>
15
           </tbody>
14
         </table>
16
         </table>
20
                   <div style="flex: 1;">
22
                   <div style="flex: 1;">
21
                     姓 名:{{ patientInfo.name ? patientInfo.name : "/" }}
23
                     姓 名:{{ patientInfo.name ? patientInfo.name : "/" }}
22
                   </div>
24
                   </div>
25
+                  <div style="flex: 1;">
26
+                    年 龄:{{ getAge(patientInfo) }}岁
27
+                  </div>
23
                   <div style="flex: 1;">
28
                   <div style="flex: 1;">
24
                     性 别:{{ patientInfo.gender ? patientInfo.gender : "/" }}
29
                     性 别:{{ patientInfo.gender ? patientInfo.gender : "/" }}
25
                   </div>
30
                   </div>
31
+                  <div style="flex: 1;">
32
+                    透析号:{{ patientInfo.dialysis_no ? patientInfo.dialysis_no : "/" }}
33
+                  </div>
26
                   <div style="flex: 1;">
34
                   <div style="flex: 1;">
27
                     透析机号:
35
                     透析机号:
28
                     {{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
36
                     {{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
29
                   </div>
37
                   </div>
38
+                  <div style="flex: 1;">
39
+                    透析次数:{{ patientInfo.total_dialysis + patientInfo.user_sys_before_count ? 
40
+                                patientInfo.total_dialysis + patientInfo.user_sys_before_count : "/" }}
41
+                  </div>
30
                 </div>
42
                 </div>
31
               </td>
43
               </td>
32
             </tr>
44
             </tr>
113
             <tr>
125
             <tr>
114
               <td colspan="2">
126
               <td colspan="2">
115
                 <div style="line-height:30px;">
127
                 <div style="line-height:30px;">
116
-                 <span>计划脱水量: {{ prescription.prescription_water ? prescription.prescription_water : "" }} </span>L &nbsp;&nbsp;
128
+                 <span>目标脱水量: {{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "" }} </span>L &nbsp;&nbsp;
129
+                 <span>处方脱水量: {{ prescription.prescription_water  ? prescription.prescription_water : "" }} </span>L &nbsp;&nbsp;
117
                  <span>透析液流量: {{ prescription.dialysate_flow ? prescription.dialysate_flow : "" }} </span>ml/h
130
                  <span>透析液流量: {{ prescription.dialysate_flow ? prescription.dialysate_flow : "" }} </span>ml/h
118
                 </div>
131
                 </div>
119
               </td>
132
               </td>
184
             <tr>
197
             <tr>
185
               <td rowspan="2">时间</td>
198
               <td rowspan="2">时间</td>
186
               <td colspan="5">透析参数</td>
199
               <td colspan="5">透析参数</td>
187
-              <td colspan="2">生命体征</td>
200
+              <td colspan="3">生命体征</td>
188
               <td colspan="2">治疗中病情变化</td>
201
               <td colspan="2">治疗中病情变化</td>
189
             </tr>
202
             </tr>
190
             <tr>
203
             <tr>
197
               <td>HR<br/>bpm</td>
210
               <td>HR<br/>bpm</td>
198
               <!-- <td>R<br/>bpm</td> -->
211
               <!-- <td>R<br/>bpm</td> -->
199
               <td>BP<br/>mmHg</td>
212
               <td>BP<br/>mmHg</td>
200
-              <!-- <td>SpO₂<br/>%</td> -->
213
+              <td>护士签名</td>
201
               <!-- <td>时间</td> -->
214
               <!-- <td>时间</td> -->
202
               <td>记录</td>
215
               <td>记录</td>
203
             </tr>
216
             </tr>
224
                     : "/"
237
                     : "/"
225
                 }}
238
                 }}
226
               </td>
239
               </td>
227
-              <!-- <td>{{monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : "/"}}</td> -->
228
-              <!-- <td></td> -->
240
+              <td>
241
+                <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">
242
+                  {{
243
+                  getAdminUser(monitor.monitoring_nurse)
244
+                  }}
245
+                </span>
246
+                <span
247
+                  v-else
248
+                  style="display:flex;align-items:center;justify-content:space-around;height:36px;"
249
+                >
250
+                  <img style="height:30px;" :src="setAdminUserES(monitor.monitoring_nurse)" alt srcset />
251
+                </span>
252
+              </td>
253
+              
229
               <td>
254
               <td>
230
                 {{ monitor.end }} {{ monitor.symptom }} &nbsp;
255
                 {{ monitor.end }} {{ monitor.symptom }} &nbsp;
231
                 {{monitor.dispose}} &nbsp;{{ monitor.result }}
256
                 {{monitor.dispose}} &nbsp;{{ monitor.result }}
259
 
284
 
260
               <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index">
285
               <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index">
261
                 <td style="height:30px;line-height:30px">{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
286
                 <td style="height:30px;line-height:30px">{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
262
-                <td style="height:30px;line-height:30px">
287
+                <td style="height:30px;line-height:30px;text-align: left;">
263
                   <span v-if="advice.parent_id > 0">---></span>
288
                   <span v-if="advice.parent_id > 0">---></span>
264
                   <span>{{ advice.advice_name }}</span>
289
                   <span>{{ advice.advice_name }}</span>
265
                   <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
290
                   <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
307
           <div style="display: flex;">
332
           <div style="display: flex;">
308
             <div style="flex: 1;"></div>
333
             <div style="flex: 1;"></div>
309
             <div style="flex: 1;margin-top: 20px;">
334
             <div style="flex: 1;margin-top: 20px;">
310
-              <div style="display: inline-block;margin-right: 20px;">
335
+              <div style="display: inline-block;margin-right: 120px;">
311
                 <span style="display: inline-block;">医生签名:</span>
336
                 <span style="display: inline-block;">医生签名:</span>
312
                 <span style="display: inline-block;" v-if="setAdminUserES(prescription.creater) == ''">
337
                 <span style="display: inline-block;" v-if="setAdminUserES(prescription.creater) == ''">
313
                   {{ getAdminUser(prescription.creater)}}
338
                   {{ getAdminUser(prescription.creater)}}

+ 25 - 12
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Целия файл

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>
1849
                         </td>
1859
                         </td>
1850
 
1860
 
1851
 
1861
 
1852
-                        <td v-if="org_id == 10375 || org_id == 0"><br />
1862
+                        <td v-if="org_id == 10375"><br />
1853
                           {{ monitor.replacement_rate? monitor.replacement_rate: ""}}
1863
                           {{ monitor.replacement_rate? monitor.replacement_rate: ""}}
1854
                         </td>
1864
                         </td>
1865
+                        <td v-if="org_id == 10489 || org_id == 0"><br />
1866
+                          {{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: ""}}
1867
+                        </td>
1855
                         <td v-if="org_id!=10600 && org_id!=10644  && org_id!=10683">
1868
                         <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>
1869
+                          <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">
1870
                           <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>
1871
                               <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>
1872
                               <span v-if="org_id ==10617 && monindex == monitors.length-1">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>
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

+ 2 - 2
src/xt_pages/management/components/UserForm.vue Целия файл

854
                 <td
854
                 <td
855
                   :rowspan="2"
855
                   :rowspan="2"
856
                   style="text-align:center;min-width:40px;font-size:15px"
856
                   style="text-align:center;min-width:40px;font-size:15px"
857
-                  v-if="org_id!=0&&org_id!=10060&& org_id!=10340"
857
+                  v-if="org_id!=0&&org_id!=10060&& org_id!=10340 && org_id!=0 && org_id!=10495"
858
                 >
858
                 >
859
                  透析机消毒液(更换)
859
                  透析机消毒液(更换)
860
                  
860
                  
862
                 <td
862
                 <td
863
                   :rowspan="2"
863
                   :rowspan="2"
864
                   style="text-align:center;width:80px;font-size:15px"
864
                   style="text-align:center;width:80px;font-size:15px"
865
-                  v-if="org_id!=0&&org_id!=10060&& org_id!=10340"
865
+                  v-if="org_id!=0&&org_id!=10060&& org_id!=10340 && org_id!=10495 && org_id!=0"
866
                 >
866
                 >
867
                  细菌过滤器(更换)
867
                  细菌过滤器(更换)
868
                 </td>
868
                 </td>

+ 39 - 4
src/xt_pages/user/dialysisRecord.vue Целия файл

169
                  {{ scope.row.prescription.dialyzer_perfusion_apparatus }}
169
                  {{ scope.row.prescription.dialyzer_perfusion_apparatus }}
170
                  {{ scope.row.prescription.dialysis_dialyszers }}
170
                  {{ scope.row.prescription.dialysis_dialyszers }}
171
               <span v-if="scope.row.prescription.dialysis_irrigation!=''">/{{ scope.row.prescription.dialysis_irrigation }}</span>
171
               <span v-if="scope.row.prescription.dialysis_irrigation!=''">/{{ scope.row.prescription.dialysis_irrigation }}</span>
172
+              <span v-if="scope.row.prescription.dialysis_strainer!=''">/{{ scope.row.prescription.dialysis_strainer }}</span>
172
              </template>
173
              </template>
173
           </el-table-column>
174
           </el-table-column>
174
 
175
 
180
           >
181
           >
181
           </el-table-column>
182
           </el-table-column>
182
           <el-table-column
183
           <el-table-column
184
+            v-if="org_id!=0&&org_id!=10702"
183
             prop="predialysis_evaluation.weight_before"
185
             prop="predialysis_evaluation.weight_before"
184
             width="110"
186
             width="110"
185
             align="center"
187
             align="center"
186
             label="透前称重(kg)"
188
             label="透前称重(kg)"
187
           >
189
           >
188
           </el-table-column>
190
           </el-table-column>
191
+
192
+          <el-table-column
193
+            v-if="org_id==0 || org_id==10702"
194
+            prop="weight_before"
195
+            width="110"
196
+            align="center"
197
+            label="透前体重(kg)"
198
+          >
199
+          </el-table-column>
200
+          
189
           <el-table-column
201
           <el-table-column
202
+            v-if="org_id!=0&&org_id!=10702"
190
             prop="assessment_after_dislysis.weight_after"
203
             prop="assessment_after_dislysis.weight_after"
191
             width="110"
204
             width="110"
192
             align="center"
205
             align="center"
193
             label="透后称重(kg)"
206
             label="透后称重(kg)"
194
           >
207
           >
195
           </el-table-column>
208
           </el-table-column>
209
+
210
+          <el-table-column
211
+            v-if="org_id==0 || org_id==10702"
212
+            prop="weight_after"
213
+            width="110"
214
+            align="center"
215
+            label="透后体重(kg)"
216
+          >
217
+          </el-table-column>
196
           <el-table-column
218
           <el-table-column
197
             prop="predialysis_evaluation"
219
             prop="predialysis_evaluation"
198
             width="140"
220
             width="140"
370
               <th>透析时长(h)</th>
392
               <th>透析时长(h)</th>
371
               <th>透析器/灌流器</th>
393
               <th>透析器/灌流器</th>
372
               <th>干体重(kg)</th>
394
               <th>干体重(kg)</th>
373
-              <th>透前称重(kg)</th>
374
-              <th>透后称重(kg)</th>
395
+              <th v-if="org_id!=0&&org_id!=10702">透前称重(kg)</th>
396
+              <th v-if="org_id!=0&&org_id!=10702">透后称重(kg)</th>
397
+
398
+              <th v-if="org_id ==0 || org_id!=10702">透前体重(kg)</th>
399
+              <th v-if="org_id==0 || org_id==10702">透后体重(kg)</th>
375
               <th>透前血压(mmhg)</th>
400
               <th>透前血压(mmhg)</th>
376
               <th>透后血压(mmhg)</th>
401
               <th>透后血压(mmhg)</th>
377
               <th>目标超滤量(L)</th>
402
               <th>目标超滤量(L)</th>
395
                    <span v-if="item.prescription.dialysis_irrigation!=''">/{{ item.prescription.dialysis_irrigation }} </span>
420
                    <span v-if="item.prescription.dialysis_irrigation!=''">/{{ item.prescription.dialysis_irrigation }} </span>
396
                 </td>
421
                 </td>
397
                 <td>{{ item.predialysis_evaluation.dry_weight }}</td>
422
                 <td>{{ item.predialysis_evaluation.dry_weight }}</td>
398
-                <td>{{ item.predialysis_evaluation.weight_before }}</td>
399
-                <td>{{ item.assessment_after_dislysis.weight_after }}</td>
423
+                <td v-if="org_id!=0&&org_id!=10702">{{ item.predialysis_evaluation.weight_before }}</td>
424
+                <td v-if="org_id!=0&&org_id!=10702">{{ item.assessment_after_dislysis.weight_after }}</td>
425
+
426
+                <td  v-if="org_id==0 || org_id==10702">{{ item.weight_before }}</td>
427
+                <td  v-if="org_id==0 || org_id==10702">{{ item.weight_after }}</td>
400
                 <td>
428
                 <td>
401
                   {{ item.predialysis_evaluation.systolic_blood_pressure }}/{{
429
                   {{ item.predialysis_evaluation.systolic_blood_pressure }}/{{
402
                     item.predialysis_evaluation.diastolic_blood_pressure
430
                     item.predialysis_evaluation.diastolic_blood_pressure
622
         if (response.data.state == 1) {
650
         if (response.data.state == 1) {
623
           this.total = response.data.data.total;
651
           this.total = response.data.data.total;
624
           this.recordData = response.data.data.records;
652
           this.recordData = response.data.data.records;
653
+
654
+          for(let i=0;i<this.recordData.length;i++){
655
+               
656
+            this.recordData[i].weight_before = (this.recordData[i].predialysis_evaluation.weight_before - this.recordData[i].predialysis_evaluation.additional_weight).toFixed(2)
657
+
658
+            this.recordData[i].weight_after = (this.recordData[i].assessment_after_dislysis.weight_after - this.recordData[i].assessment_after_dislysis.additional_weight).toFixed(2)
659
+          }
625
           console.log("郭23232323232232323",this.recordData)
660
           console.log("郭23232323232232323",this.recordData)
626
         
661
         
627
         }
662
         }

+ 281 - 132
src/xt_pages/user/lapsoSummary.vue Целия файл

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">
35
            <template slot-scope="scope">
51
            <template slot-scope="scope">
36
               {{ scope.row.lapse_reason }}
52
               {{ scope.row.lapse_reason }}
37
            </template>
53
            </template>
38
-        </el-table-column>
39
-       
40
-       
54
+        </el-table-column> 
41
          <el-table-column prop="date" label="备注" align="center">
55
          <el-table-column prop="date" label="备注" align="center">
42
             <template slot-scope="scope">
56
             <template slot-scope="scope">
43
               {{ scope.row.remark }}
57
               {{ scope.row.remark }}
77
           style="margin-top:20px;"
91
           style="margin-top:20px;"
78
           align="right"
92
           align="right"
79
           layout="total, sizes, prev, pager, next, jumper"
93
           layout="total, sizes, prev, pager, next, jumper"
80
-          :total="total"></el-pagination>
94
+          :total="total">
95
+        </el-pagination>
81
   
96
   
82
         <el-dialog
97
         <el-dialog
83
             title="新增转归记录"
98
             title="新增转归记录"
85
             width="65%"
100
             width="65%"
86
             center>
101
             center>
87
           <el-form label-width="150px" :model="form" ref="form" :rules="rules" >
102
           <el-form label-width="150px" :model="form" ref="form" :rules="rules" >
88
-            <el-row  :gutter="24">
89
-              <el-col :span="24">
90
-                <el-form-item label="透析号:" >
91
-                    <el-input style="width:200px" v-model="dialysis_no" :disabled="true"></el-input>
92
-                </el-form-item>
93
-                
94
-              </el-col>
95
-            </el-row>
96
-            <el-row  :gutter="24" >
97
-              <el-col :span="24">
103
+
104
+            <el-row  :gutter="20">
105
+              <el-col :span="11">
98
                  <el-form-item  label="姓名:">
106
                  <el-form-item  label="姓名:">
99
                     <el-input style="width:200px" v-model="name" :disabled="true"></el-input>
107
                     <el-input style="width:200px" v-model="name" :disabled="true"></el-input>
100
                  </el-form-item>
108
                  </el-form-item>
101
               </el-col>
109
               </el-col>
110
+              <el-col :span="11">
111
+                <el-form-item label="透析号:" >
112
+                    <el-input style="width:200px" v-model="dialysis_no" :disabled="true"></el-input>
113
+                </el-form-item>
114
+              </el-col>
102
             </el-row>
115
             </el-row>
103
-            <el-row :gutter="24" v-if="lapseto == 1">
104
-                <el-col :span="24">
116
+
117
+            <el-row :gutter="20" >
118
+                <el-col :span="24" v-if="lapseto == 1">
105
                     <el-form-item label="转归类型:"> 
119
                     <el-form-item label="转归类型:"> 
106
                         <el-radio-group style="padding: 10px;" v-model="lapse_type">
120
                         <el-radio-group style="padding: 10px;" v-model="lapse_type">
107
                             <el-radio  label="2">转出</el-radio>
121
                             <el-radio  label="2">转出</el-radio>
110
                       </el-radio-group>
124
                       </el-radio-group>
111
                     </el-form-item>
125
                     </el-form-item>
112
                 </el-col>
126
                 </el-col>
113
-            </el-row>
114
-            <el-row :gutter="24" v-if="lapseto == 2">
115
-                <el-col :span="24">
127
+                <el-col :span="24" v-if="lapseto == 2">
116
                     <el-form-item label="转归类型:"> 
128
                     <el-form-item label="转归类型:"> 
117
                         <el-radio-group style="padding: 10px;" v-model="lapse_type">
129
                         <el-radio-group style="padding: 10px;" v-model="lapse_type">
118
                             <el-radio  label="1">转入</el-radio>
130
                             <el-radio  label="1">转入</el-radio>
121
                 </el-col>
133
                 </el-col>
122
             </el-row>
134
             </el-row>
123
 
135
 
124
-            <el-row :gutter="24" v-if="lapse_type == 3">
136
+            <el-row :gutter="20" v-if="lapse_type == 3">
125
                 <el-col :span="24">
137
                 <el-col :span="24">
126
                     <el-form-item label="住院/门诊:"> 
138
                     <el-form-item label="住院/门诊:"> 
127
                       <el-radio-group style="padding: 10px;" v-model="his_type">
139
                       <el-radio-group style="padding: 10px;" v-model="his_type">
133
             </el-row>
145
             </el-row>
134
 
146
 
135
 
147
 
136
-            <el-row :gutter="24" v-if="lapse_type == 3 && his_type==2">
137
-                <el-col :span="24">
138
-                    <el-form-item label="病区:"> 
139
-                       <el-input style="width: 200px" v-model="his_zone"></el-input> 
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> 
140
                     </el-form-item>
174
                     </el-form-item>
141
                 </el-col>
175
                 </el-col>
142
             </el-row>
176
             </el-row>
143
 
177
 
144
-            <el-row :gutter="24" v-if="lapse_type == 3 && his_type==2">
145
-                <el-col :span="24">
178
+            
179
+
180
+
181
+            <el-row :gutter="20" v-if="lapse_type == 3 && his_type==2">
182
+                <el-col :span="11">
183
+                    <el-form-item label="病区:"> 
184
+                       <el-input style="width: 200px" v-model="his_zone"></el-input> 
185
+                    </el-form-item>
186
+                </el-col>
187
+                <el-col :span="11">
146
                     <el-form-item label="床号:"> 
188
                     <el-form-item label="床号:"> 
147
                         <el-input style="width: 200px" v-model="his_bed"></el-input> 
189
                         <el-input style="width: 200px" v-model="his_bed"></el-input> 
148
                     </el-form-item>
190
                     </el-form-item>
150
             </el-row>
192
             </el-row>
151
 
193
 
152
           
194
           
153
-            <el-row :gutter="24">
154
-                <el-col :span="24">
195
+            <el-row :gutter="20">
196
+                <el-col :span="23">
155
                     <el-form-item label="转归分类:"> 
197
                     <el-form-item label="转归分类:"> 
156
                         <el-radio-group style="padding: 10px;" v-model="lapse_class">
198
                         <el-radio-group style="padding: 10px;" v-model="lapse_class">
157
-                            <el-radio  label="1">终止透析</el-radio>
158
-                            <el-radio  label="2">转出院外</el-radio>
159
-                            <el-radio  label="3">回居住地透析</el-radio>
160
-                            <el-radio  label="4">临时透析</el-radio>
161
-                            <el-radio  label="5">转腹膜透析</el-radio>
162
-                            <el-radio  label="6">其他</el-radio>
163
-                            <el-radio  label="7">变更透析医院</el-radio>
164
-                            <el-radio  label="8">住院</el-radio>
165
-                            <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>
166
                       </el-radio-group>
210
                       </el-radio-group>
167
                     </el-form-item>
211
                     </el-form-item>
168
                 </el-col>
212
                 </el-col>
169
             </el-row>
213
             </el-row>
170
 
214
 
171
-            
172
-
173
-            <el-row :gutter="24">
174
-                <el-col :span="24">
175
-                    <el-form-item label="原因:"> 
176
-                        <el-input style="width: 300px;height: 100px;"  type="textarea" v-model="lapse_reason"></el-input>
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>
177
                     </el-form-item>
224
                     </el-form-item>
178
                 </el-col>
225
                 </el-col>
179
-            </el-row>
180
 
226
 
181
-            <el-row :gutter="24">
182
-                <el-col :span="24">
183
-                    <el-form-item label="日期:"> 
184
-                        <el-date-picker
185
-                            v-model="record_date"
186
-                            type="date"
187
-                             value-format="yyyy-MM-dd"
188
-                            placeholder="选择日期">
189
-                         </el-date-picker>
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>
190
                     </el-form-item>
235
                     </el-form-item>
191
                 </el-col>
236
                 </el-col>
192
             </el-row>
237
             </el-row>
193
 
238
 
194
-            <el-row :gutter="24">
195
-                <el-col :span="24">
196
-                    <el-form-item label="操作人:"> 
197
-                        <el-select v-model="admin_user_id" placeholder="请选择">
198
-                            <el-option
199
-                            v-for="item in adminUserList"
200
-                            :key="item.admin_user_id"
201
-                            :label="item.user_name"
202
-                            :value="item.admin_user_id">
203
-                            </el-option>
204
-                         </el-select>
239
+            <el-row :gutter="20">
240
+                <el-col :span="23">
241
+                    <el-form-item label="原因:"> 
242
+                        <el-input style="width: 300px;" :rows="2" type="textarea" v-model="lapse_reason"></el-input>
205
                     </el-form-item>
243
                     </el-form-item>
206
                 </el-col>
244
                 </el-col>
207
             </el-row>
245
             </el-row>
208
 
246
 
247
+            <el-row :gutter="20">
248
+              <el-col :span="11">
249
+                  <el-form-item label="操作人:"> 
250
+                      <el-select v-model="admin_user_id" placeholder="请选择">
251
+                          <el-option
252
+                          v-for="item in adminUserList"
253
+                          :key="item.admin_user_id"
254
+                          :label="item.user_name"
255
+                          :value="item.admin_user_id">
256
+                          </el-option>
257
+                        </el-select>
258
+                  </el-form-item>
259
+              </el-col>
260
+              <el-col :span="11">
261
+                  <el-form-item label="日期:"> 
262
+                      <el-date-picker
263
+                          v-model="record_date"
264
+                          type="date"
265
+                            value-format="yyyy-MM-dd"
266
+                          placeholder="选择日期">
267
+                        </el-date-picker>
268
+                  </el-form-item>
269
+              </el-col>
270
+            </el-row>
271
+
209
             <el-row :gutter="24">
272
             <el-row :gutter="24">
210
                 <el-col :span="24">
273
                 <el-col :span="24">
211
                     <el-form-item label="备注:"> 
274
                     <el-form-item label="备注:"> 
212
-                        <el-input style="width: 300px;height: 50px;" type="textarea" v-model="remark"></el-input>
275
+                        <el-input style="width: 300px;" :rows="2" type="textarea" v-model="remark"></el-input>
213
                     </el-form-item>
276
                     </el-form-item>
214
                 </el-col>
277
                 </el-col>
215
             </el-row>
278
             </el-row>
230
             width="65%"
293
             width="65%"
231
             center>
294
             center>
232
           <el-form label-width="150px" :model="form" ref="form" :rules="rules" >
295
           <el-form label-width="150px" :model="form" ref="form" :rules="rules" >
233
-            <el-row  :gutter="24">
234
-              <el-col :span="24">
296
+            <el-row  :gutter="20">
297
+              <el-col :span="11">
298
+                 <el-form-item  label="姓名:">
299
+                    <el-input style="width:200px" v-model="name" :disabled="true"></el-input>
300
+                 </el-form-item>
301
+              </el-col>
302
+              <el-col :span="11">
235
                 <el-form-item label="透析号:" >
303
                 <el-form-item label="透析号:" >
236
                     <el-input style="width:200px" v-model="dialysis_no" :disabled="true"></el-input>
304
                     <el-input style="width:200px" v-model="dialysis_no" :disabled="true"></el-input>
237
                 </el-form-item>
305
                 </el-form-item>
238
-                
239
               </el-col>
306
               </el-col>
240
             </el-row>
307
             </el-row>
241
-            <el-row  :gutter="24" >
242
-              <el-col :span="24">
243
-                 <el-form-item  label="姓名:">
244
-                    <el-input style="width:200px" v-model="name" :disabled="true"></el-input>
245
-                 </el-form-item>
308
+
309
+            <el-row :gutter="20">
310
+              <el-col :span="24" v-if="lapseto == 1">
311
+                  <el-form-item label="转归类型:"> 
312
+                      <el-radio-group style="padding: 10px;" v-model="lapse_type">
313
+                          <el-radio  label="2">转出</el-radio>
314
+                          <el-radio  label="3">死亡</el-radio>
315
+                          <el-radio  label="4">院内转诊</el-radio>
316
+                    </el-radio-group>
317
+                  </el-form-item>
318
+              </el-col>
319
+              <el-col :span="24" v-if="lapseto == 2">
320
+                  <el-form-item label="转归类型:"> 
321
+                      <el-radio-group style="padding: 10px;" v-model="lapse_type">
322
+                          <el-radio  label="1">转入</el-radio>
323
+                    </el-radio-group>
324
+                  </el-form-item>
246
               </el-col>
325
               </el-col>
247
-            </el-row>
248
-            <el-row :gutter="24">
249
-                <el-col :span="24">
250
-                    <el-form-item label="转归类型:"> 
251
-                        <el-radio-group style="padding: 10px;" v-model="lapse_type">
252
-                            <el-radio  label="2">转出</el-radio>
253
-                            <el-radio  label="3">死亡</el-radio>
254
-                            <el-radio  label="4">院内转诊</el-radio>
255
-                           
256
-                      </el-radio-group>
257
-                    </el-form-item>
258
-                </el-col>
259
             </el-row>
326
             </el-row>
260
 
327
 
261
-            <el-row :gutter="24" v-if="lapse_type == 3">
328
+            <el-row :gutter="20" v-if="lapse_type == 3">
262
                 <el-col :span="24">
329
                 <el-col :span="24">
263
                     <el-form-item label="住院/门诊:"> 
330
                     <el-form-item label="住院/门诊:"> 
264
                       <el-radio-group style="padding: 10px;" v-model="his_type">
331
                       <el-radio-group style="padding: 10px;" v-model="his_type">
269
                 </el-col>
336
                 </el-col>
270
             </el-row>
337
             </el-row>
271
 
338
 
272
-            <el-row :gutter="24" v-if="lapse_type == 3 && his_type==2">
273
-                <el-col :span="24">
274
-                    <el-form-item label="病区:"> 
275
-                       <el-input style="width: 200px" v-model="his_zone"></el-input> 
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> 
276
                     </el-form-item>
365
                     </el-form-item>
277
                 </el-col>
366
                 </el-col>
278
             </el-row>
367
             </el-row>
279
 
368
 
280
-            <el-row :gutter="24" v-if="lapse_type == 3 && his_type==2">
281
-                <el-col :span="24">
369
+            <el-row :gutter="20" v-if="lapse_type == 3 && his_type==2">
370
+                <el-col :span="11">
371
+                    <el-form-item label="病区:"> 
372
+                       <el-input style="width: 200px" v-model="his_zone"></el-input> 
373
+                    </el-form-item>
374
+                </el-col>
375
+                <el-col :span="11">
282
                     <el-form-item label="床号:"> 
376
                     <el-form-item label="床号:"> 
283
                         <el-input style="width: 200px" v-model="his_bed"></el-input> 
377
                         <el-input style="width: 200px" v-model="his_bed"></el-input> 
284
                     </el-form-item>
378
                     </el-form-item>
285
                 </el-col>
379
                 </el-col>
286
             </el-row>
380
             </el-row>
287
 
381
 
288
-            <el-row :gutter="24">
382
+            <el-row :gutter="20">
289
                 <el-col :span="24">
383
                 <el-col :span="24">
290
                     <el-form-item label="转归分类:"> 
384
                     <el-form-item label="转归分类:"> 
291
                         <el-radio-group style="padding: 10px;" v-model="lapse_class">
385
                         <el-radio-group style="padding: 10px;" v-model="lapse_class">
292
-                            <el-radio  label="1">终止透析</el-radio>
293
-                            <el-radio  label="2">转出院外</el-radio>
294
-                            <el-radio  label="3">回居住地透析</el-radio>
295
-                            <el-radio  label="4">临时透析</el-radio>
296
-                            <el-radio  label="5">转腹膜透析</el-radio>
297
-                            <el-radio  label="6">其他</el-radio>
298
-                            <el-radio  label="7">变更透析医院</el-radio>
299
-                            <el-radio  label="8">住院</el-radio>
300
-                            <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>
301
                       </el-radio-group>
397
                       </el-radio-group>
302
                     </el-form-item>
398
                     </el-form-item>
303
                 </el-col>
399
                 </el-col>
304
             </el-row>
400
             </el-row>
305
 
401
 
306
-         
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>
307
 
414
 
308
-            <el-row :gutter="24">
309
-                <el-col :span="24">
310
-                    <el-form-item label="原因:"> 
311
-                        <el-input style="width: 300px;height: 100px;"  type="textarea" v-model="lapse_reason"></el-input>
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>
312
                     </el-form-item>
423
                     </el-form-item>
313
                 </el-col>
424
                 </el-col>
314
             </el-row>
425
             </el-row>
315
 
426
 
316
-            <el-row :gutter="24">
427
+
428
+            <el-row :gutter="20">
317
                 <el-col :span="24">
429
                 <el-col :span="24">
318
-                    <el-form-item label="日期:"> 
319
-                        <el-date-picker
320
-                            v-model="record_date"
321
-                            type="date"
322
-                             value-format="yyyy-MM-dd"
323
-                            placeholder="选择日期">
324
-                         </el-date-picker>
430
+                    <el-form-item label="原因:"> 
431
+                        <el-input style="width: 300px;" :rows="2" type="textarea" v-model="lapse_reason"></el-input>
325
                     </el-form-item>
432
                     </el-form-item>
326
                 </el-col>
433
                 </el-col>
327
             </el-row>
434
             </el-row>
328
 
435
 
329
-            <el-row :gutter="24">
330
-                <el-col :span="24">
436
+            <el-row :gutter="20">
437
+                <el-col :span="12">
331
                     <el-form-item label="操作人:"> 
438
                     <el-form-item label="操作人:"> 
332
                         <el-select v-model="admin_user_id" placeholder="请选择">
439
                         <el-select v-model="admin_user_id" placeholder="请选择">
333
                             <el-option
440
                             <el-option
339
                          </el-select>
446
                          </el-select>
340
                     </el-form-item>
447
                     </el-form-item>
341
                 </el-col>
448
                 </el-col>
449
+                <el-col :span="12">
450
+                    <el-form-item label="日期:"> 
451
+                        <el-date-picker
452
+                            v-model="record_date"
453
+                            type="date"
454
+                             value-format="yyyy-MM-dd"
455
+                            placeholder="选择日期">
456
+                         </el-date-picker>
457
+                    </el-form-item>
458
+                </el-col>
342
             </el-row>
459
             </el-row>
343
 
460
 
344
-            <el-row :gutter="24">
461
+            <el-row :gutter="20">
345
                 <el-col :span="24">
462
                 <el-col :span="24">
346
                     <el-form-item label="备注:"> 
463
                     <el-form-item label="备注:"> 
347
-                        <el-input style="width: 300px;height: 50px;" type="textarea" v-model="remark"></el-input>
464
+                        <el-input style="width: 300px;" :rows="2" type="textarea" v-model="remark"></el-input>
348
                     </el-form-item>
465
                     </el-form-item>
349
                 </el-col>
466
                 </el-col>
350
             </el-row>
467
             </el-row>
364
   <script>
481
   <script>
365
     const moment = require('moment')
482
     const moment = require('moment')
366
     import PatientSidebar from './components/PatientSidebar'
483
     import PatientSidebar from './components/PatientSidebar'
367
-    import { savePatientLapse,getAllDoctor,deletePatientLapsoRrecord,getPatientById,getPatientLapseRecord,getPatientLapsoSummary,updatePatientLapseRecord} from '@/api/patient'
484
+    import { savePatientLapse,getAllDoctor,deletePatientLapsoRrecord,getPatientById,getPatientLapseRecord,getPatientLapsoSummary,updatePatientLapseRecord,getPatientLapsoList} from '@/api/patient'
368
   
485
   
369
     import { jsGetAge, uParseTime } from '@/utils/tools'
486
     import { jsGetAge, uParseTime } from '@/utils/tools'
370
     import { getDataConfig } from '@/utils/data'
487
     import { getDataConfig } from '@/utils/data'
475
           his_type:"1",
592
           his_type:"1",
476
           his_zone:"",
593
           his_zone:"",
477
           his_bed:"",
594
           his_bed:"",
595
+          start_time:"",
596
+          end_time:"",
597
+          patient_address:"",
598
+          start_time_one:"",
599
+          end_time_one:"",
478
         }
600
         }
479
       },
601
       },
480
       methods: {
602
       methods: {
603
+        toJiaoBen(){
604
+           getPatientLapsoList().then(response=>{
605
+
606
+           })      
607
+        },
481
         clickuseradvicecell(row, column, cell, event) {
608
         clickuseradvicecell(row, column, cell, event) {
482
         },
609
         },
483
         onTranPatient: function(tranPatient) {
610
         onTranPatient: function(tranPatient) {
548
           }
675
           }
549
         })
676
         })
550
       },
677
       },
678
+
551
       getLapseType(id){
679
       getLapseType(id){
552
         var name = ""
680
         var name = ""
553
-        if(id == 1){
554
-          name = "终止透析"
681
+        if(id == 4){
682
+          name = "转出院外"
555
         }
683
         }
556
-        if(id == 2){
684
+        if(id == 5){
557
           name = "转出院外"
685
           name = "转出院外"
558
         }
686
         }
559
-        if(id == 3){
687
+        if(id == 6){
560
           name = "回居住地透析"
688
           name = "回居住地透析"
561
         }
689
         }
562
-        if(id == 4){
690
+        if(id == 7){
563
           name = "临时透析"
691
           name = "临时透析"
564
         }
692
         }
565
-        if(id == 5){
693
+        if(id == 8){
566
           name = "转腹膜透析"
694
           name = "转腹膜透析"
567
         }
695
         }
568
-        if(id == 6){
696
+        if(id == 9){
569
           name = "其他"
697
           name = "其他"
570
         }
698
         }
571
-        if(id == 7){
699
+        if(id == 10){
572
           name = "变更透析医院"
700
           name = "变更透析医院"
573
         }
701
         }
574
-        if(id == 8){
702
+        if(id == 11){
575
           name = "住院"
703
           name = "住院"
576
         }
704
         }
577
-        if(id == 9){
705
+        if(id == 12){
578
           name = "转血透科"
706
           name = "转血透科"
579
         }
707
         }
708
+        if(id == 13){
709
+          name = "回居住地透析"
710
+        }
711
+        if(id == 14){
712
+          name = "变更透析医院"
713
+        }
580
 
714
 
581
         return name
715
         return name
582
 
716
 
598
             his_bed:this.his_bed,
732
             his_bed:this.his_bed,
599
             his_type: parseInt(this.his_type),
733
             his_type: parseInt(this.his_type),
600
             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,
601
           }
740
           }
602
           console.log("params=====",params)
741
           console.log("params=====",params)
603
         savePatientLapse(params).then(response=>{
742
         savePatientLapse(params).then(response=>{
642
              this.his_zone = lapsorecord.his_zone
781
              this.his_zone = lapsorecord.his_zone
643
              this.his_type = lapsorecord.his_type
782
              this.his_type = lapsorecord.his_type
644
              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)
645
              this.editDialogVisible = true
789
              this.editDialogVisible = true
646
            
790
            
647
           }
791
           }
666
             his_bed:this.his_bed,
810
             his_bed:this.his_bed,
667
             his_type:parseInt(this.his_type),
811
             his_type:parseInt(this.his_type),
668
             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,
669
           }
818
           }
670
          
819
          
671
         updatePatientLapseRecord(params).then(response=>{
820
         updatePatientLapseRecord(params).then(response=>{