diff --git a/src/pages/achievement/ass/index.vue b/src/pages/achievement/ass/index.vue index 6164da1..e6f9822 100644 --- a/src/pages/achievement/ass/index.vue +++ b/src/pages/achievement/ass/index.vue @@ -56,8 +56,6 @@ {{ experimentalName }} - - diff --git a/src/pages/achievement/show/index.vue b/src/pages/achievement/show/index.vue index 933b8d0..6f78d13 100644 --- a/src/pages/achievement/show/index.vue +++ b/src/pages/achievement/show/index.vue @@ -173,7 +173,6 @@ export default { let expData = res.userScores; let form = this.form; let score = form.score; - if (expData) { if (score) { expData.map(n => { @@ -187,16 +186,16 @@ export default { this.expData = expData; } - this.infoData.push({ workNumber: form.workNumber, experimentalClassName: form.experimentalClassName, - instructor: form.instructor, + instructor: form.teacherName, period: form.period, laboratory: form.laboratory, submitTime: form.submitTime, score: form.score, - userName: form.userName + userName: form.userName, + className:form.className, }); }).catch(res => { }); @@ -230,12 +229,13 @@ export default { this.infoData.push({ workNumber: form.workNumber, experimentalClassName: form.experimentalClassName, - instructor: form.instructor, + instructor: form.teacherName, period: form.period, laboratory: form.laboratory, submitTime: form.submitTime, score: form.score, - userName: form.userName + userName: form.userName, + className:form.className, }); }).catch(res => { }); diff --git a/src/pages/achievement/teach/index.vue b/src/pages/achievement/teach/index.vue index 3627c86..b78f8d1 100644 --- a/src/pages/achievement/teach/index.vue +++ b/src/pages/achievement/teach/index.vue @@ -163,7 +163,7 @@ export default { }, responseType: 'blob' }).then((res) => { - util.downloadFileDirect(`按数据库统计使用概况导出.xls`,new Blob([res.data])) + util.downloadFileDirect(`学生考核成绩.xls`,new Blob([res.data])) }).catch(res => {}) } else { axios.get(`${this.api.exportAssessmentInfo}?assessmentId=${this.assessmentId}&classId=${this.classId}&ids=`,{ @@ -172,7 +172,7 @@ export default { }, responseType: 'blob' }).then((res) => { - util.downloadFileDirect(`按数据库统计使用概况导出.xls`,new Blob([res.data])) + util.downloadFileDirect(`学生考核成绩.xls`,new Blob([res.data])) }).catch(res => {}) } }, diff --git a/src/pages/achievement/vir/index.vue b/src/pages/achievement/vir/index.vue index f73d1f9..36ce388 100644 --- a/src/pages/achievement/vir/index.vue +++ b/src/pages/achievement/vir/index.vue @@ -133,7 +133,7 @@ export default { }, responseType: 'blob' }).then((res) => { - util.downloadFileDirect(`按数据库统计使用概况导出.xls`,new Blob([res.data])) + util.downloadFileDirect(`学生练习成绩.xls`,new Blob([res.data])) }).catch(res => {}) // location.href = `${this.api.exportPracticeInfo}?projectId=${this.projectId}&ids=${ids.toString()}`; } else { @@ -143,7 +143,7 @@ export default { }, responseType: 'blob' }).then((res) => { - util.downloadFileDirect(`按数据库统计使用概况导出.xls`,new Blob([res.data])) + util.downloadFileDirect(`学生练习成绩.xls`,new Blob([res.data])) }).catch(res => {}) // location.href = `${this.api.exportPracticeInfo}?projectId=${this.projectId}&ids=`; } diff --git a/src/pages/assessment/list/index.vue b/src/pages/assessment/list/index.vue index 13e2c05..5e20733 100644 --- a/src/pages/assessment/list/index.vue +++ b/src/pages/assessment/list/index.vue @@ -99,7 +99,7 @@ - 启动 + 启动 修改 diff --git a/src/pages/match/manage/index.vue b/src/pages/match/manage/index.vue index 2a18e47..48eb140 100644 --- a/src/pages/match/manage/index.vue +++ b/src/pages/match/manage/index.vue @@ -51,7 +51,11 @@ export default { }, beforeDestroy() { // 关闭所以EventBus事件 +<<<<<<< HEAD EventBus.$off() +======= + EventBus.$off() +>>>>>>> 8af271dbd54e96d906dc849c3b61128fbf4e7018 }, methods: { goBack() { diff --git a/src/pages/project/add/index.vue b/src/pages/project/add/index.vue index e34ffa0..54b1715 100644 --- a/src/pages/project/add/index.vue +++ b/src/pages/project/add/index.vue @@ -5,8 +5,8 @@ - 保存为草稿 - 确定并发布 + 保存为草稿 + 确定并发布 @@ -17,17 +17,17 @@ - + - + - + - + @@ -57,7 +57,7 @@ - + @@ -76,13 +76,13 @@ - 平均分配分值 - 手动分配分值 + 平均分配分值 + 手动分配分值 (待分配分值: {{ handDistributionScore }}/100分) - 判分点 - 批量删除 + 判分点 + 批量删除 - 删除 + 删除 - + @@ -128,13 +128,13 @@ 实验提示 启用 - + - + @@ -193,6 +193,7 @@ export default { data() { return { projectId: this.$route.query.projectId, + item: this.$route.query.item, systemList: [], token: util.local.get(Setting.tokenKey), isDetail: Boolean(this.$route.query.show), diff --git a/src/pages/project/list/index.vue b/src/pages/project/list/index.vue index 8adc55c..3e075f0 100644 --- a/src/pages/project/list/index.vue +++ b/src/pages/project/list/index.vue @@ -86,7 +86,8 @@ - 编辑 + 查看 + 编辑 删除 复制 - + @@ -271,9 +271,9 @@ export default { this.setSystemId(this.systemId); this.$router.push("/project/add"); }, - edit(row) { // 编辑 + edit(row,item) { // 编辑 this.setSystemId(row.systemId); - this.$router.push(`/project/add?projectId=${row.projectId}`); + this.$router.push(`/project/add?projectId=${row.projectId}&item=${item}`); }, handleSelectionChange(val) { // 处理多选 this.multipleSelection = val; diff --git a/src/pages/system/list/staff.vue b/src/pages/system/list/staff.vue index cbd3b01..f95cec4 100644 --- a/src/pages/system/list/staff.vue +++ b/src/pages/system/list/staff.vue @@ -176,7 +176,7 @@ export default { }, rules: { account: [ - { validator: accountPass, trigger: 'blur' } + { required: true, validator: accountPass, trigger: 'blur' } ], userName: [ { required: true, message: "请输入用户姓名", trigger: "blur" } @@ -185,7 +185,7 @@ export default { { required: true, message: "请选择账号角色", trigger: "change" } ], workNumber: [ - { validator: workNumberPass , trigger: 'blur' } + { required: true, validator: workNumberPass , trigger: 'blur' } ], uniqueIdentification: [ // { required: true, message: '请输入唯一标识', trigger: 'blur' }, @@ -471,7 +471,7 @@ export default { } }, roleRemove(value) { // 处理移除角色 - let index = this.teacherForm.roleAndDeptList.findIndex(i => i.roleId === value); + let index = this.teacherForm.roleAndDeptList.findIndex(i => i.roleName === value); if (index !== -1) { this.teacherForm.roleAndDeptList.splice(index, 1); } diff --git a/src/router/index.js b/src/router/index.js index f0c8967..2431210 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -268,7 +268,11 @@ router.beforeEach(function(to, from, next) { } // 根据路由元信息设置文档标题 // window.document.title = to.meta.title ? to.meta.title : ""; +<<<<<<< HEAD window.document.title = "教师管理端" +======= + window.document.title = "职站教师端" +>>>>>>> 8af271dbd54e96d906dc849c3b61128fbf4e7018 next(); }); \ No newline at end of file