From 678fabd10f631792c74a1099195f781f2516ceae Mon Sep 17 00:00:00 2001 From: ChiyokoYY <525231835@qq.com> Date: Sun, 8 Mar 2020 13:28:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E7=82=B9=E5=8C=BB=E9=99=A2=E4=BA=BA?= =?UTF-8?q?=E5=91=98=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/feature/diseaseInfoServer.ts | 5 + .../DiseaseInfoHospitalDD/DiseaseList.vue | 136 +++-------- .../DiseaseInfoHospitalDD/PeopleInfoEdit.vue | 214 ++++++++---------- 3 files changed, 130 insertions(+), 225 deletions(-) diff --git a/src/api/feature/diseaseInfoServer.ts b/src/api/feature/diseaseInfoServer.ts index ab437bd..cd24089 100644 --- a/src/api/feature/diseaseInfoServer.ts +++ b/src/api/feature/diseaseInfoServer.ts @@ -152,6 +152,11 @@ export class DiseaseInfoServer { const url = '/infection/point/hospital/list'; return this.rSerivce.serverObj.post(url, opts); } + // 定点医院病患信息详情 + public searchPointInfo(id: any) { + const url = `/infection/point/hospital/detail?id=${id}`; + return this.rSerivce.serverObj.get(url); + } // 病情下拉框 public findPointIllnessState() { const url = '/infection/point/hospital/findPointIllnessState'; diff --git a/src/components/feature/DiseaseInfoHospitalDD/DiseaseList.vue b/src/components/feature/DiseaseInfoHospitalDD/DiseaseList.vue index bafc98c..fb196e4 100644 --- a/src/components/feature/DiseaseInfoHospitalDD/DiseaseList.vue +++ b/src/components/feature/DiseaseInfoHospitalDD/DiseaseList.vue @@ -7,12 +7,7 @@
- + - + - + - + - + - + - - - + + + - - - - - + + + + + - - --> +
@@ -179,16 +117,8 @@ :on-success="uploadSuccess" :on-error="uploadError" > - 选取文件 - 上传 + 选取文件 + 上传 @@ -208,7 +138,7 @@ const serverPath = require('../../../config/index.js').servePath; import { Component, Prop, Vue } from 'vue-property-decorator'; import { diseaseInfoServer } from '@/api/installServer'; @Component({ - name: 'DiseaseList', + name: 'DiseaseList' }) export default class DiseasDeList extends Vue { // 角色权限 @@ -231,14 +161,14 @@ export default class DiseasDeList extends Vue { // 查询条件 private queryInfo: any = { - idNo: '', - illnessState: '0', + // idNo: '', + // illnessState: '0', page: 0, - size: 10, - suffererName: '', - suffererStatus: '0', - suffererType: '0', - telphone: '', + size: 10 + // suffererName: '', + // suffererStatus: '0', + // suffererType: '0', + // telphone: '', }; private statusList: any[] = []; private typeList: any[] = []; @@ -356,8 +286,8 @@ export default class DiseasDeList extends Vue { { confirmButtonText: '确定', cancelButtonText: '取消', - type: 'warning', - }, + type: 'warning' + } ); if (result !== 'confirm') { return this.$message.info('已取消删除'); @@ -432,7 +362,7 @@ export default class DiseasDeList extends Vue { suffererName: '', suffererStatus: '', suffererTel: '', - suffererType: '', + suffererType: '' }; diseaseInfoServer.downloadList(params).then((res: any) => { this.downloadFun(res); @@ -455,7 +385,7 @@ export default class DiseasDeList extends Vue { suffererName: '', suffererStatus: '', suffererTel: '', - suffererType: '', + suffererType: '' }; diseaseInfoServer.downloadList(params).then((res: any) => { this.downloadFun(res); diff --git a/src/components/feature/DiseaseInfoHospitalDD/PeopleInfoEdit.vue b/src/components/feature/DiseaseInfoHospitalDD/PeopleInfoEdit.vue index 891eec2..3e9a832 100644 --- a/src/components/feature/DiseaseInfoHospitalDD/PeopleInfoEdit.vue +++ b/src/components/feature/DiseaseInfoHospitalDD/PeopleInfoEdit.vue @@ -1,22 +1,10 @@