From e5b4a65e8e0999f43609467cdfd78b7e86dd8b4b Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Thu, 14 Oct 2021 15:53:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E5=A4=96=E6=A0=87=E5=87=86=E6=B3=95?= =?UTF-8?q?=E8=A7=84=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4=E5=90=8E=E6=94=B6?= =?UTF-8?q?=E8=97=8F=E6=97=A0=E6=B3=95=E5=90=8C=E6=AD=A5=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../foreignStandardsAndRegulations/index.vue | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index ffce99992..2596e42cc 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -1567,6 +1567,8 @@ export default { twoOptions: [], threeOptions: [], sarType: 'FOREIGN_STAND', + id: '', // 收藏数据的id + collectId: '', // 收藏id // 收藏标准 personCollect: { collectResId: '', @@ -3234,6 +3236,17 @@ export default { }, res => { this.isSubmit = false if (res.ok) { + this.personCollect.collectType = 'FOREIGN_STAND' + this.personCollect.id = res.data.collectId + this.personCollect.collectResId = res.data.id + this.personCollect.collectTitle = this.sarStandardsInfoEO.standName + '(编号:' + this.sarStandardsInfoEO.standSort + this.sarStandardsInfoEO.standNumber + this.sarStandardsInfoEO.standYear + ')' + this.personCollect.userId = this.$store.getters.userInfo.userId + this.$http.putData('person/personCollect/updatePersonCollect', this.personCollect, { + _this: this, + loading: 'loading' + }, res => { + }, e => { + }) this.getDomesticStandardTable(this.tableFlag) this.resetForm() if (this.addOrUPdateFlag === 1) {