From adbff88cab35bacc93d0dace97b3ed92e3969fba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Wed, 20 Sep 2023 17:29:06 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=B5=B7=E5=A4=96=E6=A0=87=E5=87=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/standardRegulationLibraryApi.js | 35 +- .../commonPage/StandardDetailPage.vue | 37 +- .../domesticStandard/DomesticStandardList.vue | 2 +- .../SelectionDomesticStandardDrawer.vue | 4 +- .../overseasStandard/OverseasStandardList.vue | 544 ++++++++++++++---- .../modules/OverseasStandardModal.vue | 83 ++- .../modules/OverseasSystemTreeModal.vue | 103 ++++ .../SelectionOverseasStandardDrawer.vue | 225 ++++++++ 8 files changed, 869 insertions(+), 164 deletions(-) create mode 100644 src/views/standardRegulationLibrary/overseasStandard/modules/OverseasSystemTreeModal.vue create mode 100644 src/views/standardRegulationLibrary/overseasStandard/modules/SelectionOverseasStandardDrawer.vue diff --git a/src/api/standardRegulationLibraryApi.js b/src/api/standardRegulationLibraryApi.js index 2fc2c479..d4daf980 100644 --- a/src/api/standardRegulationLibraryApi.js +++ b/src/api/standardRegulationLibraryApi.js @@ -45,6 +45,28 @@ const getOverseasStandardForm = (params) => getAction('/laws/standard/overseas/g const getOverseasStandardDocumentInfo = (params) => getAction('/laws/standard/overseas/getByIdAndModule', params) // 海外标准-获取表头信息 const getOverseasStandardTableHeader = (params) => getAction('/laws/standard/overseas/getCommonHeader', params) +// 海外标准-获取体系数据 +const getOverseasStandardSystem = (params) => getAction('/laws/standard/lawsTreeNode/overseas', params) +// 海外标准-收藏 +const collectionOverseasStandard = (params) => postAction('/personal/lawsStandardCollection/overseas/add', params) +// 海外标准-取消收藏 +const cancelCollectionOverseasStandard = (params) => postAction('/personal/lawsStandardCollection/overseas/delete', params) +// 海外标准-分享 +const shareOverseasStandard = (params) => postAction('/personal/lawsStandardSharing/overseas/add', params) +// 海外标准-体系删除 +const deleteOverseasStandardSystem = (params) => postAction('/laws/standard/lawsTreeNode/overseas/delete', params) +// 海外标准-体系新增 +const addOverseasStandardSystem = (params) => postAction('/laws/standard/lawsTreeNode/overseas/add', params) +// 海外标准-体系编辑 +const editOverseasStandardSystem = (params) => postAction('/laws/standard/lawsTreeNode/overseas/edit', params) +// 海外标准-配置标准 +const configOverseasStandard = (params) => getAction('/laws/standard/overseas/relatedStandard', params) +// 海外标准-移除标准 +const removeOverseasStandard = (params) => getAction('/laws/standard/overseas/removeStandard', params) +// 海外标准-添加标准 +const addOverseasStandard = (params) => postAction('/laws/standard/overseas/commonAdd', params) +// 海外标准-编辑标准 +const editOverseasStandard = (params) => postAction('/laws/standard/overseas/commonEdit', params) export { // 国内标准 @@ -71,5 +93,16 @@ export { getOverseasStandardSearchForm, getOverseasStandardForm, getOverseasStandardDocumentInfo, - getOverseasStandardTableHeader + getOverseasStandardTableHeader, + getOverseasStandardSystem, + collectionOverseasStandard, + cancelCollectionOverseasStandard, + shareOverseasStandard, + deleteOverseasStandardSystem, + editOverseasStandardSystem, + addOverseasStandardSystem, + configOverseasStandard, + removeOverseasStandard, + addOverseasStandard, + editOverseasStandard } diff --git a/src/views/standardRegulationLibrary/commonPage/StandardDetailPage.vue b/src/views/standardRegulationLibrary/commonPage/StandardDetailPage.vue index cad464b3..833caeaf 100644 --- a/src/views/standardRegulationLibrary/commonPage/StandardDetailPage.vue +++ b/src/views/standardRegulationLibrary/commonPage/StandardDetailPage.vue @@ -102,8 +102,14 @@ + + diff --git a/src/views/standardRegulationLibrary/overseasStandard/modules/SelectionOverseasStandardDrawer.vue b/src/views/standardRegulationLibrary/overseasStandard/modules/SelectionOverseasStandardDrawer.vue new file mode 100644 index 00000000..ffd8d2fe --- /dev/null +++ b/src/views/standardRegulationLibrary/overseasStandard/modules/SelectionOverseasStandardDrawer.vue @@ -0,0 +1,225 @@ + + + + +