diff --git a/src/pages/personal/pages/my-questions/components/questionDetail.vue b/src/pages/personal/pages/my-questions/components/questionDetail.vue
new file mode 100644
index 000000000..973f33b00
--- /dev/null
+++ b/src/pages/personal/pages/my-questions/components/questionDetail.vue
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+
diff --git a/src/pages/personal/pages/my-questions/index.vue b/src/pages/personal/pages/my-questions/index.vue
index e24339956..b842f62d6 100644
--- a/src/pages/personal/pages/my-questions/index.vue
+++ b/src/pages/personal/pages/my-questions/index.vue
@@ -1399,16 +1399,22 @@ export default {
//点击跳转问题详情
historyJump(item){
this.$router.push({
- path: '/standQA',
- query:{
- standId: item.standardId,
- queId: item.id,
- standType: item.classification,
- sourceType: 'dialog',
- standName: item.standardName,
+ path: "/questionDetail",
+ query: {
+ id: item.id
}
- })
- this.dialogVisible = false
+ });
+ // 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) {
diff --git a/src/router/index.js b/src/router/index.js
index aa922feaf..3d9ee3cac 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -323,6 +323,16 @@ const routes = [
menuId: ''
}
},
+ {
+ path: '/questionDetail',
+ name: 'QuestionDetail',
+ component: resolve => require(['@/pages/personal/pages/my-questions/components/questionDetail.vue'], resolve),
+ meta: {
+ requireAuth: true,
+ title: '问题详情',
+ menuId: ''
+ }
+ }
// {
// path: '/questionsAndAnswers',
// name: 'QuestionsAndAnswers',