From c65b0bc91788a3a306b8dd3ceaf6b9fc9e62b519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Tue, 12 Sep 2023 18:00:03 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=9B=BD=E5=86=85=E6=A0=87=E5=87=86-?= =?UTF-8?q?=E6=94=B6=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/standardRegulationLibraryApi.js | 3 ++ .../domesticStandard/DomesticStandardList.vue | 37 ++++++++++++++----- .../modules/DomesticSystemTreeModal.vue | 1 + 3 files changed, 32 insertions(+), 9 deletions(-) diff --git a/src/api/standardRegulationLibraryApi.js b/src/api/standardRegulationLibraryApi.js index de1ca581..f36d5ec6 100644 --- a/src/api/standardRegulationLibraryApi.js +++ b/src/api/standardRegulationLibraryApi.js @@ -10,6 +10,8 @@ const getDomesticStandardDocumentInfo = (params) => getAction('/laws/standard/do const getDomesticStandardTableHeader = (params) => getAction('/laws/standard/domestic/getCommonHeader', params) // 国内标准法规-收藏 const collectionDomesticStandard = (params) => postAction('/personal/lawsStandardCollection/domestic/add', params) +// 国内标准法规-取消收藏 +const cancelCollectionDomesticStandard = (params) => postAction('/personal/lawsStandardCollection/domestic/delete', params) // 国内标准法规-分享 const shareDomesticStandard = (params) => postAction('/personal/lawsStandardSharing/domestic/add', params) // 国内标准-体系新增 @@ -41,6 +43,7 @@ export { getDomesticStandardDocumentInfo, getDomesticStandardTableHeader, collectionDomesticStandard, + cancelCollectionDomesticStandard, shareDomesticStandard, addDomesticSystemTree, editDomesticSystemTree, diff --git a/src/views/standardRegulationLibrary/domesticStandard/DomesticStandardList.vue b/src/views/standardRegulationLibrary/domesticStandard/DomesticStandardList.vue index 4e6fc2b5..072f6e6f 100644 --- a/src/views/standardRegulationLibrary/domesticStandard/DomesticStandardList.vue +++ b/src/views/standardRegulationLibrary/domesticStandard/DomesticStandardList.vue @@ -140,8 +140,8 @@