From 1e0c239da6b5d2ad38474c53772994834c7a19df Mon Sep 17 00:00:00 2001 From: madewang Date: Tue, 10 Mar 2020 16:40:55 +0800 Subject: [PATCH 01/13] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AE=9A=E7=82=B9?= =?UTF-8?q?=E5=8C=BB=E9=99=A2=E7=96=AB=E6=83=85=E4=BA=BA=E5=91=98=E6=B2=BB?= =?UTF-8?q?=E6=84=88=E5=87=BA=E9=99=A2=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../feature/DiseaseInfoHospitalDD/PeopleInfoEdit.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/feature/DiseaseInfoHospitalDD/PeopleInfoEdit.vue b/src/components/feature/DiseaseInfoHospitalDD/PeopleInfoEdit.vue index a906ea7..bace9a6 100644 --- a/src/components/feature/DiseaseInfoHospitalDD/PeopleInfoEdit.vue +++ b/src/components/feature/DiseaseInfoHospitalDD/PeopleInfoEdit.vue @@ -153,6 +153,11 @@ + + + + +
- 统计日期: - + {{ expiryDate }}新增数据统计如下:
导出 Date: Tue, 10 Mar 2020 20:45:51 +0800 Subject: [PATCH 06/13] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=BA=AF=E6=BA=90?= =?UTF-8?q?=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/feature/accumulativeStatistics.ts | 5 +++++ src/views/PatientPortrayal.vue | 27 ++++++++++++++++++++++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/src/api/feature/accumulativeStatistics.ts b/src/api/feature/accumulativeStatistics.ts index 8f51d6d..b072020 100644 --- a/src/api/feature/accumulativeStatistics.ts +++ b/src/api/feature/accumulativeStatistics.ts @@ -35,4 +35,9 @@ export class AccumulativeStatistics { const url = `/infection/cdc/suffererinfo/trace?suffererIdNo=${opts.suffererIdNo}&suffererName=${opts.suffererName}`; return this.rSerivce.serverObj.get(url); } + // 通过身份证号 名字 cdc溯源详情导出 + public suffererinfoTraceExport(opts: any) { + const url = `infection/cdc/trace/export?suffererIdNo=${opts.suffererIdNo}&suffererName=${opts.suffererName}`; + return this.downService.downloadRequest.get(url); + } } diff --git a/src/views/PatientPortrayal.vue b/src/views/PatientPortrayal.vue index 9565db3..6ba7099 100644 --- a/src/views/PatientPortrayal.vue +++ b/src/views/PatientPortrayal.vue @@ -12,7 +12,7 @@
cursor
- {{currentSufferData.suffererName}}病情溯源 + {{currentSufferData.suffererName}}病情溯源
@@ -207,6 +207,31 @@ export default class LayoutHome extends Vue { } else { this.$router.go(-1); } + } + private downloadFun(res: any) { + const obj = res.data; + const filename = res.headers.filename; + if (window.navigator.msSaveOrOpenBlob) { + window.navigator.msSaveOrOpenBlob(obj, filename); + } else { + const tmpDom = document.createElement('a'); + tmpDom.download = filename || '下载'; + tmpDom.href = URL.createObjectURL(obj); + tmpDom.click(); //  延时释放 + setTimeout(() => { + URL.revokeObjectURL(obj); + }, 100); + } + } + // 溯源导出 + private downloadTrace() { + const params = { + suffererIdNo: this.currentSufferData.suffererIdNo, + suffererName: this.currentSufferData.suffererName, + }; + accumulativeStatistics.suffererinfoTraceExport(params).then((res: any) => { + this.downloadFun(res); + }); } private mounted() { const dom: any = document.getElementById('app'); -- Gitee From b7e1bfa7b025aed19816cfafb685144778cfbc4e Mon Sep 17 00:00:00 2001 From: madewang Date: Tue, 10 Mar 2020 20:51:04 +0800 Subject: [PATCH 07/13] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=BA=AF=E6=BA=90?= =?UTF-8?q?=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/PatientPortrayal.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/PatientPortrayal.vue b/src/views/PatientPortrayal.vue index 6ba7099..c9096be 100644 --- a/src/views/PatientPortrayal.vue +++ b/src/views/PatientPortrayal.vue @@ -11,8 +11,8 @@
{{item.changeInfo}}
cursor -
- {{currentSufferData.suffererName}}病情溯源 +
+ {{currentSufferData.suffererName}}病情溯源
-- Gitee From db006fdf5a7d7cc83bf4a75327950a38127e1e70 Mon Sep 17 00:00:00 2001 From: madewang Date: Tue, 10 Mar 2020 20:54:10 +0800 Subject: [PATCH 08/13] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=BA=AF=E6=BA=90?= =?UTF-8?q?=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/PatientPortrayal.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/PatientPortrayal.vue b/src/views/PatientPortrayal.vue index c9096be..137cf73 100644 --- a/src/views/PatientPortrayal.vue +++ b/src/views/PatientPortrayal.vue @@ -306,6 +306,7 @@ export default class LayoutHome extends Vue { top: 76px; left: 124px; background: url("../../src/assets/image/top-left.png"); + cursor:pointer; .left-text { display: inline-block; margin-top: 10px; -- Gitee From dfd07d3b9ecdeba34c8a08b49943ce2952e75d76 Mon Sep 17 00:00:00 2001 From: madewang Date: Tue, 10 Mar 2020 20:57:15 +0800 Subject: [PATCH 09/13] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=BA=AF=E6=BA=90?= =?UTF-8?q?=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/PatientPortrayal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/PatientPortrayal.vue b/src/views/PatientPortrayal.vue index 137cf73..1f3cbb5 100644 --- a/src/views/PatientPortrayal.vue +++ b/src/views/PatientPortrayal.vue @@ -10,7 +10,7 @@
{{item.changeInfo}}
- cursor +
{{currentSufferData.suffererName}}病情溯源
-- Gitee From 4ee9911349107863ea082cd8cbfacabeb362cbd3 Mon Sep 17 00:00:00 2001 From: ChiyokoYY <525231835@qq.com> Date: Tue, 10 Mar 2020 21:07:36 +0800 Subject: [PATCH 10/13] =?UTF-8?q?=E7=96=AB=E6=83=85=E7=BD=91=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=BB=9F=E8=AE=A1-=E8=AE=B0=E5=BF=86=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../feature/AccumulativeStatistics/AccumulativeStatistics.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/feature/AccumulativeStatistics/AccumulativeStatistics.vue b/src/components/feature/AccumulativeStatistics/AccumulativeStatistics.vue index 1270730..134b17a 100644 --- a/src/components/feature/AccumulativeStatistics/AccumulativeStatistics.vue +++ b/src/components/feature/AccumulativeStatistics/AccumulativeStatistics.vue @@ -311,14 +311,14 @@ export default class DiseaseInfo extends Vue { this.initData(); if ( sessionStorage.getItem('searchDate') != '') { this.searchDate = sessionStorage.getItem('searchDate'); - this.getList(); + this.expiryDate = sessionStorage.getItem('searchDate'); } if ( sessionStorage.getItem('tabType') != '') { this.tabType = sessionStorage.getItem('tabType'); this.activeIndex = this.tabType; this.params.type = this.tabType; - this.getList(); } + this.initData(); } private initData() { -- Gitee From 55f8e457aac4937e22d7267d9f10682ed6847d54 Mon Sep 17 00:00:00 2001 From: ChiyokoYY <525231835@qq.com> Date: Tue, 10 Mar 2020 21:54:41 +0800 Subject: [PATCH 11/13] =?UTF-8?q?=E7=96=AB=E6=83=85=E7=BD=91=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=BB=9F=E8=AE=A1-=E8=AE=B0=E5=BF=86=E6=95=B0?= =?UTF-8?q?=E6=8D=AEbug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../feature/AccumulativeStatistics/AccumulativeStatistics.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/feature/AccumulativeStatistics/AccumulativeStatistics.vue b/src/components/feature/AccumulativeStatistics/AccumulativeStatistics.vue index 134b17a..05fd83f 100644 --- a/src/components/feature/AccumulativeStatistics/AccumulativeStatistics.vue +++ b/src/components/feature/AccumulativeStatistics/AccumulativeStatistics.vue @@ -308,7 +308,6 @@ export default class DiseaseInfo extends Vue { 80 - 20; this.params.pageSize = Math.floor(fullHeight / 48); // 根据屏幕自适应计算size - this.initData(); if ( sessionStorage.getItem('searchDate') != '') { this.searchDate = sessionStorage.getItem('searchDate'); this.expiryDate = sessionStorage.getItem('searchDate'); -- Gitee From 03eb3536137daf70971581ef9311ddfcafb0b3ca Mon Sep 17 00:00:00 2001 From: "os.weiqiming" <847106154@qq.com> Date: Wed, 11 Mar 2020 12:19:15 +0800 Subject: [PATCH 12/13] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E9=A1=B6=E9=83=A8?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/PatientPortrayal.vue | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/src/views/PatientPortrayal.vue b/src/views/PatientPortrayal.vue index 5fbc32f..74c8dbc 100644 --- a/src/views/PatientPortrayal.vue +++ b/src/views/PatientPortrayal.vue @@ -373,7 +373,7 @@ export default class LayoutHome extends Vue { &:nth-child(5) { position: absolute; top: 45px; - left: 987px; + left: 963px; .layoutHome-image { position: absolute; top: 42px; @@ -388,7 +388,7 @@ export default class LayoutHome extends Vue { &:nth-child(6) { position: absolute; top: 43px; - left: 1169px; + left: 1100px; .layoutHome-image { position: absolute; top: 42px; @@ -397,13 +397,13 @@ export default class LayoutHome extends Vue { .cursor { position: absolute; top: 76px; - left: -30px; + left: -18px; } } &:nth-child(7) { position: absolute; top: 38px; - right: 512px; + right: 565px; .layoutHome-image { position: absolute; top: 42px; @@ -412,13 +412,28 @@ export default class LayoutHome extends Vue { .cursor { position: absolute; top: 76px; - left: -33px; + left: -20px; } } &:nth-child(8) { + position: absolute; + top: 40px; + right: 432px; + .layoutHome-image { + position: absolute; + top: 37px; + left: 28px; + } + .cursor { + position: absolute; + top: 73px; + left: -10px; + } + } + &:nth-child(9) { position: absolute; top: 35px; - right: 359px; + right: 300px; .layoutHome-image { position: absolute; top: 37px; -- Gitee From 10def04b651e132c3d934f9bf395dd34ed6c00e7 Mon Sep 17 00:00:00 2001 From: madewang Date: Wed, 11 Mar 2020 13:07:41 +0800 Subject: [PATCH 13/13] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8F=91=E7=83=AD?= =?UTF-8?q?=E9=97=A8=E8=AF=8A=E7=96=AB=E6=83=85=E4=BA=BA=E5=91=98=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/feature/diseaseInfoServer.ts | 10 + .../AccumulativeStatistics.vue | 4 +- .../DiseaseInfoFeverClinic/DiseaseInfoFR.vue | 21 + .../DiseaseInfoFeverClinic/DiseaseList.vue | 598 ++++++++++++++++ .../DiseaseInfoFeverClinic/PeopleInfoAdd.vue | 659 ++++++++++++++++++ .../PeopleInfoDetail.vue | 101 +++ .../DiseaseInfoFeverClinic/PeopleInfoEdit.vue | 560 +++++++++++++++ src/router/router.ts | 34 + src/views/MenuList.vue | 5 + 9 files changed, 1990 insertions(+), 2 deletions(-) create mode 100644 src/components/feature/DiseaseInfoFeverClinic/DiseaseInfoFR.vue create mode 100644 src/components/feature/DiseaseInfoFeverClinic/DiseaseList.vue create mode 100644 src/components/feature/DiseaseInfoFeverClinic/PeopleInfoAdd.vue create mode 100644 src/components/feature/DiseaseInfoFeverClinic/PeopleInfoDetail.vue create mode 100644 src/components/feature/DiseaseInfoFeverClinic/PeopleInfoEdit.vue diff --git a/src/api/feature/diseaseInfoServer.ts b/src/api/feature/diseaseInfoServer.ts index 6ac78a2..84451e6 100644 --- a/src/api/feature/diseaseInfoServer.ts +++ b/src/api/feature/diseaseInfoServer.ts @@ -132,6 +132,11 @@ export class DiseaseInfoServer { const url = '/infection/cdc/list'; return this.rSerivce.serverObj.post(url, opts); } + // 获取发热门诊疫情人员列表 + public getFeverClinicList(opts: any) { + const url = '/infection/clinics/list'; + return this.rSerivce.serverObj.post(url, opts); + } // 获取疫情网疫情病例分类 public getSickTypeist() { const url = '/infection/cdc/findClinicalSeverity'; @@ -190,6 +195,11 @@ export class DiseaseInfoServer { const url = `/infection/cdc/suffererinfo/one?id=${id}`; return this.rSerivce.serverObj.get(url); } + // 发热门诊疫情人员详情 + public getFeverClinicDetail(id: any) { + const url = `/infection/clinics/detail?id=${id}`; + return this.rSerivce.serverObj.get(url); + } // 隔离点数据对比 public dataCompare() { diff --git a/src/components/feature/AccumulativeStatistics/AccumulativeStatistics.vue b/src/components/feature/AccumulativeStatistics/AccumulativeStatistics.vue index 1270730..47997f4 100644 --- a/src/components/feature/AccumulativeStatistics/AccumulativeStatistics.vue +++ b/src/components/feature/AccumulativeStatistics/AccumulativeStatistics.vue @@ -309,11 +309,11 @@ export default class DiseaseInfo extends Vue { 20; this.params.pageSize = Math.floor(fullHeight / 48); // 根据屏幕自适应计算size this.initData(); - if ( sessionStorage.getItem('searchDate') != '') { + if ( sessionStorage.getItem('searchDate') !== '') { this.searchDate = sessionStorage.getItem('searchDate'); this.getList(); } - if ( sessionStorage.getItem('tabType') != '') { + if ( sessionStorage.getItem('tabType') !== '') { this.tabType = sessionStorage.getItem('tabType'); this.activeIndex = this.tabType; this.params.type = this.tabType; diff --git a/src/components/feature/DiseaseInfoFeverClinic/DiseaseInfoFR.vue b/src/components/feature/DiseaseInfoFeverClinic/DiseaseInfoFR.vue new file mode 100644 index 0000000..de39609 --- /dev/null +++ b/src/components/feature/DiseaseInfoFeverClinic/DiseaseInfoFR.vue @@ -0,0 +1,21 @@ + + + + diff --git a/src/components/feature/DiseaseInfoFeverClinic/DiseaseList.vue b/src/components/feature/DiseaseInfoFeverClinic/DiseaseList.vue new file mode 100644 index 0000000..b03a4fe --- /dev/null +++ b/src/components/feature/DiseaseInfoFeverClinic/DiseaseList.vue @@ -0,0 +1,598 @@ + + + + + diff --git a/src/components/feature/DiseaseInfoFeverClinic/PeopleInfoAdd.vue b/src/components/feature/DiseaseInfoFeverClinic/PeopleInfoAdd.vue new file mode 100644 index 0000000..2358b37 --- /dev/null +++ b/src/components/feature/DiseaseInfoFeverClinic/PeopleInfoAdd.vue @@ -0,0 +1,659 @@ + + + + diff --git a/src/components/feature/DiseaseInfoFeverClinic/PeopleInfoDetail.vue b/src/components/feature/DiseaseInfoFeverClinic/PeopleInfoDetail.vue new file mode 100644 index 0000000..a2a3b7c --- /dev/null +++ b/src/components/feature/DiseaseInfoFeverClinic/PeopleInfoDetail.vue @@ -0,0 +1,101 @@ + + + + diff --git a/src/components/feature/DiseaseInfoFeverClinic/PeopleInfoEdit.vue b/src/components/feature/DiseaseInfoFeverClinic/PeopleInfoEdit.vue new file mode 100644 index 0000000..a5b1d34 --- /dev/null +++ b/src/components/feature/DiseaseInfoFeverClinic/PeopleInfoEdit.vue @@ -0,0 +1,560 @@ + + + + diff --git a/src/router/router.ts b/src/router/router.ts index 441ef09..2710f50 100644 --- a/src/router/router.ts +++ b/src/router/router.ts @@ -15,6 +15,12 @@ import PeopleInfoAddYQ from '../components/feature/DiseaseInfoYQ/PeopleInfoAdd.v import PeopleInfoEditYQ from '../components/feature/DiseaseInfoYQ/PeopleInfoEdit.vue'; // 人员编辑 import PeopleInfoDetailYQ from '../components/feature/DiseaseInfoYQ/PeopleInfoDetail.vue'; // 病情追溯 +import DiseaseInfoFR from '../components/feature/DiseaseInfoFeverClinic/DiseaseInfoFR.vue'; // 发热门诊疫情人员列表 +import DiseaseListFR from '../components/feature/DiseaseInfoFeverClinic/DiseaseList.vue'; // 疫情信息列表页面 +import PeopleInfoAddFR from '../components/feature/DiseaseInfoFeverClinic/PeopleInfoAdd.vue'; // 人员新增/转入 +import PeopleInfoEditFR from '../components/feature/DiseaseInfoFeverClinic/PeopleInfoEdit.vue'; // 人员编辑 +import PeopleInfoDetailFR from '../components/feature/DiseaseInfoFeverClinic/PeopleInfoDetail.vue'; // 病情追溯 + import DiseaseInfoHospitalDD from '../components/feature/DiseaseInfoHospitalDD/DiseaseInfoHospitalDD.vue'; // 定点医院人员列表 import DiseaseListDD from '../components/feature/DiseaseInfoHospitalDD/DiseaseList.vue'; // 疫情信息列表页面 import PeopleInfoAddDD from '../components/feature/DiseaseInfoHospitalDD/PeopleInfoAdd.vue'; // 人员新增/转入 @@ -85,6 +91,34 @@ const router = new Router({ }, ], }, + { + path: 'DiseaseInfoFR', + redirect: '/LayoutHome/DiseaseInfoFR/DiseaseList', + name: 'DiseaseInfoFR', + component: DiseaseInfoFR, + children: [ + { + path: 'DiseaseList', + name: 'DiseaseListFR', + component: DiseaseListFR, + }, + { + path: 'PeopleInfoAdd', + name: 'PeopleInfoAddFR', + component: PeopleInfoAddFR, + }, + { + path: 'PeopleInfoEdit/:id', + name: 'PeopleInfoEditFR', + component: PeopleInfoEditFR, + }, + { + path: 'PeopleInfoDetail/:id', + name: 'PeopleInfoDetailFR', + component: PeopleInfoDetailFR, + }, + ], + }, { path: 'DiseaseInfoGL', redirect: '/LayoutHome/DiseaseInfoGL/DiseaseList', diff --git a/src/views/MenuList.vue b/src/views/MenuList.vue index 8aef5de..d58941a 100644 --- a/src/views/MenuList.vue +++ b/src/views/MenuList.vue @@ -54,6 +54,11 @@ export default class MenuList extends Vue { path: '/LayoutHome/DiseaseInfoHospitalDD', authority: '4', }, + { + name: '发热门诊疫情人员列表', + path: '/LayoutHome/DiseaseInfoFR', + authority: '5', + }, { name: '疫情网数据统计', path: '/LayoutHome/AccumulativeStatistics', -- Gitee