From d3168fde347083346c045f28bfd681a268bdc665 Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Wed, 5 Jul 2023 15:16:47 +0800 Subject: [PATCH] =?UTF-8?q?ok=E9=95=9C=E6=82=A3=E8=80=85=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 4 ++-- .../modules/optometryManagement/cornea/index.vue | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index 41857cc..b7dc2f6 100644 --- a/public/index.html +++ b/public/index.html @@ -39,8 +39,8 @@ <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> <% } %> diff --git a/src/page-subspecialty/views/modules/optometryManagement/cornea/index.vue b/src/page-subspecialty/views/modules/optometryManagement/cornea/index.vue index ffa0717..6853b0d 100644 --- a/src/page-subspecialty/views/modules/optometryManagement/cornea/index.vue +++ b/src/page-subspecialty/views/modules/optometryManagement/cornea/index.vue @@ -105,6 +105,11 @@ class="operation-details" @click="browseClick(scope.row)" >OK镜 + 删除 @@ -192,6 +197,16 @@ export default { } }) }, + deleteClick(scopeRow) { + this.$confirmFun('确定要删除吗?').then(() => { + this.$http.post('/lenses/delPatientInfo', { + id: scopeRow.id + }).then(() => { + this.$message.success('删除成功!') + this.getDataList() + }) + }).catch(() => {}) + }, handleType(value, index) { this.curIndex = index this.dataForm.nextCheckFlag = value