修改bug 56722 点击历史相似问题应该跳转到对应的问题

This commit is contained in:
hanshaozhuang
2022-07-21 17:20:12 +08:00
parent 7bdfa93932
commit 5791014190
2 changed files with 15 additions and 9 deletions
@@ -40,7 +40,7 @@ export default {
},
methods:{
back() {
this.$router.push({path: "/questions"});
this.$router.go(-1)
},
getDetail(){
this.$http.get('lawss/AskQuestions/getAskQuestionsByakId',{
@@ -720,15 +720,21 @@ export default {
//点击跳转问题详情
historyJump(item){
this.$router.push({
path: '/standQA',
query:{
standId: item.standardId,
queId: item.id,
sourceType: 'dialog',
standType: item.classification,
standName: item.standardName,
path: "/questionDetail",
query: {
id: item.id
}
})
});
// this.$router.push({
// path: '/standQA',
// query:{
// standId: item.standardId,
// queId: item.id,
// sourceType: 'dialog',
// standType: item.classification,
// standName: item.standardName,
// }
// })
this.dialogVisible = false
},
// 点击查看