问答跳转
This commit is contained in:
@@ -36,7 +36,6 @@ export default {
|
||||
immediate: true,
|
||||
deep: true,
|
||||
handler(val){
|
||||
console.log(val);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -817,7 +817,7 @@
|
||||
</div>
|
||||
<span>相似历史问题:</span>
|
||||
<div style="height: 200px; width: 80%; margin-left: 80px;">
|
||||
<div v-for="item in historyList" :key="item.id" @click="historyJump(item.id)">
|
||||
<div v-for="item in historyList" :key="item.id" @click="historyJump(item)">
|
||||
<span class="history-item">{{item.problemDescription}}</span>
|
||||
<span class="history-item">{{item.questionTime}}</span>
|
||||
</div>
|
||||
@@ -1334,8 +1334,18 @@ export default {
|
||||
}
|
||||
}),
|
||||
//点击跳转问题详情
|
||||
historyJump(id){
|
||||
this.$router.push('/standQA')
|
||||
historyJump(item){
|
||||
this.$router.push({
|
||||
path: '/standQA',
|
||||
query:{
|
||||
standId: item.standardId,
|
||||
queId: item.id,
|
||||
standType: item.classification,
|
||||
sourceType: 'dialog',
|
||||
standName: item.standardName,
|
||||
}
|
||||
})
|
||||
this.dialogVisible = false
|
||||
},
|
||||
// 点击查看
|
||||
handlePreview(item) {
|
||||
|
||||
Reference in New Issue
Block a user