diff --git a/src/views/enterprises/update.vue b/src/views/enterprises/update.vue index 66b26be..6a72839 100644 --- a/src/views/enterprises/update.vue +++ b/src/views/enterprises/update.vue @@ -164,7 +164,11 @@ 放大 -
+
删除
@@ -207,7 +211,9 @@ @@ -459,11 +465,16 @@ const getProveList = () => { }) } -const deleteProve = (id: any) => { - EnterpriseQualificationApi.deleteEnterpriseQualification(id).then(() => { - message.success('删除成功') - getProveList() - }) +const deleteProve = (params) => { + if (params.id) { + EnterpriseQualificationApi.deleteEnterpriseQualification(params.id).then(() => { + message.success('删除成功') + getProveList() + }) + } else { + proveList.value.splice(params.index, 1) + message.success('删除成功') + } } const getLogList = () => { diff --git a/src/views/screen/compenonts/tabber.vue b/src/views/screen/compenonts/tabber.vue index ca763ba..d7e1cc7 100644 --- a/src/views/screen/compenonts/tabber.vue +++ b/src/views/screen/compenonts/tabber.vue @@ -13,10 +13,10 @@
{{ item }}