开发考试系统学习资料模块

This commit is contained in:
Vce 2024-04-13 17:34:13 +08:00
parent eee5b5ecbc
commit e9f07a50e8

View File

@ -372,7 +372,7 @@ export default {
cpsEleRecords: [], //
studyCycle: [], //
searchKeyWord: '', //
personType: 0, //
personType: 1, //
userEnterpriseId: '1706588724057112577', // Id()
projectSn: '', // Sn
@ -429,10 +429,10 @@ export default {
this.getExamSubjectList()
// this.userEnterpriseId = this.$store.state.userInfo.userEnterpriseId;
this.userEnterpriseId = "1706588724057112577";//
this.personType = 1
// this.getTeamInfoList()
// this.getDepartmentList()
this.loadData() //
this.loadData()
},
mounted() {},
watch:{
@ -474,11 +474,11 @@ export default {
listExamSubjectApi(data).then((res) => {
if (res.code == 200) {
this.examSubjectList = res.result
console.log('==========考试科目列表==========',this.listData)
console.log('==========考试科目列表==========',this.examSubjectList)
}
})
},
async loadData(){ //
async loadData(){ //
await this.getTeamInfoList()
await this.getDepartmentList()
// await this.getWorkerInfoList()
@ -722,8 +722,7 @@ export default {
if(this.personType ===2) this.$refs.personTree2.filter(newArr);
if(this.personType ===3) this.$refs.personTree3.filter(newArr);
},
async handleOpen() { //
this.personType = 1
async handleOpen() { //
await this.getExamSubjectList()
// this.getWorkerInfoList()
await this.getLaborPersonList()