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=>{