diff --git a/src/components/menus/MyAlgorithmic.vue b/src/components/menus/MyAlgorithmic.vue
index 68fd8e7e1d17b348714b830700fc7a80ddd67e03..8c753fb3372dad309e34d2c533430ffb0b0d0ac1 100644
--- a/src/components/menus/MyAlgorithmic.vue
+++ b/src/components/menus/MyAlgorithmic.vue
@@ -9,10 +9,10 @@
-
+
-
+
@@ -21,7 +21,7 @@
-
+
@@ -52,7 +52,7 @@
{{ randomAlgorithmic.questionName }}
- 力扣号
+ 力扣题号
{{ randomAlgorithmic.leetcodeNumber }}
@@ -92,10 +92,10 @@
-
+
-
+
{{ scope.row.leetcodeLink }}
@@ -116,10 +116,10 @@
-
+
-
+
@@ -128,7 +128,7 @@
-
+
@@ -181,6 +181,7 @@ export default {
questionName: '',
},
options: [],
+ allOptions: [],
questionType: 0,
// 新增的内容
dialogFormVisible: false,
@@ -213,6 +214,8 @@ export default {
created() {
//获取问题类型的枚举
this.getQuestionType()
+ //获取问题类型的枚举
+ this.getAllQuestionType()
//获取问题列表
this.interviewPage()
},
@@ -357,6 +360,13 @@ export default {
}
},
+ async getAllQuestionType() {
+ const { data: res } = await axios.get('http://localhost:8888/algorithmicProblem/allQuestionType', { params: {} })
+ if (res.code === 200) {
+ this.allOptions = res.result
+ }
+ },
+
async interviewPage() {
this.loading = true
const { data: res } = await axios.get('http://localhost:8888/algorithmicProblem/page', {
diff --git a/src/components/subcomponents/MyAside.vue b/src/components/subcomponents/MyAside.vue
index d2a9099773c28a3da58567c8ba8762ea48a413fd..780e9647230bd4ba3db2cb07b8faa58daf22316a 100644
--- a/src/components/subcomponents/MyAside.vue
+++ b/src/components/subcomponents/MyAside.vue
@@ -6,6 +6,12 @@
面试题管理
+
+
+
+ 算法题管理
+
+
@@ -24,12 +30,6 @@
用户管理
-
-
-
- 算法题管理
-
-