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

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