dev_2022-05-11
4 years ago
parent b4d40e2794
commit c988052cc9
  1. 6
      src/components/page/Staff.vue
  2. 1
      src/components/page/StaffSide.vue

@ -2,7 +2,8 @@
<div> <div>
<el-container> <el-container>
<el-aside width="350px"> <el-aside width="350px">
<TeacherSide ref="getSelectData" @fircheck="fircheck" @twocheck="twocheck" @getData="getData"></TeacherSide> <TeacherSide ref="getSelectData" @fircheck="fircheck" @twocheck="twocheck" @getData="getData"
@delDep="delDep"></TeacherSide>
</el-aside> </el-aside>
<el-main style="padding-top: 0"> <el-main style="padding-top: 0">
@ -360,6 +361,9 @@ export default {
}) })
this.handleCheck(val2) this.handleCheck(val2)
}, },
delDep(val,val2){
this.handleCheck(val2)
},
getData(){ getData(){
let data = { let data = {
// staffProfessionalArchitectureIds: this.oneDepartmentIds, // staffProfessionalArchitectureIds: this.oneDepartmentIds,

@ -269,6 +269,7 @@ export default {
} }
}) })
}) })
this.$emit("delDep",item,this.majorList)
this.$get(`${this.api.dalStaffByStaffGradeId}?staffGradeId=${item.staffGradeId}`).then(res => {}).catch(res => {}) this.$get(`${this.api.dalStaffByStaffGradeId}?staffGradeId=${item.staffGradeId}`).then(res => {}).catch(res => {})
}).catch(res => {}); }).catch(res => {});
}) })

Loading…
Cancel
Save