From 5e150069d1f206b09a1d6f10bd055f78e3ef419f Mon Sep 17 00:00:00 2001 From: hanshaozhuang Date: Wed, 13 Jul 2022 00:09:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/regulatoryRepository/standQA/index.vue | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/pages/regulatoryRepository/standQA/index.vue b/src/pages/regulatoryRepository/standQA/index.vue index 9cbcb0e2a..971eb8b2c 100644 --- a/src/pages/regulatoryRepository/standQA/index.vue +++ b/src/pages/regulatoryRepository/standQA/index.vue @@ -671,6 +671,9 @@ export default { case '查看': this.handleDetail(command[0]) break + case '订阅': + this.subscribe(command[0]) + break } }, handleDetail(row){ @@ -686,6 +689,16 @@ export default { }, e => { }) }, + subscribe(row){ + this.$http.postData('lawss/Subscription/insertSubscription',{ + askId: row.id, + usId: this.$store.getters.userInfo.userId, + },{ + _this: this + }, res => { + console.log(res); + }) + } refreshStandMap(){ this.standMap = new Map() this.standList.forEach(item=>{