diff --git a/src/views/cet/cet-ana-1.vue b/src/views/cet/cet-ana-1.vue index 441f0d6..4a7367b 100644 --- a/src/views/cet/cet-ana-1.vue +++ b/src/views/cet/cet-ana-1.vue @@ -5,8 +5,8 @@
- 年级: + 年级: 查询 @@ -35,28 +35,16 @@
- 学院: + 学院: - - 年级: + + 年级: - + 查询
@@ -94,23 +82,35 @@ :max-tag-count="5" @change="onCollegeMajorChange"> 查询 -->
- 年级: + 年级: - +
- 学院: + 学院: - +
- 专业: + 专业:
+
+ 已选择: + + {{ item[1] }} + + + +
清除 - 查询 + 查询
@@ -442,6 +442,14 @@ export default { } console.log(value, 'value'); }, + removeTag(index) { + if (this.majorCheckOn.includes(this.lastCollegeMajor[index][1])) { + let index1 = this.majorCheckOn.indexOf(this.lastCollegeMajor[index][1]) + this.majorCheckOn.splice(index1, 1); + } + this.lastCollegeMajor.splice(index, 1); + this.majorLength--; + }, //学院选项回调函数 onMajorCollegeChange(value) { let val = value.target.value;