From f4d9b34d7b0dd97cf50f9517b5743132acd4e90c Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Wed, 25 Aug 2021 15:25:33 +0800 Subject: [PATCH] feat: There is no way the delResourceById --- .../domesticStandardsAndRegulations/index.vue | 2 +- .../components/EnterpriseStandardDatabase.vue | 2 +- .../foreignStandardsAndRegulations/index.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index b66fc9787..e2a4a8fdc 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -2816,7 +2816,7 @@ export default { roundButton: true, type: 'warning' }).then(() => { - this.$http.delete("sarResource/ts-resource", { + this.$http.put("sarResource/ts-resource/delResourceById", { resourceId: data.id }, res => { }, e => { diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index d2758415a..928a2148f 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -2082,7 +2082,7 @@ export default { roundButton: true, type: 'warning' }).then(() => { - this.$http.delete("sarResource/ts-resource", { + this.$http.put("sarResource/ts-resource/delResourceById", { resourceId: data.id }, res => { }, e => { diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index 1acacbe00..9a4e7820a 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -2552,7 +2552,7 @@ export default { roundButton: true, type: 'warning' }).then(() => { - this.$http.delete("sarResource/ts-resource", { + this.$http.put("sarResource/ts-resource/delResourceById", { resourceId: data.id }, res => { }, e => {