From 68022a8ecc5c3114774867e19cd1ebd0f64523ad Mon Sep 17 00:00:00 2001
From: feico <1257184579@qq.com>
Date: Tue, 18 Jan 2022 16:58:59 +0800
Subject: [PATCH 1/3] readme
---
README.md | 89 +++++++++++++++++++++++++++++++------------------------
1 file changed, 50 insertions(+), 39 deletions(-)
diff --git a/README.md b/README.md
index 9ceda3c..c3b52bc 100644
--- a/README.md
+++ b/README.md
@@ -1,40 +1,51 @@
-# hmmm-complete
-
-## Project setup
-```
-npm install
-```
-
-### Compiles and hot-reloads for development
-```
-npm run serve
-```
-
-### Compiles and minifies for production
-```
-npm run build
-```
-
-### Lints and fixes files
-```
-npm run lint
-```
-
-### Customize configuration
-See [Configuration Reference](https://cli.vuejs.org/config/).
-
-
-### remove git hook
-```json
-,
- "gitHooks": {
- "pre-commit": "lint-staged"
- },
- "lint-staged": {
- "*.{js,jsx,vue}": [
- "vue-cli-service lint",
- "git add"
- ]
- }
-```
+# 黑马面面项目实战
+### 一、项目模块介绍:
+
+### 功能模块
+
+| 序号 | 模块 | 子模块 | 描述 |
+| ---- | -------- | -------- | ------------------------------------------------------------ |
+| 1 | 题库管理 | 基础题库 | 可查看题库中的基础题库,可完成新增、批量导入、筛选、预览、修改、删除、加入精选操作。 |
+| 2 | | 精选题库 | 可查看题库中的精选题库,可完成试题的新增、批量导入、筛选、预览、审核、修改、删除、状态修改 |
+| 3 | | 试题录入 | 可通过学科、方向等条件完成试题的添加,试题添加分为单选、多选、简答三个类型,每种题型可分为一般、简单、困难。 |
+| 4 | | 组题列表 | 该列表中显示的所有模拟面试的组题结果,会将用户每次的组题全部进行保存,并显示用户对该套试卷的完成情况。 |
+| 5 | 学科管理 | 学科管理 | 可查看平台中已经录入学科,可完成学科的增删改查操作同时提供学科下二级目录、标签管理的入口。 |
+| 6 | | 目录管理 | 可查看平台中所有面试题的分类目录,目录归属于学科下,通过学科中的目录管理进行管理 |
+| 7 | | 标签管理 | 管理题库中试题的标签,标签归属学科下,不同学科的标签不可混用,添加时仅可使用本学科下的标签 |
+| 8 | 面试技巧 | 文章列表 | 显示管理元提交的所有面试技巧文章或视频,通过输入文章标题 正文或视频地址完成对面试技巧的添加 |
+| %%% | %%%%% | %%%%% | |
+
+### 二、人员分工:
+
+#### 题库管理:
+
+**陶表力:**
+
+ 基础题库 (basics)
+
+精选题库 (choiceness)
+
+**胡腾辉:**
+
+试题录入(questions)
+
+组题列表(pleaselist)
+
+#### 学科管理:
+
+**杨凯华:**
+
+学科(subject)
+
+目录(catalogue)
+
+**刘会刚:**
+
+标签(tag)
+
+#### **面试技巧:**
+
+**周康**
+
+面试技巧(interview)
\ No newline at end of file
--
Gitee
From 67786947490d73d23ec748d27d598fca6d242d1a Mon Sep 17 00:00:00 2001
From: feico <1257184579@qq.com>
Date: Tue, 18 Jan 2022 22:53:55 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E5=AE=8C=E6=88=90=E8=AF=95=E9=A2=98?=
=?UTF-8?q?=E5=BD=95=E5=85=A5=E5=9F=BA=E6=9C=AC=E5=B8=83=E5=B1=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/questions-uploadImg.vue | 62 +++++
src/module-hmmm/pages/questions-new.vue | 252 +++++++++++++++++-
src/module-hmmm/pages/questions-randoms.vue | 10 +-
src/utils/request.js | 3 +-
4 files changed, 320 insertions(+), 7 deletions(-)
create mode 100644 src/module-hmmm/components/questions-uploadImg.vue
diff --git a/src/module-hmmm/components/questions-uploadImg.vue b/src/module-hmmm/components/questions-uploadImg.vue
new file mode 100644
index 0000000..edc56b5
--- /dev/null
+++ b/src/module-hmmm/components/questions-uploadImg.vue
@@ -0,0 +1,62 @@
+
+
+
+
+
+ 上传图片
+
+
+
+
+
+
+
diff --git a/src/module-hmmm/pages/questions-new.vue b/src/module-hmmm/pages/questions-new.vue
index a6d5b6d..7c1b337 100644
--- a/src/module-hmmm/pages/questions-new.vue
+++ b/src/module-hmmm/pages/questions-new.vue
@@ -1,9 +1,255 @@
- 试题录入
+
+
+
+
+ 试题录入
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +增加选项与答案
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 确认提交
+
+
+
+
+
+
+
diff --git a/src/module-hmmm/pages/questions-randoms.vue b/src/module-hmmm/pages/questions-randoms.vue
index 1b889a9..863b3f1 100644
--- a/src/module-hmmm/pages/questions-randoms.vue
+++ b/src/module-hmmm/pages/questions-randoms.vue
@@ -1,9 +1,13 @@
- 精选题库
+
-
-
diff --git a/src/utils/request.js b/src/utils/request.js
index 0ebf33a..c8d46d0 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -5,7 +5,8 @@ import { getToken } from '@/utils/auth'
// create an axios instance
const instance = axios.create({
- baseURL: 'http://hmmm-api.itheima.net', // api的base_url
+// baseURL: 'http://hmmm-api.itheima.net', // api的base_url
+ baseURL: 'http://localhost:7001',
timeout: 5000 // request timeout
})
--
Gitee
From 1a024eb98ba047467662b802e2889852c6030b11 Mon Sep 17 00:00:00 2001
From: feico <1257184579@qq.com>
Date: Wed, 19 Jan 2022 20:47:27 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E5=AE=8C=E6=88=90=E8=AF=95=E9=A2=98?=
=?UTF-8?q?=E5=BD=95=E5=85=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package-lock.json | 13 +
package.json | 1 +
.../components/questions-uploadImg.vue | 36 +-
src/module-hmmm/pages/questions-new.vue | 319 +++++++++++++-----
4 files changed, 289 insertions(+), 80 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 6fae16e..4a2394b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3467,6 +3467,14 @@
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
"dev": true
},
+ "cos-js-sdk-v5": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmmirror.com/cos-js-sdk-v5/download/cos-js-sdk-v5-1.3.4.tgz",
+ "integrity": "sha512-+bEfiehZJ9ZnYG+uE4emKFqQovmt7058wG2OrZ8mrpftXikNm1kiYvqSEKXRImveYhhcKsFFmoxW6tBgGVt+aw==",
+ "requires": {
+ "xmldom": "^0.1.31"
+ }
+ },
"cosmiconfig": {
"version": "5.2.1",
"resolved": "https://registry.npm.taobao.org/cosmiconfig/download/cosmiconfig-5.2.1.tgz?cache=0&sync_timestamp=1572710682964&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcosmiconfig%2Fdownload%2Fcosmiconfig-5.2.1.tgz",
@@ -13241,6 +13249,11 @@
"async-limiter": "~1.0.0"
}
},
+ "xmldom": {
+ "version": "0.1.31",
+ "resolved": "https://registry.npmmirror.com/xmldom/download/xmldom-0.1.31.tgz",
+ "integrity": "sha1-t2yaG9nwqXN+WnLcNyMc84N14v8="
+ },
"xtend": {
"version": "4.0.2",
"resolved": "https://registry.npm.taobao.org/xtend/download/xtend-4.0.2.tgz",
diff --git a/package.json b/package.json
index e7e2f0f..dfab4e6 100644
--- a/package.json
+++ b/package.json
@@ -11,6 +11,7 @@
"dependencies": {
"axios": "^0.19.2",
"core-js": "^3.6.4",
+ "cos-js-sdk-v5": "^1.3.4",
"echarts": "^4.6.0",
"element-ui": "^2.13.0",
"font-awesome": "^4.7.0",
diff --git a/src/module-hmmm/components/questions-uploadImg.vue b/src/module-hmmm/components/questions-uploadImg.vue
index edc56b5..b3b97f6 100644
--- a/src/module-hmmm/components/questions-uploadImg.vue
+++ b/src/module-hmmm/components/questions-uploadImg.vue
@@ -7,22 +7,50 @@
:http-request="upload"
>
-
+
上传图片