From bd79569058981c8439233e2add752ef902e65f9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E4=B8=BD=E5=90=9B?= <664953382@qq.com> Date: Thu, 28 Oct 2021 14:22:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=90=88=E4=BD=9C=E4=BC=99?= =?UTF-8?q?=E4=BC=B4=EF=BC=8C=E5=AE=A2=E6=88=B7=E7=AB=AF=E5=BA=95=E9=83=A8?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=EF=BC=8C=E6=94=BF=E7=AD=96=E6=89=B9=E9=87=8F?= =?UTF-8?q?=E6=89=93=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/api/asdm/partner.js | 26 ++++ src/api/policy/library.js | 1 + src/views/asdm/footer/index.vue | 226 ++++++++++++++++++++++++++++- src/views/asdm/partner/index.vue | 82 ++++++++--- src/views/policy/library/index.vue | 60 ++++++-- 6 files changed, 364 insertions(+), 33 deletions(-) diff --git a/package.json b/package.json index f6e0809..d3fd1b5 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "path-to-regexp": "2.4.0", "quill": "1.3.7", "screenfull": "4.2.0", - "sortablejs": "1.8.4", + "sortablejs": "^1.8.4", "vue": "2.6.10", "vue-count-to": "1.0.13", "vue-cropper": "0.4.9", diff --git a/src/api/asdm/partner.js b/src/api/asdm/partner.js index 906e746..2e91626 100644 --- a/src/api/asdm/partner.js +++ b/src/api/asdm/partner.js @@ -33,4 +33,30 @@ export function delPartner(data) { method: 'post', data }); +} + +// 重新排序的数组集合 +export function newList(data) { + return request({ + url: '/partner/newList', + method: 'post', + data + }); +} + +// 获取底部 +export function getBottom(params) { + return request({ + url: '/bottom/getBottom', + params + }); +} + +// 修改底部 +export function updateBottom(data) { + return request({ + url: '/bottom/updateBottom', + method: 'post', + data + }); } \ No newline at end of file diff --git a/src/api/policy/library.js b/src/api/policy/library.js index 999c97c..39d901c 100644 --- a/src/api/policy/library.js +++ b/src/api/policy/library.js @@ -29,6 +29,7 @@ export function getLabelSetting(params) { }); } // 设置政策标签 body里id(政策),ids(标签id数组) +// 设置政策标签 policyIds(政策),labelIds(标签id数组) export function setPolicyLabel(data) { return request({ url: '/policy/setPolicyLabel', diff --git a/src/views/asdm/footer/index.vue b/src/views/asdm/footer/index.vue index b54f026..eacda11 100644 --- a/src/views/asdm/footer/index.vue +++ b/src/views/asdm/footer/index.vue @@ -1,5 +1,225 @@ \ No newline at end of file + + diff --git a/src/views/asdm/partner/index.vue b/src/views/asdm/partner/index.vue index fd951a5..e101b2a 100644 --- a/src/views/asdm/partner/index.vue +++ b/src/views/asdm/partner/index.vue @@ -7,7 +7,15 @@ 添加 - + + + + > + + -