修改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:{ methods:{
back() { back() {
this.$router.push({path: "/questions"}); this.$router.go(-1)
}, },
getDetail(){ getDetail(){
this.$http.get('lawss/AskQuestions/getAskQuestionsByakId',{ this.$http.get('lawss/AskQuestions/getAskQuestionsByakId',{
@@ -720,15 +720,21 @@ export default {
//点击跳转问题详情 //点击跳转问题详情
historyJump(item){ historyJump(item){
this.$router.push({ this.$router.push({
path: '/standQA', path: "/questionDetail",
query:{ query: {
standId: item.standardId, id: item.id
queId: item.id,
sourceType: 'dialog',
standType: item.classification,
standName: item.standardName,
} }
}) });
// this.$router.push({
// path: '/standQA',
// query:{
// standId: item.standardId,
// queId: item.id,
// sourceType: 'dialog',
// standType: item.classification,
// standName: item.standardName,
// }
// })
this.dialogVisible = false this.dialogVisible = false
}, },
// 点击查看 // 点击查看