From 305b6da760b7a7c7c21c1dbd0a8c728edb13f8e3 Mon Sep 17 00:00:00 2001 From: fanlin Date: Wed, 28 Jul 2021 11:30:23 +0800 Subject: [PATCH 1/6] =?UTF-8?q?bug:=20=E6=88=91=E7=9A=84=E6=94=B6=E8=97=8F?= =?UTF-8?q?=20=E5=8F=96=E6=B6=88=E6=94=B6=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/CollectionStandard.vue | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/pages/personal/pages/my-collection/components/CollectionStandard.vue b/src/pages/personal/pages/my-collection/components/CollectionStandard.vue index 2c38af157..1724579a5 100644 --- a/src/pages/personal/pages/my-collection/components/CollectionStandard.vue +++ b/src/pages/personal/pages/my-collection/components/CollectionStandard.vue @@ -62,7 +62,7 @@ 创建时间:{{getDate(item.creationTime)}} - 取消收藏 + 取消收藏 @@ -150,7 +150,7 @@ export default { }, e => {}) }, // 取消收藏 - cancelStandard (id) { + cancelStandard (item) { this.$confirm('确定取消收藏此数据?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', @@ -158,16 +158,18 @@ export default { confirmButtonClass: 'common-button-primary', roundButton: true }).then(() => { - var json = {} - json.userId = this.$store.getters.userInfo.userId - json.id = id - this.$http.postData('/sarPersonalCenter/sar-user-star/delete',json, { + // var json = { + // id: item.collectId + // } + // json.userId = this.$store.getters.userInfo.userId + this.$http.put('person/personCollect/updateByUserId',{'id': item.id}, { _this: this }, res => { if (res.ok) { this.$message.success('已取消收藏') this.contentOpen = false this.pageChange(1) + this.selectStandard() } }, e => { }) From 25288f61a848a9c2e50029830569f7611de877c1 Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Wed, 28 Jul 2021 11:39:59 +0800 Subject: [PATCH 2/6] =?UTF-8?q?feat:=20=E5=9B=BD=E5=86=85=E5=A4=96?= =?UTF-8?q?=E6=A0=87=E5=87=86=E5=BA=93=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../details/otherStandardDetails/index.vue | 190 +++++++++--------- 1 file changed, 95 insertions(+), 95 deletions(-) diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index affcc92df..e9904b7a2 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -199,103 +199,9 @@ - +
{{ item.showAll ? '收起' : '更多' }} From 2c5a02d2141ec3f88b73940fba45bc43dedc0a23 Mon Sep 17 00:00:00 2001 From: fanlin Date: Wed, 28 Jul 2021 14:19:01 +0800 Subject: [PATCH 3/6] =?UTF-8?q?bug:=20=E5=9B=BD=E5=86=85=E5=9B=BD=E5=A4=96?= =?UTF-8?q?=E6=8C=87=E5=AE=9A=E5=AD=97=E6=AE=B5=E6=94=B9=E6=88=90=E5=A4=9A?= =?UTF-8?q?=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domesticStandardsAndRegulations/index.vue | 9 ++++++--- .../foreignStandardsAndRegulations/index.vue | 13 ++++++++----- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index a4a42d0cf..9d429cdf4 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -995,7 +995,8 @@