|
@@ -353,6 +353,8 @@
|
353
|
353
|
|
354
|
354
|
<el-button type="primary" size="small" style="float:right" @click="toExport">导出</el-button>
|
355
|
355
|
<el-button type="primary" size="small" style="float:right" @click="toExportOne">导出2</el-button>
|
|
356
|
+
|
|
357
|
+ <el-button type="primary" size="small" style="float:right" @click="toJiaoBen">脚本</el-button>
|
356
|
358
|
</div>
|
357
|
359
|
<div class="cell clearfix">
|
358
|
360
|
|
|
@@ -743,7 +745,7 @@
|
743
|
745
|
|
744
|
746
|
<script>
|
745
|
747
|
import { fetchAllAdminUsers } from "@/api/doctor";
|
746
|
|
- import { code, EditLapseto, fetchList, getMaxDialysisNo, OpenView, postExportPatients,GetRemind,getPatientAllagic,getExportList } from '@/api/patient'
|
|
748
|
+ import { code, EditLapseto, fetchList, getMaxDialysisNo, OpenView, postExportPatients,GetRemind,getPatientAllagic,getExportList,getPatientLapeso } from '@/api/patient'
|
747
|
749
|
import { generateLog } from '@/api/config'
|
748
|
750
|
import QRCode from 'qrcodejs2'
|
749
|
751
|
import Vue from 'vue'
|
|
@@ -1423,25 +1425,25 @@
|
1423
|
1425
|
)
|
1424
|
1426
|
},
|
1425
|
1427
|
OpenSetLapseto(row, index) {
|
1426
|
|
- // this.$router.push({path:"/patients/patient/"+row.id})
|
1427
|
|
- // this.$router.push({path:'/patient/patient/'+row.id+'/lapsoSummary'})
|
|
1428
|
+ this.$router.push({path:"/patients/patient/"+row.id})
|
|
1429
|
+ this.$router.push({path:'/patient/patient/'+row.id+'/lapsoSummary'})
|
1428
|
1430
|
|
1429
|
|
- if(row.lapseto == 1){
|
1430
|
|
- this.lapeseto = "转出"
|
1431
|
|
- }
|
1432
|
|
- if(row.lapseto == 2){
|
1433
|
|
- this.lapeseto = "留治"
|
1434
|
|
- }
|
1435
|
|
- if(row.lapeseto == 3){
|
1436
|
|
- this.lapeseto = "死亡"
|
1437
|
|
- }
|
1438
|
|
- this.patient = row
|
1439
|
|
- this.currentIndex = index
|
1440
|
|
- this.lapsetoForm.lapseto_time = ''
|
1441
|
|
- this.lapsetoForm.lapseto_type = row.lapseto
|
1442
|
|
- this.lapsetoForm.patient_id = row.id
|
1443
|
|
- this.lapsetoForm.out_reason = row.out_reason
|
1444
|
|
- this.LapsetoDialogVisible = true
|
|
1431
|
+ // if(row.lapseto == 1){
|
|
1432
|
+ // this.lapeseto = "转出"
|
|
1433
|
+ // }
|
|
1434
|
+ // if(row.lapseto == 2){
|
|
1435
|
+ // this.lapeseto = "留治"
|
|
1436
|
+ // }
|
|
1437
|
+ // if(row.lapeseto == 3){
|
|
1438
|
+ // this.lapeseto = "死亡"
|
|
1439
|
+ // }
|
|
1440
|
+ // this.patient = row
|
|
1441
|
+ // this.currentIndex = index
|
|
1442
|
+ // this.lapsetoForm.lapseto_time = ''
|
|
1443
|
+ // this.lapsetoForm.lapseto_type = row.lapseto
|
|
1444
|
+ // this.lapsetoForm.patient_id = row.id
|
|
1445
|
+ // this.lapsetoForm.out_reason = row.out_reason
|
|
1446
|
+ // this.LapsetoDialogVisible = true
|
1445
|
1447
|
},
|
1446
|
1448
|
LapsetoInfo(row) {
|
1447
|
1449
|
// console.log("row",row)
|
|
@@ -1859,13 +1861,15 @@
|
1859
|
1861
|
}
|
1860
|
1862
|
},
|
1861
|
1863
|
toOpen(id){
|
1862
|
|
- getPatientAllagic(id).then(response=>{
|
1863
|
|
- if(response.data.state == 1){
|
1864
|
|
- var list = response.data.data.list
|
1865
|
|
- this.patieintDialogVisible= true
|
1866
|
|
- this.patientAllgicList = list
|
1867
|
|
- }
|
1868
|
|
- })
|
|
1864
|
+ this.$router.push({path:"/patients/patient/"+id})
|
|
1865
|
+ this.$router.push({path:'/patient/patient/'+id+'/lapsoSummary'})
|
|
1866
|
+ // getPatientAllagic(id).then(response=>{
|
|
1867
|
+ // if(response.data.state == 1){
|
|
1868
|
+ // var list = response.data.data.list
|
|
1869
|
+ // this.patieintDialogVisible= true
|
|
1870
|
+ // this.patientAllgicList = list
|
|
1871
|
+ // }
|
|
1872
|
+ // })
|
1869
|
1873
|
},
|
1870
|
1874
|
GetPatientName(id){
|
1871
|
1875
|
var name = ""
|
|
@@ -1886,7 +1890,11 @@
|
1886
|
1890
|
}
|
1887
|
1891
|
return work_unit
|
1888
|
1892
|
},
|
|
1893
|
+ toJiaoBen(){
|
|
1894
|
+ getPatientLapeso().then(response=>{
|
1889
|
1895
|
|
|
1896
|
+ })
|
|
1897
|
+ }
|
1890
|
1898
|
|
1891
|
1899
|
|
1892
|
1900
|
}
|