diff --git a/README.md b/README.md
index cda1ec7..11365f9 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@
### 学之思交流群(加群获取数据库脚本)
-* QQ交流群六:`593529956`
+* QQ交流群六 :`593529956`
* QQ:`2693073475`
* 微信:`alvis-u`
@@ -82,9 +82,9 @@
* 用户登录登出功能,登录会自动绑定微信账号,登出会解绑
* 首页包含任务中心、固定试卷、时段试卷,和web端保持一致
-* 试卷模块,固定试卷和时段试卷的分页查询,下拉加载更多,上拉刷新当前数据
-* 记录模块,考试结果的分页,包含了试卷基本信息
-* 我的模块,包含个人资料的修改,个人动态,消息中心模块
+* 试卷模块:固定试卷和时段试卷的分页查询,下拉加载更多,上拉刷新当前数据
+* 记录模块:考试结果的分页,包含了试卷基本信息
+* 我的模块:包含个人资料的修改,个人动态,消息中心模块
### 系统展示
diff --git a/doc/frame/架构图.png b/doc/frame/架构图.png
deleted file mode 100644
index 9feb872..0000000
Binary files a/doc/frame/架构图.png and /dev/null differ
diff --git a/doc/image/frame/2.png b/doc/image/frame/2.png
deleted file mode 100644
index c16a798..0000000
Binary files a/doc/image/frame/2.png and /dev/null differ
diff --git a/source/vue/xzs-admin/package-lock.json b/source/vue/xzs-admin/package-lock.json
index f741dca..ad2e865 100644
--- a/source/vue/xzs-admin/package-lock.json
+++ b/source/vue/xzs-admin/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "xzs-admin",
- "version": "3.0.8",
+ "version": "3.1.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/source/vue/xzs-admin/package.json b/source/vue/xzs-admin/package.json
index 062bd67..c4014eb 100644
--- a/source/vue/xzs-admin/package.json
+++ b/source/vue/xzs-admin/package.json
@@ -1,6 +1,6 @@
{
"name": "xzs-admin",
- "version": "3.0.8",
+ "version": "3.1.0",
"author": "武汉思维跳跃科技有限公司",
"description": "学之思管理系统",
"license": "AGPL-3.0",
diff --git a/source/vue/xzs-admin/src/views/exam/question/edit/gap-filling.vue b/source/vue/xzs-admin/src/views/exam/question/edit/gap-filling.vue
index 949f63a..a599623 100644
--- a/source/vue/xzs-admin/src/views/exam/question/edit/gap-filling.vue
+++ b/source/vue/xzs-admin/src/views/exam/question/edit/gap-filling.vue
@@ -209,6 +209,19 @@ export default {
},
resetForm () {
this.$refs['form'].resetFields()
+ this.form = {
+ id: null,
+ questionType: 4,
+ gradeLevel: null,
+ subjectId: null,
+ title: '',
+ items: [
+ ],
+ analyze: '',
+ correct: '',
+ score: '',
+ difficult: 0
+ }
},
...mapActions('exam', { initSubject: 'initSubject' }),
...mapActions('tagsView', { delCurrentView: 'delCurrentView' })
diff --git a/source/vue/xzs-admin/src/views/exam/question/edit/multiple-choice.vue b/source/vue/xzs-admin/src/views/exam/question/edit/multiple-choice.vue
index f8cc6ee..42f1e31 100644
--- a/source/vue/xzs-admin/src/views/exam/question/edit/multiple-choice.vue
+++ b/source/vue/xzs-admin/src/views/exam/question/edit/multiple-choice.vue
@@ -196,6 +196,24 @@ export default {
},
resetForm () {
this.$refs['form'].resetFields()
+ this.form = {
+ id: null,
+ questionType: 2,
+ gradeLevel: null,
+ subjectId: null,
+ title: '',
+ items: [
+ { id: null, prefix: 'A', content: '' },
+ { id: null, prefix: 'B', content: '' },
+ { id: null, prefix: 'C', content: '' },
+ { id: null, prefix: 'D', content: '' }
+ ],
+ analyze: '',
+ correct: '',
+ correctArray: [],
+ score: '',
+ difficult: 0
+ }
},
...mapActions('exam', { initSubject: 'initSubject' }),
...mapActions('tagsView', { delCurrentView: 'delCurrentView' })
diff --git a/source/vue/xzs-admin/src/views/exam/question/edit/short-answer.vue b/source/vue/xzs-admin/src/views/exam/question/edit/short-answer.vue
index 819a6ef..4112956 100644
--- a/source/vue/xzs-admin/src/views/exam/question/edit/short-answer.vue
+++ b/source/vue/xzs-admin/src/views/exam/question/edit/short-answer.vue
@@ -162,6 +162,18 @@ export default {
},
resetForm () {
this.$refs['form'].resetFields()
+ this.form = {
+ id: null,
+ questionType: 5,
+ gradeLevel: null,
+ subjectId: null,
+ title: '',
+ items: [],
+ analyze: '',
+ correct: '',
+ score: '',
+ difficult: 0
+ }
},
levelChange () {
this.form.subjectId = null
diff --git a/source/vue/xzs-admin/src/views/exam/question/edit/true-false.vue b/source/vue/xzs-admin/src/views/exam/question/edit/true-false.vue
index 8c640ec..66b2bfb 100644
--- a/source/vue/xzs-admin/src/views/exam/question/edit/true-false.vue
+++ b/source/vue/xzs-admin/src/views/exam/question/edit/true-false.vue
@@ -173,6 +173,21 @@ export default {
},
resetForm () {
this.$refs['form'].resetFields()
+ this.form = {
+ id: null,
+ questionType: 3,
+ gradeLevel: null,
+ subjectId: null,
+ title: '',
+ items: [
+ { id: null, prefix: 'A', content: '是' },
+ { id: null, prefix: 'B', content: '否' }
+ ],
+ analyze: '',
+ correct: '',
+ score: '',
+ difficult: 0
+ }
},
levelChange () {
this.form.subjectId = null
diff --git a/source/vue/xzs-admin/src/views/user/admin/edit.vue b/source/vue/xzs-admin/src/views/user/admin/edit.vue
index d0ab071..cc5f41e 100644
--- a/source/vue/xzs-admin/src/views/user/admin/edit.vue
+++ b/source/vue/xzs-admin/src/views/user/admin/edit.vue
@@ -20,7 +20,7 @@
-
+
@@ -104,6 +104,7 @@ export default {
})
},
resetForm () {
+ let lastId = this.form.id
this.$refs['form'].resetFields()
this.form = {
id: null,
@@ -117,6 +118,7 @@ export default {
birthDay: null,
phone: null
}
+ this.form.id = lastId
},
...mapActions('tagsView', { delCurrentView: 'delCurrentView' })
},
diff --git a/source/vue/xzs-admin/src/views/user/student/edit.vue b/source/vue/xzs-admin/src/views/user/student/edit.vue
index 5871c3b..ac7748b 100644
--- a/source/vue/xzs-admin/src/views/user/student/edit.vue
+++ b/source/vue/xzs-admin/src/views/user/student/edit.vue
@@ -20,7 +20,7 @@
-
+
@@ -113,6 +113,7 @@ export default {
})
},
resetForm () {
+ let lastId = this.form.id
this.$refs['form'].resetFields()
this.form = {
id: null,
@@ -127,6 +128,7 @@ export default {
phone: null,
userLevel: null
}
+ this.form.id = lastId
},
...mapActions('tagsView', { delCurrentView: 'delCurrentView' })
},
diff --git a/source/vue/xzs-admin/src/views/user/teacher/edit.vue b/source/vue/xzs-admin/src/views/user/teacher/edit.vue
index 6cdd9be..3b5abc1 100644
--- a/source/vue/xzs-admin/src/views/user/teacher/edit.vue
+++ b/source/vue/xzs-admin/src/views/user/teacher/edit.vue
@@ -20,7 +20,7 @@
-
+
diff --git a/source/vue/xzs-student/package-lock.json b/source/vue/xzs-student/package-lock.json
index 99de17a..322fde9 100644
--- a/source/vue/xzs-student/package-lock.json
+++ b/source/vue/xzs-student/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "xzs-student",
- "version": "3.0.8",
+ "version": "3.1.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/source/vue/xzs-student/package.json b/source/vue/xzs-student/package.json
index f208ec0..0b79185 100644
--- a/source/vue/xzs-student/package.json
+++ b/source/vue/xzs-student/package.json
@@ -1,6 +1,6 @@
{
"name": "xzs-student",
- "version": "3.0.8",
+ "version": "3.1.0",
"author": "武汉思维跳跃科技有限公司",
"description": "学之思考试系统",
"license": "AGPL-3.0",
diff --git a/source/vue/xzs-student/src/views/user-info/index.vue b/source/vue/xzs-student/src/views/user-info/index.vue
index ce1a855..cf7e020 100644
--- a/source/vue/xzs-student/src/views/user-info/index.vue
+++ b/source/vue/xzs-student/src/views/user-info/index.vue
@@ -51,7 +51,7 @@
-
+
diff --git a/source/xzs/pom.xml b/source/xzs/pom.xml
index 7404b81..a103a19 100644
--- a/source/xzs/pom.xml
+++ b/source/xzs/pom.xml
@@ -5,7 +5,7 @@
com.mindskip
xzs
- 3.0.8
+ 3.1.0
jar
xzs
diff --git a/source/xzs/src/main/resources/static/admin/index.html b/source/xzs/src/main/resources/static/admin/index.html
index 0754213..b6e85ff 100644
--- a/source/xzs/src/main/resources/static/admin/index.html
+++ b/source/xzs/src/main/resources/static/admin/index.html
@@ -13,4 +13,4 @@
hm.src = 'https://hm.baidu.com/hm.js?cd8218cd51f800ed2b73e5751cb3f4f9'
var s = document.getElementsByTagName('script')[0]
s.parentNode.insertBefore(hm, s)
- })()