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