From e254a9ad708c3e93684c9cc50b931a9de595773a Mon Sep 17 00:00:00 2001 From: "1747191978@qq.com" <1942943850@qq.com> Date: Tue, 18 Feb 2025 15:54:17 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E8=BA=AB=E4=BB=BD=E8=AF=81?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/followFile/index.vue | 46 ++++++++------- .../src/views/followFile/subjects.vue | 58 +++++++++++-------- .../src/views/followFile/work.vue | 46 ++++++++------- .../src/views/medicalFile/index.vue | 5 ++ .../src/views/patientFile/index.vue | 4 +- 5 files changed, 93 insertions(+), 66 deletions(-) diff --git a/acupuncture-前台/src/views/followFile/index.vue b/acupuncture-前台/src/views/followFile/index.vue index 7a6283be..28959236 100644 --- a/acupuncture-前台/src/views/followFile/index.vue +++ b/acupuncture-前台/src/views/followFile/index.vue @@ -257,29 +257,33 @@ export default { openCron: false, // 传入的表达式 expression: "", - idCardType: [ - { - label: "身份证", - value: 0, - }, - { - label: "护照或外国人永居证", - value: 1, - }, - { - label: "港澳居民来往内地通行", - value: 2, - }, - { - label: "台湾居民来往大陆通行证", - value: 3, - }, + idCardType: [{ + label: "身份证", + value: 0, + }, + { + label: "护照或外国人永居证", + value: 1, + }, + { + label: "港澳居民来往内地通行", + value: 2, + }, + { + label: "台湾居民来往大陆通行证", + value: 3, + }, + { + label: "其他", + value: 4, + }, ], idCardTypeValue: { - 0: "身份证", - 1: "护照或外国人永居证", - 2: "港澳居民来往内地通行", - 3: "台湾居民来往大陆通行证", + 0: "身份证", + 1: "护照或外国人永居证", + 2: "港澳居民来往内地通行", + 3: "台湾居民来往大陆通行证", + 4: "其他", }, loading: false, // 遮罩层 ids: [], // 选中数组 diff --git a/acupuncture-前台/src/views/followFile/subjects.vue b/acupuncture-前台/src/views/followFile/subjects.vue index 5ea51b52..0933b2b8 100644 --- a/acupuncture-前台/src/views/followFile/subjects.vue +++ b/acupuncture-前台/src/views/followFile/subjects.vue @@ -215,29 +215,33 @@ export default { data() { return { fileList: [], - idCardType: [ - { - label: "身份证", - value: 0, - }, - { - label: "护照或外国人永居证", - value: 1, - }, - { - label: "港澳居民来往内地通行", - value: 2, - }, - { - label: "台湾居民来往大陆通行证", - value: 3, - }, + idCardType: [{ + label: "身份证", + value: 0, + }, + { + label: "护照或外国人永居证", + value: 1, + }, + { + label: "港澳居民来往内地通行", + value: 2, + }, + { + label: "台湾居民来往大陆通行证", + value: 3, + }, + { + label: "其他", + value: 4, + }, ], idCardTypeValue: { - 0: "身份证", - 1: "护照或外国人永居证", - 2: "港澳居民来往内地通行", - 3: "台湾居民来往大陆通行证", + 0: "身份证", + 1: "护照或外国人永居证", + 2: "港澳居民来往内地通行", + 3: "台湾居民来往大陆通行证", + 4: "其他", }, loading: false, // 遮罩层 ids: [], // 选中数组 @@ -332,9 +336,17 @@ export default { ); }, /** 跳转患者档案 */ - handlePatient(row) {}, + handlePatient(row) { + this.$router.push({ + path:`/patientIndex?idCard=${row.idCard}` + }) + }, /** 诊疗档案 */ - handleMedical(row) {}, + handleMedical(row) { + this.$router.push({ + path:`/medicalIndex?idCard=${row.idCard}` + }) + }, /** 提交按钮 */ submitForm: function () { this.$refs["form"].validate((valid) => { diff --git a/acupuncture-前台/src/views/followFile/work.vue b/acupuncture-前台/src/views/followFile/work.vue index def2e10f..88530c7d 100644 --- a/acupuncture-前台/src/views/followFile/work.vue +++ b/acupuncture-前台/src/views/followFile/work.vue @@ -303,29 +303,33 @@ export default { 4: "超期未随访", 5: "超期已随访", }, - idCardType: [ - { - label: "身份证", - value: 0, - }, - { - label: "护照或外国人永居证", - value: 1, - }, - { - label: "港澳居民来往内地通行", - value: 2, - }, - { - label: "台湾居民来往大陆通行证", - value: 3, - }, + idCardType: [{ + label: "身份证", + value: 0, + }, + { + label: "护照或外国人永居证", + value: 1, + }, + { + label: "港澳居民来往内地通行", + value: 2, + }, + { + label: "台湾居民来往大陆通行证", + value: 3, + }, + { + label: "其他", + value: 4, + }, ], idCardTypeValue: { - 0: "身份证", - 1: "护照或外国人永居证", - 2: "港澳居民来往内地通行", - 3: "台湾居民来往大陆通行证", + 0: "身份证", + 1: "护照或外国人永居证", + 2: "港澳居民来往内地通行", + 3: "台湾居民来往大陆通行证", + 4: "其他", }, loading: false, // 遮罩层 ids: [], // 选中数组 diff --git a/acupuncture-前台/src/views/medicalFile/index.vue b/acupuncture-前台/src/views/medicalFile/index.vue index b308a521..f3c5feac 100644 --- a/acupuncture-前台/src/views/medicalFile/index.vue +++ b/acupuncture-前台/src/views/medicalFile/index.vue @@ -537,12 +537,17 @@ label: "台湾居民来往大陆通行证", value: 3, }, + { + label: "其他", + value: 4, + }, ], idCardTypeValue: { 0: "身份证", 1: "护照或外国人永居证", 2: "港澳居民来往内地通行", 3: "台湾居民来往大陆通行证", + 4: "其他", }, // 体型类型 systemType: [ diff --git a/acupuncture-前台/src/views/patientFile/index.vue b/acupuncture-前台/src/views/patientFile/index.vue index 47ee6b29..01a69fef 100644 --- a/acupuncture-前台/src/views/patientFile/index.vue +++ b/acupuncture-前台/src/views/patientFile/index.vue @@ -3,7 +3,7 @@ - @@ -329,6 +329,8 @@ }; }, created() { + let idCard = this.$route.query.idCard + this.queryParams.param.keywords = idCard || '' this.getList(); }, methods: {