开发考试系统学习资料模块
This commit is contained in:
parent
eee5b5ecbc
commit
e9f07a50e8
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user