修改 问题库

This commit is contained in:
hanshaozhuang
2022-07-13 00:09:16 +08:00
parent d9fcce067e
commit 5e150069d1
@@ -671,6 +671,9 @@ export default {
case '查看': case '查看':
this.handleDetail(command[0]) this.handleDetail(command[0])
break break
case '订阅':
this.subscribe(command[0])
break
} }
}, },
handleDetail(row){ handleDetail(row){
@@ -686,6 +689,16 @@ export default {
}, e => { }, 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(){ refreshStandMap(){
this.standMap = new Map() this.standMap = new Map()
this.standList.forEach(item=>{ this.standList.forEach(item=>{