外部授课调整

This commit is contained in:
wangxuemei
2024-11-18 17:38:15 +08:00
parent 93f25f886a
commit 0b9673e2aa
2 changed files with 16 additions and 6 deletions

View File

@@ -364,6 +364,8 @@ export default {
createFrom: 1,
teaching: null,
teachingDate: null,
teacherId:null,
mobile:null
},
searchdate: undefined, //选择时间
searchParam: {
@@ -437,14 +439,14 @@ export default {
dataIndex: 'teacherName',
key: 'teacherName',
ellipsis: true, align: "center",
width: 120,
width: 150,
},
{
title: '手机号码 ',
dataIndex: 'mobile',
key: 'mobile',
ellipsis: true, align: "center",
width: 120,
width: 150,
},
{
title: '课程类型 ',
@@ -470,7 +472,7 @@ export default {
dataIndex: 'courseName',
key: 'courseName',
ellipsis: true, align: "center",
width: 120,
width: 150,
},
{
title: '录入类型',
@@ -573,7 +575,7 @@ export default {
ellipsis: true,
align: "right",
fixed: "right",
width: 400,
width: 200,
scopedSlots: { customRender: "action" },
},
])
@@ -635,6 +637,11 @@ export default {
state.tableLoading = false
console.log("获取tableData", tableData);
})
.catch(err => {
state.tableLoading = false
message.error(err.data.msg)
})
};
getTableDate()
// // 翻页
@@ -753,7 +760,8 @@ export default {
teaching: null,
score: null,
remark: null,
teachingDate: null
teachingDate: null,
teacherId:null
}
state.teachingDate = null
}
@@ -797,6 +805,7 @@ export default {
function managerChange(e, l, d, t, orgName) {
console.log(e, l,);
state.formParam.mobile=l.mobile
state.formParam.teacherId=l.id
state.searchParam.userNo = d;
state.searchParam.name = t;
// state.searchParam.trainorgName=orgName

View File

@@ -257,7 +257,6 @@ export default{
state.teacherrecordsLoading = true
state.teacherrecords.name = state.formParam.name
let obj = { ...state.teacherrecords }
console.log(111111111111111111112222222222222222)
// api接口
getNewInTeacherCourseList(obj).then((res) => {
teacherrecordstableData.value = res.data.data.records
@@ -281,6 +280,8 @@ export default{
const value = val.replace(reg, "");
return value
}
}
return{
...toRefs(state),