odc.xiaohui
2023-06-25 3699d1c95492464e218d5cc9466b78b3885e4ab6
修改青羊后台添加
2个文件已修改
9 ■■■■■ 已修改文件
src/views/exam/paper/edit.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/task/edit.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/exam/paper/edit.vue
@@ -135,7 +135,7 @@
        name: '',
        suggestTime: null,
        titleItems: [],
        subjectSource:null
        subjectSource:{}
      },
      subjectFilter: null,
      formLoading: false,
@@ -249,7 +249,7 @@
      this.$refs.form.validate((valid) => {
        if (valid) {
          this.formLoading = true
          if (this.subjectIdList.length=1){
          if (this.subjectIdList.length == 1){
            this.form.subjectId= this.form.subjectId
          }
src/views/task/edit.vue
@@ -119,6 +119,7 @@
      this.search()
    },
    confirmPaperSelect () {
      console.log( this.paperPage.multipleSelection)
      this.paperPage.multipleSelection.forEach(ep => this.form.paperItems.push(ep))
      this.paperPage.showDialog = false
    },
@@ -141,8 +142,8 @@
      this.search()
    },
    levelChange () {
      this.paperPage.queryParam.subjectId = null
      this.paperPage.subjectFilter = this.subjects.filter(data => data.level === this.form.gradeLevel)
      // this.paperPage.queryParam.subjectId = null
      // this.paperPage.subjectFilter = this.subjects.filter(data => data.level === this.form.gradeLevel)
    },
    removePaper (row) {
      this.form.paperItems.forEach((item, index, arr) => {