From 57c772a913fb91a8fda5175a1cd32f8fddcaf542 Mon Sep 17 00:00:00 2001 From: ks3356143 <314298729@qq.com> Date: Fri, 16 Jun 2023 19:30:36 +0800 Subject: [PATCH] 5566 --- cdTMP/src/api/project/singleProblem.js | 10 + cdTMP/src/layout/components/navbar.vue | 10 +- cdTMP/src/layout/project-layout.vue | 12 +- cdTMP/src/router/index.js | 11 + cdTMP/src/views/project/case/index.vue | 143 +++++++++--- .../problem/cpns/problemDescription.vue | 207 ++++++++++++++++++ cdTMP/src/views/project/problem/index.vue | 53 +++++ 7 files changed, 417 insertions(+), 29 deletions(-) create mode 100644 cdTMP/src/api/project/singleProblem.js create mode 100644 cdTMP/src/views/project/problem/cpns/problemDescription.vue create mode 100644 cdTMP/src/views/project/problem/index.vue diff --git a/cdTMP/src/api/project/singleProblem.js b/cdTMP/src/api/project/singleProblem.js new file mode 100644 index 0000000..19c1ba4 --- /dev/null +++ b/cdTMP/src/api/project/singleProblem.js @@ -0,0 +1,10 @@ +import { request } from "@/api/request" +export default { + getSingleProblem(params = {}) { + return request({ + url: "/project/getSingleProblem", + method: "get", + params + }) + } +} diff --git a/cdTMP/src/layout/components/navbar.vue b/cdTMP/src/layout/components/navbar.vue index a9c6a02..16642bc 100644 --- a/cdTMP/src/layout/components/navbar.vue +++ b/cdTMP/src/layout/components/navbar.vue @@ -2,7 +2,7 @@