修改 问题库
This commit is contained in:
@@ -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=>{
|
||||||
|
|||||||
Reference in New Issue
Block a user