diff --git a/src/api/paper/question/index.ts b/src/api/paper/question/index.ts
index 24900f7..c035210 100644
--- a/src/api/paper/question/index.ts
+++ b/src/api/paper/question/index.ts
@@ -25,3 +25,12 @@ export const removeQuestion = (ids: string[]) => {
return request.delete({ url: '/exam/question/' + ids})
}
+// 新增试题
+export function addQuestion(data: any) {
+ return request.post({url: '/exam/question', data});
+}
+
+// 修改试题
+export function editQuestion(data: any) {
+ return request.put({url: '/exam/question', data});
+}
\ No newline at end of file
diff --git a/src/views/paper/question/ChoiceForm.vue b/src/views/paper/question/ChoiceForm.vue
index 55995e4..c0c3cb2 100644
--- a/src/views/paper/question/ChoiceForm.vue
+++ b/src/views/paper/question/ChoiceForm.vue
@@ -13,19 +13,31 @@
-
+
-
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
@@ -36,8 +48,40 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ dict.label }}
+
+
+
+
+
+
+
+
+
@@ -237,14 +281,10 @@